diff --git a/.changeset/dry-gifts-love.md b/.changeset/dry-gifts-love.md deleted file mode 100644 index 05f30b04a..000000000 --- a/.changeset/dry-gifts-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/viem-account-ledger': major ---- - -Initial release diff --git a/.changeset/gold-pumas-fry.md b/.changeset/gold-pumas-fry.md deleted file mode 100644 index c06ee3719..000000000 --- a/.changeset/gold-pumas-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/celocli': major ---- - -Remove support for reserve:\* commands. As foretold by https://forum.celo.org/t/sunset-of-reserve-commands/8454 diff --git a/.changeset/hot-pugs-nail.md b/.changeset/hot-pugs-nail.md deleted file mode 100644 index 1ac80cec4..000000000 --- a/.changeset/hot-pugs-nail.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -'@celo/contractkit': major ---- - -Removes all exports under the lib/identity folder. These have been move to a new @celo/metadata-claims package and should be imported from there. - -Note that folder structure is also flattened slightly. so replace `@celo/contractkit/lib/identity/claims/` with `@celo/metadata-claims/lib/` - -example - -```diff -- import { createAccountClaim } from '@celo/contractkit/lib/identity/claims/account' -+ import { createAccountClaim } from '@celo/metadata-claims/lib/account' -``` - -```diff -- import { ContractKit, IdentityMetadataWrapper, newKitFromWeb3 } from '@celo/contractkit' -- import { ClaimTypes } from '@celo/contractkit/lib/identity' -+ import { ContractKit, newKitFromWeb3 } from '@celo/contractkit' -+ import { ClaimTypes, IdentityMetadataWrapper } from '@celo/metadata-claims' - -``` - -Note that Contractkit is Not a dependency. Instead when using `IdentityMetadataWrapper` you should make an object that satisfis the `AccountMetadataSignerGetters` type - -```typescript -import { AccountMetadataSignerGetters } from '@celo/metadata-claims/lib/types'; - -``` -using viem it would be like - -```typescript -const accountsMetaDataSignerGetters: AccountMetadataSignerGetters = { - isAccount: async (address: string) => accounts.read.isAccount([address as Address]), - getValidatorSigner: async (address: string) => - accounts.read.getValidatorSigner([address as Address]), - getVoteSigner: async (address: string) => - accounts.read.getValidatorSigner([address as Address]), - getAttestationSigner: async (address: string) => - accounts.read.getValidatorSigner([address as Address]), - } -``` diff --git a/.changeset/moody-falcons-remain.md b/.changeset/moody-falcons-remain.md deleted file mode 100644 index 02ec211be..000000000 --- a/.changeset/moody-falcons-remain.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@celo/celocli': major ---- -Remove commands identity:identifier, identity:get-attestations - -See https://forum.celo.org/t/rfc-deprecation-of-celocli-identity-commands/8676 - - diff --git a/.changeset/rude-parrots-know.md b/.changeset/rude-parrots-know.md deleted file mode 100644 index 020097fa3..000000000 --- a/.changeset/rude-parrots-know.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@celo/base': major -'@celo/utils': major ---- - -remove deprecated functions and consts exported from ./contacts and ./displayformating. ./currencies and ./phonenumbers. If these are used by your app we recommend to inline the functions from the previous release. - -* https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/contacts.ts -* https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/displayFormatting.ts -* https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/phoneNumbers.ts - -https://github.com/celo-org/developer-tooling/tree/%40celo/wallet-base%406.0.1/packages/sdk/base/src - -Full List of removed exports -- ContactPhoneNumber, MinimalContact, getContactPhoneNumber, isContact, CURRENCY_ENUM, Currency, CURRENCIES, resolveCurrency, SHORT_CURRENCIES, currencyToShortMap | getErrorMessage | anonymizedPhone | getContactNameHash - - - diff --git a/.changeset/thirty-pugs-smile.md b/.changeset/thirty-pugs-smile.md deleted file mode 100644 index 5b9db6788..000000000 --- a/.changeset/thirty-pugs-smile.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@celo/metadata-claims': major ---- - -Introducing @celo/metadata-claims These are a series of functions extracted from @celo/contractkit since they didnt strictly need depend on contractkit itsefl. Developers can now use IdentityMetadataWrapper with any js rpc library like ethers or viem or web3js without being forced to import ContractKit. - - -Instead when using `IdentityMetadataWrapper` you should make an object that satisfis the `AccountMetadataSignerGetters` type - -```typescript -import { AccountMetadataSignerGetters } from '@celo/metadata-claims/lib/types'; - -``` -using viem it would be like - -```typescript -const accountsMetaDataSignerGetters: AccountMetadataSignerGetters = { - isAccount: async (address: string) => accounts.read.isAccount([address as Address]), - getValidatorSigner: async (address: string) => - accounts.read.getValidatorSigner([address as Address]), - getVoteSigner: async (address: string) => - accounts.read.getValidatorSigner([address as Address]), - getAttestationSigner: async (address: string) => - accounts.read.getValidatorSigner([address as Address]), - } -``` \ No newline at end of file diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 75256f29e..601e2a22c 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 6.0.0 + +### Major Changes + +- [#339](https://github.com/celo-org/developer-tooling/pull/339) [`87223ba`](https://github.com/celo-org/developer-tooling/commit/87223ba93ab79f43ae6884282d30a420eb09c23c) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Remove support for reserve:\* commands. As foretold by https://forum.celo.org/t/sunset-of-reserve-commands/8454 + +- [#343](https://github.com/celo-org/developer-tooling/pull/343) [`54741cc`](https://github.com/celo-org/developer-tooling/commit/54741cc01ef0a6716bdd45a955ac65c7ecced6c1) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Remove commands identity:identifier, identity:get-attestations + + See https://forum.celo.org/t/rfc-deprecation-of-celocli-identity-commands/8676 + +### Patch Changes + +- Updated dependencies [[`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88), [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b), [`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88)]: + - @celo/contractkit@9.0.0 + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/metadata-claims@1.0.0 + - @celo/explorer@5.0.13 + - @celo/governance@5.1.4 + - @celo/wallet-ledger@6.0.2 + - @celo/connect@6.0.3 + - @celo/cryptographic-utils@5.1.1 + - @celo/phone-utils@6.0.4 + - @celo/wallet-hsm-azure@6.0.2 + - @celo/wallet-local@6.0.2 + ## 5.2.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 03c41a2b4..8747dcf80 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": "5.2.1", + "version": "6.0.0", "author": "Celo", "license": "Apache-2.0", "repository": "celo-org/developer-tooling", @@ -38,20 +38,20 @@ }, "dependencies": { "@celo/abis": "11.0.0", - "@celo/base": "^6.1.0", + "@celo/base": "^7.0.0", "@celo/compliance": "~1.0.23", - "@celo/connect": "^6.0.2", - "@celo/contractkit": "^8.3.0", - "@celo/cryptographic-utils": "^5.1.0", - "@celo/explorer": "^5.0.12", - "@celo/governance": "^5.1.3", + "@celo/connect": "^6.0.3", + "@celo/contractkit": "^9.0.0", + "@celo/cryptographic-utils": "^5.1.1", + "@celo/explorer": "^5.0.13", + "@celo/governance": "^5.1.4", "@celo/identity": "^5.1.2", - "@celo/metadata-claims": "^0.0.1", - "@celo/phone-utils": "^6.0.3", - "@celo/utils": "^7.0.0", - "@celo/wallet-hsm-azure": "^6.0.1", - "@celo/wallet-ledger": "^6.0.1", - "@celo/wallet-local": "^6.0.1", + "@celo/metadata-claims": "^1.0.0", + "@celo/phone-utils": "^6.0.4", + "@celo/utils": "^8.0.0", + "@celo/wallet-hsm-azure": "^6.0.2", + "@celo/wallet-ledger": "^6.0.2", + "@celo/wallet-local": "^6.0.2", "@ethereumjs/util": "8.0.5", "@ledgerhq/hw-transport-node-hid": "^6.28.5", "@mento-protocol/mento-sdk": "^1.0.1", diff --git a/packages/sdk/base/CHANGELOG.md b/packages/sdk/base/CHANGELOG.md index 5e8d2107f..8935c75fa 100644 --- a/packages/sdk/base/CHANGELOG.md +++ b/packages/sdk/base/CHANGELOG.md @@ -1,5 +1,19 @@ # @celo/base +## 7.0.0 + +### Major Changes + +- [#228](https://github.com/celo-org/developer-tooling/pull/228) [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - remove deprecated functions and consts exported from ./contacts and ./displayformating. ./currencies and ./phonenumbers. If these are used by your app we recommend to inline the functions from the previous release. + + - https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/contacts.ts + - https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/displayFormatting.ts + - https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/phoneNumbers.ts + + https://github.com/celo-org/developer-tooling/tree/%40celo/wallet-base%406.0.1/packages/sdk/base/src + + Full List of removed exports -- ContactPhoneNumber, MinimalContact, getContactPhoneNumber, isContact, CURRENCY_ENUM, Currency, CURRENCIES, resolveCurrency, SHORT_CURRENCIES, currencyToShortMap | getErrorMessage | anonymizedPhone | getContactNameHash + ## 6.1.0 ### Minor Changes diff --git a/packages/sdk/base/package.json b/packages/sdk/base/package.json index 7b2474c23..f2f2d002c 100644 --- a/packages/sdk/base/package.json +++ b/packages/sdk/base/package.json @@ -1,6 +1,6 @@ { "name": "@celo/base", - "version": "6.1.0", + "version": "7.0.0", "description": "Celo base common utils, no dependencies", "author": "Celo", "license": "Apache-2.0", diff --git a/packages/sdk/connect/CHANGELOG.md b/packages/sdk/connect/CHANGELOG.md index f0034975e..e9f8c8fec 100644 --- a/packages/sdk/connect/CHANGELOG.md +++ b/packages/sdk/connect/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/connect +## 6.0.3 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + ## 6.0.2 ### Patch Changes diff --git a/packages/sdk/connect/package.json b/packages/sdk/connect/package.json index 9a33acfc5..da159ec2d 100644 --- a/packages/sdk/connect/package.json +++ b/packages/sdk/connect/package.json @@ -1,6 +1,6 @@ { "name": "@celo/connect", - "version": "6.0.2", + "version": "6.0.3", "description": "Light Toolkit for connecting with the Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -22,8 +22,8 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "^6.1.0", - "@celo/utils": "^7.0.0", + "@celo/base": "^7.0.0", + "@celo/utils": "^8.0.0", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5", "@types/utf8": "^2.1.6", diff --git a/packages/sdk/contractkit/CHANGELOG.md b/packages/sdk/contractkit/CHANGELOG.md index 481725897..69f46b4c8 100644 --- a/packages/sdk/contractkit/CHANGELOG.md +++ b/packages/sdk/contractkit/CHANGELOG.md @@ -1,5 +1,56 @@ # @celo/contractkit +## 9.0.0 + +### Major Changes + +- [#340](https://github.com/celo-org/developer-tooling/pull/340) [`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Removes all exports under the lib/identity folder. These have been move to a new @celo/metadata-claims package and should be imported from there. + + Note that folder structure is also flattened slightly. so replace `@celo/contractkit/lib/identity/claims/` with `@celo/metadata-claims/lib/` + + example + + ```diff + - import { createAccountClaim } from '@celo/contractkit/lib/identity/claims/account' + + import { createAccountClaim } from '@celo/metadata-claims/lib/account' + ``` + + ```diff + - import { ContractKit, IdentityMetadataWrapper, newKitFromWeb3 } from '@celo/contractkit' + - import { ClaimTypes } from '@celo/contractkit/lib/identity' + + import { ContractKit, newKitFromWeb3 } from '@celo/contractkit' + + import { ClaimTypes, IdentityMetadataWrapper } from '@celo/metadata-claims' + + ``` + + Note that Contractkit is Not a dependency. Instead when using `IdentityMetadataWrapper` you should make an object that satisfis the `AccountMetadataSignerGetters` type + + ```typescript + import { AccountMetadataSignerGetters } from '@celo/metadata-claims/lib/types' + ``` + + using viem it would be like + + ```typescript + const accountsMetaDataSignerGetters: AccountMetadataSignerGetters = { + isAccount: async (address: string) => accounts.read.isAccount([address as Address]), + getValidatorSigner: async (address: string) => + accounts.read.getValidatorSigner([address as Address]), + getVoteSigner: async (address: string) => + accounts.read.getValidatorSigner([address as Address]), + getAttestationSigner: async (address: string) => + accounts.read.getValidatorSigner([address as Address]), + } + ``` + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + - @celo/wallet-local@6.0.2 + ## 8.3.0 ### Minor Changes diff --git a/packages/sdk/contractkit/package.json b/packages/sdk/contractkit/package.json index d6583f07d..117ad32e3 100644 --- a/packages/sdk/contractkit/package.json +++ b/packages/sdk/contractkit/package.json @@ -1,6 +1,6 @@ { "name": "@celo/contractkit", - "version": "8.3.0", + "version": "9.0.0", "description": "Celo's ContractKit to interact with Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -28,10 +28,10 @@ "dependencies": { "@celo/abis": "11.0.0", "@celo/abis-12": "npm:@celo/abis@12.0.0-canary.35", - "@celo/base": "^6.1.0", - "@celo/connect": "^6.0.2", - "@celo/utils": "^7.0.0", - "@celo/wallet-local": "^6.0.1", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", + "@celo/utils": "^8.0.0", + "@celo/wallet-local": "^6.0.2", "@types/bn.js": "^5.1.0", "@types/debug": "^4.1.5", "bignumber.js": "^9.0.0", diff --git a/packages/sdk/cryptographic-utils/CHANGELOG.md b/packages/sdk/cryptographic-utils/CHANGELOG.md index a232bae60..44ef9676a 100644 --- a/packages/sdk/cryptographic-utils/CHANGELOG.md +++ b/packages/sdk/cryptographic-utils/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/cryptographic-utils +## 5.1.1 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + ## 5.1.0 ### Minor Changes diff --git a/packages/sdk/cryptographic-utils/package.json b/packages/sdk/cryptographic-utils/package.json index f5cfcaf20..2b7106812 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.1.0", + "version": "5.1.1", "description": "Some Celo utils for comment/data encryption, bls, and mnemonics", "author": "Celo", "license": "Apache-2.0", @@ -22,9 +22,9 @@ "lib/**/*" ], "dependencies": { - "@celo/base": "^6.1.0", + "@celo/base": "^7.0.0", "@celo/bls12377js": "0.1.1", - "@celo/utils": "^7.0.0", + "@celo/utils": "^8.0.0", "@noble/ciphers": "0.4.1", "@noble/curves": "1.3.0", "@noble/hashes": "1.3.3", diff --git a/packages/sdk/explorer/CHANGELOG.md b/packages/sdk/explorer/CHANGELOG.md index 8072d06f6..dbe61a7bf 100644 --- a/packages/sdk/explorer/CHANGELOG.md +++ b/packages/sdk/explorer/CHANGELOG.md @@ -1,5 +1,15 @@ # @celo/explorer +## 5.0.13 + +### Patch Changes + +- Updated dependencies [[`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88), [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/contractkit@9.0.0 + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + ## 5.0.12 ### Patch Changes diff --git a/packages/sdk/explorer/package.json b/packages/sdk/explorer/package.json index 7bb718782..03519f260 100644 --- a/packages/sdk/explorer/package.json +++ b/packages/sdk/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@celo/explorer", - "version": "5.0.12", + "version": "5.0.13", "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": "^6.1.0", - "@celo/connect": "^6.0.1", - "@celo/contractkit": "^8.1.1", - "@celo/utils": "^7.0.0", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", + "@celo/contractkit": "^9.0.0", + "@celo/utils": "^8.0.0", "@types/debug": "^4.1.5", "bignumber.js": "9.0.0", "cross-fetch": "3.1.5", diff --git a/packages/sdk/governance/CHANGELOG.md b/packages/sdk/governance/CHANGELOG.md index b5466a8a3..34d2e0728 100644 --- a/packages/sdk/governance/CHANGELOG.md +++ b/packages/sdk/governance/CHANGELOG.md @@ -1,5 +1,16 @@ # @celo/governance +## 5.1.4 + +### Patch Changes + +- Updated dependencies [[`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88), [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/contractkit@9.0.0 + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/explorer@5.0.13 + - @celo/connect@6.0.3 + ## 5.1.3 ### Patch Changes diff --git a/packages/sdk/governance/package.json b/packages/sdk/governance/package.json index d1e6b119c..7bd06a6e3 100644 --- a/packages/sdk/governance/package.json +++ b/packages/sdk/governance/package.json @@ -1,6 +1,6 @@ { "name": "@celo/governance", - "version": "5.1.3", + "version": "5.1.4", "description": "Celo's governance proposals", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -22,11 +22,11 @@ }, "dependencies": { "@celo/abis": "11.0.0", - "@celo/base": "^6.1.0", - "@celo/connect": "^6.0.1", - "@celo/contractkit": "^8.1.1", - "@celo/explorer": "^5.0.12", - "@celo/utils": "^7.0.0", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", + "@celo/contractkit": "^9.0.0", + "@celo/explorer": "^5.0.13", + "@celo/utils": "^8.0.0", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5", "@types/inquirer": "^6.5.0", diff --git a/packages/sdk/keystores/CHANGELOG.md b/packages/sdk/keystores/CHANGELOG.md index af0c6f882..e95015921 100644 --- a/packages/sdk/keystores/CHANGELOG.md +++ b/packages/sdk/keystores/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/keystores +## 5.0.12 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/utils@8.0.0 + - @celo/wallet-local@6.0.2 + ## 5.0.11 ### Patch Changes diff --git a/packages/sdk/keystores/package.json b/packages/sdk/keystores/package.json index 977d139b4..a48a109f2 100644 --- a/packages/sdk/keystores/package.json +++ b/packages/sdk/keystores/package.json @@ -1,6 +1,6 @@ { "name": "@celo/keystores", - "version": "5.0.11", + "version": "5.0.12", "description": "keystore implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,8 +22,8 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/utils": "^7.0.0", - "@celo/wallet-local": "^6.0.1", + "@celo/utils": "^8.0.0", + "@celo/wallet-local": "^6.0.2", "ethereumjs-wallet": "^1.0.1" }, "devDependencies": { diff --git a/packages/sdk/metadata-claims/CHANGELOG.md b/packages/sdk/metadata-claims/CHANGELOG.md new file mode 100644 index 000000000..bcc7d9d8e --- /dev/null +++ b/packages/sdk/metadata-claims/CHANGELOG.md @@ -0,0 +1,33 @@ +# @celo/metadata-claims + +## 1.0.0 + +### Major Changes + +- [#340](https://github.com/celo-org/developer-tooling/pull/340) [`33ad4aa`](https://github.com/celo-org/developer-tooling/commit/33ad4aaf6b9edc33d1ce19833dbea626798cfb88) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Introducing @celo/metadata-claims These are a series of functions extracted from @celo/contractkit since they didnt strictly need depend on contractkit itsefl. Developers can now use IdentityMetadataWrapper with any js rpc library like ethers or viem or web3js without being forced to import ContractKit. + + Instead when using `IdentityMetadataWrapper` you should make an object that satisfis the `AccountMetadataSignerGetters` type + + ```typescript + import { AccountMetadataSignerGetters } from '@celo/metadata-claims/lib/types' + ``` + + using viem it would be like + + ```typescript + const accountsMetaDataSignerGetters: AccountMetadataSignerGetters = { + isAccount: async (address: string) => accounts.read.isAccount([address as Address]), + getValidatorSigner: async (address: string) => + accounts.read.getValidatorSigner([address as Address]), + getVoteSigner: async (address: string) => + accounts.read.getValidatorSigner([address as Address]), + getAttestationSigner: async (address: string) => + accounts.read.getValidatorSigner([address as Address]), + } + ``` + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 diff --git a/packages/sdk/metadata-claims/package.json b/packages/sdk/metadata-claims/package.json index 2b707ca9c..9b5687f73 100644 --- a/packages/sdk/metadata-claims/package.json +++ b/packages/sdk/metadata-claims/package.json @@ -1,6 +1,6 @@ { "name": "@celo/metadata-claims", - "version": "0.0.1", + "version": "1.0.0", "author": "cLabs", "license": "Apache-2.0", "repository": "https://github.com/celo-org/developer-tooling/tree/master/packages/sdk/metadata-claims", @@ -24,8 +24,8 @@ "lint": "yarn run --top-level eslint -c .eslintrc.js " }, "dependencies": { - "@celo/base": "^6.1.0", - "@celo/utils": "^7.0.0", + "@celo/base": "^7.0.0", + "@celo/utils": "^8.0.0", "cross-fetch": "3.1.5", "fp-ts": "2.1.1", "io-ts": "2.0.1" diff --git a/packages/sdk/phone-utils/CHANGELOG.md b/packages/sdk/phone-utils/CHANGELOG.md index 444ca5b97..43bf19095 100644 --- a/packages/sdk/phone-utils/CHANGELOG.md +++ b/packages/sdk/phone-utils/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/phone-utils +## 6.0.4 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + ## 6.0.3 ### Patch Changes diff --git a/packages/sdk/phone-utils/package.json b/packages/sdk/phone-utils/package.json index 936aa3edd..3ad2a7fee 100644 --- a/packages/sdk/phone-utils/package.json +++ b/packages/sdk/phone-utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/phone-utils", - "version": "6.0.3", + "version": "6.0.4", "description": "Celo phone utils", "author": "Celo", "license": "Apache-2.0", @@ -22,8 +22,8 @@ "lib/**/*" ], "dependencies": { - "@celo/base": "^6.1.0", - "@celo/utils": "^7.0.0", + "@celo/base": "^7.0.0", + "@celo/utils": "^8.0.0", "@types/country-data": "^0.0.0", "@types/google-libphonenumber": "^7.4.23", "@types/node": "^18.7.16", diff --git a/packages/sdk/transactions-uri/CHANGELOG.md b/packages/sdk/transactions-uri/CHANGELOG.md index b26726d95..6b4ee8c66 100644 --- a/packages/sdk/transactions-uri/CHANGELOG.md +++ b/packages/sdk/transactions-uri/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/transactions-uri +## 5.0.12 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/connect@6.0.3 + ## 5.0.11 ### Patch Changes diff --git a/packages/sdk/transactions-uri/package.json b/packages/sdk/transactions-uri/package.json index d9b23051c..811b1f6b1 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.11", + "version": "5.0.12", "description": "Celo's transactions uri generation", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -22,8 +22,8 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "^6.1.0", - "@celo/connect": "^6.0.1", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", "@types/bn.js": "^5.1.0", "@types/debug": "^4.1.5", "@types/qrcode": "^1.3.4", @@ -32,7 +32,7 @@ "web3-eth-abi": "1.10.4" }, "devDependencies": { - "@celo/contractkit": "^8.1.1", + "@celo/contractkit": "^9.0.0", "@celo/dev-utils": "0.0.5", "@celo/typescript": "workspace:^", "cross-fetch": "3.1.5", diff --git a/packages/sdk/utils/CHANGELOG.md b/packages/sdk/utils/CHANGELOG.md index b35be4a04..79da3fe31 100644 --- a/packages/sdk/utils/CHANGELOG.md +++ b/packages/sdk/utils/CHANGELOG.md @@ -1,5 +1,24 @@ # @celo/utils +## 8.0.0 + +### Major Changes + +- [#228](https://github.com/celo-org/developer-tooling/pull/228) [`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - remove deprecated functions and consts exported from ./contacts and ./displayformating. ./currencies and ./phonenumbers. If these are used by your app we recommend to inline the functions from the previous release. + + - https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/contacts.ts + - https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/displayFormatting.ts + - https://github.com/celo-org/developer-tooling/blob/%40celo/wallet-base%406.0.1/packages/sdk/base/src/phoneNumbers.ts + + https://github.com/celo-org/developer-tooling/tree/%40celo/wallet-base%406.0.1/packages/sdk/base/src + + Full List of removed exports -- ContactPhoneNumber, MinimalContact, getContactPhoneNumber, isContact, CURRENCY_ENUM, Currency, CURRENCIES, resolveCurrency, SHORT_CURRENCIES, currencyToShortMap | getErrorMessage | anonymizedPhone | getContactNameHash + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + ## 7.0.0 ### Major Changes diff --git a/packages/sdk/utils/package.json b/packages/sdk/utils/package.json index dd0849a1c..dc31b98e4 100644 --- a/packages/sdk/utils/package.json +++ b/packages/sdk/utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/utils", - "version": "7.0.0", + "version": "8.0.0", "description": "Celo common utils", "author": "Celo", "license": "Apache-2.0", @@ -22,7 +22,7 @@ "lib/**/*" ], "dependencies": { - "@celo/base": "^6.1.0", + "@celo/base": "^7.0.0", "@ethereumjs/rlp": "^5.0.2", "@ethereumjs/util": "8.0.5", "@noble/ciphers": "0.4.1", diff --git a/packages/sdk/wallets/wallet-base/CHANGELOG.md b/packages/sdk/wallets/wallet-base/CHANGELOG.md index b8f326a8c..ee71037bb 100644 --- a/packages/sdk/wallets/wallet-base/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-base/CHANGELOG.md @@ -1,5 +1,14 @@ # @celo/wallet-base +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + ## 6.0.1 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-base/package.json b/packages/sdk/wallets/wallet-base/package.json index fc32a7a67..816126d84 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": "6.0.1", + "version": "6.0.2", "description": "Wallet base implementation", "author": "Celo", "license": "Apache-2.0", @@ -27,9 +27,9 @@ "viem": "~1.5.4" }, "dependencies": { - "@celo/base": "^6.1.0", - "@celo/connect": "^6.0.1", - "@celo/utils": "^7.0.0", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", + "@celo/utils": "^8.0.0", "@ethereumjs/rlp": "^5.0.2", "@ethereumjs/util": "8.0.5", "@noble/curves": "^1.3.0", diff --git a/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md index 5a050dcf4..bb93bdec2 100644 --- a/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md @@ -1,5 +1,16 @@ # @celo/wallet-hsm-aws +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + - @celo/wallet-base@6.0.2 + - @celo/wallet-hsm@6.0.2 + - @celo/wallet-remote@6.0.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-aws/package.json b/packages/sdk/wallets/wallet-hsm-aws/package.json index a257e8d35..1d75d4c7a 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": "6.0.1", + "version": "6.0.2", "description": "AWS HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,11 +22,11 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "^6.0.1", - "@celo/utils": "^7.0.0", - "@celo/wallet-base": "^6.0.1", - "@celo/wallet-hsm": "^6.0.1", - "@celo/wallet-remote": "^6.0.1", + "@celo/connect": "^6.0.3", + "@celo/utils": "^8.0.0", + "@celo/wallet-base": "^6.0.2", + "@celo/wallet-hsm": "^6.0.2", + "@celo/wallet-remote": "^6.0.2", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5", "@types/secp256k1": "^4.0.0", diff --git a/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md index 97702b432..7c441b570 100644 --- a/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md @@ -1,5 +1,17 @@ # @celo/wallet-hsm-azure +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + - @celo/wallet-base@6.0.2 + - @celo/wallet-hsm@6.0.2 + - @celo/wallet-remote@6.0.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-azure/package.json b/packages/sdk/wallets/wallet-hsm-azure/package.json index c09aea018..d51c3d653 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": "6.0.1", + "version": "6.0.2", "description": "Azure HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -25,12 +25,12 @@ "@azure/identity": "^4.0.1", "@azure/keyvault-keys": "^4.7.2", "@azure/keyvault-secrets": "^4.7.0", - "@celo/base": "^6.1.0", - "@celo/connect": "^6.0.1", - "@celo/utils": "^7.0.0", - "@celo/wallet-base": "^6.0.1", - "@celo/wallet-hsm": "^6.0.1", - "@celo/wallet-remote": "^6.0.1", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", + "@celo/utils": "^8.0.0", + "@celo/wallet-base": "^6.0.2", + "@celo/wallet-hsm": "^6.0.2", + "@celo/wallet-remote": "^6.0.2", "@ethereumjs/util": "8.0.5", "@types/secp256k1": "^4.0.0", "bignumber.js": "^9.0.0", diff --git a/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md index 3be499a4e..46286614a 100644 --- a/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md @@ -1,5 +1,16 @@ # @celo/wallet-hsm-gcp +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + - @celo/wallet-base@6.0.2 + - @celo/wallet-hsm@6.0.2 + - @celo/wallet-remote@6.0.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-gcp/package.json b/packages/sdk/wallets/wallet-hsm-gcp/package.json index 63f270c27..b32fab2a6 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": "6.0.1", + "version": "6.0.2", "description": "GCP HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -20,11 +20,11 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "^6.0.1", - "@celo/utils": "^7.0.0", - "@celo/wallet-base": "^6.0.1", - "@celo/wallet-hsm": "^6.0.1", - "@celo/wallet-remote": "^6.0.1", + "@celo/connect": "^6.0.3", + "@celo/utils": "^8.0.0", + "@celo/wallet-base": "^6.0.2", + "@celo/wallet-hsm": "^6.0.2", + "@celo/wallet-remote": "^6.0.2", "@ethereumjs/util": "8.0.5", "@google-cloud/kms": "~2.9.0", "@noble/curves": "^1.3.0", diff --git a/packages/sdk/wallets/wallet-hsm/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm/CHANGELOG.md index e2e6e28a5..f363a5c2f 100644 --- a/packages/sdk/wallets/wallet-hsm/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm/CHANGELOG.md @@ -1,5 +1,12 @@ # @celo/wallet-hsm +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + ## 6.0.1 ## 6.0.1-beta.0 diff --git a/packages/sdk/wallets/wallet-hsm/package.json b/packages/sdk/wallets/wallet-hsm/package.json index 9a7122066..fa363c921 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": "6.0.1", + "version": "6.0.2", "description": "HSM wallet implementation utils", "author": "Celo", "license": "Apache-2.0", @@ -22,7 +22,7 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "^6.1.0", + "@celo/base": "^7.0.0", "@ethereumjs/util": "8.0.5", "@noble/ciphers": "0.4.1", "@noble/curves": "1.3.0", diff --git a/packages/sdk/wallets/wallet-ledger/CHANGELOG.md b/packages/sdk/wallets/wallet-ledger/CHANGELOG.md index 657de345d..fe4060675 100644 --- a/packages/sdk/wallets/wallet-ledger/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-ledger/CHANGELOG.md @@ -1,5 +1,16 @@ # @celo/wallet-ledger +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + - @celo/wallet-base@6.0.2 + - @celo/wallet-remote@6.0.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-ledger/package.json b/packages/sdk/wallets/wallet-ledger/package.json index 562c7fbe1..f2c18a6cd 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": "6.0.1", + "version": "6.0.2", "description": "Ledger wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -24,12 +24,12 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "^6.1.0", - "@celo/connect": "^6.0.1", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", "@celo/ledger-token-signer": "^0.4.0", - "@celo/utils": "^7.0.0", - "@celo/wallet-base": "^6.0.1", - "@celo/wallet-remote": "^6.0.1", + "@celo/utils": "^8.0.0", + "@celo/wallet-base": "^6.0.2", + "@celo/wallet-remote": "^6.0.2", "@ethereumjs/util": "8.0.5", "@ledgerhq/errors": "^6.16.4", "@ledgerhq/hw-app-eth": "git+https://github.com:celo-org/ledgerjs-hw-app-eth.git", @@ -38,7 +38,7 @@ "semver": "^7.6.0" }, "devDependencies": { - "@celo/contractkit": "^8.1.1", + "@celo/contractkit": "^9.0.0", "@celo/typescript": "workspace:^", "@ledgerhq/hw-transport-node-hid": "^6.28.5", "@noble/curves": "^1.4.0", diff --git a/packages/sdk/wallets/wallet-local/CHANGELOG.md b/packages/sdk/wallets/wallet-local/CHANGELOG.md index 5efe5ffe7..76e8f6e2c 100644 --- a/packages/sdk/wallets/wallet-local/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-local/CHANGELOG.md @@ -1,5 +1,15 @@ # @celo/wallet-local +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + - @celo/wallet-base@6.0.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-local/package.json b/packages/sdk/wallets/wallet-local/package.json index 743659d6b..6a9868867 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": "6.0.1", + "version": "6.0.2", "description": "Local wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,10 +22,10 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/base": "^6.1.0", - "@celo/connect": "^6.0.1", - "@celo/utils": "^7.0.0", - "@celo/wallet-base": "^6.0.1", + "@celo/base": "^7.0.0", + "@celo/connect": "^6.0.3", + "@celo/utils": "^8.0.0", + "@celo/wallet-base": "^6.0.2", "@ethereumjs/util": "8.0.5" }, "devDependencies": { diff --git a/packages/sdk/wallets/wallet-remote/CHANGELOG.md b/packages/sdk/wallets/wallet-remote/CHANGELOG.md index 8d309ef2b..2ea89f119 100644 --- a/packages/sdk/wallets/wallet-remote/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-remote/CHANGELOG.md @@ -1,5 +1,14 @@ # @celo/wallet-remote +## 6.0.2 + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/utils@8.0.0 + - @celo/connect@6.0.3 + - @celo/wallet-base@6.0.2 + ## 6.0.1 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-remote/package.json b/packages/sdk/wallets/wallet-remote/package.json index bec20f9b3..1335c9705 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": "6.0.1", + "version": "6.0.2", "description": "Remote wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,9 +22,9 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "^6.0.1", - "@celo/utils": "^7.0.0", - "@celo/wallet-base": "^6.0.1", + "@celo/connect": "^6.0.3", + "@celo/utils": "^8.0.0", + "@celo/wallet-base": "^6.0.2", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5" }, diff --git a/packages/viem-account-ledger/CHANGELOG.md b/packages/viem-account-ledger/CHANGELOG.md index e69de29bb..3889bcf7c 100644 --- a/packages/viem-account-ledger/CHANGELOG.md +++ b/packages/viem-account-ledger/CHANGELOG.md @@ -0,0 +1,12 @@ +# @celo/viem-account-ledger + +## 1.0.0 + +### Major Changes + +- [#344](https://github.com/celo-org/developer-tooling/pull/344) [`6bba5e3`](https://github.com/celo-org/developer-tooling/commit/6bba5e377cded1c8216c5cd1cadeb4b8b764df55) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Initial release + +### Patch Changes + +- Updated dependencies [[`4ef76eb`](https://github.com/celo-org/developer-tooling/commit/4ef76eb174454f60304080d0ef63a859cd8d931b)]: + - @celo/base@7.0.0 diff --git a/packages/viem-account-ledger/package.json b/packages/viem-account-ledger/package.json index 0dbe02670..52f91e4b3 100644 --- a/packages/viem-account-ledger/package.json +++ b/packages/viem-account-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@celo/viem-account-ledger", - "version": "0.0.1", + "version": "1.0.0", "description": "Helper library to make ledger<->viem interactions easier", "type": "module", "exports": { @@ -30,7 +30,7 @@ "viem": "2.x" }, "dependencies": { - "@celo/base": "^6.1.0", + "@celo/base": "^7.0.0", "@celo/ledger-token-signer": "^0.4.0", "@ledgerhq/errors": "^6.16.4", "@ledgerhq/hw-app-eth": "git+https://github.com:celo-org/ledgerjs-hw-app-eth.git", diff --git a/yarn.lock b/yarn.lock index adf2cf933..88195a84c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1638,7 +1638,14 @@ __metadata: languageName: node linkType: hard -"@celo/base@npm:^6.0.0, @celo/base@npm:^6.0.1, @celo/base@npm:^6.1.0, @celo/base@workspace:packages/sdk/base": +"@celo/base@npm:^6.0.0, @celo/base@npm:^6.0.1": + version: 6.1.0 + resolution: "@celo/base@npm:6.1.0" + checksum: e70a5b1313d5fafc2b048a0badc31d9de8f48dfe00eba60b45f6275f46a68ff82e90c5388dbbdd9eb6bdbed8dc91b7c86750587989e469c8dd94b71942951b7f + languageName: node + linkType: hard + +"@celo/base@npm:^7.0.0, @celo/base@workspace:packages/sdk/base": version: 0.0.0-use.local resolution: "@celo/base@workspace:packages/sdk/base" dependencies: @@ -1681,23 +1688,23 @@ __metadata: resolution: "@celo/celocli@workspace:packages/cli" dependencies: "@celo/abis": "npm:11.0.0" - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/celo-devchain": "npm:^7.0.0" "@celo/compliance": "npm:~1.0.23" - "@celo/connect": "npm:^6.0.2" - "@celo/contractkit": "npm:^8.3.0" - "@celo/cryptographic-utils": "npm:^5.1.0" + "@celo/connect": "npm:^6.0.3" + "@celo/contractkit": "npm:^9.0.0" + "@celo/cryptographic-utils": "npm:^5.1.1" "@celo/dev-utils": "npm:0.0.5" - "@celo/explorer": "npm:^5.0.12" - "@celo/governance": "npm:^5.1.3" + "@celo/explorer": "npm:^5.0.13" + "@celo/governance": "npm:^5.1.4" "@celo/identity": "npm:^5.1.2" - "@celo/metadata-claims": "npm:^0.0.1" - "@celo/phone-utils": "npm:^6.0.3" + "@celo/metadata-claims": "npm:^1.0.0" + "@celo/phone-utils": "npm:^6.0.4" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-hsm-azure": "npm:^6.0.1" - "@celo/wallet-ledger": "npm:^6.0.1" - "@celo/wallet-local": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-hsm-azure": "npm:^6.0.2" + "@celo/wallet-ledger": "npm:^6.0.2" + "@celo/wallet-local": "npm:^6.0.2" "@ethereumjs/util": "npm:8.0.5" "@ledgerhq/hw-transport-node-hid": "npm:^6.28.5" "@mento-protocol/mento-sdk": "npm:^1.0.1" @@ -1768,13 +1775,13 @@ __metadata: languageName: node linkType: hard -"@celo/connect@npm:^6.0.1, @celo/connect@npm:^6.0.2, @celo/connect@workspace:packages/sdk/connect": +"@celo/connect@npm:^6.0.1, @celo/connect@npm:^6.0.3, @celo/connect@workspace:packages/sdk/connect": version: 0.0.0-use.local resolution: "@celo/connect@workspace:packages/sdk/connect" dependencies: - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" + "@celo/utils": "npm:^8.0.0" "@ethereumjs/util": "npm:8.0.5" "@types/debug": "npm:^4.1.12" "@types/utf8": "npm:^2.1.6" @@ -1814,20 +1821,20 @@ __metadata: languageName: node linkType: hard -"@celo/contractkit@npm:^8.1.1, @celo/contractkit@npm:^8.3.0, @celo/contractkit@workspace:^, @celo/contractkit@workspace:packages/sdk/contractkit": +"@celo/contractkit@npm:^9.0.0, @celo/contractkit@workspace:^, @celo/contractkit@workspace:packages/sdk/contractkit": version: 0.0.0-use.local resolution: "@celo/contractkit@workspace:packages/sdk/contractkit" dependencies: "@celo/abis": "npm:11.0.0" "@celo/abis-12": "npm:@celo/abis@12.0.0-canary.35" - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/celo-devchain": "npm:^7.0.0" - "@celo/connect": "npm:^6.0.2" + "@celo/connect": "npm:^6.0.3" "@celo/dev-utils": "npm:0.0.5" "@celo/odis-identifiers": "npm:^1.0.1" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-local": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-local": "npm:^6.0.2" "@truffle/contract": "npm:4.6.31" "@types/bn.js": "npm:^5.1.0" "@types/debug": "npm:^4.1.5" @@ -1848,14 +1855,14 @@ __metadata: languageName: unknown linkType: soft -"@celo/cryptographic-utils@npm:^5.1.0, @celo/cryptographic-utils@workspace:packages/sdk/cryptographic-utils": +"@celo/cryptographic-utils@npm:^5.1.1, @celo/cryptographic-utils@workspace:packages/sdk/cryptographic-utils": version: 0.0.0-use.local resolution: "@celo/cryptographic-utils@workspace:packages/sdk/cryptographic-utils" dependencies: - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/bls12377js": "npm:0.1.1" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" + "@celo/utils": "npm:^8.0.0" "@noble/ciphers": "npm:0.4.1" "@noble/curves": "npm:1.3.0" "@noble/hashes": "npm:1.3.3" @@ -1895,16 +1902,16 @@ __metadata: languageName: node linkType: hard -"@celo/explorer@npm:^5.0.12, @celo/explorer@workspace:packages/sdk/explorer": +"@celo/explorer@npm:^5.0.13, @celo/explorer@workspace:packages/sdk/explorer": version: 0.0.0-use.local resolution: "@celo/explorer@workspace:packages/sdk/explorer" dependencies: - "@celo/base": "npm:^6.1.0" - "@celo/connect": "npm:^6.0.1" - "@celo/contractkit": "npm:^8.1.1" + "@celo/base": "npm:^7.0.0" + "@celo/connect": "npm:^6.0.3" + "@celo/contractkit": "npm:^9.0.0" "@celo/dev-utils": "npm:0.0.5" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" + "@celo/utils": "npm:^8.0.0" "@types/debug": "npm:^4.1.12" bignumber.js: "npm:9.0.0" cross-fetch: "npm:3.1.5" @@ -1914,17 +1921,17 @@ __metadata: languageName: unknown linkType: soft -"@celo/governance@npm:^5.1.3, @celo/governance@workspace:packages/sdk/governance": +"@celo/governance@npm:^5.1.4, @celo/governance@workspace:packages/sdk/governance": version: 0.0.0-use.local resolution: "@celo/governance@workspace:packages/sdk/governance" dependencies: "@celo/abis": "npm:11.0.0" - "@celo/base": "npm:^6.1.0" - "@celo/connect": "npm:^6.0.1" - "@celo/contractkit": "npm:^8.1.1" - "@celo/explorer": "npm:^5.0.12" + "@celo/base": "npm:^7.0.0" + "@celo/connect": "npm:^6.0.3" + "@celo/contractkit": "npm:^9.0.0" + "@celo/explorer": "npm:^5.0.13" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" + "@celo/utils": "npm:^8.0.0" "@ethereumjs/util": "npm:8.0.5" "@types/debug": "npm:^4.1.12" "@types/inquirer": "npm:^6.5.0" @@ -1961,8 +1968,8 @@ __metadata: resolution: "@celo/keystores@workspace:packages/sdk/keystores" dependencies: "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-local": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-local": "npm:^6.0.2" "@types/rimraf": "npm:3.0.2" ethereumjs-wallet: "npm:^1.0.1" rimraf: "npm:3.0.2" @@ -1976,17 +1983,17 @@ __metadata: languageName: node linkType: hard -"@celo/metadata-claims@npm:^0.0.1, @celo/metadata-claims@workspace:packages/sdk/metadata-claims": +"@celo/metadata-claims@npm:^1.0.0, @celo/metadata-claims@workspace:packages/sdk/metadata-claims": version: 0.0.0-use.local resolution: "@celo/metadata-claims@workspace:packages/sdk/metadata-claims" dependencies: - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/celo-devchain": "npm:^7.0.0" "@celo/contractkit": "workspace:^" "@celo/dev-utils": "npm:0.0.5" "@celo/odis-identifiers": "npm:^1.0.1" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" + "@celo/utils": "npm:^8.0.0" "@types/node": "npm:18.7.6" cross-fetch: "npm:3.1.5" fetch-mock: "npm:^10.0.7" @@ -2041,13 +2048,13 @@ __metadata: languageName: node linkType: hard -"@celo/phone-utils@npm:^6.0.3, @celo/phone-utils@workspace:packages/sdk/phone-utils": +"@celo/phone-utils@npm:^6.0.4, @celo/phone-utils@workspace:packages/sdk/phone-utils": version: 0.0.0-use.local resolution: "@celo/phone-utils@workspace:packages/sdk/phone-utils" dependencies: - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" + "@celo/utils": "npm:^8.0.0" "@types/country-data": "npm:^0.0.0" "@types/google-libphonenumber": "npm:^7.4.23" "@types/node": "npm:^18.7.16" @@ -2063,9 +2070,9 @@ __metadata: version: 0.0.0-use.local resolution: "@celo/transactions-uri@workspace:packages/sdk/transactions-uri" dependencies: - "@celo/base": "npm:^6.1.0" - "@celo/connect": "npm:^6.0.1" - "@celo/contractkit": "npm:^8.1.1" + "@celo/base": "npm:^7.0.0" + "@celo/connect": "npm:^6.0.3" + "@celo/contractkit": "npm:^9.0.0" "@celo/dev-utils": "npm:0.0.5" "@celo/typescript": "workspace:^" "@types/bn.js": "npm:^5.1.0" @@ -2106,11 +2113,11 @@ __metadata: languageName: node linkType: hard -"@celo/utils@npm:^7.0.0, @celo/utils@workspace:^, @celo/utils@workspace:packages/sdk/utils": +"@celo/utils@npm:^8.0.0, @celo/utils@workspace:^, @celo/utils@workspace:packages/sdk/utils": version: 0.0.0-use.local resolution: "@celo/utils@workspace:packages/sdk/utils" dependencies: - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/typescript": "workspace:^" "@ethereumjs/rlp": "npm:^5.0.2" "@ethereumjs/util": "npm:8.0.5" @@ -2131,7 +2138,7 @@ __metadata: version: 0.0.0-use.local resolution: "@celo/viem-account-ledger@workspace:packages/viem-account-ledger" dependencies: - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/ledger-token-signer": "npm:^0.4.0" "@celo/typescript": "workspace:^" "@celo/utils": "workspace:^" @@ -2172,14 +2179,14 @@ __metadata: languageName: node linkType: hard -"@celo/wallet-base@npm:^6.0.1, @celo/wallet-base@workspace:^, @celo/wallet-base@workspace:packages/sdk/wallets/wallet-base": +"@celo/wallet-base@npm:^6.0.2, @celo/wallet-base@workspace:^, @celo/wallet-base@workspace:packages/sdk/wallets/wallet-base": version: 0.0.0-use.local resolution: "@celo/wallet-base@workspace:packages/sdk/wallets/wallet-base" dependencies: - "@celo/base": "npm:^6.1.0" - "@celo/connect": "npm:^6.0.1" + "@celo/base": "npm:^7.0.0" + "@celo/connect": "npm:^6.0.3" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" + "@celo/utils": "npm:^8.0.0" "@ethereumjs/rlp": "npm:^5.0.2" "@ethereumjs/util": "npm:8.0.5" "@noble/curves": "npm:^1.3.0" @@ -2197,12 +2204,12 @@ __metadata: version: 0.0.0-use.local resolution: "@celo/wallet-hsm-aws@workspace:packages/sdk/wallets/wallet-hsm-aws" dependencies: - "@celo/connect": "npm:^6.0.1" + "@celo/connect": "npm:^6.0.3" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-base": "npm:^6.0.1" - "@celo/wallet-hsm": "npm:^6.0.1" - "@celo/wallet-remote": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-base": "npm:^6.0.2" + "@celo/wallet-hsm": "npm:^6.0.2" + "@celo/wallet-remote": "npm:^6.0.2" "@ethereumjs/util": "npm:8.0.5" "@noble/ciphers": "npm:0.4.1" "@noble/curves": "npm:1.3.0" @@ -2217,20 +2224,20 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-hsm-azure@npm:^6.0.1, @celo/wallet-hsm-azure@workspace:packages/sdk/wallets/wallet-hsm-azure": +"@celo/wallet-hsm-azure@npm:^6.0.2, @celo/wallet-hsm-azure@workspace:packages/sdk/wallets/wallet-hsm-azure": version: 0.0.0-use.local resolution: "@celo/wallet-hsm-azure@workspace:packages/sdk/wallets/wallet-hsm-azure" dependencies: "@azure/identity": "npm:^4.0.1" "@azure/keyvault-keys": "npm:^4.7.2" "@azure/keyvault-secrets": "npm:^4.7.0" - "@celo/base": "npm:^6.1.0" - "@celo/connect": "npm:^6.0.1" + "@celo/base": "npm:^7.0.0" + "@celo/connect": "npm:^6.0.3" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-base": "npm:^6.0.1" - "@celo/wallet-hsm": "npm:^6.0.1" - "@celo/wallet-remote": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-base": "npm:^6.0.2" + "@celo/wallet-hsm": "npm:^6.0.2" + "@celo/wallet-remote": "npm:^6.0.2" "@ethereumjs/util": "npm:8.0.5" "@noble/ciphers": "npm:0.4.1" "@noble/curves": "npm:1.3.0" @@ -2248,12 +2255,12 @@ __metadata: version: 0.0.0-use.local resolution: "@celo/wallet-hsm-gcp@workspace:packages/sdk/wallets/wallet-hsm-gcp" dependencies: - "@celo/connect": "npm:^6.0.1" + "@celo/connect": "npm:^6.0.3" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-base": "npm:^6.0.1" - "@celo/wallet-hsm": "npm:^6.0.1" - "@celo/wallet-remote": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-base": "npm:^6.0.2" + "@celo/wallet-hsm": "npm:^6.0.2" + "@celo/wallet-remote": "npm:^6.0.2" "@ethereumjs/util": "npm:8.0.5" "@google-cloud/kms": "npm:~2.9.0" "@noble/ciphers": "npm:0.4.1" @@ -2268,11 +2275,11 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-hsm@npm:^6.0.1, @celo/wallet-hsm@workspace:packages/sdk/wallets/wallet-hsm": +"@celo/wallet-hsm@npm:^6.0.2, @celo/wallet-hsm@workspace:packages/sdk/wallets/wallet-hsm": version: 0.0.0-use.local resolution: "@celo/wallet-hsm@workspace:packages/sdk/wallets/wallet-hsm" dependencies: - "@celo/base": "npm:^6.1.0" + "@celo/base": "npm:^7.0.0" "@celo/typescript": "workspace:^" "@ethereumjs/util": "npm:8.0.5" "@noble/ciphers": "npm:0.4.1" @@ -2287,18 +2294,18 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-ledger@npm:^6.0.1, @celo/wallet-ledger@workspace:packages/sdk/wallets/wallet-ledger": +"@celo/wallet-ledger@npm:^6.0.2, @celo/wallet-ledger@workspace:packages/sdk/wallets/wallet-ledger": version: 0.0.0-use.local resolution: "@celo/wallet-ledger@workspace:packages/sdk/wallets/wallet-ledger" dependencies: - "@celo/base": "npm:^6.1.0" - "@celo/connect": "npm:^6.0.1" - "@celo/contractkit": "npm:^8.1.1" + "@celo/base": "npm:^7.0.0" + "@celo/connect": "npm:^6.0.3" + "@celo/contractkit": "npm:^9.0.0" "@celo/ledger-token-signer": "npm:^0.4.0" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-base": "npm:^6.0.1" - "@celo/wallet-remote": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-base": "npm:^6.0.2" + "@celo/wallet-remote": "npm:^6.0.2" "@ethereumjs/util": "npm:8.0.5" "@ledgerhq/errors": "npm:^6.16.4" "@ledgerhq/hw-app-eth": "git+https://github.com:celo-org/ledgerjs-hw-app-eth.git" @@ -2329,15 +2336,15 @@ __metadata: languageName: node linkType: hard -"@celo/wallet-local@npm:^6.0.1, @celo/wallet-local@workspace:packages/sdk/wallets/wallet-local": +"@celo/wallet-local@npm:^6.0.2, @celo/wallet-local@workspace:packages/sdk/wallets/wallet-local": version: 0.0.0-use.local resolution: "@celo/wallet-local@workspace:packages/sdk/wallets/wallet-local" dependencies: - "@celo/base": "npm:^6.1.0" - "@celo/connect": "npm:^6.0.1" + "@celo/base": "npm:^7.0.0" + "@celo/connect": "npm:^6.0.3" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-base": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-base": "npm:^6.0.2" "@ethereumjs/util": "npm:8.0.5" "@types/debug": "npm:^4.1.12" debug: "npm:^4.3.5" @@ -2346,14 +2353,14 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-remote@npm:^6.0.1, @celo/wallet-remote@workspace:^, @celo/wallet-remote@workspace:packages/sdk/wallets/wallet-remote": +"@celo/wallet-remote@npm:^6.0.2, @celo/wallet-remote@workspace:^, @celo/wallet-remote@workspace:packages/sdk/wallets/wallet-remote": version: 0.0.0-use.local resolution: "@celo/wallet-remote@workspace:packages/sdk/wallets/wallet-remote" dependencies: - "@celo/connect": "npm:^6.0.1" + "@celo/connect": "npm:^6.0.3" "@celo/typescript": "workspace:^" - "@celo/utils": "npm:^7.0.0" - "@celo/wallet-base": "npm:^6.0.1" + "@celo/utils": "npm:^8.0.0" + "@celo/wallet-base": "npm:^6.0.2" "@ethereumjs/util": "npm:8.0.5" "@types/debug": "npm:^4.1.5" web3: "npm:1.10.4"