diff --git a/.changeset/chubby-peas-sip.md b/.changeset/chubby-peas-sip.md deleted file mode 100644 index 96dd51184..000000000 --- a/.changeset/chubby-peas-sip.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@turnkey/gas-station": major ---- - -Updated the `@turnkey/gas-station` SDK to align with the audited smart contract changes. The audit resulted in several interface updates: - -**Contract Changes:** - -- **New contract addresses**: Updated both delegate and execution contract addresses to the newly deployed versions -- **EIP-712 field name changes**: The canonical delegate contract interface uses simplified field names (`to`, `value`, `data`) instead of the previous descriptive names (`outputContract`, `ethAmount`, `arguments`) - -**SDK Updates:** - -- Updated `DEFAULT_EXECUTION_CONTRACT` address from `0x4ece92b06C7d2d99d87f052E0Fca47Fb180c3348` to `0x00000000008c57a1CE37836a5e9d36759D070d8c` -- Updated `DEFAULT_DELEGATE_CONTRACT` address from `0xC2a37Ee08cAc3778d9d05FF0a93FD5B553C77E3a` to `0x000066a00056CD44008768E2aF00696e19A30084` -- Updated EIP-712 Execution typehash field names to match the contract's canonical interface -- Updated EIP-712 ApproveThenExecute typehash field names to match the contract's canonical interface -- Updated Turnkey policy conditions in `buildIntentSigningPolicy` to reference the new field names (`to`, `value` instead of `outputContract`, `ethAmount`) -- Updated documentation and examples to reflect the new field names - -**Files Modified:** - -- `packages/gas-station/src/config.ts` - Updated contract addresses -- `packages/gas-station/src/intentBuilder.ts` - Updated EIP-712 type definitions and message objects -- `packages/gas-station/src/policyUtils.ts` - Updated policy condition field references and documentation diff --git a/.changeset/puny-things-divide.md b/.changeset/puny-things-divide.md deleted file mode 100644 index 82d8cec7f..000000000 --- a/.changeset/puny-things-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@turnkey/sdk-browser": patch ---- - -Update HPKE dependency diff --git a/examples/with-0x/CHANGELOG.md b/examples/with-0x/CHANGELOG.md index 4dae01005..7b415d0b8 100644 --- a/examples/with-0x/CHANGELOG.md +++ b/examples/with-0x/CHANGELOG.md @@ -1,5 +1,12 @@ # with-0x +## 0.1.11 + +### Patch Changes + +- Updated dependencies []: + - @turnkey/viem@0.14.14 + ## 0.1.10 ### Patch Changes diff --git a/examples/with-0x/package.json b/examples/with-0x/package.json index eda8891ed..b69765d05 100644 --- a/examples/with-0x/package.json +++ b/examples/with-0x/package.json @@ -1,6 +1,6 @@ { "name": "with-0x", - "version": "0.1.10", + "version": "0.1.11", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/with-lifi/CHANGELOG.md b/examples/with-lifi/CHANGELOG.md index bc8fae476..2729b39e0 100644 --- a/examples/with-lifi/CHANGELOG.md +++ b/examples/with-lifi/CHANGELOG.md @@ -1,5 +1,13 @@ # with-lifi +## 0.1.8 + +### Patch Changes + +- Updated dependencies []: + - @turnkey/solana@1.1.14 + - @turnkey/viem@0.14.14 + ## 0.1.7 ### Patch Changes diff --git a/examples/with-lifi/package.json b/examples/with-lifi/package.json index c56ab88eb..05442fd62 100644 --- a/examples/with-lifi/package.json +++ b/examples/with-lifi/package.json @@ -1,6 +1,6 @@ { "name": "with-lifi", - "version": "0.1.7", + "version": "0.1.8", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/with-x/CHANGELOG.md b/examples/with-x/CHANGELOG.md index 944e5f51c..f6a14743b 100644 --- a/examples/with-x/CHANGELOG.md +++ b/examples/with-x/CHANGELOG.md @@ -1,5 +1,12 @@ # with-x +## 0.1.13 + +### Patch Changes + +- Updated dependencies []: + - @turnkey/sdk-react@5.4.12 + ## 0.1.12 ### Patch Changes diff --git a/examples/with-x/package.json b/examples/with-x/package.json index e12535076..44845f938 100644 --- a/examples/with-x/package.json +++ b/examples/with-x/package.json @@ -1,6 +1,6 @@ { "name": "with-x", - "version": "0.1.12", + "version": "0.1.13", "private": true, "scripts": { "dev": "PORT=$(grep PORT .env.local | cut -d '=' -f2) next dev", diff --git a/packages/cosmjs/CHANGELOG.md b/packages/cosmjs/CHANGELOG.md index 053a548b2..b7ebe3f15 100644 --- a/packages/cosmjs/CHANGELOG.md +++ b/packages/cosmjs/CHANGELOG.md @@ -1,5 +1,12 @@ # @turnkey/cosmjs +## 0.8.15 + +### Patch Changes + +- Updated dependencies [[`4d29af2`](https://github.com/tkhq/sdk/commit/4d29af2dd7c735916c650d697f18f66dd76c1b79)]: + - @turnkey/sdk-browser@5.13.2 + ## 0.8.14 ### Patch Changes diff --git a/packages/cosmjs/package.json b/packages/cosmjs/package.json index 1d3625de9..72e7ce3a9 100644 --- a/packages/cosmjs/package.json +++ b/packages/cosmjs/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/cosmjs", - "version": "0.8.14", + "version": "0.8.15", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { diff --git a/packages/eip-1193-provider/CHANGELOG.md b/packages/eip-1193-provider/CHANGELOG.md index 3fcb64ad4..39ab5a1b3 100644 --- a/packages/eip-1193-provider/CHANGELOG.md +++ b/packages/eip-1193-provider/CHANGELOG.md @@ -1,5 +1,12 @@ # @turnkey/eip-1193-provider +## 3.4.14 + +### Patch Changes + +- Updated dependencies [[`4d29af2`](https://github.com/tkhq/sdk/commit/4d29af2dd7c735916c650d697f18f66dd76c1b79)]: + - @turnkey/sdk-browser@5.13.2 + ## 3.4.13 ### Patch Changes diff --git a/packages/eip-1193-provider/package.json b/packages/eip-1193-provider/package.json index ebf5b723f..9caf740d4 100644 --- a/packages/eip-1193-provider/package.json +++ b/packages/eip-1193-provider/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/eip-1193-provider", - "version": "3.4.13", + "version": "3.4.14", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { diff --git a/packages/eip-1193-provider/src/version.ts b/packages/eip-1193-provider/src/version.ts index 103e8182c..32c884223 100644 --- a/packages/eip-1193-provider/src/version.ts +++ b/packages/eip-1193-provider/src/version.ts @@ -1 +1 @@ -export const VERSION = "@turnkey/eip-1193-provider@3.4.13"; +export const VERSION = "@turnkey/eip-1193-provider@3.4.14"; diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index b36babdee..6b29d5d83 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -1,5 +1,12 @@ # @turnkey/ethers +## 1.3.14 + +### Patch Changes + +- Updated dependencies [[`4d29af2`](https://github.com/tkhq/sdk/commit/4d29af2dd7c735916c650d697f18f66dd76c1b79)]: + - @turnkey/sdk-browser@5.13.2 + ## 1.3.13 ### Patch Changes diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 47848710f..0c5ee3c76 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/ethers", - "version": "1.3.13", + "version": "1.3.14", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { diff --git a/packages/gas-station/CHANGELOG.md b/packages/gas-station/CHANGELOG.md index c92662d91..d24487b60 100644 --- a/packages/gas-station/CHANGELOG.md +++ b/packages/gas-station/CHANGELOG.md @@ -1,5 +1,28 @@ # @turnkey/gas-station +## 3.0.0 + +### Major Changes + +- [#1089](https://github.com/tkhq/sdk/pull/1089) [`632d53c`](https://github.com/tkhq/sdk/commit/632d53c8d4600013c41b12ae3e3f4c0b9d0bc405) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Updated the `@turnkey/gas-station` SDK to align with the audited smart contract changes. The audit resulted in several interface updates: + + **Contract Changes:** + - **New contract addresses**: Updated both delegate and execution contract addresses to the newly deployed versions + - **EIP-712 field name changes**: The canonical delegate contract interface uses simplified field names (`to`, `value`, `data`) instead of the previous descriptive names (`outputContract`, `ethAmount`, `arguments`) + + **SDK Updates:** + - Updated `DEFAULT_EXECUTION_CONTRACT` address from `0x4ece92b06C7d2d99d87f052E0Fca47Fb180c3348` to `0x00000000008c57a1CE37836a5e9d36759D070d8c` + - Updated `DEFAULT_DELEGATE_CONTRACT` address from `0xC2a37Ee08cAc3778d9d05FF0a93FD5B553C77E3a` to `0x000066a00056CD44008768E2aF00696e19A30084` + - Updated EIP-712 Execution typehash field names to match the contract's canonical interface + - Updated EIP-712 ApproveThenExecute typehash field names to match the contract's canonical interface + - Updated Turnkey policy conditions in `buildIntentSigningPolicy` to reference the new field names (`to`, `value` instead of `outputContract`, `ethAmount`) + - Updated documentation and examples to reflect the new field names + + **Files Modified:** + - `packages/gas-station/src/config.ts` - Updated contract addresses + - `packages/gas-station/src/intentBuilder.ts` - Updated EIP-712 type definitions and message objects + - `packages/gas-station/src/policyUtils.ts` - Updated policy condition field references and documentation + ## 2.0.0 ### Minor Changes diff --git a/packages/gas-station/package.json b/packages/gas-station/package.json index 5df0e299d..dc20d6feb 100644 --- a/packages/gas-station/package.json +++ b/packages/gas-station/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/gas-station", - "version": "2.0.0", + "version": "3.0.0", "description": "Turnkey Gas Station SDK for EIP-7702 delegated execution", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/sdk-browser/CHANGELOG.md b/packages/sdk-browser/CHANGELOG.md index a8a905603..a278e2d57 100644 --- a/packages/sdk-browser/CHANGELOG.md +++ b/packages/sdk-browser/CHANGELOG.md @@ -1,5 +1,11 @@ # @turnkey/sdk-browser +## 5.13.2 + +### Patch Changes + +- [#1097](https://github.com/tkhq/sdk/pull/1097) Bumping `hpke/core` to `1.7.5` to resolve https://github.com/dajiaji/hpke-js/security/advisories/GHSA-73g8-5h73-26h4. Thanks [@r-n-o](https://github.com/r-n-o) for the bump, and thank you to [@dajiaji](https://github.com/dajiaji) for the disclosure and the underlying fix! + ## 5.13.1 ### Patch Changes diff --git a/packages/sdk-browser/package.json b/packages/sdk-browser/package.json index 9f7573cbf..c42614503 100644 --- a/packages/sdk-browser/package.json +++ b/packages/sdk-browser/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/sdk-browser", - "version": "5.13.1", + "version": "5.13.2", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { diff --git a/packages/sdk-browser/src/__generated__/version.ts b/packages/sdk-browser/src/__generated__/version.ts index 37d01896f..a93fe85fb 100644 --- a/packages/sdk-browser/src/__generated__/version.ts +++ b/packages/sdk-browser/src/__generated__/version.ts @@ -1 +1 @@ -export const VERSION = "@turnkey/sdk-browser@5.13.1"; +export const VERSION = "@turnkey/sdk-browser@5.13.2"; diff --git a/packages/sdk-react/CHANGELOG.md b/packages/sdk-react/CHANGELOG.md index 17b2323d1..0470c0fec 100644 --- a/packages/sdk-react/CHANGELOG.md +++ b/packages/sdk-react/CHANGELOG.md @@ -1,5 +1,12 @@ # @turnkey/sdk-react +## 5.4.12 + +### Patch Changes + +- Updated dependencies [[`4d29af2`](https://github.com/tkhq/sdk/commit/4d29af2dd7c735916c650d697f18f66dd76c1b79)]: + - @turnkey/sdk-browser@5.13.2 + ## 5.4.11 ### Patch Changes diff --git a/packages/sdk-react/package.json b/packages/sdk-react/package.json index fcd521a58..5b0fc5ee8 100644 --- a/packages/sdk-react/package.json +++ b/packages/sdk-react/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/sdk-react", - "version": "5.4.11", + "version": "5.4.12", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { diff --git a/packages/solana/CHANGELOG.md b/packages/solana/CHANGELOG.md index be97f9f80..d937f89c4 100644 --- a/packages/solana/CHANGELOG.md +++ b/packages/solana/CHANGELOG.md @@ -1,5 +1,12 @@ # @turnkey/solana +## 1.1.14 + +### Patch Changes + +- Updated dependencies [[`4d29af2`](https://github.com/tkhq/sdk/commit/4d29af2dd7c735916c650d697f18f66dd76c1b79)]: + - @turnkey/sdk-browser@5.13.2 + ## 1.1.13 ### Patch Changes diff --git a/packages/solana/package.json b/packages/solana/package.json index ac1423089..cf0c539a0 100644 --- a/packages/solana/package.json +++ b/packages/solana/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/solana", - "version": "1.1.13", + "version": "1.1.14", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { diff --git a/packages/viem/CHANGELOG.md b/packages/viem/CHANGELOG.md index 414281050..1f087badb 100644 --- a/packages/viem/CHANGELOG.md +++ b/packages/viem/CHANGELOG.md @@ -1,5 +1,12 @@ # @turnkey/viem +## 0.14.14 + +### Patch Changes + +- Updated dependencies [[`4d29af2`](https://github.com/tkhq/sdk/commit/4d29af2dd7c735916c650d697f18f66dd76c1b79)]: + - @turnkey/sdk-browser@5.13.2 + ## 0.14.13 ### Patch Changes diff --git a/packages/viem/package.json b/packages/viem/package.json index 763a4f9a5..dd617d39e 100644 --- a/packages/viem/package.json +++ b/packages/viem/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/viem", - "version": "0.14.13", + "version": "0.14.14", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": {