@seams/wallet 0.30.0 → 0.33.0

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.
Files changed (100) hide show
  1. package/README.md +7 -7
  2. package/THIRD_PARTY_NOTICES.md +1 -127
  3. package/dist/.build-inputs.sha256 +1 -1
  4. package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuFooter.js +38 -10
  5. package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.js +23 -67
  6. package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/RecoveryOptions.js +60 -0
  7. package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/mountAuthMenuSurface.js +6 -0
  8. package/dist/esm/SeamsWeb/walletIframe/shared/authMenuPresentation.js +28 -0
  9. package/dist/esm/SeamsWeb/walletIframe/shared/messages.js +21 -10
  10. package/dist/esm/SeamsWeb/walletIframe/shared/walletAlternatives.js +4 -14
  11. package/dist/esm/core/ui/walletIcon.js +11 -3
  12. package/dist/esm/externalNear/controller.js +3 -2
  13. package/dist/esm/externalNear/meteor.js +1 -1
  14. package/dist/esm/externalNear/meteorRequest.js +8 -2
  15. package/dist/esm/react/components/HostedSeamsAuthMenu/shell.js +17 -1
  16. package/dist/esm/sdk/{host-Csu5L7VF.js → host-BsVFOugh.js} +1 -1
  17. package/dist/esm/sdk/ownerNearOperation-BsIdSH0C.js +1 -0
  18. package/dist/esm/sdk/registration-Coh0_Nva.js +1 -0
  19. package/dist/esm/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
  20. package/dist/esm/sdk/runtime-auth-CJCU2yJi.js +1 -0
  21. package/dist/esm/sdk/{runtime-device-link-DQe0aqRi.js → runtime-device-link-C0oXLSnz.js} +1 -1
  22. package/dist/esm/sdk/{runtime-ecdsa-tempo-DKkeMMpm.js → runtime-ecdsa-tempo-BC8u9NuI.js} +1 -1
  23. package/dist/esm/sdk/{runtime-email-otp-CzTe7r9I.js → runtime-email-otp-Cl4iu0z7.js} +1 -1
  24. package/dist/esm/sdk/{runtime-export-BiyLbdCe.js → runtime-export-BdhfErGJ.js} +1 -1
  25. package/dist/esm/sdk/{runtime-near-Kk0n1FSf.js → runtime-near-CT2ALBct.js} +1 -1
  26. package/dist/esm/sdk/{runtime-preferences-B-A3hddU.js → runtime-preferences-fN2G9tct.js} +1 -1
  27. package/dist/esm/sdk/{runtime-recovery-C9p1TU1w.js → runtime-recovery-n-TGLkwz.js} +1 -1
  28. package/dist/esm/sdk/{runtimeContext-ChuvOC0h.js → runtimeContext-DI28d8Qu.js} +1 -1
  29. package/dist/esm/sdk/wallet-iframe-host-ecdsa.js +1 -1
  30. package/dist/esm/sdk/wallet-iframe-host-full.js +1 -1
  31. package/dist/esm/sdk/wallet-iframe-host-near.js +1 -1
  32. package/dist/esm/sdk/wallet-iframe-host-runtime.js +1 -1
  33. package/dist/esm/sdk/wallet-service.css +2 -0
  34. package/dist/esm/sdk/wallet-ui.css +1 -1
  35. package/dist/esm/wasm/near_signer/pkg/wasm_signer_worker_bg.wasm +0 -0
  36. package/dist/esm/wasm/router_ab_ecdsa_client/pkg/router_ab_ecdsa_client_bg.wasm +0 -0
  37. package/dist/esm/wasm/router_ab_ed25519_yao_client/pkg/router_ab_ed25519_yao_client.d.ts +212 -233
  38. package/dist/esm/wasm/router_ab_ed25519_yao_client/pkg/router_ab_ed25519_yao_client.js +675 -694
  39. package/dist/esm/wasm/router_ab_ed25519_yao_client/pkg/router_ab_ed25519_yao_client_bg.wasm +0 -0
  40. package/dist/public/headers.manifest.json +1 -1
  41. package/dist/public/sdk/{host-Csu5L7VF.js → host-BsVFOugh.js} +1 -1
  42. package/dist/public/sdk/ownerNearOperation-BsIdSH0C.js +1 -0
  43. package/dist/public/sdk/registration-Coh0_Nva.js +1 -0
  44. package/dist/public/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
  45. package/dist/public/sdk/runtime-auth-CJCU2yJi.js +1 -0
  46. package/dist/public/sdk/{runtime-device-link-DQe0aqRi.js → runtime-device-link-C0oXLSnz.js} +1 -1
  47. package/dist/public/sdk/{runtime-ecdsa-tempo-DKkeMMpm.js → runtime-ecdsa-tempo-BC8u9NuI.js} +1 -1
  48. package/dist/public/sdk/{runtime-email-otp-CzTe7r9I.js → runtime-email-otp-Cl4iu0z7.js} +1 -1
  49. package/dist/public/sdk/{runtime-export-BiyLbdCe.js → runtime-export-BdhfErGJ.js} +1 -1
  50. package/dist/public/sdk/{runtime-near-Kk0n1FSf.js → runtime-near-CT2ALBct.js} +1 -1
  51. package/dist/public/sdk/{runtime-preferences-B-A3hddU.js → runtime-preferences-fN2G9tct.js} +1 -1
  52. package/dist/public/sdk/{runtime-recovery-C9p1TU1w.js → runtime-recovery-n-TGLkwz.js} +1 -1
  53. package/dist/public/sdk/{runtimeContext-ChuvOC0h.js → runtimeContext-DI28d8Qu.js} +1 -1
  54. package/dist/public/sdk/wallet-iframe-host-ecdsa.js +1 -1
  55. package/dist/public/sdk/wallet-iframe-host-full.js +1 -1
  56. package/dist/public/sdk/wallet-iframe-host-near.js +1 -1
  57. package/dist/public/sdk/wallet-iframe-host-runtime.js +1 -1
  58. package/dist/public/sdk/wallet-service.css +2 -0
  59. package/dist/public/sdk/wallet-ui.css +1 -1
  60. package/dist/public/sdk/workers/device-linking-key.worker.js +454 -947
  61. package/dist/public/sdk/workers/email-otp.worker.js +588 -820
  62. package/dist/public/sdk/workers/evm_crypto_bg.wasm +0 -0
  63. package/dist/public/sdk/workers/passkey-mpc-export.worker.js +572 -804
  64. package/dist/public/sdk/workers/router_ab_ecdsa_client_bg.wasm +0 -0
  65. package/dist/public/sdk/workers/router_ab_ed25519_yao_client_bg.wasm +0 -0
  66. package/dist/public/sdk/workers/tempo_signer_bg.wasm +0 -0
  67. package/dist/public/sdk/workers/wallet-custody-ceremony.worker.js +524 -971
  68. package/dist/public/sdk/workers/wallet_custody_ceremony_bg.wasm +0 -0
  69. package/dist/public/sdk/workers/wasm_signer_worker_bg.wasm +0 -0
  70. package/dist/public/wallet-assets.manifest.json +29 -29
  71. package/dist/public/wallet-service/index.html +4 -4
  72. package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuFooter.d.ts +4 -0
  73. package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.d.ts +3 -1
  74. package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/RecoveryOptions.d.ts +11 -0
  75. package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/mountAuthMenuSurface.d.ts +3 -0
  76. package/dist/types/wallet/src/SeamsWeb/walletIframe/shared/authMenuPresentation.d.ts +13 -0
  77. package/dist/types/wallet/src/SeamsWeb/walletIframe/shared/messages.d.ts +7 -1
  78. package/dist/types/wallet/src/core/ui/walletIcon.d.ts +1 -0
  79. package/dist/types/wallet/src/externalNear/meteorRequest.d.ts +3 -0
  80. package/dist/types/wallet/src/index.d.ts +1 -1
  81. package/dist/types/wallet/src/react/components/HostedSeamsAuthMenu/public.d.ts +1 -1
  82. package/dist/types/wallet/src/react/components/HostedSeamsAuthMenu/types.d.ts +6 -2
  83. package/dist/types/wallet/src/react/index.d.ts +1 -1
  84. package/dist/workers/device-linking-key.worker.js +454 -947
  85. package/dist/workers/email-otp.worker.js +588 -820
  86. package/dist/workers/evm_crypto_bg.wasm +0 -0
  87. package/dist/workers/passkey-mpc-export.worker.js +572 -804
  88. package/dist/workers/router_ab_ecdsa_client_bg.wasm +0 -0
  89. package/dist/workers/router_ab_ed25519_yao_client_bg.wasm +0 -0
  90. package/dist/workers/tempo_signer_bg.wasm +0 -0
  91. package/dist/workers/wallet-custody-ceremony.worker.js +524 -971
  92. package/dist/workers/wallet_custody_ceremony_bg.wasm +0 -0
  93. package/dist/workers/wasm_signer_worker_bg.wasm +0 -0
  94. package/package.json +17 -17
  95. package/dist/esm/sdk/ownerNearOperation-DCxxHcwX.js +0 -1
  96. package/dist/esm/sdk/registration-C7w_51wE.js +0 -1
  97. package/dist/esm/sdk/runtime-auth-BMT_gIKI.js +0 -1
  98. package/dist/public/sdk/ownerNearOperation-DCxxHcwX.js +0 -1
  99. package/dist/public/sdk/registration-C7w_51wE.js +0 -1
  100. package/dist/public/sdk/runtime-auth-BMT_gIKI.js +0 -1
