hd-wallet-ui 2.0.26 → 2.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/wallet-origin-host/assets/{wallet-origin.3d16729bf9aaca4517cc699bec526c7209be184cdbb0ba0dbf4063d36a091e1d.js → wallet-origin.647699ee7ce50961bd226011dd06fe309ec0d372c1e7c43acc3e6650b504acff.js} +3 -3
- package/dist/wallet-origin-host/assets/{wallet-origin.e22071a3643a57055d29f2e6951c1a2f15e77c1b58b0f81bb7f2afed5bcfb0b4.wasm → wallet-origin.71d202b108d16ad07d05c5a345a76f97fbdc182870626f8263793f7cd6d72bb7.wasm} +0 -0
- package/dist/wallet-origin-host/assets/{wallet-origin.f3273f7ea70bb494cda1fc02264b936f2e9b010dc07df15eed05fa3f7d1356de.css → wallet-origin.aee6e1a4897def2269b92bb475b236c5ee2e067177ee592399adfddc158a6d8a.css} +1 -1
- package/dist/wallet-origin-host/index.html +2 -2
- package/dist/wallet-origin-host/integrity.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,10 +8,10 @@ and signed approval requests.
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
npm install hd-wallet-ui@2.0.
|
|
11
|
+
npm install hd-wallet-ui@2.0.28
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
`hd-wallet-wasm` 2.0.
|
|
14
|
+
`hd-wallet-wasm` 2.0.28 is the package's only runtime dependency.
|
|
15
15
|
|
|
16
16
|
## Published surfaces
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const uc = new URL("./wallet-origin.
|
|
1
|
+
const uc = new URL("./wallet-origin.71d202b108d16ad07d05c5a345a76f97fbdc182870626f8263793f7cd6d72bb7.wasm", import.meta.url).href, qn = {
|
|
2
2
|
SECP256K1: 0
|
|
3
3
|
}, Ne = {
|
|
4
4
|
OK: 0,
|
|
@@ -3298,7 +3298,7 @@ async function pl() {
|
|
|
3298
3298
|
const t = new URL(uc, import.meta.url).href, s = await fetch(t, {
|
|
3299
3299
|
cache: "no-store",
|
|
3300
3300
|
credentials: "omit",
|
|
3301
|
-
integrity: "sha384-
|
|
3301
|
+
integrity: "sha384-9KJHs35TCxhaRR2wO5/5f7HQRIfvsPkYEOUo/Wl9E96/tCHVKCnLw8hEKKgahK5+",
|
|
3302
3302
|
mode: "same-origin",
|
|
3303
3303
|
redirect: "error",
|
|
3304
3304
|
referrerPolicy: "no-referrer"
|
|
@@ -10229,7 +10229,7 @@ async function fh(e) {
|
|
|
10229
10229
|
const cn = document.querySelector("[data-wallet-origin-root]") ?? document.body;
|
|
10230
10230
|
async function yh() {
|
|
10231
10231
|
if (window.top !== window) throw new Error("Wallet origin cannot run in a frame");
|
|
10232
|
-
if (getComputedStyle(document.documentElement).getPropertyValue("--sdn-wallet-origin-style-ready").trim() !== '"2.0.
|
|
10232
|
+
if (getComputedStyle(document.documentElement).getPropertyValue("--sdn-wallet-origin-style-ready").trim() !== '"2.0.28"') throw new Error("Wallet origin style integrity failed");
|
|
10233
10233
|
const r = await El();
|
|
10234
10234
|
await fh({ document, mount: cn, wasm: r, window });
|
|
10235
10235
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--sdn-wallet-origin-style-ready: "2.0.
|
|
1
|
+
:root{--sdn-wallet-origin-style-ready: "2.0.28";color-scheme:dark;font-family:system-ui,sans-serif;background:#07101f;color:#f5f7ff}*{box-sizing:border-box}body{min-height:100vh;margin:0;display:grid;place-items:center;background:radial-gradient(circle at top,#14294d,#07101f 62%)}[data-wallet-origin-root]{width:min(40rem,calc(100vw - 2rem));padding:1.5rem;border:1px solid #36527d;border-radius:1rem;background:#0d1a2ee8;box-shadow:0 1.5rem 4rem #0008}form,section{display:grid;gap:.9rem}label{display:grid;gap:.35rem}input,textarea,button{font:inherit}input,textarea{width:100%;padding:.75rem;border:1px solid #58739d;border-radius:.55rem;background:#081426;color:inherit}button{padding:.7rem 1rem;border:0;border-radius:.55rem;background:#6ca5ff;color:#06101f;font-weight:700;cursor:pointer}button[disabled]{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:.2rem solid #b9d5ff;outline-offset:.15rem}.wallet-error{color:#ffd4d4}.wallet-confirmation,.wallet-confirmation-row{min-width:0;max-width:100%;overflow-wrap:anywhere}@media (max-width: 320px){[data-wallet-origin-root]{width:100%;padding:1rem;border-radius:0}body{display:block}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta name="referrer" content="no-referrer">
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
6
|
<title>SDN Wallet</title>
|
|
7
|
-
<link rel="stylesheet" href="/assets/wallet-origin.
|
|
7
|
+
<link rel="stylesheet" href="/assets/wallet-origin.aee6e1a4897def2269b92bb475b236c5ee2e067177ee592399adfddc158a6d8a.css" integrity="sha384-6WnPX9yoTtD1XrtlSoNFEZTP/R1LzmHdG6AU+o/jLi30lkRm9URssB7K7aG5w7I0" crossorigin="anonymous">
|
|
8
8
|
</head><body><main data-wallet-origin-root aria-live="polite"></main>
|
|
9
|
-
<script type="module" src="/assets/wallet-origin.
|
|
9
|
+
<script type="module" src="/assets/wallet-origin.647699ee7ce50961bd226011dd06fe309ec0d372c1e7c43acc3e6650b504acff.js" integrity="sha384-nQgG2C5B9cNSjXPKd/uV3SUwN/c5Wbam0zY0B62j3c8P82XYiTOh7Ik3/0Ij23mq" crossorigin="anonymous"></script>
|
|
10
10
|
</body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"files":{"assets/wallet-origin.
|
|
1
|
+
{"files":{"assets/wallet-origin.aee6e1a4897def2269b92bb475b236c5ee2e067177ee592399adfddc158a6d8a.css":{"bytes":1332,"sha256":"aee6e1a4897def2269b92bb475b236c5ee2e067177ee592399adfddc158a6d8a","sha384":"sha384-6WnPX9yoTtD1XrtlSoNFEZTP/R1LzmHdG6AU+o/jLi30lkRm9URssB7K7aG5w7I0"},"assets/wallet-origin.647699ee7ce50961bd226011dd06fe309ec0d372c1e7c43acc3e6650b504acff.js":{"bytes":441483,"sha256":"647699ee7ce50961bd226011dd06fe309ec0d372c1e7c43acc3e6650b504acff","sha384":"sha384-nQgG2C5B9cNSjXPKd/uV3SUwN/c5Wbam0zY0B62j3c8P82XYiTOh7Ik3/0Ij23mq"},"assets/wallet-origin.71d202b108d16ad07d05c5a345a76f97fbdc182870626f8263793f7cd6d72bb7.wasm":{"bytes":3839340,"sha256":"71d202b108d16ad07d05c5a345a76f97fbdc182870626f8263793f7cd6d72bb7","sha384":"sha384-9KJHs35TCxhaRR2wO5/5f7HQRIfvsPkYEOUo/Wl9E96/tCHVKCnLw8hEKKgahK5+"},"index.html":{"bytes":1059,"sha256":"fe72723a1eac03c1c63aef719b9ec07f1618aad2bf6e41036cf8f18b5c33b9cd","sha384":"sha384-DcPFLSjIdCjhNZMNtNoylVprzjyeK7soiwimf0loUoI7FqT5axXdZt7/PG1nPU60"}},"schemaVersion":1}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hd-wallet-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.28",
|
|
4
4
|
"description": "HD Wallet modal UI — login, keys, identity, trust map, and security bond. Attach to any button in your app.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/compat/index.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"test:browser": "playwright test --config test/browser/playwright.config.mjs"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"hd-wallet-wasm": "2.0.
|
|
60
|
+
"hd-wallet-wasm": "2.0.28"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@noble/curves": "^1.9.7",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"url": "https://github.com/DigitalArsenal/hd-wallet-wasm/issues"
|
|
99
99
|
},
|
|
100
100
|
"homepage": "https://digitalarsenal.github.io/hd-wallet-wasm/",
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "d1ed47f3777c08fc68170bbf0692e8c5313f9f81"
|
|
102
102
|
}
|