UNPKG

@turnkey/wallet-stamper

Version:

Wallet stamper for @turnkey/http

313 lines (185 loc) 6.82 kB
# @turnkey/wallet-stamper ## 1.1.16 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.14 ## 1.1.15 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.13 ## 1.1.14 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.12 ## 1.1.13 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.11 ## 1.1.12 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.10 ## 1.1.11 ### Patch Changes - Updated dependencies [[`d0dba04`](https://github.com/tkhq/sdk/commit/d0dba0412fa7b0c7c9b135e73cc0ef6f55187314)]: - @turnkey/crypto@2.8.9 ## 1.1.10 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.8 ## 1.1.9 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.7 ## 1.1.8 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.6 ## 1.1.7 ### Patch Changes - Updated dependencies [[`5f829c6`](https://github.com/tkhq/sdk/commit/5f829c67af03bb85c3806acd202b2debf8274e78)]: - @turnkey/crypto@2.8.5 ## 1.1.6 ### Patch Changes - Updated dependencies [[`c745646`](https://github.com/tkhq/sdk/commit/c745646ae4b2a275e116abca07c6e108f89beb04)]: - @turnkey/crypto@2.8.4 ## 1.1.5 ### Patch Changes - Updated dependencies [[`5c4495b`](https://github.com/tkhq/sdk/commit/5c4495bff1b0abfe3c427ead1b8e1a8d510c8186)]: - @turnkey/crypto@2.8.3 ## 1.1.4 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.2 ## 1.1.3 ### Patch Changes - Updated dependencies []: - @turnkey/crypto@2.8.1 ## 1.1.2 ### Patch Changes - Updated dependencies [[`3997c0f`](https://github.com/tkhq/sdk/commit/3997c0fd08a8a85108acf904c0bf39d69f8dc79c)]: - @turnkey/crypto@2.8.0 ## 1.1.1 ### Patch Changes - Updated dependencies [[`2191a1b`](https://github.com/tkhq/sdk/commit/2191a1b201fb17dea4c79cf9e02b3a493b18f97a)]: - @turnkey/crypto@2.7.0 ## 1.1.0 ### Minor Changes - Updated dependencies [[`fc1d6e2`](https://github.com/tkhq/sdk/commit/fc1d6e2d26f4a53116633e9e8cccccd792267f4e), [`fc1d6e2`](https://github.com/tkhq/sdk/commit/fc1d6e2d26f4a53116633e9e8cccccd792267f4e), [`4880f26`](https://github.com/tkhq/sdk/commit/4880f26a4dd324c049bff7f35284098ccfc55823), [`c6ee323`](https://github.com/tkhq/sdk/commit/c6ee3239c389a7bbbbb23610c84b883ed298f95c), [`c6ee323`](https://github.com/tkhq/sdk/commit/c6ee3239c389a7bbbbb23610c84b883ed298f95c), [`c6ee323`](https://github.com/tkhq/sdk/commit/c6ee3239c389a7bbbbb23610c84b883ed298f95c), [`06347ad`](https://github.com/tkhq/sdk/commit/06347adfa08fb0867c350e43821d0fed06c49624), [`6bfcbc5`](https://github.com/tkhq/sdk/commit/6bfcbc5c098e64ab1d115518733b87cfc1653e17)]: - @turnkey/encoding@0.6.0 - @turnkey/crypto@2.6.0 ## 1.1.0-beta.6 ### Patch Changes - Updated dependencies []: - @turnkey/encoding@0.6.0-beta.6 - @turnkey/crypto@2.6.0-beta.6 ## 1.1.0-beta.5 ### Minor Changes - SDK beta release @turnkey/react-wallet-kit @turnkey/core ### Patch Changes - Updated dependencies []: - @turnkey/encoding@0.6.0-beta.5 - @turnkey/crypto@2.6.0-beta.5 ## 1.0.9-beta.4 ### Patch Changes - Updated dependencies []: - @turnkey/encoding@0.6.0-beta.4 - @turnkey/crypto@2.5.1-beta.4 ## 1.0.9-beta.3 ### Patch Changes - Updated dependencies []: - @turnkey/encoding@0.6.0-beta.3 - @turnkey/crypto@2.5.1-beta.3 ## 1.0.9-beta.2 ### Patch Changes - Updated dependencies []: - @turnkey/encoding@0.6.0-beta.2 - @turnkey/crypto@2.5.1-beta.2 ## 1.0.9-beta.1 ### Patch Changes - Updated dependencies []: - @turnkey/encoding@0.6.0-beta.1 - @turnkey/crypto@2.5.1-beta.1 ## 1.0.9-beta.0 ### Patch Changes - Updated dependencies []: - @turnkey/encoding@0.6.0-beta.0 - @turnkey/crypto@2.5.1-beta.0 ## 1.0.9 ### Patch Changes - Updated dependencies [[`d7420e6`](https://github.com/tkhq/sdk/commit/d7420e6c3559efc1024b58749b31d253150cb189)]: - @turnkey/crypto@2.6.0 ## 1.0.8 ### Patch Changes - Updated dependencies [[`6cde41c`](https://github.com/tkhq/sdk/commit/6cde41cfecdfb7d54abf52cc65e28ef0e2ad6ba3)]: - @turnkey/crypto@2.5.0 ## 1.0.7 ### Patch Changes - Updated dependencies [[`6cbff7a`](https://github.com/tkhq/sdk/commit/6cbff7a0c0b3a9a05586399e5cef476154d3bdca)]: - @turnkey/crypto@2.4.3 ## 1.0.6 ### Patch Changes - Updated dependencies [[`c5cdf82`](https://github.com/tkhq/sdk/commit/c5cdf8229da5da1bd6d52db06b2fe42826e96d57), [`fa46701`](https://github.com/tkhq/sdk/commit/fa467019eef34b5199372248edff1e7a64934e79)]: - @turnkey/crypto@2.4.2 ## 1.0.5 ### Patch Changes - Updated dependencies [[`878e039`](https://github.com/tkhq/sdk/commit/878e03973856cfec83e6e3fda5b76d1b64943628)]: - @turnkey/crypto@2.4.1 ## 1.0.4 ### Patch Changes - [#659](https://github.com/tkhq/sdk/pull/659) [`5afbe51`](https://github.com/tkhq/sdk/commit/5afbe51949bdd1997fad083a4c1e4272ff7409dc) Author [@turnekybc](https://github.com/turnekybc) - export types and models from @turnkey/sdk-browser - Updated dependencies [[`40c4035`](https://github.com/tkhq/sdk/commit/40c40359ec7096d0bca39ffc93e89361b3b11a1a), [`10ee5c5`](https://github.com/tkhq/sdk/commit/10ee5c524b477ce998e4fc635152cd101ae5a9cc)]: - @turnkey/encoding@0.5.0 - @turnkey/crypto@2.4.0 ## 1.0.3 ### Patch Changes - Updated dependencies [2bc0046] - @turnkey/crypto@2.3.1 ## 1.0.2 ### Patch Changes - c895c8f: Update @solana/web3.js from ^1.88.1 to ^1.95.8 - @turnkey/crypto@2.3.0 ## 1.0.1 ### Patch Changes - Updated dependencies [668edfa] - @turnkey/crypto@2.3.0 ## 1.0.0 ### Major Changes - Renamed `recoverPublicKey` to `getPublicKey` on the `EthereumWallet` interface to improve clarity and consistency across wallet interfaces - Changed `getPublicKey` method signature to take no parameters ```typescript // Old method signature recoverPublicKey(message: string): Promise<string>; ``` ```typescript // New method signature getPublicKey(): Promise<string>; ``` - Added an `EthereumWallet` implementation as a helper to simplify support for Ethereum wallets: ```typescript import { EthereumWallet } from "@turnkey/wallet-stamper"; const wallet = new EthereumWallet(); // Instantiate the WalletStamper with the EthereumWallet const walletStamper = new WalletStamper(wallet); // Instantiate the TurnkeyClient with the WalletStamper const client = new TurnkeyClient({ baseUrl: BASE_URL }, walletStamper); ``` ### Patch Changes - Updated dependencies [8bea78f] - @turnkey/crypto@2.2.0 ## 0.0.5 ### Patch Changes - Updated dependencies [e5c4fe9] - @turnkey/encoding@0.4.0 ## 0.0.4 ### Patch Changes - Updated dependencies [93666ff] - @turnkey/encoding@0.3.0 ## 0.0.3 ### Patch Changes - Updated dependencies [2d7e5a9] - Updated dependencies [f4b607f] - @turnkey/encoding@0.2.1 ## 0.0.2 ### Patch Changes - 68a14dd: Initial release! 🎉