package/README.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Seams Wallet SDK
2
2
 
3
- `@seams/wallet` **0.30.0** provides browser wallet lifecycle, NEAR and EVM-family
3
+ `@seams/wallet` **0.33.0** provides browser wallet lifecycle, NEAR and EVM-family
4
4
  threshold signing, React components, and hosted wallet runtime assets.
5
5
 
6
6
  ## Install
7
7
 
8
8
  ```sh
9
- pnpm add @seams/wallet@0.30.0
9
+ pnpm add @seams/wallet@0.33.0
10
10
  ```
11
11
 
12
- React integrations support React 18 and 19. Import the provider and UI from
12
+ React integrations require `react@19.1.1` and `react-dom@19.1.1`. Import the provider and UI from
13
13
  `@seams/wallet/react` and its stylesheet from `@seams/wallet/react/styles`.
14
14
  Keep the application package, wallet-origin assets, and
15
- `@seams/wallet-server@0.30.0` on the matching release. The wallet iframe protocol
16
- is `20.0.0`. The application and wallet host must use the same protocol version.
15
+ `@seams/wallet-server@0.33.0` on the matching release. The wallet iframe protocol
16
+ is `21.0.0`. The application and wallet host must use the same protocol version.
17
17
 
18
18
  ## Current API
19
19
 
@@ -48,7 +48,7 @@ the challenge and its expiry. The application receives the typed challenge handl
48
48
 
49
49
  ## Application sessions and fresh owner approval
50
50
 
51
- SDK 0.30.0 accepts a handoff from an explicitly trusted application backend.
51
+ SDK 0.33.0 accepts a handoff from an explicitly trusted application backend.
52
52
  Google and app-passkey login can use the same stable application user ID.
53
53
  Use `registration.registerOwnerWallet` for NEAR-only passkey onboarding and `near.prepareOwnerTransaction` for fresh approval of each transaction.
54
54
  These operations create no reusable signing authority.
