diff --git a/packages/cosmjs/CHANGELOG.md b/packages/cosmjs/CHANGELOG.md index 8abc5baf4..f1b2eff42 100644 --- a/packages/cosmjs/CHANGELOG.md +++ b/packages/cosmjs/CHANGELOG.md @@ -5,7 +5,7 @@ ### Patch Changes - Updated dependencies - - @turnkey/http@1.4.0 + - @turnkey/http@2.0.0 - Updated the shape of signing ## 0.4.9 diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index 92ca32b42..84136bcb6 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -5,7 +5,7 @@ ### Patch Changes - Updated dependencies - - @turnkey/http@1.4.0 + - @turnkey/http@2.0.0 - Updated the shape of signing ## 0.17.2 diff --git a/packages/http/CHANGELOG.md b/packages/http/CHANGELOG.md index 18a975f48..cf0ae6ebb 100644 --- a/packages/http/CHANGELOG.md +++ b/packages/http/CHANGELOG.md @@ -1,14 +1,16 @@ # @turnkey/http -## 1.4.0 +## 2.0.0 -### Minor Changes +### Major Changes - Synced protos from mono -- Consolidated signing routes: - - We now have a single route, `/api/v1/submit/sign_raw_payload` for `SignRawPayload` activities (previously this was split into `SignRawPayload` and `SignRawPayloadV2`) - - This extends to `/api/v1/submit/sign_transaction` as well. `SignTransaction` and `SignTransactionV2` now have a unified activity: `SignTransaction` - - Under the hood, these routes stay largely the same: you can sign raw payloads and transactions with an address (from a wallet account), or a private key ID + +### Upgrade notes + +- `signRawPayload` and `signTransaction` now expect a `signWith` param instead of `privateKeyId` previously +- `signRawPayload` and `signTransaction` have been updated to expect a new type: `ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2` and `ACTIVITY_TYPE_SIGN_TRANSACTION_V2`, respectively +- If you have policies authorizing `ACTIVITY_TYPE_SIGN_RAW_PAYLOAD` or `ACTIVITY_TYPE_SIGN_TRANSACTION` specifically, they will need to be updated to authorize `ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2` and `ACTIVITY_TYPE_SIGN_TRANSACTION_V2` (or better yet, update your policies to allow all signing actions categorically using policy resources and actions. See https://docs.turnkey.com/managing-policies/examples) ## 1.3.0 diff --git a/packages/http/package.json b/packages/http/package.json index d7407dab9..88c50c35c 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@turnkey/http", - "version": "1.4.0", + "version": "2.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "Apache-2.0", diff --git a/packages/viem/CHANGELOG.md b/packages/viem/CHANGELOG.md index 5bf5ededb..79a92b704 100644 --- a/packages/viem/CHANGELOG.md +++ b/packages/viem/CHANGELOG.md @@ -7,7 +7,7 @@ - 59dcd2f: Unpin typescript - da7c960: Bump Viem dependency to fix `getAddresses()` for LocalAccount - Updated dependencies - - @turnkey/http@1.4.0 + - @turnkey/http@2.0.0 - Updated the shape of signing ## 0.2.5