@turnkey/iframe-stamper
Version:
Iframe-based stamper for @turnkey/http
150 lines (78 loc) • 4.93 kB
Markdown
# @turnkey/iframe-stamper
## 2.11.0
### Minor Changes
- [#1200](https://github.com/tkhq/sdk/pull/1200) [`207fc93`](https://github.com/tkhq/sdk/commit/207fc932374a8362ec6f803ac0a67c2e5dbfc29e) Author [@ethankonk](https://github.com/ethankonk) - Added the ability to override the iframe's embedded key pair using a Turnkey P256 private key exported and encrypted to the iframe's embedded key pair.
## 2.10.0
### Minor Changes
- [#1126](https://github.com/tkhq/sdk/pull/1126) [`fb0ff3e`](https://github.com/tkhq/sdk/commit/fb0ff3e38e061c48f01b35c44294f4549b61d61d) Author [@ethankonk](https://github.com/ethankonk) - Added Bitcoin WIF & Sui Bech32 private key formats to import/export with iframe flows
## 2.9.0
### Minor Changes
- [#1104](https://github.com/tkhq/sdk/pull/1104) [`850a3ee`](https://github.com/tkhq/sdk/commit/850a3ee5dbb5e2cc46bda50348c917c555e55f73) Author [@ethankonk](https://github.com/ethankonk) - Added ability to toggle passphrase input for the import iframe
## 2.8.0
### Minor Changes
- [#1103](https://github.com/tkhq/sdk/pull/1103) [`7ac558c`](https://github.com/tkhq/sdk/commit/7ac558c39c3fa0ddeb6e695182a49f03ee6d4f00) Author [@andrewkmin](https://github.com/andrewkmin) - Add optional address parameter for methods intended to be used within the export-and-sign iframe. Also improves documentation (TypeDocs)
## 2.7.1
### Patch Changes
- [#1086](https://github.com/tkhq/sdk/pull/1086) [`2fd1d55`](https://github.com/tkhq/sdk/commit/2fd1d5555dd358a1c0210ca65fd6ca70ff172058) Author [@amircheikh](https://github.com/amircheikh) - Updated `TIframeStamperConfig` to include `clearClipboardOnPaste`. Defaulting to true, this will grant the iframe `clipboard-write` permissions. Allows clipboard to be cleared after pasting in secrets to import.
## 2.7.0
### Minor Changes
- [#945](https://github.com/tkhq/sdk/pull/945) [`e76d2bf`](https://github.com/tkhq/sdk/commit/e76d2bfbe3fb481aedac9b992260c50217823e8a) Author [@andrewkmin](https://github.com/andrewkmin) - Pressure-test and add the following functionality: `signMessage`, `signTransaction`, `clearEmbeddedPrivateKey`. Each of these are to be used in very specific scenarios where we want to perform operations with a decrypted key living in an iframe.
## 2.6.0
## 2.6.0-beta.0
### Minor Changes
- SDK beta release @turnkey/react-wallet-kit @turnkey/core
## 2.5.0
### Minor Changes
- e501690: Add new utility functions
- Add `clearEmbeddedKey()` async function, which clears the embedded key within an iframe
- Add `initEmbeddedKey()` async function, which reinitializes the embedded key within an iframe
## 2.4.0
### Minor Changes
- a833088: Add `getEmbeddedPublicKey()` async function to get the public key of the live embedded key within the iframe
## 2.3.0
### Minor Changes
- 9147962: Add `dangerouslyOverrideIframeKeyTtl` option to override iframe embedded key TTL (for longer lived read/write sessions)
## 2.2.0
### Minor Changes
- a216a47: Add `requestId` to iframe requests. This allows developers to send multiple requests at once to an iframe, and have the corresponding responses be handled correctly (in order)
## 2.1.0
### Minor Changes
- fad7c37: `@turnkey/iframe-stamper` - Implemented MessageChannel API for secure communication between the parent and iframe.
@turnkey/sdk-browser - fixed spelling in package.json
@turnkey/sdk-server - fixed spelling in package.json
## 2.0.0
### Major Changes
- 5d0bfde: Include `organizationId` and `userId` in injected import and export bundles.
### Minor Changes
- 2f2d09a: Add implementation for `applySettings()`
- This is a function to apply settings on allowed parameters in the iframe.
- Ultimately, this is used to style the HTML element used for plaintext in wallet and private key import.
### Patch Changes
- 976663e: Add `sandbox` attribute to iframe element
## 1.2.0
### Minor Changes
- 0281b88: Remove optional publicKey parameter from injectKeyExportBundle.
- 0e3584a: Add optional keyFormat and publicKey parameters to injectKeyExportBundle. Add extractKeyEncryptedBundle.
## 1.1.0
### Minor Changes
- 46a7d90: Add injectImportBundle and extractWalletEncryptedBundle to support wallet import.
## 1.0.0
### Major Changes
- This breaking change uses an HTML element instead of an ID to reference the iframe's container.
## 0.4.1
### Patch Changes
- Upgrade to Node v18 (#184)
## 0.4.0
### Minor Changes
- c98c222: - Add support for auth (e.g. via email), and include recovery under it. Note that the preferred path is now to use `injectCredentialBundle`, as opposed to `injectRecoveryBundle` (deprecated).
## 0.3.0
### Minor Changes
- Use rollup to build ESM and CommonJS, fix ESM support (#174)
## 0.2.1
### Patch Changes
- Catch and bubble up errors in the underlying iframe by listening to `ERROR` events (#165)
## 0.2.0
### Minor Changes
- Support wallet and private key export
## 0.1.0
Initial release