@@ -57,7 +57,7 @@ See the [application-session guide](https://wallet.seams.sh/docs/guides/applicat
57
57
 
58
58
  ## Bring your own Google authentication
59
59
 
60
- SDK 0.30.0 can reuse an application's Google ID token to open associated wallet settings.
60
+ SDK 0.33.0 can reuse an application's Google ID token to open associated wallet settings.
61
61
  Configure the environment's Google client ID and let the owner associate their wallet once.
62
62
  Then pass the token after the application's existing Google login:
63
63
 
@@ -5,7 +5,7 @@ distributed Seams Wallet SDK, server runtime, Wasm, strict Workers, and CLI.
5
5
  Dependency license expressions come from their package metadata. Packaged
6
6
  license and notice wording is reproduced below with normalized whitespace.
7
7
 
8
- Inventory: 469 dependency records (60 npm, 409 Cargo).
8
+ Inventory: 447 dependency records (60 npm, 387 Cargo).
9
9
 
10
10
  ## Dependency inventory
11
11
 
@@ -24,20 +24,13 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
24
24
  | cargo | base16ct | 1.0.0 | Apache-2.0 OR MIT | RustCrypto Developers |
25
25
  | cargo | base64 | 0.22.1 | MIT OR Apache-2.0 | Marshall Pierce <marshall@mpierce.org> |
26
26
  | cargo | base64 | 0.23.1 | MIT OR Apache-2.0 | Marshall Pierce <marshall@mpierce.org> |
27
- | cargo | base64ct | 1.8.0 | Apache-2.0 OR MIT | RustCrypto Developers |
28
27
  | cargo | base64ct | 1.8.3 | Apache-2.0 OR MIT | RustCrypto Developers |
29
28
  | cargo | bitflags | 2.13.1 | MIT OR Apache-2.0 | The Rust Project Developers |
30
29
  | cargo | bitflags | 2.13.2 | MIT OR Apache-2.0 | The Rust Project Developers |
31
30
  | cargo | block-buffer | 0.10.4 | MIT OR Apache-2.0 | RustCrypto Developers |
32
31
  | cargo | block-buffer | 0.12.1 | MIT OR Apache-2.0 | RustCrypto Developers |
33
- | cargo | borsh-derive | 1.5.7 | Apache-2.0 | Near Inc <hello@nearprotocol.com> |
34
32
  | cargo | borsh-derive | 1.6.1 | Apache-2.0 | Near Inc <hello@nearprotocol.com> |
35
- | cargo | borsh-derive | 1.8.0 | Apache-2.0 | Near Inc <hello@nearprotocol.com> |
36
- | cargo | borsh-derive | 1.8.1 | Apache-2.0 | Near Inc <hello@nearprotocol.com> |
37
- | cargo | borsh | 1.5.7 | MIT OR Apache-2.0 | Near Inc <hello@near.org> |
38
33
  | cargo | borsh | 1.6.1 | MIT OR Apache-2.0 | Near Inc <hello@near.org> |
39
- | cargo | borsh | 1.8.0 | MIT OR Apache-2.0 | Near Inc <hello@near.org> |
40
- | cargo | borsh | 1.8.1 | MIT OR Apache-2.0 | Near Inc <hello@near.org> |
41
34
  | cargo | bs58 | 0.5.1 | MIT/Apache-2.0 | |
42
35
  | cargo | bumpalo | 3.18.1 | MIT OR Apache-2.0 | Nick Fitzgerald <fitzgen@gmail.com> |
43
36
  | cargo | bumpalo | 3.19.1 | MIT OR Apache-2.0 | Nick Fitzgerald <fitzgen@gmail.com> |
@@ -137,7 +130,6 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
137
130
  | cargo | futures-util | 0.3.32 | MIT OR Apache-2.0 | |
138
131
  | cargo | futures-util | 0.3.33 | MIT OR Apache-2.0 | |
139
132
  | cargo | futures | 0.3.32 | MIT OR Apache-2.0 | |
140
- | cargo | futures | 0.3.33 | MIT OR Apache-2.0 | |
141
133
  | cargo | generic-array | 0.14.7 | MIT | Aaron Trent <novacrazy@gmail.com>; Bartłomiej Kamiński <fizyk20@gmail.com> |
142
134
  | cargo | generic-array | 0.14.9 | MIT | Aaron Trent <novacrazy@gmail.com>; Bartłomiej Kamiński <fizyk20@gmail.com> |
143
135
  | cargo | getrandom | 0.2.17 | MIT OR Apache-2.0 | The Rand Project Developers |
@@ -176,7 +168,6 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
176
168
  | cargo | jni-sys | 0.4.1 | MIT OR Apache-2.0 | Robert Bragg <robert@sixbynine.org>; Steven Fackler <sfackler@gmail.com> |
177
169
  | cargo | jni | 0.22.4 | MIT OR Apache-2.0 | jni team |
178
170
  | cargo | js-sys | 0.3.100 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
179
- | cargo | js-sys | 0.3.103 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
180
171
  | cargo | js-sys | 0.3.105 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
181
172
  | cargo | js-sys | 0.3.77 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
182
173
  | cargo | js-sys | 0.3.85 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
@@ -208,7 +199,6 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
208
199
  | cargo | nix | 0.31.3 | MIT | |
209
200
  | cargo | nu-ansi-term | 0.50.3 | MIT | Josh Triplett <josh@joshtriplett.org>; Ryan Scheel (Havvy) <ryan.havvy@gmail.com>; The Nushell Project Developers; ogham@bsago.me |
210
201
  | cargo | num-bigint | 0.4.6 | MIT OR Apache-2.0 | The Rust Project Developers |
211
- | cargo | num-bigint | 0.4.8 | MIT OR Apache-2.0 | The Rust Project Developers |
212
202
  | cargo | num-integer | 0.1.46 | MIT OR Apache-2.0 | The Rust Project Developers |
213
203
  | cargo | num-traits | 0.2.19 | MIT OR Apache-2.0 | The Rust Project Developers |
214
204
  | cargo | once_cell | 1.21.3 | MIT OR Apache-2.0 | Aleksey Kladov <aleksey.kladov@gmail.com> |
@@ -259,7 +249,6 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
259
249
  | cargo | rustversion | 1.0.21 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com> |
260
250
  | cargo | rustversion | 1.0.22 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com> |
261
251
  | cargo | rustversion | 1.0.23 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com> |
262
- | cargo | ryu | 1.0.23 | Apache-2.0 OR BSL-1.0 | David Tolnay <dtolnay@gmail.com> |
263
252
  | cargo | same-file | 1.0.6 | Unlicense/MIT | Andrew Gallant <jamslam@gmail.com> |
264
253
  | cargo | schannel | 0.1.29 | MIT | Steffen Butzer <steffen.butzer@outlook.com>; Steven Fackler <sfackler@gmail.com> |
265
254
  | cargo | scopeguard | 1.2.0 | MIT OR Apache-2.0 | bluss |
@@ -269,21 +258,15 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
269
258
  | cargo | security-framework | 3.7.0 | MIT OR Apache-2.0 | Kornel <kornel@geekhood.net>; Steven Fackler <sfackler@gmail.com> |
270
259
  | cargo | semver | 1.0.26 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com> |
271
260
  | cargo | semver | 1.0.28 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com> |
272
- | cargo | serde_core | 1.0.228 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
273
261
  | cargo | serde_core | 1.0.229 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
274
- | cargo | serde_derive | 1.0.228 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
275
262
  | cargo | serde_derive | 1.0.229 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
276
- | cargo | serde_json | 1.0.143 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
277
- | cargo | serde_json | 1.0.150 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
278
263
  | cargo | serde_json | 1.0.151 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
279
264
  | cargo | serde-wasm-bindgen | 0.6.5 | MIT | Ingvar Stepanyan <me@rreverser.com> |
280
- | cargo | serde | 1.0.228 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
281
265
  | cargo | serde | 1.0.229 | MIT OR Apache-2.0 | David Tolnay <dtolnay@gmail.com>; Erick Tryzelaar <erick.tryzelaar@gmail.com> |
282
266
  | cargo | serdect | 0.2.0 | Apache-2.0 OR MIT | RustCrypto Developers |
283
267
  | cargo | sha1 | 0.10.7 | MIT OR Apache-2.0 | RustCrypto Developers |
284
268
  | cargo | sha2 | 0.10.9 | MIT OR Apache-2.0 | RustCrypto Developers |
285
269
  | cargo | sha2 | 0.11.0 | MIT OR Apache-2.0 | RustCrypto Developers |
286
- | cargo | sha3 | 0.10.8 | MIT OR Apache-2.0 | RustCrypto Developers |
287
270
  | cargo | sha3 | 0.10.9 | MIT OR Apache-2.0 | RustCrypto Developers |
288
271
  | cargo | sha3 | 0.12.0 | MIT OR Apache-2.0 | RustCrypto Developers |
289
272
  | cargo | shake | 0.1.0 | MIT OR Apache-2.0 | RustCrypto Developers |
@@ -359,21 +342,18 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
359
342
  | cargo | wasm-bindgen-macro-support | 0.2.113 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
360
343
  | cargo | wasm-bindgen-macro-support | 0.2.118 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
361
344
  | cargo | wasm-bindgen-macro-support | 0.2.123 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
362
- | cargo | wasm-bindgen-macro-support | 0.2.126 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
363
345
  | cargo | wasm-bindgen-macro-support | 0.2.128 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
364
346
  | cargo | wasm-bindgen-macro | 0.2.100 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
365
347
  | cargo | wasm-bindgen-macro | 0.2.108 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
366
348
  | cargo | wasm-bindgen-macro | 0.2.113 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
367
349
  | cargo | wasm-bindgen-macro | 0.2.118 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
368
350
  | cargo | wasm-bindgen-macro | 0.2.123 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
369
- | cargo | wasm-bindgen-macro | 0.2.126 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
370
351
  | cargo | wasm-bindgen-macro | 0.2.128 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
371
352
  | cargo | wasm-bindgen-shared | 0.2.100 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
372
353
  | cargo | wasm-bindgen-shared | 0.2.108 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
373
354
  | cargo | wasm-bindgen-shared | 0.2.113 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
374
355
  | cargo | wasm-bindgen-shared | 0.2.118 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
375
356
  | cargo | wasm-bindgen-shared | 0.2.123 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
376
- | cargo | wasm-bindgen-shared | 0.2.126 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
377
357
  | cargo | wasm-bindgen-shared | 0.2.128 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
378
358
  | cargo | wasm-bindgen-test-macro | 0.3.73 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
379
359
  | cargo | wasm-bindgen-test-shared | 0.2.123 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
@@ -383,7 +363,6 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
383
363
  | cargo | wasm-bindgen | 0.2.113 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
384
364
  | cargo | wasm-bindgen | 0.2.118 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
385
365
  | cargo | wasm-bindgen | 0.2.123 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
386
- | cargo | wasm-bindgen | 0.2.126 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
387
366
  | cargo | wasm-bindgen | 0.2.128 | MIT OR Apache-2.0 | The wasm-bindgen Developers |
388
367
  | cargo | webpki-root-certs | 1.0.9 | CDLA-Permissive-2.0 | |
389
368
  | cargo | webpki-roots | 1.0.9 | CDLA-Permissive-2.0 | |
@@ -413,7 +392,6 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
413
392
  | cargo | zerocopy | 0.8.53 | BSD-2-Clause OR Apache-2.0 OR MIT | Jack Wrenn <jswrenn@amazon.com>; Joshua Liebow-Feeser <joshlf@google.com> |
414
393
  | cargo | zerocopy | 0.8.54 | BSD-2-Clause OR Apache-2.0 OR MIT | Jack Wrenn <jswrenn@amazon.com>; Joshua Liebow-Feeser <joshlf@google.com> |
415
394
  | cargo | zerocopy | 0.8.56 | BSD-2-Clause OR Apache-2.0 OR MIT | |
416
- | cargo | zeroize_derive | 1.4.3 | Apache-2.0 OR MIT | The RustCrypto Project Developers |
417
395
  | cargo | zeroize_derive | 1.5.0 | Apache-2.0 OR MIT | The RustCrypto Project Developers |
418
396
  | cargo | zeroize | 1.8.2 | Apache-2.0 OR MIT | The RustCrypto Project Developers |
419
397
  | cargo | zeroize | 1.9.0 | Apache-2.0 OR MIT | The RustCrypto Project Developers |
@@ -486,8 +464,6 @@ Inventory: 469 dependency records (60 npm, 409 Cargo).
486
464
  These packages declare the following SPDX license expression in package metadata
487
465
  but do not include a top-level license or notice file in the distributed package:
488
466
 
489
- - cargo:borsh-derive@1.5.7 — Apache-2.0
490
- - cargo:borsh@1.5.7 — MIT OR Apache-2.0
491
467
  - cargo:frost-core@2.2.0 — MIT OR Apache-2.0
492
468
  - cargo:frost-ed25519@2.2.0 — MIT OR Apache-2.0
493
469
  - cargo:frost-rerandomized@2.2.0 — MIT OR Apache-2.0
@@ -2839,11 +2815,7 @@ Applies to:
2839
2815
 
2840
2816
  - cargo:async-trait@0.1.89
2841
2817
  - cargo:borsh-derive@1.6.1
2842
- - cargo:borsh-derive@1.8.0
2843
- - cargo:borsh-derive@1.8.1
2844
2818
  - cargo:borsh@1.6.1
2845
- - cargo:borsh@1.8.0
2846
- - cargo:borsh@1.8.1
2847
2819
  - cargo:curve25519-dalek-derive@0.1.1
2848
2820
  - cargo:displaydoc@0.2.7
2849
2821
  - cargo:group@0.13.0
@@ -2867,14 +2839,9 @@ Applies to:
2867
2839
  - cargo:rustversion@1.0.23
2868
2840
  - cargo:semver@1.0.26
2869
2841
  - cargo:semver@1.0.28
2870
- - cargo:serde@1.0.228
2871
2842
  - cargo:serde@1.0.229
2872
- - cargo:serde_core@1.0.228
2873
2843
  - cargo:serde_core@1.0.229
2874
- - cargo:serde_derive@1.0.228
2875
2844
  - cargo:serde_derive@1.0.229
2876
- - cargo:serde_json@1.0.143
2877
- - cargo:serde_json@1.0.150
2878
2845
  - cargo:serde_json@1.0.151
2879
2846
  - cargo:simd_cesu8@1.2.0
2880
2847
  - cargo:syn@2.0.103
@@ -3087,7 +3054,6 @@ Applies to:
3087
3054
  - cargo:futures-util@0.3.32
3088
3055
  - cargo:futures-util@0.3.33
3089
3056
  - cargo:futures@0.3.32
3090
- - cargo:futures@0.3.33
3091
3057
 
3092
3058
  Apache License
3093
3059
  Version 2.0, January 2004
@@ -3451,7 +3417,6 @@ Packaged as: LICENSE-MIT
3451
3417
 
3452
3418
  Applies to:
3453
3419
 
3454
- - cargo:base64ct@1.8.0
3455
3420
  - cargo:base64ct@1.8.3
3456
3421
 
3457
3422
  Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
@@ -3886,7 +3851,6 @@ Applies to:
3886
3851
  - cargo:find-msvc-tools@0.1.12
3887
3852
  - cargo:find-msvc-tools@0.1.9
3888
3853
  - cargo:js-sys@0.3.100
3889
- - cargo:js-sys@0.3.103
3890
3854
  - cargo:js-sys@0.3.105
3891
3855
  - cargo:js-sys@0.3.77
3892
3856
  - cargo:js-sys@0.3.85
@@ -3901,21 +3865,18 @@ Applies to:
3901
3865
  - cargo:wasm-bindgen-macro-support@0.2.113
3902
3866
  - cargo:wasm-bindgen-macro-support@0.2.118
3903
3867
  - cargo:wasm-bindgen-macro-support@0.2.123
3904
- - cargo:wasm-bindgen-macro-support@0.2.126
3905
3868
  - cargo:wasm-bindgen-macro-support@0.2.128
3906
3869
  - cargo:wasm-bindgen-macro@0.2.100
3907
3870
  - cargo:wasm-bindgen-macro@0.2.108
3908
3871
  - cargo:wasm-bindgen-macro@0.2.113
3909
3872
  - cargo:wasm-bindgen-macro@0.2.118
3910
3873
  - cargo:wasm-bindgen-macro@0.2.123
3911
- - cargo:wasm-bindgen-macro@0.2.126
3912
3874
  - cargo:wasm-bindgen-macro@0.2.128
3913
3875
  - cargo:wasm-bindgen-shared@0.2.100
3914
3876
  - cargo:wasm-bindgen-shared@0.2.108
3915
3877
  - cargo:wasm-bindgen-shared@0.2.113
3916
3878
  - cargo:wasm-bindgen-shared@0.2.118
3917
3879
  - cargo:wasm-bindgen-shared@0.2.123
3918
- - cargo:wasm-bindgen-shared@0.2.126
3919
3880
  - cargo:wasm-bindgen-shared@0.2.128
3920
3881
  - cargo:wasm-bindgen-test-macro@0.3.73
3921
3882
  - cargo:wasm-bindgen-test-shared@0.2.123
@@ -3925,7 +3886,6 @@ Applies to:
3925
3886
  - cargo:wasm-bindgen@0.2.113
3926
3887
  - cargo:wasm-bindgen@0.2.118
3927
3888
  - cargo:wasm-bindgen@0.2.123
3928
- - cargo:wasm-bindgen@0.2.126
3929
3889
  - cargo:wasm-bindgen@0.2.128
3930
3890
 
3931
3891
  Copyright (c) 2014 Alex Crichton
@@ -6069,17 +6029,11 @@ Applies to:
6069
6029
  - cargo:rustversion@1.0.21
6070
6030
  - cargo:rustversion@1.0.22
6071
6031
  - cargo:rustversion@1.0.23
6072
- - cargo:ryu@1.0.23
6073
6032
  - cargo:semver@1.0.26
6074
6033
  - cargo:semver@1.0.28
6075
- - cargo:serde@1.0.228
6076
6034
  - cargo:serde@1.0.229
6077
- - cargo:serde_core@1.0.228
6078
6035
  - cargo:serde_core@1.0.229
6079
- - cargo:serde_derive@1.0.228
6080
6036
  - cargo:serde_derive@1.0.229
6081
- - cargo:serde_json@1.0.143
6082
- - cargo:serde_json@1.0.150
6083
6037
  - cargo:serde_json@1.0.151
6084
6038
  - cargo:syn@2.0.103
6085
6039
  - cargo:syn@2.0.114
@@ -6398,7 +6352,6 @@ Applies to:
6398
6352
  - cargo:log@0.4.33
6399
6353
  - cargo:log@0.4.34
6400
6354
  - cargo:num-bigint@0.4.6
6401
- - cargo:num-bigint@0.4.8
6402
6355
  - cargo:num-integer@0.1.46
6403
6356
  - cargo:num-traits@0.2.19
6404
6357
 
@@ -6490,7 +6443,6 @@ Applies to:
6490
6443
  - cargo:futures-util@0.3.32
6491
6444
  - cargo:futures-util@0.3.33
6492
6445
  - cargo:futures@0.3.32
6493
- - cargo:futures@0.3.33
6494
6446
 
6495
6447
  Copyright (c) 2016 Alex Crichton
6496
6448
  Copyright (c) 2017 The Tokio Authors
@@ -7495,11 +7447,7 @@ Packaged as: LICENSE-APACHE
7495
7447
  Applies to:
7496
7448
 
7497
7449
  - cargo:borsh-derive@1.6.1
7498
- - cargo:borsh-derive@1.8.0
7499
- - cargo:borsh-derive@1.8.1
7500
7450
  - cargo:borsh@1.6.1
7501
- - cargo:borsh@1.8.0
7502
- - cargo:borsh@1.8.1
7503
7451
  - npm:borsh@1.0.0
7504
7452
 
7505
7453
  Apache License
@@ -8886,37 +8834,6 @@ Applies to:
8886
8834
  DEALINGS IN THE SOFTWARE.
8887
8835
 
8888
8836
 
8889
- ### 90a8b6622d5e3faa
8890
-
8891
- Packaged as: LICENSE-MIT
8892
-
8893
- Applies to:
8894
-
8895
- - cargo:zeroize_derive@1.4.3
8896
-
8897
- MIT License
8898
-
8899
- Copyright (c) 2019-2023 The RustCrypto Project Developers
8900
-
8901
- Permission is hereby granted, free of charge, to any person obtaining a copy
8902
- of this software and associated documentation files (the "Software"), to deal
8903
- in the Software without restriction, including without limitation the rights
8904
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8905
- copies of the Software, and to permit persons to whom the Software is
8906
- furnished to do so, subject to the following conditions:
8907
-
8908
- The above copyright notice and this permission notice shall be included in all
8909
- copies or substantial portions of the Software.
8910
-
8911
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8912
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
8913
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
8914
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8915
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
8916
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
8917
- SOFTWARE.
8918
-
8919
-
8920
8837
  ### 90c503b61dee04e1
8921
8838
 
8922
8839
  Packaged as: LICENSE-MIT
@@ -9525,7 +9442,6 @@ Applies to:
9525
9442
  - cargo:indexmap@2.9.0
9526
9443
  - cargo:itertools@0.14.0
9527
9444
  - cargo:js-sys@0.3.100
9528
- - cargo:js-sys@0.3.103
9529
9445
  - cargo:js-sys@0.3.105
9530
9446
  - cargo:js-sys@0.3.77
9531
9447
  - cargo:js-sys@0.3.85
@@ -9536,7 +9452,6 @@ Applies to:
9536
9452
  - cargo:log@0.4.34
9537
9453
  - cargo:minicov@0.3.8
9538
9454
  - cargo:num-bigint@0.4.6
9539
- - cargo:num-bigint@0.4.8
9540
9455
  - cargo:num-integer@0.1.46
9541
9456
  - cargo:num-traits@0.2.19
9542
9457
  - cargo:once_cell@1.21.3
@@ -9566,21 +9481,18 @@ Applies to:
9566
9481
  - cargo:wasm-bindgen-macro-support@0.2.113
9567
9482
  - cargo:wasm-bindgen-macro-support@0.2.118
9568
9483
  - cargo:wasm-bindgen-macro-support@0.2.123
9569
- - cargo:wasm-bindgen-macro-support@0.2.126
9570
9484
  - cargo:wasm-bindgen-macro-support@0.2.128
9571
9485
  - cargo:wasm-bindgen-macro@0.2.100
9572
9486
  - cargo:wasm-bindgen-macro@0.2.108
9573
9487
  - cargo:wasm-bindgen-macro@0.2.113
9574
9488
  - cargo:wasm-bindgen-macro@0.2.118
9575
9489
  - cargo:wasm-bindgen-macro@0.2.123
9576
- - cargo:wasm-bindgen-macro@0.2.126
9577
9490
  - cargo:wasm-bindgen-macro@0.2.128
9578
9491
  - cargo:wasm-bindgen-shared@0.2.100
9579
9492
  - cargo:wasm-bindgen-shared@0.2.108
9580
9493
  - cargo:wasm-bindgen-shared@0.2.113
9581
9494
  - cargo:wasm-bindgen-shared@0.2.118
9582
9495
  - cargo:wasm-bindgen-shared@0.2.123
9583
- - cargo:wasm-bindgen-shared@0.2.126
9584
9496
  - cargo:wasm-bindgen-shared@0.2.128
9585
9497
  - cargo:wasm-bindgen-test-macro@0.3.73
9586
9498
  - cargo:wasm-bindgen-test-shared@0.2.123
@@ -9590,7 +9502,6 @@ Applies to:
9590
9502
  - cargo:wasm-bindgen@0.2.113
9591
9503
  - cargo:wasm-bindgen@0.2.118
9592
9504
  - cargo:wasm-bindgen@0.2.123
9593
- - cargo:wasm-bindgen@0.2.126
9594
9505
  - cargo:wasm-bindgen@0.2.128
9595
9506
  - cargo:wit-bindgen@0.57.1
9596
9507
 
@@ -10356,7 +10267,6 @@ Applies to:
10356
10267
  - cargo:aes@0.8.4
10357
10268
  - cargo:base16ct@0.2.0
10358
10269
  - cargo:base16ct@1.0.0
10359
- - cargo:base64ct@1.8.0
10360
10270
  - cargo:base64ct@1.8.3
10361
10271
  - cargo:block-buffer@0.10.4
10362
10272
  - cargo:block-buffer@0.12.1
@@ -10418,7 +10328,6 @@ Applies to:
10418
10328
  - cargo:sha1@0.10.7
10419
10329
  - cargo:sha2@0.10.9
10420
10330
  - cargo:sha2@0.11.0
10421
- - cargo:sha3@0.10.8
10422
10331
  - cargo:sha3@0.10.9
10423
10332
  - cargo:sha3@0.12.0
10424
10333
  - cargo:shake@0.1.0
@@ -12488,39 +12397,6 @@ Applies to:
12488
12397
  DEALINGS IN THE SOFTWARE.
12489
12398
 
12490
12399
 
12491
- ### c9bff75738922193
12492
-
12493
- Packaged as: LICENSE-BOOST
12494
-
12495
- Applies to:
12496
-
12497
- - cargo:ryu@1.0.23
12498
-
12499
- Boost Software License - Version 1.0 - August 17th, 2003
12500
-
12501
- Permission is hereby granted, free of charge, to any person or organization
12502
- obtaining a copy of the software and accompanying documentation covered by
12503
- this license (the "Software") to use, reproduce, display, distribute,
12504
- execute, and transmit the Software, and to prepare derivative works of the
12505
- Software, and to permit third-parties to whom the Software is furnished to
12506
- do so, all subject to the following:
12507
-
12508
- The copyright notices in the Software and this entire statement, including
12509
- the above license grant, this restriction and the following disclaimer,
12510
- must be included in all copies of the Software, in whole or in part, and
12511
- all derivative works of the Software, unless such copies or derivative
12512
- works are solely in the form of machine-executable object code generated by
12513
- a source language processor.
12514
-
12515
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12516
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12517
- FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
12518
- SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
12519
- FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
12520
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
12521
- DEALINGS IN THE SOFTWARE.
12522
-
12523
-
12524
12400
  ### cb3c929a05e6cbc9
12525
12401
 
12526
12402
  Packaged as: LICENSE-MIT
@@ -12639,7 +12515,6 @@ Applies to:
12639
12515
  - cargo:ureq-proto@0.6.1
12640
12516
  - cargo:zeroize@1.8.2
12641
12517
  - cargo:zeroize@1.9.0
12642
- - cargo:zeroize_derive@1.4.3
12643
12518
  - cargo:zeroize_derive@1.5.0
12644
12519
  - npm:flatbuffers@25.9.23
12645
12520
  - npm:long@5.3.2
@@ -13394,7 +13269,6 @@ Packaged as: LICENSE-MIT
13394
13269
 
13395
13270
  Applies to:
13396
13271
 
13397
- - cargo:sha3@0.10.8
13398
13272
  - cargo:sha3@0.10.9
13399
13273
 
13400
13274
  Copyright (c) 2006-2009 Graydon Hoare
@@ -1 +1 @@
1
- fc980903c573c287e8206786d90025fc12bbd72eab183d74520e08097b5b3360
1
+ 561810bf25a0d5d6712eade5eca689e24019e52460e1671199f624c75bb501d3
@@ -2,7 +2,7 @@ import { WalletText } from "../../../../../core/signingEngine/uiConfirm/ui/preac
2
2
  import { SeamsWordmark } from "../../../../../core/signingEngine/uiConfirm/ui/preact/SeamsWordmark.js";
3
3
  import { alertIcon } from "./icons.js";
4
4
  import { Component } from "preact";
5
- import { jsx, jsxs } from "preact/jsx-runtime";
5
+ import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
6
6
  //#region src/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuFooter.tsx
7
7
  /** @jsxImportSource preact */
8
8
  /**
@@ -12,20 +12,17 @@ import { jsx, jsxs } from "preact/jsx-runtime";
12
12
  var AuthMenuFooter = class extends Component {
13
13
  shownNotice = "";
14
14
  render() {
15
- const { notice, onRetry } = this.props;
15
+ const { onRetry, brand, connection } = this.props;
16
+ const notice = footerNotice(connection, this.props.notice);
16
17
  if (notice) this.shownNotice = notice;
17
18
  return /* @__PURE__ */ jsxs("div", {
18
19
  class: "seams-auth-footer",
19
20
  "data-state": notice ? "notice" : "brand",
20
21
  children: [
21
- /* @__PURE__ */ jsxs("div", {
22
+ /* @__PURE__ */ jsx("div", {
22
23
  class: "seams-auth-footer-brand",
23
24
  "aria-hidden": notice ? "true" : void 0,
24
- children: [
25
- /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(WalletText, { message: "Secured by" }) }),
26
- " ",
27
- /* @__PURE__ */ jsx(SeamsWordmark, {})
28
- ]
25
+ children: renderBrand(brand, connection)
29
26
  }),
30
27
  /* @__PURE__ */ jsxs("div", {
31
28
  class: "seams-auth-footer-notice",
@@ -34,15 +31,16 @@ var AuthMenuFooter = class extends Component {
34
31
  /* @__PURE__ */ jsx("span", {
35
32
  class: "seams-auth-footer-text",
36
33
  "aria-hidden": "true",
34
+ title: this.shownNotice,
37
35
  children: /* @__PURE__ */ jsx(WalletText, { copy: this.shownNotice })
38
36
  }),
39
- /* @__PURE__ */ jsx("button", {
37
+ connection.kind === "idle" ? /* @__PURE__ */ jsx("button", {
40
38
  class: "seams-auth-footer-action",
41
39
  type: "button",
42
40
  disabled: !notice,
43
41
  onClick: onRetry,
44
42
  children: /* @__PURE__ */ jsx(WalletText, { message: "Try again" })
45
- })
43
+ }) : null
46
44
  ]
47
45
  }),
48
46
  notice ? /* @__PURE__ */ jsx("p", {
@@ -54,6 +52,36 @@ var AuthMenuFooter = class extends Component {
54
52
  });
55
53
  }
56
54
  };
55
+ function footerNotice(connection, notice) {
56
+ switch (connection.kind) {
57
+ case "pending": return null;
58
+ case "failed": return connection.message;
59
+ case "idle": return notice;
60
+ default: return assertNever(connection);
61
+ }
62
+ }
63
+ function renderBrand(brand, connection) {
64
+ if (connection.kind === "pending") return /* @__PURE__ */ jsx("span", {
65
+ role: "status",
66
+ children: /* @__PURE__ */ jsx(WalletText, { copy: "Complete the request in your wallet." })
67
+ });
68
+ switch (brand.kind) {
69
+ case "custom": return /* @__PURE__ */ jsx("img", {
70
+ class: "seams-auth-footer-logo",
71
+ src: brand.logo,
72
+ alt: brand.name
73
+ });
74
+ case "seams": return /* @__PURE__ */ jsxs(Fragment$1, { children: [
75
+ /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(WalletText, { message: "Secured by" }) }),
76
+ " ",
77
+ /* @__PURE__ */ jsx(SeamsWordmark, {})
78
+ ] });
79
+ default: return assertNever(brand);
80
+ }
81
+ }
82
+ function assertNever(value) {
83
+ throw new Error(`Unknown footer state: ${value}`);
84
+ }
57
85
  //#endregion
58
86
  export { AuthMenuFooter };
59
87
 
@@ -8,8 +8,9 @@ import { AUTH_MENU_WAITING_PROMPTS, isAuthMenuActionReady, isAuthMenuGoogleActio
8
8
  import { AUTH_MENU_ACCOUNT_LIST_ID, AUTH_MENU_TITLE_ID, accountGroups, accountSecondaryText, authViewKey, menuNotice, modeLabel, modeSwitchCopy, otpCodeDigits, passkeyButtonLabel, recoveryAnnouncement, recoveryBackLabel, recoveryCaretAtPoint, recoveryNavigationLocked, renderDemoEmailCode, renderOtpCodeDigit, savedAccountsTriggerLabel, selectedAccountPrimaryText, selectedLoginAccount } from "./presentation.js";
9
9
  import { PadlockIcon } from "../../../../../core/signingEngine/uiConfirm/ui/preact/PadlockIcon.js";
10
10
  import { blinkMenuItem } from "../../../../../utils/menuItemBlink.js";
11
- import { accountDropdownIcon, backIcon, chevronIcon, fingerprintIcon, googleIcon, linkDeviceIcon, linkFailedIcon, mailIcon, passkeyRingIcon, passkeySuccessIcon, recoveryIcon, rerollIcon } from "./icons.js";
11
+ import { accountDropdownIcon, backIcon, fingerprintIcon, googleIcon, linkFailedIcon, mailIcon, passkeyRingIcon, passkeySuccessIcon, rerollIcon } from "./icons.js";
12
12
  import { AuthMenuFooter } from "./AuthMenuFooter.js";
13
+ import { RecoveryOptions } from "./RecoveryOptions.js";
13
14
  import { linkDeviceDotRing, linkDeviceEmailOtpPresentation } from "./linkDeviceBadge.js";
14
15
  import { Component, Fragment } from "preact";
15
16
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
@@ -559,7 +560,9 @@ var AuthMenuSurface = class extends Component {
559
560
  }),
560
561
  /* @__PURE__ */ jsx(AuthMenuFooter, {
561
562
  notice: menuNotice(viewModel),
562
- onRetry: this.onNoticeRetry
563
+ onRetry: this.onNoticeRetry,
564
+ brand: this.props.footerBrand,
565
+ connection: this.props.walletConnection
563
566
  })
564
567
  ]
