@seams/wallet 0.18.0 → 0.19.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.
- package/dist/.build-inputs.sha256 +1 -1
- package/dist/esm/SeamsWeb/index.js +1 -1
- package/dist/esm/SeamsWeb/walletIframe/client/inboundMessages.js +1 -1
- package/dist/esm/SeamsWeb/walletIframe/client/router.js +10 -4
- package/dist/esm/SeamsWeb/walletIframe/coordinator.js +23 -1
- package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.js +33 -6
- package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/icons.js +37 -1
- package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/presentation.js +1 -0
- package/dist/esm/core/browser/walletIframe/events.js +6 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/appearance.js +27 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/export-private-key-reveal.js +155 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/export-viewer-host.js +209 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/ExportPrivateKeySurface.js +319 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/mountExportPrivateKeySurface.js +92 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/surface-measurement-binding.js +12 -0
- package/dist/esm/core/ui/messages.js +4 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/react/components/AccountMenuButton/AccountMenuButtonView.js +1 -1
- package/dist/esm/react/components/AccountMenuButton/ExportKeysSection.css +20 -0
- package/dist/esm/react/components/AccountMenuButton/LinkedDevicesModal.css +9 -3
- package/dist/esm/react/components/AccountMenuButton/UserAccountButton.css +1 -0
- package/dist/esm/react/components/AccountMenuButton/Web3AuthProfileButton.css +15 -0
- package/dist/esm/react/styles/styles.css +36 -0
- package/dist/esm/sdk/{ConfirmationDrawer-mu3iThxX.js → ConfirmationDrawer-DCw0m-Iv.js} +1 -1
- package/dist/{public/sdk/adapters-u7LVXthY.js → esm/sdk/adapters-BNmcyf9K.js} +1 -1
- package/dist/esm/sdk/appearance-token-vars-DxBm_cKA.js +2 -0
- package/dist/{public/sdk/export-viewer-host-ivf9LlBo.js → esm/sdk/export-viewer-host-DsdzagKK.js} +1 -1
- package/dist/esm/sdk/{exportKeypairOperation-Gw7L5Htj.js → exportKeypairOperation-BwW_E4Lt.js} +1 -1
- package/dist/esm/sdk/{host-B-2QXolt.js → host-DMR4KDy9.js} +1 -1
- package/dist/esm/sdk/{localOnly-BKpUHtHa.js → localOnly-DO191vDh.js} +1 -1
- package/dist/esm/sdk/{mountExportPrivateKeySurface-C8pUK6PQ.js → mountExportPrivateKeySurface-DQzFzhNu.js} +1 -1
- package/dist/esm/sdk/{mountRecoveryCodeBackupSurface-DUudF89t.js → mountRecoveryCodeBackupSurface-B1D0ovqx.js} +1 -1
- package/dist/esm/sdk/{pendingWalletRecoveryCodeBackup-7tBjuSe7.js → pendingWalletRecoveryCodeBackup-DOeIn_Qj.js} +1 -1
- package/dist/esm/sdk/{registration-CWpOVwhj.js → registration-DknFwoqn.js} +1 -1
- package/dist/esm/sdk/{registration-D2OEgY7O.js → registration-sQndIWRF.js} +1 -1
- package/dist/esm/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/esm/sdk/runtime-auth-BxG-J-BB.js +1 -0
- package/dist/esm/sdk/{runtime-device-link-vhRhB-wS.js → runtime-device-link-Dn_5hPCq.js} +1 -1
- package/dist/{public/sdk/runtime-ecdsa-tempo-BXWgFVBa.js → esm/sdk/runtime-ecdsa-tempo-lTFTb9Rh.js} +1 -1
- package/dist/esm/sdk/{runtime-email-otp-BlAaSKtk.js → runtime-email-otp-CPqTCH8Q.js} +1 -1
- package/dist/esm/sdk/{runtime-export-B4FuHhcH.js → runtime-export-Brz53_oi.js} +1 -1
- package/dist/esm/sdk/{runtime-near-BnWOpEpA.js → runtime-near-Da_xFUXx.js} +1 -1
- package/dist/esm/sdk/{runtime-preferences-COm-LTiu.js → runtime-preferences-riUZGaTs.js} +1 -1
- package/dist/esm/sdk/{runtime-recovery-BJTo5Idi.js → runtime-recovery-CTj4nDAM.js} +1 -1
- package/dist/esm/sdk/{runtime-recovery-codes-CEOjdUHV.js → runtime-recovery-codes-D8T9LQ7-.js} +1 -1
- package/dist/esm/sdk/{shared-BKPGtAps.js → shared-hx7KVyeq.js} +1 -1
- package/dist/esm/sdk/tx-confirm-ui.js +4 -0
- package/dist/esm/sdk/wallet-iframe-host-ecdsa.js +1 -1
- package/dist/esm/sdk/wallet-iframe-host-full.js +1 -1
- package/dist/esm/sdk/wallet-iframe-host-near.js +1 -1
- package/dist/esm/sdk/wallet-iframe-host-runtime.js +1 -1
- package/dist/esm/sdk/wallet-ui.css +1 -1
- package/dist/esm/wasm/router_ab_ed25519_yao_client/pkg/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/public/headers.manifest.json +1 -1
- package/dist/public/sdk/{ConfirmationDrawer-mu3iThxX.js → ConfirmationDrawer-DCw0m-Iv.js} +1 -1
- package/dist/{esm/sdk/adapters-u7LVXthY.js → public/sdk/adapters-BNmcyf9K.js} +1 -1
- package/dist/public/sdk/appearance-token-vars-DxBm_cKA.js +2 -0
- package/dist/{esm/sdk/export-viewer-host-ivf9LlBo.js → public/sdk/export-viewer-host-DsdzagKK.js} +1 -1
- package/dist/public/sdk/{exportKeypairOperation-Gw7L5Htj.js → exportKeypairOperation-BwW_E4Lt.js} +1 -1
- package/dist/public/sdk/{host-B-2QXolt.js → host-DMR4KDy9.js} +1 -1
- package/dist/public/sdk/{localOnly-BKpUHtHa.js → localOnly-DO191vDh.js} +1 -1
- package/dist/public/sdk/{mountExportPrivateKeySurface-C8pUK6PQ.js → mountExportPrivateKeySurface-DQzFzhNu.js} +1 -1
- package/dist/public/sdk/{mountRecoveryCodeBackupSurface-DUudF89t.js → mountRecoveryCodeBackupSurface-B1D0ovqx.js} +1 -1
- package/dist/public/sdk/{pendingWalletRecoveryCodeBackup-7tBjuSe7.js → pendingWalletRecoveryCodeBackup-DOeIn_Qj.js} +1 -1
- package/dist/public/sdk/{registration-CWpOVwhj.js → registration-DknFwoqn.js} +1 -1
- package/dist/public/sdk/{registration-D2OEgY7O.js → registration-sQndIWRF.js} +1 -1
- package/dist/public/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/public/sdk/runtime-auth-BxG-J-BB.js +1 -0
- package/dist/public/sdk/{runtime-device-link-vhRhB-wS.js → runtime-device-link-Dn_5hPCq.js} +1 -1
- package/dist/{esm/sdk/runtime-ecdsa-tempo-BXWgFVBa.js → public/sdk/runtime-ecdsa-tempo-lTFTb9Rh.js} +1 -1
- package/dist/public/sdk/{runtime-email-otp-BlAaSKtk.js → runtime-email-otp-CPqTCH8Q.js} +1 -1
- package/dist/public/sdk/{runtime-export-B4FuHhcH.js → runtime-export-Brz53_oi.js} +1 -1
- package/dist/public/sdk/{runtime-near-BnWOpEpA.js → runtime-near-Da_xFUXx.js} +1 -1
- package/dist/public/sdk/{runtime-preferences-COm-LTiu.js → runtime-preferences-riUZGaTs.js} +1 -1
- package/dist/public/sdk/{runtime-recovery-BJTo5Idi.js → runtime-recovery-CTj4nDAM.js} +1 -1
- package/dist/public/sdk/{runtime-recovery-codes-CEOjdUHV.js → runtime-recovery-codes-D8T9LQ7-.js} +1 -1
- package/dist/public/sdk/{shared-BKPGtAps.js → shared-hx7KVyeq.js} +1 -1
- package/dist/public/sdk/tx-confirm-ui.js +4 -0
- package/dist/public/sdk/wallet-iframe-host-ecdsa.js +1 -1
- package/dist/public/sdk/wallet-iframe-host-full.js +1 -1
- package/dist/public/sdk/wallet-iframe-host-near.js +1 -1
- package/dist/public/sdk/wallet-iframe-host-runtime.js +1 -1
- package/dist/public/sdk/wallet-ui.css +1 -1
- package/dist/public/sdk/workers/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/public/sdk/workers/wallet_custody_ceremony_bg.wasm +0 -0
- package/dist/public/wallet-assets.manifest.json +46 -46
- package/dist/public/wallet-service/index.html +4 -4
- package/dist/types/wallet/src/SeamsWeb/walletIframe/coordinator.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/domain.d.ts +20 -3
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/session.d.ts +3 -0
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.d.ts +1 -0
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/icons.d.ts +2 -0
- package/dist/types/wallet/src/core/ui/messages.d.ts +1 -1
- package/dist/workers/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/workers/wallet_custody_ceremony_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/esm/sdk/appearance-token-vars-CzBVbO39.js +0 -2
- package/dist/esm/sdk/runtime-auth-jtyQAuxZ.js +0 -1
- package/dist/public/sdk/appearance-token-vars-CzBVbO39.js +0 -2
- package/dist/public/sdk/runtime-auth-jtyQAuxZ.js +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"packageName": "@seams/wallet",
|
|
4
|
-
"packageVersion": "0.
|
|
4
|
+
"packageVersion": "0.19.0",
|
|
5
5
|
"assetRoot": "dist/public",
|
|
6
6
|
"sdkBasePath": "/sdk",
|
|
7
7
|
"walletServicePath": "/wallet-service",
|
|
8
8
|
"headersManifest": "headers.manifest.json",
|
|
9
9
|
"versionSkewContract": {
|
|
10
10
|
"kind": "wallet_iframe_protocol_handshake",
|
|
11
|
-
"packageVersion": "0.
|
|
11
|
+
"packageVersion": "0.19.0",
|
|
12
12
|
"protocolVersion": "16.0.0",
|
|
13
13
|
"readyPayloadField": "protocolVersion",
|
|
14
14
|
"failureMode": "typed_error",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
]
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
"route": "/sdk/adapters-
|
|
110
|
-
"sourceFile": "sdk/adapters-
|
|
109
|
+
"route": "/sdk/adapters-BNmcyf9K.js",
|
|
110
|
+
"sourceFile": "sdk/adapters-BNmcyf9K.js",
|
|
111
111
|
"owner": "wallet_sdk_asset",
|
|
112
112
|
"routeClass": "javascript",
|
|
113
113
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
|
-
"route": "/sdk/appearance-token-vars-
|
|
158
|
-
"sourceFile": "sdk/appearance-token-vars-
|
|
157
|
+
"route": "/sdk/appearance-token-vars-DxBm_cKA.js",
|
|
158
|
+
"sourceFile": "sdk/appearance-token-vars-DxBm_cKA.js",
|
|
159
159
|
"owner": "wallet_sdk_asset",
|
|
160
160
|
"routeClass": "javascript",
|
|
161
161
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -538,8 +538,8 @@
|
|
|
538
538
|
]
|
|
539
539
|
},
|
|
540
540
|
{
|
|
541
|
-
"route": "/sdk/ConfirmationDrawer-
|
|
542
|
-
"sourceFile": "sdk/ConfirmationDrawer-
|
|
541
|
+
"route": "/sdk/ConfirmationDrawer-DCw0m-Iv.js",
|
|
542
|
+
"sourceFile": "sdk/ConfirmationDrawer-DCw0m-Iv.js",
|
|
543
543
|
"owner": "wallet_sdk_asset",
|
|
544
544
|
"routeClass": "javascript",
|
|
545
545
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -922,8 +922,8 @@
|
|
|
922
922
|
]
|
|
923
923
|
},
|
|
924
924
|
{
|
|
925
|
-
"route": "/sdk/export-viewer-host-
|
|
926
|
-
"sourceFile": "sdk/export-viewer-host-
|
|
925
|
+
"route": "/sdk/export-viewer-host-DsdzagKK.js",
|
|
926
|
+
"sourceFile": "sdk/export-viewer-host-DsdzagKK.js",
|
|
927
927
|
"owner": "wallet_sdk_asset",
|
|
928
928
|
"routeClass": "javascript",
|
|
929
929
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -946,8 +946,8 @@
|
|
|
946
946
|
]
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
|
-
"route": "/sdk/exportKeypairOperation-
|
|
950
|
-
"sourceFile": "sdk/exportKeypairOperation-
|
|
949
|
+
"route": "/sdk/exportKeypairOperation-BwW_E4Lt.js",
|
|
950
|
+
"sourceFile": "sdk/exportKeypairOperation-BwW_E4Lt.js",
|
|
951
951
|
"owner": "wallet_sdk_asset",
|
|
952
952
|
"routeClass": "javascript",
|
|
953
953
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -994,8 +994,8 @@
|
|
|
994
994
|
]
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
|
-
"route": "/sdk/host-
|
|
998
|
-
"sourceFile": "sdk/host-
|
|
997
|
+
"route": "/sdk/host-DMR4KDy9.js",
|
|
998
|
+
"sourceFile": "sdk/host-DMR4KDy9.js",
|
|
999
999
|
"owner": "wallet_sdk_asset",
|
|
1000
1000
|
"routeClass": "javascript",
|
|
1001
1001
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1114,8 +1114,8 @@
|
|
|
1114
1114
|
]
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
|
-
"route": "/sdk/localOnly-
|
|
1118
|
-
"sourceFile": "sdk/localOnly-
|
|
1117
|
+
"route": "/sdk/localOnly-DO191vDh.js",
|
|
1118
|
+
"sourceFile": "sdk/localOnly-DO191vDh.js",
|
|
1119
1119
|
"owner": "wallet_sdk_asset",
|
|
1120
1120
|
"routeClass": "javascript",
|
|
1121
1121
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1138,8 +1138,8 @@
|
|
|
1138
1138
|
]
|
|
1139
1139
|
},
|
|
1140
1140
|
{
|
|
1141
|
-
"route": "/sdk/mountExportPrivateKeySurface-
|
|
1142
|
-
"sourceFile": "sdk/mountExportPrivateKeySurface-
|
|
1141
|
+
"route": "/sdk/mountExportPrivateKeySurface-DQzFzhNu.js",
|
|
1142
|
+
"sourceFile": "sdk/mountExportPrivateKeySurface-DQzFzhNu.js",
|
|
1143
1143
|
"owner": "wallet_sdk_asset",
|
|
1144
1144
|
"routeClass": "javascript",
|
|
1145
1145
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1162,8 +1162,8 @@
|
|
|
1162
1162
|
]
|
|
1163
1163
|
},
|
|
1164
1164
|
{
|
|
1165
|
-
"route": "/sdk/mountRecoveryCodeBackupSurface-
|
|
1166
|
-
"sourceFile": "sdk/mountRecoveryCodeBackupSurface-
|
|
1165
|
+
"route": "/sdk/mountRecoveryCodeBackupSurface-B1D0ovqx.js",
|
|
1166
|
+
"sourceFile": "sdk/mountRecoveryCodeBackupSurface-B1D0ovqx.js",
|
|
1167
1167
|
"owner": "wallet_sdk_asset",
|
|
1168
1168
|
"routeClass": "javascript",
|
|
1169
1169
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1378,8 +1378,8 @@
|
|
|
1378
1378
|
]
|
|
1379
1379
|
},
|
|
1380
1380
|
{
|
|
1381
|
-
"route": "/sdk/pendingWalletRecoveryCodeBackup-
|
|
1382
|
-
"sourceFile": "sdk/pendingWalletRecoveryCodeBackup-
|
|
1381
|
+
"route": "/sdk/pendingWalletRecoveryCodeBackup-DOeIn_Qj.js",
|
|
1382
|
+
"sourceFile": "sdk/pendingWalletRecoveryCodeBackup-DOeIn_Qj.js",
|
|
1383
1383
|
"owner": "wallet_sdk_asset",
|
|
1384
1384
|
"routeClass": "javascript",
|
|
1385
1385
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1570,8 +1570,8 @@
|
|
|
1570
1570
|
]
|
|
1571
1571
|
},
|
|
1572
1572
|
{
|
|
1573
|
-
"route": "/sdk/registration-
|
|
1574
|
-
"sourceFile": "sdk/registration-
|
|
1573
|
+
"route": "/sdk/registration-DknFwoqn.js",
|
|
1574
|
+
"sourceFile": "sdk/registration-DknFwoqn.js",
|
|
1575
1575
|
"owner": "wallet_sdk_asset",
|
|
1576
1576
|
"routeClass": "javascript",
|
|
1577
1577
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1594,8 +1594,8 @@
|
|
|
1594
1594
|
]
|
|
1595
1595
|
},
|
|
1596
1596
|
{
|
|
1597
|
-
"route": "/sdk/registration-
|
|
1598
|
-
"sourceFile": "sdk/registration-
|
|
1597
|
+
"route": "/sdk/registration-sQndIWRF.js",
|
|
1598
|
+
"sourceFile": "sdk/registration-sQndIWRF.js",
|
|
1599
1599
|
"owner": "wallet_sdk_asset",
|
|
1600
1600
|
"routeClass": "javascript",
|
|
1601
1601
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1810,8 +1810,8 @@
|
|
|
1810
1810
|
]
|
|
1811
1811
|
},
|
|
1812
1812
|
{
|
|
1813
|
-
"route": "/sdk/runtime-auth-
|
|
1814
|
-
"sourceFile": "sdk/runtime-auth-
|
|
1813
|
+
"route": "/sdk/runtime-auth-BxG-J-BB.js",
|
|
1814
|
+
"sourceFile": "sdk/runtime-auth-BxG-J-BB.js",
|
|
1815
1815
|
"owner": "wallet_sdk_asset",
|
|
1816
1816
|
"routeClass": "javascript",
|
|
1817
1817
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1834,8 +1834,8 @@
|
|
|
1834
1834
|
]
|
|
1835
1835
|
},
|
|
1836
1836
|
{
|
|
1837
|
-
"route": "/sdk/runtime-device-link-
|
|
1838
|
-
"sourceFile": "sdk/runtime-device-link-
|
|
1837
|
+
"route": "/sdk/runtime-device-link-Dn_5hPCq.js",
|
|
1838
|
+
"sourceFile": "sdk/runtime-device-link-Dn_5hPCq.js",
|
|
1839
1839
|
"owner": "wallet_sdk_asset",
|
|
1840
1840
|
"routeClass": "javascript",
|
|
1841
1841
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1858,8 +1858,8 @@
|
|
|
1858
1858
|
]
|
|
1859
1859
|
},
|
|
1860
1860
|
{
|
|
1861
|
-
"route": "/sdk/runtime-ecdsa-tempo-
|
|
1862
|
-
"sourceFile": "sdk/runtime-ecdsa-tempo-
|
|
1861
|
+
"route": "/sdk/runtime-ecdsa-tempo-lTFTb9Rh.js",
|
|
1862
|
+
"sourceFile": "sdk/runtime-ecdsa-tempo-lTFTb9Rh.js",
|
|
1863
1863
|
"owner": "wallet_sdk_asset",
|
|
1864
1864
|
"routeClass": "javascript",
|
|
1865
1865
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1882,8 +1882,8 @@
|
|
|
1882
1882
|
]
|
|
1883
1883
|
},
|
|
1884
1884
|
{
|
|
1885
|
-
"route": "/sdk/runtime-email-otp-
|
|
1886
|
-
"sourceFile": "sdk/runtime-email-otp-
|
|
1885
|
+
"route": "/sdk/runtime-email-otp-CPqTCH8Q.js",
|
|
1886
|
+
"sourceFile": "sdk/runtime-email-otp-CPqTCH8Q.js",
|
|
1887
1887
|
"owner": "wallet_sdk_asset",
|
|
1888
1888
|
"routeClass": "javascript",
|
|
1889
1889
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1906,8 +1906,8 @@
|
|
|
1906
1906
|
]
|
|
1907
1907
|
},
|
|
1908
1908
|
{
|
|
1909
|
-
"route": "/sdk/runtime-export-
|
|
1910
|
-
"sourceFile": "sdk/runtime-export-
|
|
1909
|
+
"route": "/sdk/runtime-export-Brz53_oi.js",
|
|
1910
|
+
"sourceFile": "sdk/runtime-export-Brz53_oi.js",
|
|
1911
1911
|
"owner": "wallet_sdk_asset",
|
|
1912
1912
|
"routeClass": "javascript",
|
|
1913
1913
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1930,8 +1930,8 @@
|
|
|
1930
1930
|
]
|
|
1931
1931
|
},
|
|
1932
1932
|
{
|
|
1933
|
-
"route": "/sdk/runtime-near-
|
|
1934
|
-
"sourceFile": "sdk/runtime-near-
|
|
1933
|
+
"route": "/sdk/runtime-near-Da_xFUXx.js",
|
|
1934
|
+
"sourceFile": "sdk/runtime-near-Da_xFUXx.js",
|
|
1935
1935
|
"owner": "wallet_sdk_asset",
|
|
1936
1936
|
"routeClass": "javascript",
|
|
1937
1937
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1954,8 +1954,8 @@
|
|
|
1954
1954
|
]
|
|
1955
1955
|
},
|
|
1956
1956
|
{
|
|
1957
|
-
"route": "/sdk/runtime-preferences-
|
|
1958
|
-
"sourceFile": "sdk/runtime-preferences-
|
|
1957
|
+
"route": "/sdk/runtime-preferences-riUZGaTs.js",
|
|
1958
|
+
"sourceFile": "sdk/runtime-preferences-riUZGaTs.js",
|
|
1959
1959
|
"owner": "wallet_sdk_asset",
|
|
1960
1960
|
"routeClass": "javascript",
|
|
1961
1961
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1978,8 +1978,8 @@
|
|
|
1978
1978
|
]
|
|
1979
1979
|
},
|
|
1980
1980
|
{
|
|
1981
|
-
"route": "/sdk/runtime-recovery-
|
|
1982
|
-
"sourceFile": "sdk/runtime-recovery-
|
|
1981
|
+
"route": "/sdk/runtime-recovery-codes-D8T9LQ7-.js",
|
|
1982
|
+
"sourceFile": "sdk/runtime-recovery-codes-D8T9LQ7-.js",
|
|
1983
1983
|
"owner": "wallet_sdk_asset",
|
|
1984
1984
|
"routeClass": "javascript",
|
|
1985
1985
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2002,8 +2002,8 @@
|
|
|
2002
2002
|
]
|
|
2003
2003
|
},
|
|
2004
2004
|
{
|
|
2005
|
-
"route": "/sdk/runtime-recovery-
|
|
2006
|
-
"sourceFile": "sdk/runtime-recovery-
|
|
2005
|
+
"route": "/sdk/runtime-recovery-CTj4nDAM.js",
|
|
2006
|
+
"sourceFile": "sdk/runtime-recovery-CTj4nDAM.js",
|
|
2007
2007
|
"owner": "wallet_sdk_asset",
|
|
2008
2008
|
"routeClass": "javascript",
|
|
2009
2009
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2122,8 +2122,8 @@
|
|
|
2122
2122
|
]
|
|
2123
2123
|
},
|
|
2124
2124
|
{
|
|
2125
|
-
"route": "/sdk/shared-
|
|
2126
|
-
"sourceFile": "sdk/shared-
|
|
2125
|
+
"route": "/sdk/shared-hx7KVyeq.js",
|
|
2126
|
+
"sourceFile": "sdk/shared-hx7KVyeq.js",
|
|
2127
2127
|
"owner": "wallet_sdk_asset",
|
|
2128
2128
|
"routeClass": "javascript",
|
|
2129
2129
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>Web3Authn Wallet Service</title>
|
|
7
7
|
<!-- Surface styles are external so strict CSP can keep style-src 'self' -->
|
|
8
|
-
<link rel="stylesheet" href="/sdk/wallet-ui.css?v=0.
|
|
8
|
+
<link rel="stylesheet" href="/sdk/wallet-ui.css?v=0.19.0" />
|
|
9
9
|
<!-- Minimal shims some ESM bundles expect (externalized to enable strict CSP) -->
|
|
10
|
-
<script src="/sdk/wallet-shims.js?v=0.
|
|
10
|
+
<script src="/sdk/wallet-shims.js?v=0.19.0"></script>
|
|
11
11
|
<!-- Hint the browser to fetch the host script earlier -->
|
|
12
|
-
<link rel="modulepreload" href="/sdk/wallet-iframe-host-runtime.js?v=0.
|
|
12
|
+
<link rel="modulepreload" href="/sdk/wallet-iframe-host-runtime.js?v=0.19.0" crossorigin>
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
15
|
<!-- sdkBasePath points to the SDK root (e.g. '/sdk'). Load the host directly. -->
|
|
16
|
-
<script type="module" src="/sdk/wallet-iframe-host-runtime.js?v=0.
|
|
16
|
+
<script type="module" src="/sdk/wallet-iframe-host-runtime.js?v=0.19.0"></script>
|
|
17
17
|
</body>
|
|
18
18
|
</html>
|
|
@@ -3,7 +3,7 @@ import type { PreferenceState } from './client/preferenceState';
|
|
|
3
3
|
import type { AppearanceConfig, SeamsClientConfig, WalletSession } from '../../core/types/seams';
|
|
4
4
|
import type { WalletIframeRouter } from './client/router';
|
|
5
5
|
import type { WalletIframeTransportDiagnostics } from './client/transport/IframeTransport';
|
|
6
|
-
import type
|
|
6
|
+
import { type HostedAuthMenuExternalAuthRequest, type HostedAuthMenuExternalAuthResolutionInput, type HostedAuthMenuOpenRequest, type HostedAuthMenuOutcome, type HostedAuthMenuSessionId } from './shared/messages';
|
|
7
7
|
import type { SdkLifecycleEventListener } from '../../core/types/sdkSentEvents';
|
|
8
8
|
import type { WalletIframeExactSessionIdentity, WalletIframeExactSessionLockResult, WalletIframeExactSessionState } from './shared/exactSessionState';
|
|
9
9
|
interface WalletIframeCoordinatorDeps {
|
|
@@ -32,6 +32,7 @@ export declare class WalletIframeCoordinator {
|
|
|
32
32
|
private walletIframeAuthMenuUnsubscribe;
|
|
33
33
|
private readonly sdkLifecycleEventListeners;
|
|
34
34
|
private readonly hostedAuthMenuExternalAuthRequestListeners;
|
|
35
|
+
private readonly hostedAuthMenuOpensBeforeRouter;
|
|
35
36
|
private readonly forwardSdkLifecycleEventListener;
|
|
36
37
|
private readonly forwardHostedAuthMenuExternalAuthRequestListener;
|
|
37
38
|
constructor(deps: WalletIframeCoordinatorDeps);
|
|
@@ -14,8 +14,8 @@ import type { WalletAuthMethod } from '../../../../../../shared-ts/src/utils/sig
|
|
|
14
14
|
/**
|
|
15
15
|
* Discriminated by PRESENTATION, not by which internal phase produced it.
|
|
16
16
|
*
|
|
17
|
-
* The surface can
|
|
18
|
-
* or
|
|
17
|
+
* The surface can show the form, the waiting view, the form with a message,
|
|
18
|
+
* or the success view that ends a session, so those are the kinds. An earlier
|
|
19
19
|
* shape split the busy case in two ('preparing' vs 'performing'), a provenance
|
|
20
20
|
* distinction the surface could not act on: it rendered the waiting view for
|
|
21
21
|
* one and the form for the other, so every author who reached for the wrong
|
|
@@ -52,6 +52,15 @@ type AuthMenuSurfaceStatus = {
|
|
|
52
52
|
readonly message: string;
|
|
53
53
|
/** The underlying error text. Reported to the host app, never rendered. */
|
|
54
54
|
readonly detail?: string;
|
|
55
|
+
} | {
|
|
56
|
+
/** Renders the success view: the wait's ring closes into a check. The
|
|
57
|
+
* menu takes no input; the session reports its outcome when the view
|
|
58
|
+
* has faded out. */
|
|
59
|
+
readonly kind: 'succeeded';
|
|
60
|
+
readonly headline: string;
|
|
61
|
+
readonly message: string;
|
|
62
|
+
/** `leaving` fades the whole card out before the surface goes. */
|
|
63
|
+
readonly phase: 'shown' | 'leaving';
|
|
55
64
|
};
|
|
56
65
|
/** A wait on a prompt outside the menu shares one look: the ring, then the
|
|
57
66
|
* headline, then what to do in that prompt. */
|
|
@@ -67,6 +76,8 @@ export declare const AUTH_MENU_WAITING_PROMPTS: {
|
|
|
67
76
|
};
|
|
68
77
|
/** The waiting headline for the passkey ceremony itself. */
|
|
69
78
|
export declare function passkeyCeremonyHeadline(mode: 'login' | 'register'): string;
|
|
79
|
+
/** What the success view says for each successful outcome. */
|
|
80
|
+
export declare function authMenuSuccessCopy(outcome: 'authenticated' | 'registered' | 'account_synced'): Pick<AuthMenuSucceededStatus, 'headline' | 'message'>;
|
|
70
81
|
/**
|
|
71
82
|
* The status for a failure the menu has no sentence of its own for. Thrown
|
|
72
83
|
* text is written for developers, so the menu shows one of a few plain
|
|
@@ -223,6 +234,9 @@ type AuthMenuBusyStatus = Extract<AuthMenuSurfaceStatus, {
|
|
|
223
234
|
type AuthMenuRecoverableStatus = Extract<AuthMenuSurfaceStatus, {
|
|
224
235
|
readonly kind: 'recoverable';
|
|
225
236
|
}>;
|
|
237
|
+
export type AuthMenuSucceededStatus = Extract<AuthMenuSurfaceStatus, {
|
|
238
|
+
readonly kind: 'succeeded';
|
|
239
|
+
}>;
|
|
226
240
|
export type AuthMenuRecoveryViewModel = AuthMenuViewModelCommon & {
|
|
227
241
|
readonly kind: 'recovery';
|
|
228
242
|
readonly mode: 'login';
|
|
@@ -277,7 +291,7 @@ export type AuthMenuRecoveryViewModel = AuthMenuViewModelCommon & {
|
|
|
277
291
|
readonly stage: 'sign_in_ready';
|
|
278
292
|
readonly target: WalletRecoveryTargetV1;
|
|
279
293
|
readonly walletId: string;
|
|
280
|
-
readonly status: AuthMenuIdleStatus | AuthMenuBusyStatus | AuthMenuRecoverableStatus;
|
|
294
|
+
readonly status: AuthMenuIdleStatus | AuthMenuBusyStatus | AuthMenuRecoverableStatus | AuthMenuSucceededStatus;
|
|
281
295
|
});
|
|
282
296
|
export type AuthMenuViewModel = AuthMenuLoginViewModel | AuthMenuRegisterViewModel | AuthMenuGoogleLoginViewModel | AuthMenuGoogleRegistrationViewModel | AuthMenuLinkDeviceViewModel | AuthMenuRecoveryViewModel;
|
|
283
297
|
type AuthMenuCloseReason = 'close_button' | 'escape';
|
|
@@ -362,6 +376,9 @@ export type AuthMenuIntent = {
|
|
|
362
376
|
readonly kind: 'retry';
|
|
363
377
|
};
|
|
364
378
|
export declare function isAuthMenuLoadingStatus(status: AuthMenuSurfaceStatus): boolean;
|
|
379
|
+
/** The view a session ends on, or null where the view cannot show success.
|
|
380
|
+
* Recovery succeeds only from its sign-in stage. */
|
|
381
|
+
export declare function authMenuSuccessViewModel(viewModel: AuthMenuViewModel, status: AuthMenuSucceededStatus): AuthMenuViewModel | null;
|
|
365
382
|
export declare function isAuthMenuReady(viewModel: AuthMenuViewModel): boolean;
|
|
366
383
|
export declare function isAuthMenuActionReady(viewModel: AuthMenuViewModel): boolean;
|
|
367
384
|
export declare function isAuthMenuGoogleActionReady(viewModel: AuthMenuViewModel): boolean;
|
|
@@ -152,6 +152,7 @@ export declare class AuthMenuSession {
|
|
|
152
152
|
private surface;
|
|
153
153
|
private outcomeResolver;
|
|
154
154
|
private outcomePromise;
|
|
155
|
+
private successTimers;
|
|
155
156
|
private cleanedUp;
|
|
156
157
|
private prepared;
|
|
157
158
|
private preparePasskey;
|
|
@@ -291,6 +292,8 @@ export declare class AuthMenuSession {
|
|
|
291
292
|
private rerollGoogleRegistration;
|
|
292
293
|
private completeGoogleRegistration;
|
|
293
294
|
private complete;
|
|
295
|
+
private showSuccess;
|
|
296
|
+
private finish;
|
|
294
297
|
/** A slow registration request names the wait in the busy headline. */
|
|
295
298
|
private readonly showRegistrationDelay;
|
|
296
299
|
private performPreparedPasskey;
|
|
@@ -113,6 +113,7 @@ export declare class AuthMenuSurface extends Component<AuthMenuSurfaceProps, Aut
|
|
|
113
113
|
private renderRecovery;
|
|
114
114
|
private renderIntentSwitch;
|
|
115
115
|
private renderWaiting;
|
|
116
|
+
private renderSuccess;
|
|
116
117
|
private renderLinkDevice;
|
|
117
118
|
private renderLinkDeviceFactorSelection;
|
|
118
119
|
private renderLinkDeviceEmailOtp;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import type { ComponentChildren } from 'preact';
|
|
3
3
|
export declare function fingerprintIcon(): ComponentChildren;
|
|
4
4
|
export declare function passkeyRingIcon(): ComponentChildren;
|
|
5
|
+
/** The passkey ring as it closes and fills behind a check. */
|
|
6
|
+
export declare function passkeySuccessIcon(): ComponentChildren;
|
|
5
7
|
export declare function accountDropdownIcon(): ComponentChildren;
|
|
6
8
|
export declare function backIcon(): ComponentChildren;
|
|
7
9
|
export declare function linkDeviceIcon(): ComponentChildren;
|