Skip to content

Commit 0ada54c

Browse files
committed
fixed tests
1 parent 9600642 commit 0ada54c

17 files changed

Lines changed: 52 additions & 170 deletions

export/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [["@babel/preset-env"]],
2+
presets: [["@babel/preset-env", { targets: { node: "current" } }]],
33
};

export/dist/551.bundle.782857d3859034ccafaf.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

export/dist/551.bundle.782857d3859034ccafaf.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

export/dist/551.bundle.815c489ea784882a647b.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

export/dist/551.bundle.782857d3859034ccafaf.js.LICENSE.txt renamed to export/dist/551.bundle.815c489ea784882a647b.js.LICENSE.txt

File renamed without changes.

export/dist/551.bundle.815c489ea784882a647b.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

export/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html class="no-js"><head><link rel="icon" type="image/svg+xml" href="./favicon.svg"/><meta charset="utf-8"/><title>Turnkey Export</title><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="color-scheme" content="light dark"/><meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; base-uri 'self'; object-src 'none'; form-action 'none'"><link href="/index.styles.a4288d6084137b3233b5.css" rel="stylesheet"></head><body><input type="hidden" name="embedded-key" id="embedded-key"/><div id="key-div"></div><script defer="defer" src="/vendors.bundle.69b30d3a54b567a97bee.js"></script><script defer="defer" src="/551.bundle.782857d3859034ccafaf.js"></script><script defer="defer" src="/index.bundle.e0d2df0dce7785f4bfeb.js"></script></body></html>
1+
<!doctype html><html class="no-js"><head><link rel="icon" type="image/svg+xml" href="./favicon.svg"/><meta charset="utf-8"/><title>Turnkey Export</title><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="color-scheme" content="light dark"/><meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; base-uri 'self'; object-src 'none'; form-action 'none'"></head><body><input type="hidden" name="embedded-key" id="embedded-key"/><div id="key-div"></div><script defer="defer" src="/vendors.bundle.69b30d3a54b567a97bee.js"></script><script defer="defer" src="/551.bundle.815c489ea784882a647b.js"></script><script defer="defer" src="/index.bundle.e0d2df0dce7785f4bfeb.js"></script></body></html>

export/dist/index.styles.a4288d6084137b3233b5.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