565
568
  }) });
@@ -569,31 +572,24 @@ var AuthMenuSurface = class extends Component {
569
572
  if (viewModel.kind === "link_device") return this.renderLinkDevice(viewModel);
570
573
  if (viewModel.kind === "google_otp_login") return this.renderGoogleOtp(viewModel);
571
574
  if (viewModel.kind === "google_registration") return this.renderGoogleRegistration(viewModel);
572
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
573
- this.renderMenuHeader(viewModel),
574
- /* @__PURE__ */ jsxs("fieldset", {
575
- class: "seams-connection-controls",
576
- disabled: this.props.walletConnection.kind === "pending",
577
- children: [
578
- this.renderPasskeyInput(viewModel),
579
- this.renderAuthMethods(viewModel),
580
- /* @__PURE__ */ jsx(WalletAlternativesSection, {
581
- alternatives: this.props.walletAlternatives,
582
- onIntent: this.props.onIntent
583
- }),
584
- this.renderOtherOptions(),
585
- this.renderIntentSwitch(viewModel)
586
- ]
587
- }),
588
- this.props.walletConnection.kind === "pending" && /* @__PURE__ */ jsx("p", {
589
- role: "status",
590
- children: /* @__PURE__ */ jsx(WalletText, { copy: "Complete the request in your wallet." })
591
- }),
592
- this.props.walletConnection.kind === "failed" && /* @__PURE__ */ jsx("p", {
593
- role: "alert",
594
- children: this.props.walletConnection.message
595
- })
596
- ] });
575
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [this.renderMenuHeader(viewModel), /* @__PURE__ */ jsxs("fieldset", {
576
+ class: "seams-connection-controls",
577
+ disabled: this.props.walletConnection.kind === "pending",
578
+ children: [
579
+ this.renderPasskeyInput(viewModel),
580
+ this.renderAuthMethods(viewModel),
581
+ /* @__PURE__ */ jsx(WalletAlternativesSection, {
582
+ alternatives: this.props.walletAlternatives,
583
+ onIntent: this.props.onIntent
584
+ }),
585
+ /* @__PURE__ */ jsx(RecoveryOptions, {
586
+ display: this.props.recoveryOptions,
587
+ onLinkDevice: this.onLinkDeviceOpen,
588
+ onRecovery: this.onRecoveryOpen
589
+ }),
590
+ this.renderIntentSwitch(viewModel)
591
+ ]
592
+ })] });
597
593
  }
