# @turnkey/gas-station ## 14.0.0 ### Patch Changes - Updated dependencies [[`3af9589`](https://github.com/tkhq/sdk/commit/3af958959c2827d3404525fd22d73be5e306111c), [`35f9cce`](https://github.com/tkhq/sdk/commit/35f9cce418b3704d8e77840c0d76b325079982cb), [`22a6682`](https://github.com/tkhq/sdk/commit/22a6682a3a7c5ad7b192cb46ffc599e073802ccf)]: - @turnkey/sdk-server@8.3.0 ## 13.0.1 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@8.2.1 ## 13.0.0 ### Patch Changes - Updated dependencies [[`f191ad9`](https://github.com/tkhq/sdk/commit/f191ad98d5bd194a12045d9b0c562abccb07169a)]: - @turnkey/sdk-server@8.2.0 ## 12.0.0 ### Patch Changes - Updated dependencies [[`4a20057`](https://github.com/tkhq/sdk/commit/4a20057b37d6081c0c38c0a4840affcd16140d47)]: - @turnkey/sdk-server@8.1.0 ## 11.0.0 ### Patch Changes - Updated dependencies [[`de5e169`](https://github.com/tkhq/sdk/commit/de5e1692ab79c18d898326e76777fa7ea54df812), [`b447497`](https://github.com/tkhq/sdk/commit/b447497e965b0b1df02d2294e87f89cedb761719)]: - @turnkey/sdk-server@8.0.0 ## 10.0.0 ### Minor Changes - [#1433](https://github.com/tkhq/sdk/pull/1433) [`cd1af93`](https://github.com/tkhq/sdk/commit/cd1af93c41a3f41c3c68589cfa6cfe17c1812c2f) Author [@amircheikh](https://github.com/amircheikh) - - Updated the default gas station contract addresses to the latest deployments. ```ts // Before DEFAULT_EXECUTION_CONTRACT = "0x00000000008c57a1CE37836a5e9d36759D070d8c"; // TKGasStation DEFAULT_DELEGATE_CONTRACT = "0x000066a00056CD44008768E2aF00696e19A30084"; // TKGasDelegate // After DEFAULT_EXECUTION_CONTRACT = "0x5aF5194B4b0909eB978e3Cf1e25333852277f07D"; // TKGasStation DEFAULT_DELEGATE_CONTRACT = "0x955D84139e7621bc571b117D8EB5D28A4A222C6f"; // TKGasDelegate ``` ### Patch Changes - Updated dependencies [[`cd1af93`](https://github.com/tkhq/sdk/commit/cd1af93c41a3f41c3c68589cfa6cfe17c1812c2f)]: - @turnkey/sdk-server@7.0.0 ## 9.0.1 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@6.1.1 ## 9.0.0 ### Patch Changes - Updated dependencies [[`f505818`](https://github.com/tkhq/sdk/commit/f505818e121c137d290156a32918a884ba80e5f5)]: - @turnkey/sdk-server@6.1.0 ## 8.0.0 ### Patch Changes - Updated dependencies [[`f39e11e`](https://github.com/tkhq/sdk/commit/f39e11eb4dc6dde19516c3f28263528e424672f1), [`654fadc`](https://github.com/tkhq/sdk/commit/654fadc7b8296b7af7e5a68dee9ee6de20eef4c1), [`f39e11e`](https://github.com/tkhq/sdk/commit/f39e11eb4dc6dde19516c3f28263528e424672f1), [`6128132`](https://github.com/tkhq/sdk/commit/6128132d910f658cdf83ecc1dec6598eb20c008a)]: - @turnkey/sdk-server@6.0.0 ## 7.0.0 ### Patch Changes - Updated dependencies [[`d05bd86`](https://github.com/tkhq/sdk/commit/d05bd86400d463c8f8c9788e69f0918db45662b5), [`ef66673`](https://github.com/tkhq/sdk/commit/ef6667325d210c8aa0ea4c1d11d834ff28ddb66c)]: - @turnkey/sdk-server@5.3.0 ## 6.0.0 ### Patch Changes - Updated dependencies [[`46b4d2f`](https://github.com/tkhq/sdk/commit/46b4d2fa807fb87d06bb606623ba1f86582aa4ef)]: - @turnkey/sdk-server@5.2.0 ## 5.0.1 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@5.1.1 ## 5.0.0 ### Patch Changes - Updated dependencies [[`1f6e240`](https://github.com/tkhq/sdk/commit/1f6e2403fca1fd9cbca646f88c88dbc49ddb0c34), [`58e04e5`](https://github.com/tkhq/sdk/commit/58e04e5856626d9d2593abb61d8ca32d8ccbb833), [`7458b7c`](https://github.com/tkhq/sdk/commit/7458b7cd6fc64796b376e3374b7c2ed79467459c)]: - @turnkey/sdk-server@5.1.0 ## 4.0.3 ### Patch Changes - Updated dependencies [[`dced9db`](https://github.com/tkhq/sdk/commit/dced9dbbd8ea533442e19e45ce36e6a05a45a555)]: - @turnkey/sdk-server@5.0.3 ## 4.0.2 ### Patch Changes - Updated dependencies [[`4742eaf`](https://github.com/tkhq/sdk/commit/4742eafbfdcc6fe6b6d3aab01569ad94a5198571)]: - @turnkey/sdk-server@5.0.2 ## 4.0.1 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@5.0.1 ## 4.0.0 ### Patch Changes - Updated dependencies [[`78ec1d9`](https://github.com/tkhq/sdk/commit/78ec1d9afcafde3ca7107fc720323d486d6afaea), [`dbd4d8e`](https://github.com/tkhq/sdk/commit/dbd4d8e4ea567240c4d287452dd0d8f53050beca)]: - @turnkey/sdk-server@5.0.0 ## 3.1.1 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@4.12.2 ## 3.1.0 ### Minor Changes - [#1108](https://github.com/tkhq/sdk/pull/1108) [`46e398e`](https://github.com/tkhq/sdk/commit/46e398e42c5eba8e38a56a41d34bf2358b20e383) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Add USDC swap example with approveThenExecute and reimbursable gas station support ## 3.0.1 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@4.12.1 ## 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 - [#1045](https://github.com/tkhq/sdk/pull/1045) [`1815d04`](https://github.com/tkhq/sdk/commit/1815d044ecc0720d128acd00b21c79669eadba28) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - add approveThenExecute functionality to gas station ### Patch Changes - Updated dependencies [[`67b03a5`](https://github.com/tkhq/sdk/commit/67b03a5d9ab1b6eabfb0b41938ac91365b5dcd9b)]: - @turnkey/sdk-server@4.12.0 ## 1.0.0 ### Patch Changes - Updated dependencies [[`71cdca3`](https://github.com/tkhq/sdk/commit/71cdca3b97ba520dc5327410a1e82cf9ad85fb0e), [`9fbd5c4`](https://github.com/tkhq/sdk/commit/9fbd5c459782dc3721dd0935d0a4458babce258b)]: - @turnkey/sdk-server@4.11.0 ## 0.3.4 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@4.10.5 ## 0.3.3 ### Patch Changes - Updated dependencies []: - @turnkey/sdk-server@4.10.4 ## 0.3.2 ### Patch Changes - Updated dependencies [[`9df42ad`](https://github.com/tkhq/sdk/commit/9df42adc02c7ff77afba3b938536e79b57882ef1)]: - @turnkey/sdk-server@4.10.3 ## 0.3.1 ### Patch Changes - [#1011](https://github.com/tkhq/sdk/pull/1011) [`921bf1e`](https://github.com/tkhq/sdk/commit/921bf1ed4fa276ade0872146b6659db881b92c99) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - update readme with correct install command ## 0.3.0 ### Minor Changes - [#1003](https://github.com/tkhq/sdk/pull/1003) [`574abcf`](https://github.com/tkhq/sdk/commit/574abcfba169603a64775f9db813faed0b4c915b) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Replace `0x{string}` using with viem Hex + make chain_id configurable on signAuthorizations ## 0.2.0 ### Minor Changes - [#991](https://github.com/tkhq/sdk/pull/991) [`b9550d7`](https://github.com/tkhq/sdk/commit/b9550d79de22d3881b4abe64f2a6ca93b90593c4) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - create initial beta B.Y.O.P (Bring Your Own Paymaster) TK Gas Station Client