export/dist/standalone.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html class="no-js"><head><link rel="icon" type="image/svg+xml" href="./favicon.svg"/><meta charset="utf-8"/><title>Turnkey Export (Standalone Mode)</title><meta name="viewport" content="width=device-width,initial-scale=1"/><link href="/standalone.styles.d2d0a2c3b41689154751.css" rel="stylesheet"></head><body><h2>Export Key Material</h2><p><em>This public key will be sent along with a private key ID or wallet ID inside of a new <code>EXPORT_PRIVATE_KEY</code> or <code>EXPORT_WALLET</code> activity</em></p><form><label>Embedded key</label> <input type="text" name="embedded-key" id="embedded-key" disabled="disabled"/> <button id="reset">Reset Key</button></form><br/><br/><br/><h2>Inject Key Export Bundle</h2><p><em>The export bundle comes from the parent page and is composed of a public key and an encrypted payload. The payload is encrypted to this document's embedded key (stored in local storage and displayed above). The scheme relies on <a target="_blank" href="https://datatracker.ietf.org/doc/rfc9180/">HPKE (RFC 9180)</a></em>.</p><form><label>Bundle</label> <input type="text" name="key-export-bundle" id="key-export-bundle"/> <button id="inject-key">Inject Bundle</button><br/><label>Key Format</label> <select id="key-export-format" name="key-export-format"><option value="HEXADECIMAL">Hexadecimal (Default)</option><option value="SOLANA">Solana</option></select><br/><label>Organization Id</label> <input type="text" name="key-organization-id" id="key-organization-id"/></form><br/><h2>Inject Wallet Export Bundle</h2><p><em>The export bundle comes from the parent page and is composed of a public key and an encrypted payload. The payload is encrypted to this document's embedded key (stored in local storage and displayed above). The scheme relies on <a target="_blank" href="https://datatracker.ietf.org/doc/rfc9180/">HPKE (RFC 9180)</a></em>.</p><form><label>Bundle</label> <input type="text" name="wallet-export-bundle" id="wallet-export-bundle"/> <button id="inject-wallet">Inject Bundle</button><br/><label>Organization Id</label> <input type="text" name="wallet-organization-id" id="wallet-organization-id"/></form><br/><br/><h2>Message log</h2><p><em>Below we display a log of the messages sent / received. The forms above send messages, and the code communicates results by sending events via the <code>postMessage</code> API.</em></p><div id="message-log"></div><div id="key-div"></div><script defer="defer" src="/vendors.bundle.69b30d3a54b567a97bee.js"></script><script defer="defer" src="/551.bundle.782857d3859034ccafaf.js"></script><script defer="defer" src="/standalone.bundle.0ce08212094b47d99d79.js"></script></body></html>
1+
<!doctype html><html class="no-js"><head><link rel="icon" type="image/svg+xml" href="./favicon.svg"/><meta charset="utf-8"/><title>Turnkey Export (Standalone Mode)</title><meta name="viewport" content="width=device-width,initial-scale=1"/><link href="/standalone.styles.3b0cc66661f0bb609373.css" rel="stylesheet"></head><body><h2>Export Key Material</h2><p><em>This public key will be sent along with a private key ID or wallet ID inside of a new <code>EXPORT_PRIVATE_KEY</code> or <code>EXPORT_WALLET</code> activity</em></p><form><label>Embedded key</label> <input type="text" name="embedded-key" id="embedded-key" disabled="disabled"/> <button id="reset">Reset Key</button></form><br/><br/><br/><h2>Inject Key Export Bundle</h2><p><em>The export bundle comes from the parent page and is composed of a public key and an encrypted payload. The payload is encrypted to this document's embedded key (stored in local storage and displayed above). The scheme relies on <a target="_blank" href="https://datatracker.ietf.org/doc/rfc9180/">HPKE (RFC 9180)</a></em>.</p><form><label>Bundle</label> <input type="text" name="key-export-bundle" id="key-export-bundle"/> <button id="inject-key">Inject Bundle</button><br/><label>Key Format</label> <select id="key-export-format" name="key-export-format"><option value="HEXADECIMAL">Hexadecimal (Default)</option><option value="SOLANA">Solana</option></select><br/><label>Organization Id</label> <input type="text" name="key-organization-id" id="key-organization-id"/></form><br/><h2>Inject Wallet Export Bundle</h2><p><em>The export bundle comes from the parent page and is composed of a public key and an encrypted payload. The payload is encrypted to this document's embedded key (stored in local storage and displayed above). The scheme relies on <a target="_blank" href="https://datatracker.ietf.org/doc/rfc9180/">HPKE (RFC 9180)</a></em>.</p><form><label>Bundle</label> <input type="text" name="wallet-export-bundle" id="wallet-export-bundle"/> <button id="inject-wallet">Inject Bundle</button><br/><label>Organization Id</label> <input type="text" name="wallet-organization-id" id="wallet-organization-id"/></form><br/><br/><h2>Message log</h2><p><em>Below we display a log of the messages sent / received. The forms above send messages, and the code communicates results by sending events via the <code>postMessage</code> API.</em></p><div id="message-log"></div><div id="key-div"></div><script defer="defer" src="/vendors.bundle.69b30d3a54b567a97bee.js"></script><script defer="defer" src="/551.bundle.815c489ea784882a647b.js"></script><script defer="defer" src="/standalone.bundle.0ce08212094b47d99d79.js"></script></body></html>

export/dist/index.styles.a4288d6084137b3233b5.css renamed to export/dist/standalone.styles.3b0cc66661f0bb609373.css

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)