598
594
  renderMenuHeader(viewModel) {
599
595
  const eyebrow = modeLabel(viewModel.mode);
@@ -803,46 +799,6 @@ var AuthMenuSurface = class extends Component {
803
799
  ]
804
800
  }) });
805
801
  }
806
- renderOtherOptions() {
807
- return /* @__PURE__ */ jsxs("details", {
808
- class: "seams-menu-expander",
809
- children: [/* @__PURE__ */ jsxs("summary", { children: [/* @__PURE__ */ jsx(WalletText, { copy: "Recover or link wallet" }), chevronIcon()] }), /* @__PURE__ */ jsxs("div", {
810
- class: "seams-menu-options",
811
- children: [/* @__PURE__ */ jsxs("button", {
812
- class: "seams-menu-option",
813
- type: "button",
814
- onClick: this.onLinkDeviceOpen,
815
- children: [
816
- /* @__PURE__ */ jsx("span", {
817
- class: "seams-menu-option-icon",
818
- children: linkDeviceIcon()
819
- }),
820
- /* @__PURE__ */ jsxs("span", {
821
- class: "seams-menu-option-text",
822
- children: [/* @__PURE__ */ jsx(WalletText, { message: "Link this device" }), /* @__PURE__ */ jsx("small", { children: /* @__PURE__ */ jsx(WalletText, { message: "Scan a code with your other device" }) })]
823
- }),
824
- chevronIcon()
825
- ]
826
- }), /* @__PURE__ */ jsxs("button", {
827
- class: "seams-menu-option",
828
- type: "button",
829
- "data-recovery-action": true,
830
- onClick: this.onRecoveryOpen,
831
- children: [
832
- /* @__PURE__ */ jsx("span", {
833
- class: "seams-menu-option-icon",
834
- children: recoveryIcon()
835
- }),
836
- /* @__PURE__ */ jsxs("span", {
837
- class: "seams-menu-option-text",
838
- children: [/* @__PURE__ */ jsx(WalletText, { message: "Recover wallet" }), /* @__PURE__ */ jsx("small", { children: /* @__PURE__ */ jsx(WalletText, { message: "Use your recovery code" }) })]
839
- }),
840
- chevronIcon()
841
- ]
842
- })]
843
- })]
844
- });
845
- }
846
802
  renderRecovery(viewModel) {
847
803
  if (viewModel.stage === "enter_code") {
848
804
  const code = recoveryInputCharacters(viewModel.recoveryCode).slice(0, 32);