diff --git a/packages/celotool/package.json b/packages/celotool/package.json index 42d1976d6c8..a7c12a7f2a0 100644 --- a/packages/celotool/package.json +++ b/packages/celotool/package.json @@ -6,16 +6,16 @@ "author": "Celo", "license": "Apache-2.0", "dependencies": { - "@celo/base": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", - "@celo/cryptographic-utils": "5.0.3-dev", - "@celo/contractkit": "5.0.3-dev", + "@celo/base": "5.0.4", + "@celo/connect": "5.0.4", + "@celo/cryptographic-utils": "5.0.4", + "@celo/contractkit": "5.0.4", "@celo/env-tests": "1.0.0", - "@celo/explorer": "5.0.3-dev", - "@celo/governance": "5.0.3-dev", - "@celo/identity": "5.0.3-dev", - "@celo/network-utils": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", + "@celo/explorer": "5.0.4", + "@celo/governance": "5.0.4", + "@celo/identity": "5.0.4", + "@celo/network-utils": "5.0.4", + "@celo/utils": "5.0.4", "@ethereumjs/util": "8.0.5", "@ethereumjs/rlp": "4.0.1", "@google-cloud/monitoring": "0.7.1", @@ -46,7 +46,7 @@ "yargs": "14.0.0" }, "devDependencies": { - "@celo/dev-utils": "0.0.1-dev", + "@celo/dev-utils": "0.0.1", "@celo/protocol": "*", "@types/bunyan": "1.8.8", "@types/chai": "^4.1.3", diff --git a/packages/cli/package.json b/packages/cli/package.json index 5d46cf5121d..2916d8f20c7 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@celo/celocli", "description": "CLI Tool for transacting with the Celo protocol", - "version": "3.0.0", + "version": "3.0.1", "author": "Celo", "license": "Apache-2.0", "repository": "celo-org/celo-monorepo", @@ -32,16 +32,16 @@ "test": "TZ=UTC jest --runInBand" }, "dependencies": { - "@celo/contractkit": "^5.0.3-dev", - "@celo/explorer": "^5.0.3-dev", - "@celo/governance": "^5.0.3-dev", - "@celo/identity": "^5.0.3-dev", - "@celo/phone-utils": "^5.0.3-dev", - "@celo/utils": "^5.0.3-dev", - "@celo/cryptographic-utils": "^5.0.3-dev", - "@celo/wallet-hsm-azure": "^5.0.3-dev", - "@celo/wallet-ledger": "^5.0.3-dev", - "@celo/wallet-local": "^5.0.3-dev", + "@celo/contractkit": "^5.0.4", + "@celo/explorer": "^5.0.4", + "@celo/governance": "^5.0.4", + "@celo/identity": "^5.0.4", + "@celo/phone-utils": "^5.0.4", + "@celo/utils": "^5.0.4", + "@celo/cryptographic-utils": "^5.0.4", + "@celo/wallet-hsm-azure": "^5.0.4", + "@celo/wallet-ledger": "^5.0.4", + "@celo/wallet-local": "^5.0.4", "@ledgerhq/hw-transport-node-hid": "^6.27.4", "@oclif/command": "^1.6.0", "@oclif/config": "^1.6.0", @@ -70,7 +70,7 @@ "web3": "1.10.0" }, "devDependencies": { - "@celo/dev-utils": "0.0.1-dev", + "@celo/dev-utils": "0.0.1", "@oclif/dev-cli": "^1.23.0", "@types/cli-table": "^0.3.0", "@types/debug": "^4.1.4", diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index 41d260aa4e5..b82e287000c 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/dev-utils", - "version": "0.0.1-dev", + "version": "0.0.1", "description": "util package for celo packages that should only be a devDependency", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/packages/env-tests/package.json b/packages/env-tests/package.json index b34005f50e3..98bd1346f1d 100644 --- a/packages/env-tests/package.json +++ b/packages/env-tests/package.json @@ -5,13 +5,13 @@ "main": "index.js", "license": "MIT", "dependencies": { - "@celo/contractkit": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", - "@celo/base": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", - "@celo/identity": "5.0.3-dev", - "@celo/phone-utils": "5.0.3-dev", - "@celo/cryptographic-utils": "5.0.3-dev", + "@celo/contractkit": "5.0.4", + "@celo/utils": "5.0.4", + "@celo/base": "5.0.4", + "@celo/connect": "5.0.4", + "@celo/identity": "5.0.4", + "@celo/phone-utils": "5.0.4", + "@celo/cryptographic-utils": "5.0.4", "bunyan": "1.8.12", "bunyan-gke-stackdriver": "0.1.2", "bunyan-debug-stream": "2.0.0", diff --git a/packages/metadata-crawler/package.json b/packages/metadata-crawler/package.json index eee036d360e..17c5743892c 100644 --- a/packages/metadata-crawler/package.json +++ b/packages/metadata-crawler/package.json @@ -9,9 +9,9 @@ "homepage": "https://github.com/celo-org/celo-monorepo/tree/master/packages/metadata-crawler", "repository": "https://github.com/celo-org/celo-monorepo/tree/master/packages/metadata-crawler", "dependencies": { - "@celo/connect": "5.0.3-dev", - "@celo/contractkit": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", + "@celo/connect": "5.0.4", + "@celo/contractkit": "5.0.4", + "@celo/utils": "5.0.4", "@types/pg": "^7.14.3", "bunyan": "1.8.12", "bunyan-gke-stackdriver": "0.1.2", diff --git a/packages/phone-number-privacy/combiner/package.json b/packages/phone-number-privacy/combiner/package.json index a729d17cc41..b9401eaa9a7 100644 --- a/packages/phone-number-privacy/combiner/package.json +++ b/packages/phone-number-privacy/combiner/package.json @@ -1,6 +1,6 @@ { "name": "@celo/phone-number-privacy-combiner", - "version": "3.0.1-dev", + "version": "3.0.1", "description": "Orchestrates and combines threshold signatures for use in ODIS", "author": "Celo", "license": "Apache-2.0", @@ -29,10 +29,10 @@ "test:e2e:mainnet": "CONTEXT_NAME=mainnet yarn test:e2e" }, "dependencies": { - "@celo/contractkit": "^5.0.3-dev", - "@celo/phone-number-privacy-common": "^3.0.4-dev", - "@celo/identity": "^5.0.3-dev", - "@celo/encrypted-backup": "^5.0.3-dev", + "@celo/contractkit": "^5.0.4", + "@celo/phone-number-privacy-common": "^3.0.3", + "@celo/identity": "^5.0.4", + "@celo/encrypted-backup": "^5.0.4", "@celo/poprf": "^0.1.9", "@types/bunyan": "^1.8.8", "@opentelemetry/api": "^1.4.1", @@ -56,8 +56,8 @@ }, "devDependencies": { "@types/node": "18.15.13", - "@celo/utils": "^5.0.3-dev", - "@celo/phone-utils": "^5.0.3-dev", + "@celo/utils": "^5.0.4", + "@celo/phone-utils": "^5.0.4", "@types/express": "^4.17.6", "@types/supertest": "^2.0.12", "@types/uuid": "^7.0.3", diff --git a/packages/phone-number-privacy/common/package.json b/packages/phone-number-privacy/common/package.json index 0b756b530b5..0474c2dc025 100644 --- a/packages/phone-number-privacy/common/package.json +++ b/packages/phone-number-privacy/common/package.json @@ -1,6 +1,6 @@ { "name": "@celo/phone-number-privacy-common", - "version": "3.0.4-dev", + "version": "3.0.3", "description": "Common library for the combiner and signer libraries", "author": "Celo", "license": "Apache-2.0", @@ -18,10 +18,10 @@ "lib/**/*" ], "dependencies": { - "@celo/base": "^5.0.3-dev", - "@celo/contractkit": "^5.0.3-dev", - "@celo/utils": "^5.0.3-dev", - "@celo/phone-utils": "^5.0.3-dev", + "@celo/base": "^5.0.4", + "@celo/contractkit": "^5.0.4", + "@celo/utils": "^5.0.4", + "@celo/phone-utils": "^5.0.4", "@types/bunyan": "1.8.8", "bignumber.js": "^9.0.0", "bunyan": "1.8.12", @@ -41,7 +41,7 @@ }, "devDependencies": { "@celo/poprf": "^0.1.9", - "@celo/wallet-local": "^5.0.3-dev", + "@celo/wallet-local": "^5.0.4", "@types/elliptic": "^6.4.12", "@types/express": "^4.17.6", "@types/is-base64": "^1.1.0", diff --git a/packages/phone-number-privacy/monitor/package.json b/packages/phone-number-privacy/monitor/package.json index 78844fee56d..c2f329e7e54 100644 --- a/packages/phone-number-privacy/monitor/package.json +++ b/packages/phone-number-privacy/monitor/package.json @@ -1,6 +1,6 @@ { "name": "@celo/phone-number-privacy-monitor", - "version": "3.0.1-beta.1-dev", + "version": "3.0.1", "description": "Regularly queries ODIS to ensure the system is functioning properly", "author": "Celo", "license": "Apache-2.0", @@ -22,13 +22,13 @@ "loadTest": "ts-node src/scripts/run-load-test.ts run" }, "dependencies": { - "@celo/contractkit": "^5.0.3-dev", - "@celo/cryptographic-utils": "^5.0.3-dev", - "@celo/encrypted-backup": "^5.0.3-dev", - "@celo/identity": "^5.0.3-dev", - "@celo/wallet-local": "^5.0.3-dev", - "@celo/phone-number-privacy-common": "^3.0.4-dev", - "@celo/utils": "^5.0.3-dev", + "@celo/contractkit": "^5.0.4", + "@celo/cryptographic-utils": "^5.0.4", + "@celo/encrypted-backup": "^5.0.4", + "@celo/identity": "^5.0.4", + "@celo/wallet-local": "^5.0.4", + "@celo/phone-number-privacy-common": "^3.0.3", + "@celo/utils": "^5.0.4", "firebase-admin": "^9.12.0", "firebase-functions": "^3.15.7" }, diff --git a/packages/phone-number-privacy/signer/package.json b/packages/phone-number-privacy/signer/package.json index aa6de6d69f6..34ff3f0e55c 100644 --- a/packages/phone-number-privacy/signer/package.json +++ b/packages/phone-number-privacy/signer/package.json @@ -1,6 +1,6 @@ { "name": "@celo/phone-number-privacy-signer", - "version": "3.0.2-dev", + "version": "3.0.2", "description": "Signing participator of ODIS", "author": "Celo", "license": "Apache-2.0", @@ -37,13 +37,13 @@ "ssl:keygen": "./scripts/create-ssl-cert.sh" }, "dependencies": { - "@celo/base": "^5.0.3-dev", + "@celo/base": "^5.0.4", "blind-threshold-bls": "npm:@celo/blind-threshold-bls@1.0.0-beta", - "@celo/contractkit": "^5.0.3-dev", - "@celo/phone-number-privacy-common": "^3.0.4-dev", + "@celo/contractkit": "^5.0.4", + "@celo/phone-number-privacy-common": "^3.0.3", "@celo/poprf": "^0.1.9", - "@celo/utils": "^5.0.3-dev", - "@celo/wallet-hsm-azure": "^5.0.3-dev", + "@celo/utils": "^5.0.4", + "@celo/wallet-hsm-azure": "^5.0.4", "@google-cloud/secret-manager": "3.0.0", "@opentelemetry/api": "^1.4.1", "@opentelemetry/auto-instrumentations-node": "^0.38.0", diff --git a/packages/protocol/package.json b/packages/protocol/package.json index caa6f5495a2..51f1c82f970 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -49,12 +49,12 @@ "@0x/sol-profiler": "^4.1.37", "@0x/sol-trace": "^3.0.47", "@0x/subproviders": "^7.0.1", - "@celo/base": "5.0.3-dev", + "@celo/base": "5.0.4", "@celo/bls12377js": "0.1.1", - "@celo/connect": "5.0.3-dev", - "@celo/cryptographic-utils": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", - "@celo/wallet-local": "5.0.3-dev", + "@celo/connect": "5.0.4", + "@celo/cryptographic-utils": "5.0.4", + "@celo/utils": "5.0.4", + "@celo/wallet-local": "5.0.4", "@ethereumjs/util": "8.0.5", "@ethereumjs/vm": "npm:@celo/ethereumjs-vm@6.4.1-unofficial.0", "@ganache/console.log": "0.3.0", @@ -95,7 +95,7 @@ "web3-utils": "1.10.0" }, "devDependencies": { - "@celo/phone-utils": "5.0.3-dev", + "@celo/phone-utils": "5.0.4", "@celo/typechain-target-web3-v1-celo": "0.2.0", "@celo/typescript": "0.0.1", "@types/bn.js": "^5.1.0", diff --git a/packages/sdk/base/package.json b/packages/sdk/base/package.json index c3b6dc93600..3a66fc75e73 100644 --- a/packages/sdk/base/package.json +++ b/packages/sdk/base/package.json @@ -1,6 +1,6 @@ { "name": "@celo/base", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Celo base common utils, no dependencies", "author": "Celo", "license": "Apache-2.0", diff --git a/packages/sdk/connect/LICENSE b/packages/sdk/connect/LICENSE new file mode 100644 index 00000000000..f49a4e16e68 --- /dev/null +++ b/packages/sdk/connect/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/packages/sdk/connect/package.json b/packages/sdk/connect/package.json index 05b7d5d3638..a304779dc10 100644 --- a/packages/sdk/connect/package.json +++ b/packages/sdk/connect/package.json @@ -1,6 +1,6 @@ { "name": "@celo/connect", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Light Toolkit for connecting with the Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -24,8 +24,8 @@ "dependencies": { "@types/debug": "^4.1.5", "@types/utf8": "^2.1.6", - "@celo/base": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", + "@celo/base": "5.0.4", + "@celo/utils": "5.0.4", "bignumber.js": "^9.0.0", "debug": "^4.1.1", "utf8": "3.0.0" diff --git a/packages/sdk/contractkit/package.json b/packages/sdk/contractkit/package.json index 3c289aa4fe9..8a447d3b783 100644 --- a/packages/sdk/contractkit/package.json +++ b/packages/sdk/contractkit/package.json @@ -1,6 +1,6 @@ { "name": "@celo/contractkit", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Celo's ContractKit to interact with Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -29,10 +29,10 @@ "lint": "tslint -c tslint.json --project ." }, "dependencies": { - "@celo/base": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", - "@celo/wallet-local": "5.0.3-dev", + "@celo/base": "5.0.4", + "@celo/connect": "5.0.4", + "@celo/utils": "5.0.4", + "@celo/wallet-local": "5.0.4", "@types/bn.js": "^5.1.0", "@types/debug": "^4.1.5", "bignumber.js": "^9.0.0", @@ -45,8 +45,8 @@ "web3-core-helpers": "1.10.0" }, "devDependencies": { - "@celo/phone-utils": "5.0.3-dev", - "@celo/dev-utils": "0.0.1-dev", + "@celo/phone-utils": "^5.0.4", + "@celo/dev-utils": "0.0.1", "@celo/protocol": "1.0.0", "@types/debug": "^4.1.5", "fetch-mock": "9.10.4", diff --git a/packages/sdk/cryptographic-utils/package.json b/packages/sdk/cryptographic-utils/package.json index 74720420a43..ccdd69f12bf 100644 --- a/packages/sdk/cryptographic-utils/package.json +++ b/packages/sdk/cryptographic-utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/cryptographic-utils", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Some Celo utils for comment/data encryption, bls, and mnemonics", "author": "Celo", "license": "Apache-2.0", @@ -22,9 +22,9 @@ "lib/**/*" ], "dependencies": { - "@celo/utils": "5.0.3-dev", + "@celo/utils": "5.0.4", "@celo/bls12377js": "0.1.1", - "@celo/base": "5.0.3-dev", + "@celo/base": "5.0.4", "@ethereumjs/util": "8.0.5", "@types/bn.js": "^5.1.0", "@types/elliptic": "^6.4.9", diff --git a/packages/sdk/encrypted-backup/package.json b/packages/sdk/encrypted-backup/package.json index e938374badf..91d3b40d768 100644 --- a/packages/sdk/encrypted-backup/package.json +++ b/packages/sdk/encrypted-backup/package.json @@ -1,6 +1,6 @@ { "name": "@celo/encrypted-backup", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Libraries for implemented password encrypted account backups", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -25,18 +25,18 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "5.0.3-dev", - "@celo/identity": "5.0.3-dev", - "@celo/phone-number-privacy-common": "^3.0.4-dev", + "@celo/base": "5.0.4", + "@celo/identity": "5.0.4", + "@celo/phone-number-privacy-common": "^3.0.3", "@celo/poprf": "^0.1.9", - "@celo/utils": "5.0.3-dev", + "@celo/utils": "5.0.4", "@types/debug": "^4.1.5", "debug": "^4.1.1", "fp-ts": "2.1.1", "io-ts": "2.0.1" }, "devDependencies": { - "@celo/dev-utils": "0.0.1-dev", + "@celo/dev-utils": "0.0.1", "fetch-mock": "9.10.4" }, "engines": { diff --git a/packages/sdk/explorer/package.json b/packages/sdk/explorer/package.json index 3158c105185..2fc8e91a901 100644 --- a/packages/sdk/explorer/package.json +++ b/packages/sdk/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@celo/explorer", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Celo's block explorer consumer", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -22,10 +22,10 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", - "@celo/contractkit": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", + "@celo/base": "5.0.4", + "@celo/connect": "5.0.4", + "@celo/contractkit": "5.0.4", + "@celo/utils": "5.0.4", "@types/debug": "^4.1.5", "cross-fetch": "3.0.6", "debug": "^4.1.1" diff --git a/packages/sdk/governance/package.json b/packages/sdk/governance/package.json index 7f2eb1b7174..1cd38b3740a 100644 --- a/packages/sdk/governance/package.json +++ b/packages/sdk/governance/package.json @@ -1,6 +1,6 @@ { "name": "@celo/governance", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Celo's governance proposals", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -21,11 +21,11 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", - "@celo/contractkit": "5.0.3-dev", - "@celo/explorer": "5.0.3-dev", + "@celo/base": "5.0.4", + "@celo/utils": "5.0.4", + "@celo/connect": "5.0.4", + "@celo/contractkit": "5.0.4", + "@celo/explorer": "5.0.4", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5", "@types/inquirer": "^6.5.0", diff --git a/packages/sdk/identity/package.json b/packages/sdk/identity/package.json index c836119b2e1..bcf8b5bafd5 100644 --- a/packages/sdk/identity/package.json +++ b/packages/sdk/identity/package.json @@ -1,6 +1,6 @@ { "name": "@celo/identity", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Utilities for interacting with Celo's identity protocol", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -25,10 +25,10 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", - "@celo/contractkit": "5.0.3-dev", - "@celo/phone-number-privacy-common": "^3.0.4-dev", + "@celo/base": "5.0.4", + "@celo/utils": "5.0.4", + "@celo/contractkit": "5.0.4", + "@celo/phone-number-privacy-common": "^3.0.3", "@types/debug": "^4.1.5", "bignumber.js": "^9.0.0", "blind-threshold-bls": "npm:@celo/blind-threshold-bls@1.0.0-beta", @@ -40,8 +40,8 @@ "io-ts": "2.0.1" }, "devDependencies": { - "@celo/dev-utils": "0.0.1-dev", - "@celo/wallet-local": "5.0.3-dev", + "@celo/dev-utils": "0.0.1", + "@celo/wallet-local": "5.0.4", "@types/elliptic": "^6.4.12", "fetch-mock": "9.10.4", "ganache": "npm:@celo/ganache@7.8.0-unofficial.0", diff --git a/packages/sdk/keystores/package.json b/packages/sdk/keystores/package.json index 6f92d017950..776184cdc88 100644 --- a/packages/sdk/keystores/package.json +++ b/packages/sdk/keystores/package.json @@ -1,6 +1,6 @@ { "name": "@celo/keystores", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "keystore implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,8 +22,8 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/utils": "5.0.3-dev", - "@celo/wallet-local": "5.0.3-dev", + "@celo/utils": "5.0.4", + "@celo/wallet-local": "5.0.4", "ethereumjs-wallet": "^1.0.1" }, "devDependencies": { diff --git a/packages/sdk/network-utils/package.json b/packages/sdk/network-utils/package.json index 080861ca120..42eb20e8c8a 100644 --- a/packages/sdk/network-utils/package.json +++ b/packages/sdk/network-utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/network-utils", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Utilities for fetching static information about the Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -27,7 +27,7 @@ "debug": "^4.1.1" }, "devDependencies": { - "@celo/dev-utils": "0.0.1-dev", + "@celo/dev-utils": "0.0.1", "fetch-mock": "9.10.4" }, "engines": { diff --git a/packages/sdk/phone-utils/package.json b/packages/sdk/phone-utils/package.json index eeeb2a3799b..36863858643 100644 --- a/packages/sdk/phone-utils/package.json +++ b/packages/sdk/phone-utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/phone-utils", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Celo phone utils", "author": "Celo", "license": "Apache-2.0", @@ -22,8 +22,8 @@ "lib/**/*" ], "dependencies": { - "@celo/base": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", + "@celo/base": "5.0.4", + "@celo/utils": "5.0.4", "@types/country-data": "^0.0.0", "@types/google-libphonenumber": "^7.4.23", "@types/node": "^18.7.16", diff --git a/packages/sdk/transactions-uri/package.json b/packages/sdk/transactions-uri/package.json index d315eac4596..ee1c3ebc072 100644 --- a/packages/sdk/transactions-uri/package.json +++ b/packages/sdk/transactions-uri/package.json @@ -1,6 +1,6 @@ { "name": "@celo/transactions-uri", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Celo's transactions uri generation", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -26,15 +26,15 @@ "dependencies": { "@types/debug": "^4.1.5", "@types/qrcode": "^1.3.4", - "@celo/base": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", + "@celo/base": "5.0.4", + "@celo/connect": "5.0.4", "bn.js": "4.11.9", "qrcode": "1.4.4", "web3-eth-abi": "1.10.0" }, "devDependencies": { - "@celo/dev-utils": "0.0.1-dev", - "@celo/contractkit": "5.0.3-dev", + "@celo/dev-utils": "0.0.1", + "@celo/contractkit": "5.0.4", "dotenv": "^8.2.0" }, "engines": { diff --git a/packages/sdk/utils/package.json b/packages/sdk/utils/package.json index d4084072cea..1038975a6da 100644 --- a/packages/sdk/utils/package.json +++ b/packages/sdk/utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/utils", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Celo common utils", "author": "Celo", "license": "Apache-2.0", @@ -22,7 +22,7 @@ "lib/**/*" ], "dependencies": { - "@celo/base": "5.0.3-dev", + "@celo/base": "5.0.4", "@ethereumjs/util": "8.0.5", "@types/bn.js": "^5.1.0", "@types/elliptic": "^6.4.9", diff --git a/packages/sdk/wallets/wallet-base/package.json b/packages/sdk/wallets/wallet-base/package.json index 166d5c834fc..5d7498db42c 100644 --- a/packages/sdk/wallets/wallet-base/package.json +++ b/packages/sdk/wallets/wallet-base/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-base", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Wallet base implementation", "author": "Celo", "license": "Apache-2.0", @@ -25,9 +25,9 @@ "viem": "~1.5.4" }, "dependencies": { - "@celo/connect": "5.0.3-dev", - "@celo/base": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", + "@celo/connect": "5.0.4", + "@celo/base": "5.0.4", + "@celo/utils": "5.0.4", "@ethereumjs/util": "8.0.5", "ethereum-cryptography": "^2.1.2", "@types/debug": "^4.1.5", diff --git a/packages/sdk/wallets/wallet-hsm-aws/package.json b/packages/sdk/wallets/wallet-hsm-aws/package.json index 3b463ce62fa..6d77d8501fa 100644 --- a/packages/sdk/wallets/wallet-hsm-aws/package.json +++ b/packages/sdk/wallets/wallet-hsm-aws/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-aws", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "AWS HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,10 +22,10 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/utils": "5.0.3-dev", - "@celo/wallet-base": "5.0.3-dev", - "@celo/wallet-remote": "5.0.3-dev", - "@celo/wallet-hsm": "5.0.3-dev", + "@celo/utils": "5.0.4", + "@celo/wallet-base": "5.0.4", + "@celo/wallet-remote": "5.0.4", + "@celo/wallet-hsm": "5.0.4", "@types/debug": "^4.1.5", "@types/secp256k1": "^4.0.0", "aws-sdk": "^2.705.0", @@ -36,7 +36,7 @@ "secp256k1": "^4.0.0" }, "devDependencies": { - "@celo/connect": "5.0.3-dev", + "@celo/connect": "5.0.4", "elliptic": "^6.5.4", "web3": "1.10.0" }, diff --git a/packages/sdk/wallets/wallet-hsm-azure/package.json b/packages/sdk/wallets/wallet-hsm-azure/package.json index 814fecf9a95..dd123b3130f 100644 --- a/packages/sdk/wallets/wallet-hsm-azure/package.json +++ b/packages/sdk/wallets/wallet-hsm-azure/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-azure", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Azure HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -25,11 +25,11 @@ "@azure/identity": "^1.1.0", "@azure/keyvault-keys": "^4.1.0", "@azure/keyvault-secrets": "^4.1.0", - "@celo/utils": "5.0.3-dev", - "@celo/wallet-base": "5.0.3-dev", - "@celo/wallet-remote": "5.0.3-dev", - "@celo/wallet-hsm": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", + "@celo/utils": "5.0.4", + "@celo/wallet-base": "5.0.4", + "@celo/wallet-remote": "5.0.4", + "@celo/wallet-hsm": "5.0.4", + "@celo/connect": "5.0.4", "@types/secp256k1": "^4.0.0", "eth-lib": "^0.2.8", "@ethereumjs/util": "8.0.5", diff --git a/packages/sdk/wallets/wallet-hsm-gcp/package.json b/packages/sdk/wallets/wallet-hsm-gcp/package.json index a13a35aedd1..f8ca23cda0d 100644 --- a/packages/sdk/wallets/wallet-hsm-gcp/package.json +++ b/packages/sdk/wallets/wallet-hsm-gcp/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-gcp", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "GCP HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -20,10 +20,10 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/utils": "5.0.3-dev", - "@celo/wallet-base": "5.0.3-dev", - "@celo/wallet-remote": "5.0.3-dev", - "@celo/wallet-hsm": "5.0.3-dev", + "@celo/utils": "5.0.4", + "@celo/wallet-base": "5.0.4", + "@celo/wallet-remote": "5.0.4", + "@celo/wallet-hsm": "5.0.4", "@google-cloud/kms": "~2.9.0", "@types/debug": "^4.1.5", "@types/secp256k1": "^4.0.0", @@ -34,7 +34,7 @@ "secp256k1": "^4.0.0" }, "devDependencies": { - "@celo/connect": "5.0.3-dev", + "@celo/connect": "5.0.4", "elliptic": "^6.5.4", "web3": "1.10.0" }, diff --git a/packages/sdk/wallets/wallet-hsm/package.json b/packages/sdk/wallets/wallet-hsm/package.json index 5db5375efb9..8e8620f32f9 100644 --- a/packages/sdk/wallets/wallet-hsm/package.json +++ b/packages/sdk/wallets/wallet-hsm/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "HSM wallet implementation utils", "author": "Celo", "license": "Apache-2.0", @@ -22,7 +22,7 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "5.0.3-dev", + "@celo/base": "5.0.4", "@types/asn1js": "^0.0.2", "@types/secp256k1": "^4.0.0", "@types/debug": "^4.1.5", diff --git a/packages/sdk/wallets/wallet-ledger/package.json b/packages/sdk/wallets/wallet-ledger/package.json index 22510606810..2aa0f413d26 100644 --- a/packages/sdk/wallets/wallet-ledger/package.json +++ b/packages/sdk/wallets/wallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-ledger", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Ledger wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,10 +22,10 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/utils": "5.0.3-dev", - "@celo/wallet-base": "5.0.3-dev", - "@celo/wallet-remote": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", + "@celo/utils": "5.0.4", + "@celo/wallet-base": "5.0.4", + "@celo/wallet-remote": "5.0.4", + "@celo/connect": "5.0.4", "@ethereumjs/util": "8.0.5", "@ledgerhq/hw-app-eth": "~5.11.0", "@ledgerhq/hw-transport": "~5.11.0", diff --git a/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts b/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts index 6c1d113c20c..0ac4d7aa5d4 100644 --- a/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts +++ b/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts @@ -1,6 +1,6 @@ import { CELO_DERIVATION_PATH_BASE } from '@celo/base/lib/account' import { zeroRange } from '@celo/base/lib/collections' -import { Address, ReadOnlyWallet } from '@celo/connect' +import { Address, CeloTx, EncodedTransaction, ReadOnlyWallet } from '@celo/connect' import { RemoteWallet } from '@celo/wallet-remote' import { TransportError, TransportStatusError } from '@ledgerhq/errors' import Ledger from '@ledgerhq/hw-app-eth' @@ -67,6 +67,19 @@ export class LedgerWallet extends RemoteWallet implements ReadOnly } } + signTransaction(txParams: CeloTx): Promise { + // CeloLedger does not support maxFeePerGas and maxPriorityFeePerGas yet + txParams.gasPrice = txParams.gasPrice ?? txParams.maxFeePerGas + if (txParams.maxFeePerGas || txParams.maxPriorityFeePerGas) { + console.info( + 'maxFeePerGas and maxPriorityFeePerGas are not supported on Ledger yet. Automatically using gasPrice instead.' + ) + delete txParams.maxFeePerGas + delete txParams.maxPriorityFeePerGas + } + return super.signTransaction(txParams) + } + protected async loadAccountSigners(): Promise> { if (!this.ledger) { this.ledger = this.generateNewLedger(this.transport) diff --git a/packages/sdk/wallets/wallet-local/package.json b/packages/sdk/wallets/wallet-local/package.json index eec63cd4eec..3476cb33024 100644 --- a/packages/sdk/wallets/wallet-local/package.json +++ b/packages/sdk/wallets/wallet-local/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-local", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Local wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,9 +22,9 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/utils": "5.0.3-dev", - "@celo/connect": "5.0.3-dev", - "@celo/wallet-base": "5.0.3-dev", + "@celo/utils": "5.0.4", + "@celo/connect": "5.0.4", + "@celo/wallet-base": "5.0.4", "eth-lib": "^0.2.8", "@ethereumjs/util": "8.0.5" }, diff --git a/packages/sdk/wallets/wallet-remote/package.json b/packages/sdk/wallets/wallet-remote/package.json index 4bcacb62e1c..46e3427f3e6 100644 --- a/packages/sdk/wallets/wallet-remote/package.json +++ b/packages/sdk/wallets/wallet-remote/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-remote", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Remote wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,9 +22,9 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", - "@celo/wallet-base": "5.0.3-dev", + "@celo/connect": "5.0.4", + "@celo/utils": "5.0.4", + "@celo/wallet-base": "5.0.4", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5", "eth-lib": "^0.2.8" diff --git a/packages/sdk/wallets/wallet-rpc/package.json b/packages/sdk/wallets/wallet-rpc/package.json index a3b4b3a8650..b69d872ea26 100644 --- a/packages/sdk/wallets/wallet-rpc/package.json +++ b/packages/sdk/wallets/wallet-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-rpc", - "version": "5.0.3-dev", + "version": "5.0.4", "description": "Geth RPC wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,16 +22,16 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "5.0.3-dev", - "@celo/utils": "5.0.3-dev", - "@celo/wallet-base": "5.0.3-dev", - "@celo/wallet-remote": "5.0.3-dev", + "@celo/connect": "5.0.4", + "@celo/utils": "5.0.4", + "@celo/wallet-base": "5.0.4", + "@celo/wallet-remote": "5.0.4", "bignumber.js": "^9.0.0", "debug": "^4.1.1" }, "devDependencies": { - "@celo/dev-utils": "0.0.1-dev", - "@celo/contractkit": "5.0.3-dev" + "@celo/dev-utils": "0.0.1", + "@celo/contractkit": "5.0.4" }, "engines": { "node": ">=8.14.2"