hd-wallet-ui 2.0.31 → 2.0.32
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.43e64296113e5b52fa826699e01f43cf39f598472f9fc330ad740ad4ccdf06f2.css → wallet-origin.60345a155810ae8b948875aa7f4a98dc440d03aae71196fc2dc28c8440f1a4ca.css} +1 -1
- package/dist/wallet-origin-host/assets/{wallet-origin.7593fcd5b3319a6a2ba8d39d57930f8b97ae9d5e8a0a29f5813b02aec2016205.wasm → wallet-origin.6e082cab719b53635316cf29e89c381b9c51190babe172c190e66dfc6d5a34d4.wasm} +0 -0
- package/dist/wallet-origin-host/assets/{wallet-origin.8385197ac976f58fcc05db57988fe9d48a2040151f6104da2175627aa20c3434.js → wallet-origin.d49a6537e7a7b62ae3c45758378952f8a64d53548c49dbad5f3779fd1b09dd17.js} +3 -3
- 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.32
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
`hd-wallet-wasm` 2.0.
|
|
14
|
+
`hd-wallet-wasm` 2.0.32 is the package's only runtime dependency.
|
|
15
15
|
|
|
16
16
|
## Published surfaces
|
|
17
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--sdn-wallet-origin-style-ready: "2.0.
|
|
1
|
+
:root{--sdn-wallet-origin-style-ready: "2.0.32";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}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const Ac = new URL("./wallet-origin.
|
|
1
|
+
const Ac = new URL("./wallet-origin.6e082cab719b53635316cf29e89c381b9c51190babe172c190e66dfc6d5a34d4.wasm", import.meta.url).href, qn = {
|
|
2
2
|
SECP256K1: 0
|
|
3
3
|
}, xe = {
|
|
4
4
|
OK: 0,
|
|
@@ -3367,7 +3367,7 @@ async function wl() {
|
|
|
3367
3367
|
const t = new URL(Ac, import.meta.url).href, s = await fetch(t, {
|
|
3368
3368
|
cache: "no-store",
|
|
3369
3369
|
credentials: "omit",
|
|
3370
|
-
integrity: "sha384-
|
|
3370
|
+
integrity: "sha384-jL2ELgPv92rTFkleFdObXfmASgsQoaPmy/ew5u0E0ZZ52Sf48BPUWfNkZkU9sRH4",
|
|
3371
3371
|
mode: "same-origin",
|
|
3372
3372
|
redirect: "error",
|
|
3373
3373
|
referrerPolicy: "no-referrer"
|
|
@@ -10496,7 +10496,7 @@ async function Oh(e) {
|
|
|
10496
10496
|
const un = document.querySelector("[data-wallet-origin-root]") ?? document.body;
|
|
10497
10497
|
async function Ph() {
|
|
10498
10498
|
if (window.top !== window) throw new Error("Wallet origin cannot run in a frame");
|
|
10499
|
-
if (getComputedStyle(document.documentElement).getPropertyValue("--sdn-wallet-origin-style-ready").trim() !== '"2.0.
|
|
10499
|
+
if (getComputedStyle(document.documentElement).getPropertyValue("--sdn-wallet-origin-style-ready").trim() !== '"2.0.32"') throw new Error("Wallet origin style integrity failed");
|
|
10500
10500
|
const r = await Pl();
|
|
10501
10501
|
await Oh({ document, mount: un, wasm: r, window });
|
|
10502
10502
|
}
|
|
@@ -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.60345a155810ae8b948875aa7f4a98dc440d03aae71196fc2dc28c8440f1a4ca.css" integrity="sha384-xbtWQ63Qjb+7HRGTQosawCUKgJbVV/WXdJmKpxf8OjrnpChnijG6l/CjzRw8DUiS" 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.d49a6537e7a7b62ae3c45758378952f8a64d53548c49dbad5f3779fd1b09dd17.js" integrity="sha384-YvYb5C1nmvBTYRL1EegrWRsxgA/j0rcl2gd/HhlZ1kbcHcsQMSejUGE+jVU96nu/" crossorigin="anonymous"></script>
|
|
10
10
|
</body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"files":{"assets/wallet-origin.
|
|
1
|
+
{"files":{"assets/wallet-origin.60345a155810ae8b948875aa7f4a98dc440d03aae71196fc2dc28c8440f1a4ca.css":{"bytes":1332,"sha256":"60345a155810ae8b948875aa7f4a98dc440d03aae71196fc2dc28c8440f1a4ca","sha384":"sha384-xbtWQ63Qjb+7HRGTQosawCUKgJbVV/WXdJmKpxf8OjrnpChnijG6l/CjzRw8DUiS"},"assets/wallet-origin.d49a6537e7a7b62ae3c45758378952f8a64d53548c49dbad5f3779fd1b09dd17.js":{"bytes":453679,"sha256":"d49a6537e7a7b62ae3c45758378952f8a64d53548c49dbad5f3779fd1b09dd17","sha384":"sha384-YvYb5C1nmvBTYRL1EegrWRsxgA/j0rcl2gd/HhlZ1kbcHcsQMSejUGE+jVU96nu/"},"assets/wallet-origin.6e082cab719b53635316cf29e89c381b9c51190babe172c190e66dfc6d5a34d4.wasm":{"bytes":3880326,"sha256":"6e082cab719b53635316cf29e89c381b9c51190babe172c190e66dfc6d5a34d4","sha384":"sha384-jL2ELgPv92rTFkleFdObXfmASgsQoaPmy/ew5u0E0ZZ52Sf48BPUWfNkZkU9sRH4"},"index.html":{"bytes":1066,"sha256":"e613cc7cd0337b80a11bf9761d767379c6b7fb002113902b4fc091f572eb46d3","sha384":"sha384-R8tEVvE+40sj3cg8NsSi+BM/KSnC+ZikWTCJuzVwPHZVR4ef6w6rCSS9oxeX3NmB"}},"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.32",
|
|
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",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"test:browser": "playwright test --config test/browser/playwright.config.mjs"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"hd-wallet-wasm": "2.0.
|
|
64
|
+
"hd-wallet-wasm": "2.0.32"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@noble/curves": "^1.9.7",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"url": "https://github.com/DigitalArsenal/hd-wallet-wasm/issues"
|
|
103
103
|
},
|
|
104
104
|
"homepage": "https://digitalarsenal.github.io/hd-wallet-wasm/",
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "040f9ccc2f9f49069a4d1657c09b743beff3aec6"
|
|
106
106
|
}
|