@seams/wallet 0.6.0 → 0.6.1
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/SeamsWeb.js +1 -0
- package/dist/esm/SeamsWeb/operations/registration/registration.js +170 -33
- package/dist/esm/SeamsWeb/operations/registration/registrationTiming.js +33 -2
- package/dist/esm/SeamsWeb/signingSurface/BrowserSigningSurface.js +3 -0
- package/dist/esm/SeamsWeb/walletIframe/client/overlay/overlay-controller.js +63 -10
- package/dist/esm/core/rpcClients/relayer/walletRegistration.js +88 -4
- package/dist/esm/core/signingEngine/session/passkey/prfCache.js +24 -4
- package/dist/esm/core/signingEngine/uiConfirm/PasskeyMpcSessionDurableState.js +5 -3
- package/dist/esm/core/signingEngine/uiConfirm/PasskeyMpcSessionManager.js +40 -3
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +31 -35
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/mountConfirmationSurface.js +64 -10
- package/dist/esm/core/signingEngine/walletCustody/ceremonyDriver.js +1 -1
- package/dist/esm/react/SeamsWeb/SeamsWeb.js +1 -0
- package/dist/esm/react/SeamsWeb/operations/registration/registration.js +170 -33
- package/dist/esm/react/SeamsWeb/operations/registration/registrationTiming.js +33 -2
- package/dist/esm/react/SeamsWeb/signingSurface/BrowserSigningSurface.js +3 -0
- package/dist/esm/react/SeamsWeb/walletIframe/client/overlay/overlay-controller.js +63 -10
- package/dist/esm/react/core/rpcClients/relayer/walletRegistration.js +88 -4
- package/dist/esm/react/core/signingEngine/session/passkey/prfCache.js +24 -4
- package/dist/esm/react/core/signingEngine/uiConfirm/PasskeyMpcSessionDurableState.js +5 -3
- package/dist/esm/react/core/signingEngine/uiConfirm/PasskeyMpcSessionManager.js +40 -3
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +31 -35
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/mountConfirmationSurface.js +64 -10
- package/dist/esm/react/core/signingEngine/walletCustody/ceremonyDriver.js +1 -1
- package/dist/esm/react/shared-ts/src/utils/routerAbEd25519Yao.js +13 -1
- package/dist/esm/sdk/{adapters-Dgy69gf0.js → adapters-LgE4nnos.js} +95 -45
- package/dist/esm/sdk/{defaultConfigs-DJCLCrg9.js → defaultConfigs-CyNOW4Sy.js} +1 -1
- package/dist/{public/sdk/ecdsaCapabilityManifest-DA_fklIs.js → esm/sdk/ecdsaCapabilityManifest-C8itxV9S.js} +1 -1
- package/dist/{public/sdk/ecdsaPresignLifecycle-D_KCktCj.js → esm/sdk/ecdsaPresignLifecycle-CnSnzoRJ.js} +13 -1
- package/dist/esm/sdk/{ed25519SeedMaterial-0VmS6K9P.js → ed25519SeedMaterial-Cghz8-XB.js} +2 -2
- package/dist/esm/sdk/{exactSessionState-C2aAv_ED.js → exactSessionState-Bt0HforB.js} +64 -11
- package/dist/esm/sdk/{export-viewer-host-NhjFdpm-.js → export-viewer-host-B3K81QGA.js} +1 -1
- package/dist/esm/sdk/{host-DACTruOj.js → host-Y_xmIzPO.js} +2 -2
- package/dist/esm/sdk/{localOnly-DTNq69fJ.js → localOnly-B5TYHJiq.js} +2 -2
- package/dist/{public/sdk/nearEd25519YaoMaterialActivation-4AuGG2DG.js → esm/sdk/nearEd25519YaoMaterialActivation-BLxVE6E5.js} +89 -5
- package/dist/esm/sdk/{nearEd25519YaoSigningPreparation-jiGcQylO.js → nearEd25519YaoSigningPreparation-DX6xG-IW.js} +1 -1
- package/dist/esm/sdk/{prfCache-Dwwauj4v.js → prfCache-CgAr-VEU.js} +24 -4
- package/dist/{public/sdk/recovery-entrypoint-CFTX6PFZ.js → esm/sdk/recovery-entrypoint-D39R1avB.js} +3 -3
- package/dist/{public/sdk/registration-CuP1WmQu.js → esm/sdk/registration-BtPLgKHk.js} +1 -1
- package/dist/esm/sdk/{registration-D8nYJKec.js → registration-D-istkMZ.js} +253 -38
- package/dist/esm/sdk/{registrationPreparationPreload-DDe0sbZi.js → registrationPreparationPreload-CvnlDCVn.js} +2 -2
- package/dist/{public/sdk/router-DeX_cJ2f.js → esm/sdk/router-CeFS9SgT.js} +3 -3
- package/dist/{public/sdk/routerAbNormalSigning-BGpRKRAj.js → esm/sdk/routerAbNormalSigning-DktZKnf1.js} +1 -1
- package/dist/{public/sdk/runtime-auth-Ch00YcH5.js → esm/sdk/runtime-auth-B7z1ANNp.js} +8 -8
- package/dist/esm/sdk/{runtime-device-link-CEhVZYAw.js → runtime-device-link-B8HGDakg.js} +4 -4
- package/dist/esm/sdk/{runtime-ecdsa-tempo-B-qMRrmx.js → runtime-ecdsa-tempo-DKdS5-us.js} +5 -5
- package/dist/{public/sdk/runtime-email-otp-giyMPib8.js → esm/sdk/runtime-email-otp-D5bxhdyG.js} +4 -4
- package/dist/{public/sdk/runtime-export-CV-6G1Oy.js → esm/sdk/runtime-export--hvNrx8l.js} +4 -4
- package/dist/{public/sdk/runtime-near-DoDcS88O.js → esm/sdk/runtime-near-CEexHoug.js} +4 -4
- package/dist/{public/sdk/runtime-preferences-Canyenle.js → esm/sdk/runtime-preferences-BiqPp1lV.js} +4 -4
- package/dist/esm/sdk/{runtime-recovery-lWyILD1g.js → runtime-recovery-BYu1gDq_.js} +4 -4
- package/dist/esm/sdk/{runtimeContext-BdTaYxJD.js → runtimeContext-CH97jPZ0.js} +80 -37
- package/dist/{public/sdk/runtimeLoader-Dxn8UA8B.js → esm/sdk/runtimeLoader-BFAmJAbu.js} +9 -9
- package/dist/esm/sdk/{secp256k1-CQFsI3qQ.js → secp256k1-Cr1jBW1n.js} +3 -3
- package/dist/esm/sdk/{signEvmFamily-CZLET02E.js → signEvmFamily-Dxk4sBPY.js} +7 -7
- package/dist/esm/sdk/{signNear-BeUWiWm_.js → signNear-B0OCVKoH.js} +6 -6
- package/dist/esm/sdk/{signerLoader-C_w8vuhm.js → signerLoader-D0WU1jq_.js} +1 -1
- package/dist/{public/sdk/transactionState-Dd13hMoY.js → esm/sdk/transactionState-Bpm4GamO.js} +2 -2
- package/dist/esm/sdk/tx-confirm-ui.js +134 -93
- 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 +85 -31
- package/dist/{public/sdk/walletRecoveryCommit-DNvzgeIX.js → esm/sdk/walletRecoveryCommit-G6w6N5RV.js} +3 -3
- package/dist/esm/sdk/{warmSessionHydration-CCKeEIIy.js → warmSessionHydration-DDNYdTCz.js} +1 -1
- package/dist/esm/shared-ts/src/utils/routerAbEd25519Yao.js +13 -1
- package/dist/public/headers.manifest.json +1 -1
- package/dist/public/sdk/{adapters-Dgy69gf0.js → adapters-LgE4nnos.js} +95 -45
- package/dist/public/sdk/{defaultConfigs-DJCLCrg9.js → defaultConfigs-CyNOW4Sy.js} +1 -1
- package/dist/{esm/sdk/ecdsaCapabilityManifest-DA_fklIs.js → public/sdk/ecdsaCapabilityManifest-C8itxV9S.js} +1 -1
- package/dist/{esm/sdk/ecdsaPresignLifecycle-D_KCktCj.js → public/sdk/ecdsaPresignLifecycle-CnSnzoRJ.js} +13 -1
- package/dist/public/sdk/{ed25519SeedMaterial-0VmS6K9P.js → ed25519SeedMaterial-Cghz8-XB.js} +2 -2
- package/dist/public/sdk/{exactSessionState-C2aAv_ED.js → exactSessionState-Bt0HforB.js} +64 -11
- package/dist/public/sdk/{export-viewer-host-NhjFdpm-.js → export-viewer-host-B3K81QGA.js} +1 -1
- package/dist/public/sdk/{host-DACTruOj.js → host-Y_xmIzPO.js} +2 -2
- package/dist/public/sdk/{localOnly-DTNq69fJ.js → localOnly-B5TYHJiq.js} +2 -2
- package/dist/{esm/sdk/nearEd25519YaoMaterialActivation-4AuGG2DG.js → public/sdk/nearEd25519YaoMaterialActivation-BLxVE6E5.js} +89 -5
- package/dist/public/sdk/{nearEd25519YaoSigningPreparation-jiGcQylO.js → nearEd25519YaoSigningPreparation-DX6xG-IW.js} +1 -1
- package/dist/public/sdk/{prfCache-Dwwauj4v.js → prfCache-CgAr-VEU.js} +24 -4
- package/dist/{esm/sdk/recovery-entrypoint-CFTX6PFZ.js → public/sdk/recovery-entrypoint-D39R1avB.js} +3 -3
- package/dist/{esm/sdk/registration-CuP1WmQu.js → public/sdk/registration-BtPLgKHk.js} +1 -1
- package/dist/public/sdk/{registration-D8nYJKec.js → registration-D-istkMZ.js} +253 -38
- package/dist/public/sdk/{registrationPreparationPreload-DDe0sbZi.js → registrationPreparationPreload-CvnlDCVn.js} +2 -2
- package/dist/{esm/sdk/router-DeX_cJ2f.js → public/sdk/router-CeFS9SgT.js} +3 -3
- package/dist/{esm/sdk/routerAbNormalSigning-BGpRKRAj.js → public/sdk/routerAbNormalSigning-DktZKnf1.js} +1 -1
- package/dist/{esm/sdk/runtime-auth-Ch00YcH5.js → public/sdk/runtime-auth-B7z1ANNp.js} +8 -8
- package/dist/public/sdk/{runtime-device-link-CEhVZYAw.js → runtime-device-link-B8HGDakg.js} +4 -4
- package/dist/public/sdk/{runtime-ecdsa-tempo-B-qMRrmx.js → runtime-ecdsa-tempo-DKdS5-us.js} +5 -5
- package/dist/{esm/sdk/runtime-email-otp-giyMPib8.js → public/sdk/runtime-email-otp-D5bxhdyG.js} +4 -4
- package/dist/{esm/sdk/runtime-export-CV-6G1Oy.js → public/sdk/runtime-export--hvNrx8l.js} +4 -4
- package/dist/{esm/sdk/runtime-near-DoDcS88O.js → public/sdk/runtime-near-CEexHoug.js} +4 -4
- package/dist/{esm/sdk/runtime-preferences-Canyenle.js → public/sdk/runtime-preferences-BiqPp1lV.js} +4 -4
- package/dist/public/sdk/{runtime-recovery-lWyILD1g.js → runtime-recovery-BYu1gDq_.js} +4 -4
- package/dist/public/sdk/{runtimeContext-BdTaYxJD.js → runtimeContext-CH97jPZ0.js} +80 -37
- package/dist/{esm/sdk/runtimeLoader-Dxn8UA8B.js → public/sdk/runtimeLoader-BFAmJAbu.js} +9 -9
- package/dist/public/sdk/{secp256k1-CQFsI3qQ.js → secp256k1-Cr1jBW1n.js} +3 -3
- package/dist/public/sdk/{signEvmFamily-CZLET02E.js → signEvmFamily-Dxk4sBPY.js} +7 -7
- package/dist/public/sdk/{signNear-BeUWiWm_.js → signNear-B0OCVKoH.js} +6 -6
- package/dist/public/sdk/{signerLoader-C_w8vuhm.js → signerLoader-D0WU1jq_.js} +1 -1
- package/dist/{esm/sdk/transactionState-Dd13hMoY.js → public/sdk/transactionState-Bpm4GamO.js} +2 -2
- package/dist/public/sdk/tx-confirm-ui.js +134 -93
- 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 +85 -31
- package/dist/{esm/sdk/walletRecoveryCommit-DNvzgeIX.js → public/sdk/walletRecoveryCommit-G6w6N5RV.js} +3 -3
- package/dist/public/sdk/{warmSessionHydration-CCKeEIIy.js → warmSessionHydration-DDNYdTCz.js} +1 -1
- package/dist/public/sdk/workers/passkey-mpc-session.worker.js +92 -8
- package/dist/public/wallet-assets.manifest.json +74 -74
- package/dist/public/wallet-service/index.html +4 -4
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registration.d.ts +15 -0
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registrationTiming.d.ts +11 -1
- package/dist/types/wallet/src/SeamsWeb/signingSurface/BrowserSigningSurface.d.ts +6 -0
- package/dist/types/wallet/src/SeamsWeb/signingSurface/ports.d.ts +8 -2
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRegistration.d.ts +49 -10
- package/dist/types/wallet/src/core/signingEngine/session/passkey/prfCache.d.ts +7 -9
- package/dist/types/wallet/src/core/signingEngine/session/passkey/warmSessionHydration.d.ts +7 -8
- package/dist/types/wallet/src/core/signingEngine/session/passkey/warmSessionMaterialWriter.d.ts +9 -9
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/public.d.ts +7 -8
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/PasskeyMpcSessionDurableState.d.ts +3 -0
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/uiConfirm.types.d.ts +6 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/shamir3pass/clientSealPreparation.d.ts +2 -0
- package/dist/types/wallet/src/core/types/secure-confirm-worker.d.ts +15 -1
- package/dist/workers/passkey-mpc-session.worker.js +92 -8
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"packageName": "@seams/wallet",
|
|
4
|
-
"packageVersion": "0.6.
|
|
4
|
+
"packageVersion": "0.6.1",
|
|
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.6.
|
|
11
|
+
"packageVersion": "0.6.1",
|
|
12
12
|
"protocolVersion": "2.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-LgE4nnos.js",
|
|
110
|
+
"sourceFile": "sdk/adapters-LgE4nnos.js",
|
|
111
111
|
"owner": "wallet_sdk_asset",
|
|
112
112
|
"routeClass": "javascript",
|
|
113
113
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -394,8 +394,8 @@
|
|
|
394
394
|
]
|
|
395
395
|
},
|
|
396
396
|
{
|
|
397
|
-
"route": "/sdk/defaultConfigs-
|
|
398
|
-
"sourceFile": "sdk/defaultConfigs-
|
|
397
|
+
"route": "/sdk/defaultConfigs-CyNOW4Sy.js",
|
|
398
|
+
"sourceFile": "sdk/defaultConfigs-CyNOW4Sy.js",
|
|
399
399
|
"owner": "wallet_sdk_asset",
|
|
400
400
|
"routeClass": "javascript",
|
|
401
401
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -466,8 +466,8 @@
|
|
|
466
466
|
]
|
|
467
467
|
},
|
|
468
468
|
{
|
|
469
|
-
"route": "/sdk/ecdsaCapabilityManifest-
|
|
470
|
-
"sourceFile": "sdk/ecdsaCapabilityManifest-
|
|
469
|
+
"route": "/sdk/ecdsaCapabilityManifest-C8itxV9S.js",
|
|
470
|
+
"sourceFile": "sdk/ecdsaCapabilityManifest-C8itxV9S.js",
|
|
471
471
|
"owner": "wallet_sdk_asset",
|
|
472
472
|
"routeClass": "javascript",
|
|
473
473
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -514,8 +514,8 @@
|
|
|
514
514
|
]
|
|
515
515
|
},
|
|
516
516
|
{
|
|
517
|
-
"route": "/sdk/ecdsaPresignLifecycle-
|
|
518
|
-
"sourceFile": "sdk/ecdsaPresignLifecycle-
|
|
517
|
+
"route": "/sdk/ecdsaPresignLifecycle-CnSnzoRJ.js",
|
|
518
|
+
"sourceFile": "sdk/ecdsaPresignLifecycle-CnSnzoRJ.js",
|
|
519
519
|
"owner": "wallet_sdk_asset",
|
|
520
520
|
"routeClass": "javascript",
|
|
521
521
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -586,8 +586,8 @@
|
|
|
586
586
|
]
|
|
587
587
|
},
|
|
588
588
|
{
|
|
589
|
-
"route": "/sdk/ed25519SeedMaterial-
|
|
590
|
-
"sourceFile": "sdk/ed25519SeedMaterial-
|
|
589
|
+
"route": "/sdk/ed25519SeedMaterial-Cghz8-XB.js",
|
|
590
|
+
"sourceFile": "sdk/ed25519SeedMaterial-Cghz8-XB.js",
|
|
591
591
|
"owner": "wallet_sdk_asset",
|
|
592
592
|
"routeClass": "javascript",
|
|
593
593
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -802,8 +802,8 @@
|
|
|
802
802
|
]
|
|
803
803
|
},
|
|
804
804
|
{
|
|
805
|
-
"route": "/sdk/exactSessionState-
|
|
806
|
-
"sourceFile": "sdk/exactSessionState-
|
|
805
|
+
"route": "/sdk/exactSessionState-Bt0HforB.js",
|
|
806
|
+
"sourceFile": "sdk/exactSessionState-Bt0HforB.js",
|
|
807
807
|
"owner": "wallet_sdk_asset",
|
|
808
808
|
"routeClass": "javascript",
|
|
809
809
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -850,8 +850,8 @@
|
|
|
850
850
|
]
|
|
851
851
|
},
|
|
852
852
|
{
|
|
853
|
-
"route": "/sdk/export-viewer-host-
|
|
854
|
-
"sourceFile": "sdk/export-viewer-host-
|
|
853
|
+
"route": "/sdk/export-viewer-host-B3K81QGA.js",
|
|
854
|
+
"sourceFile": "sdk/export-viewer-host-B3K81QGA.js",
|
|
855
855
|
"owner": "wallet_sdk_asset",
|
|
856
856
|
"routeClass": "javascript",
|
|
857
857
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -898,8 +898,8 @@
|
|
|
898
898
|
]
|
|
899
899
|
},
|
|
900
900
|
{
|
|
901
|
-
"route": "/sdk/host-
|
|
902
|
-
"sourceFile": "sdk/host-
|
|
901
|
+
"route": "/sdk/host-Y_xmIzPO.js",
|
|
902
|
+
"sourceFile": "sdk/host-Y_xmIzPO.js",
|
|
903
903
|
"owner": "wallet_sdk_asset",
|
|
904
904
|
"routeClass": "javascript",
|
|
905
905
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1042,8 +1042,8 @@
|
|
|
1042
1042
|
]
|
|
1043
1043
|
},
|
|
1044
1044
|
{
|
|
1045
|
-
"route": "/sdk/localOnly-
|
|
1046
|
-
"sourceFile": "sdk/localOnly-
|
|
1045
|
+
"route": "/sdk/localOnly-B5TYHJiq.js",
|
|
1046
|
+
"sourceFile": "sdk/localOnly-B5TYHJiq.js",
|
|
1047
1047
|
"owner": "wallet_sdk_asset",
|
|
1048
1048
|
"routeClass": "javascript",
|
|
1049
1049
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1162,8 +1162,8 @@
|
|
|
1162
1162
|
]
|
|
1163
1163
|
},
|
|
1164
1164
|
{
|
|
1165
|
-
"route": "/sdk/nearEd25519YaoMaterialActivation-
|
|
1166
|
-
"sourceFile": "sdk/nearEd25519YaoMaterialActivation-
|
|
1165
|
+
"route": "/sdk/nearEd25519YaoMaterialActivation-BLxVE6E5.js",
|
|
1166
|
+
"sourceFile": "sdk/nearEd25519YaoMaterialActivation-BLxVE6E5.js",
|
|
1167
1167
|
"owner": "wallet_sdk_asset",
|
|
1168
1168
|
"routeClass": "javascript",
|
|
1169
1169
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1186,8 +1186,8 @@
|
|
|
1186
1186
|
]
|
|
1187
1187
|
},
|
|
1188
1188
|
{
|
|
1189
|
-
"route": "/sdk/nearEd25519YaoSigningPreparation-
|
|
1190
|
-
"sourceFile": "sdk/nearEd25519YaoSigningPreparation-
|
|
1189
|
+
"route": "/sdk/nearEd25519YaoSigningPreparation-DX6xG-IW.js",
|
|
1190
|
+
"sourceFile": "sdk/nearEd25519YaoSigningPreparation-DX6xG-IW.js",
|
|
1191
1191
|
"owner": "wallet_sdk_asset",
|
|
1192
1192
|
"routeClass": "javascript",
|
|
1193
1193
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1450,8 +1450,8 @@
|
|
|
1450
1450
|
]
|
|
1451
1451
|
},
|
|
1452
1452
|
{
|
|
1453
|
-
"route": "/sdk/prfCache-
|
|
1454
|
-
"sourceFile": "sdk/prfCache-
|
|
1453
|
+
"route": "/sdk/prfCache-CgAr-VEU.js",
|
|
1454
|
+
"sourceFile": "sdk/prfCache-CgAr-VEU.js",
|
|
1455
1455
|
"owner": "wallet_sdk_asset",
|
|
1456
1456
|
"routeClass": "javascript",
|
|
1457
1457
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1522,8 +1522,8 @@
|
|
|
1522
1522
|
]
|
|
1523
1523
|
},
|
|
1524
1524
|
{
|
|
1525
|
-
"route": "/sdk/recovery-entrypoint-
|
|
1526
|
-
"sourceFile": "sdk/recovery-entrypoint-
|
|
1525
|
+
"route": "/sdk/recovery-entrypoint-D39R1avB.js",
|
|
1526
|
+
"sourceFile": "sdk/recovery-entrypoint-D39R1avB.js",
|
|
1527
1527
|
"owner": "wallet_sdk_asset",
|
|
1528
1528
|
"routeClass": "javascript",
|
|
1529
1529
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1546,8 +1546,8 @@
|
|
|
1546
1546
|
]
|
|
1547
1547
|
},
|
|
1548
1548
|
{
|
|
1549
|
-
"route": "/sdk/registration-
|
|
1550
|
-
"sourceFile": "sdk/registration-
|
|
1549
|
+
"route": "/sdk/registration-BtPLgKHk.js",
|
|
1550
|
+
"sourceFile": "sdk/registration-BtPLgKHk.js",
|
|
1551
1551
|
"owner": "wallet_sdk_asset",
|
|
1552
1552
|
"routeClass": "javascript",
|
|
1553
1553
|
"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-D-istkMZ.js",
|
|
1574
|
+
"sourceFile": "sdk/registration-D-istkMZ.js",
|
|
1575
1575
|
"owner": "wallet_sdk_asset",
|
|
1576
1576
|
"routeClass": "javascript",
|
|
1577
1577
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1642,8 +1642,8 @@
|
|
|
1642
1642
|
]
|
|
1643
1643
|
},
|
|
1644
1644
|
{
|
|
1645
|
-
"route": "/sdk/registrationPreparationPreload-
|
|
1646
|
-
"sourceFile": "sdk/registrationPreparationPreload-
|
|
1645
|
+
"route": "/sdk/registrationPreparationPreload-CvnlDCVn.js",
|
|
1646
|
+
"sourceFile": "sdk/registrationPreparationPreload-CvnlDCVn.js",
|
|
1647
1647
|
"owner": "wallet_sdk_asset",
|
|
1648
1648
|
"routeClass": "javascript",
|
|
1649
1649
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1738,8 +1738,8 @@
|
|
|
1738
1738
|
]
|
|
1739
1739
|
},
|
|
1740
1740
|
{
|
|
1741
|
-
"route": "/sdk/router-
|
|
1742
|
-
"sourceFile": "sdk/router-
|
|
1741
|
+
"route": "/sdk/router-CeFS9SgT.js",
|
|
1742
|
+
"sourceFile": "sdk/router-CeFS9SgT.js",
|
|
1743
1743
|
"owner": "wallet_sdk_asset",
|
|
1744
1744
|
"routeClass": "javascript",
|
|
1745
1745
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1762,8 +1762,8 @@
|
|
|
1762
1762
|
]
|
|
1763
1763
|
},
|
|
1764
1764
|
{
|
|
1765
|
-
"route": "/sdk/routerAbNormalSigning-
|
|
1766
|
-
"sourceFile": "sdk/routerAbNormalSigning-
|
|
1765
|
+
"route": "/sdk/routerAbNormalSigning-DktZKnf1.js",
|
|
1766
|
+
"sourceFile": "sdk/routerAbNormalSigning-DktZKnf1.js",
|
|
1767
1767
|
"owner": "wallet_sdk_asset",
|
|
1768
1768
|
"routeClass": "javascript",
|
|
1769
1769
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1786,8 +1786,8 @@
|
|
|
1786
1786
|
]
|
|
1787
1787
|
},
|
|
1788
1788
|
{
|
|
1789
|
-
"route": "/sdk/runtime-auth-
|
|
1790
|
-
"sourceFile": "sdk/runtime-auth-
|
|
1789
|
+
"route": "/sdk/runtime-auth-B7z1ANNp.js",
|
|
1790
|
+
"sourceFile": "sdk/runtime-auth-B7z1ANNp.js",
|
|
1791
1791
|
"owner": "wallet_sdk_asset",
|
|
1792
1792
|
"routeClass": "javascript",
|
|
1793
1793
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -1810,8 +1810,8 @@
|
|
|
1810
1810
|
]
|
|
1811
1811
|
},
|
|
1812
1812
|
{
|
|
1813
|
-
"route": "/sdk/runtime-device-link-
|
|
1814
|
-
"sourceFile": "sdk/runtime-device-link-
|
|
1813
|
+
"route": "/sdk/runtime-device-link-B8HGDakg.js",
|
|
1814
|
+
"sourceFile": "sdk/runtime-device-link-B8HGDakg.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-ecdsa-tempo-
|
|
1838
|
-
"sourceFile": "sdk/runtime-ecdsa-tempo-
|
|
1837
|
+
"route": "/sdk/runtime-ecdsa-tempo-DKdS5-us.js",
|
|
1838
|
+
"sourceFile": "sdk/runtime-ecdsa-tempo-DKdS5-us.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-email-otp-
|
|
1862
|
-
"sourceFile": "sdk/runtime-email-otp-
|
|
1861
|
+
"route": "/sdk/runtime-email-otp-D5bxhdyG.js",
|
|
1862
|
+
"sourceFile": "sdk/runtime-email-otp-D5bxhdyG.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-export
|
|
1886
|
-
"sourceFile": "sdk/runtime-export
|
|
1885
|
+
"route": "/sdk/runtime-export--hvNrx8l.js",
|
|
1886
|
+
"sourceFile": "sdk/runtime-export--hvNrx8l.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-near-
|
|
1910
|
-
"sourceFile": "sdk/runtime-near-
|
|
1909
|
+
"route": "/sdk/runtime-near-CEexHoug.js",
|
|
1910
|
+
"sourceFile": "sdk/runtime-near-CEexHoug.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-preferences-
|
|
1934
|
-
"sourceFile": "sdk/runtime-preferences-
|
|
1933
|
+
"route": "/sdk/runtime-preferences-BiqPp1lV.js",
|
|
1934
|
+
"sourceFile": "sdk/runtime-preferences-BiqPp1lV.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-recovery-
|
|
1958
|
-
"sourceFile": "sdk/runtime-recovery-
|
|
1957
|
+
"route": "/sdk/runtime-recovery-BYu1gDq_.js",
|
|
1958
|
+
"sourceFile": "sdk/runtime-recovery-BYu1gDq_.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-DW7bB2tO.js",
|
|
1982
|
+
"sourceFile": "sdk/runtime-recovery-codes-DW7bB2tO.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/runtimeContext-
|
|
2006
|
-
"sourceFile": "sdk/runtimeContext-
|
|
2005
|
+
"route": "/sdk/runtimeContext-CH97jPZ0.js",
|
|
2006
|
+
"sourceFile": "sdk/runtimeContext-CH97jPZ0.js",
|
|
2007
2007
|
"owner": "wallet_sdk_asset",
|
|
2008
2008
|
"routeClass": "javascript",
|
|
2009
2009
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2026,8 +2026,8 @@
|
|
|
2026
2026
|
]
|
|
2027
2027
|
},
|
|
2028
2028
|
{
|
|
2029
|
-
"route": "/sdk/runtimeLoader-
|
|
2030
|
-
"sourceFile": "sdk/runtimeLoader-
|
|
2029
|
+
"route": "/sdk/runtimeLoader-BFAmJAbu.js",
|
|
2030
|
+
"sourceFile": "sdk/runtimeLoader-BFAmJAbu.js",
|
|
2031
2031
|
"owner": "wallet_sdk_asset",
|
|
2032
2032
|
"routeClass": "javascript",
|
|
2033
2033
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2074,8 +2074,8 @@
|
|
|
2074
2074
|
]
|
|
2075
2075
|
},
|
|
2076
2076
|
{
|
|
2077
|
-
"route": "/sdk/secp256k1-
|
|
2078
|
-
"sourceFile": "sdk/secp256k1-
|
|
2077
|
+
"route": "/sdk/secp256k1-Cr1jBW1n.js",
|
|
2078
|
+
"sourceFile": "sdk/secp256k1-Cr1jBW1n.js",
|
|
2079
2079
|
"owner": "wallet_sdk_asset",
|
|
2080
2080
|
"routeClass": "javascript",
|
|
2081
2081
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2242,8 +2242,8 @@
|
|
|
2242
2242
|
]
|
|
2243
2243
|
},
|
|
2244
2244
|
{
|
|
2245
|
-
"route": "/sdk/signerLoader-
|
|
2246
|
-
"sourceFile": "sdk/signerLoader-
|
|
2245
|
+
"route": "/sdk/signerLoader-D0WU1jq_.js",
|
|
2246
|
+
"sourceFile": "sdk/signerLoader-D0WU1jq_.js",
|
|
2247
2247
|
"owner": "wallet_sdk_asset",
|
|
2248
2248
|
"routeClass": "javascript",
|
|
2249
2249
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2290,8 +2290,8 @@
|
|
|
2290
2290
|
]
|
|
2291
2291
|
},
|
|
2292
2292
|
{
|
|
2293
|
-
"route": "/sdk/signEvmFamily-
|
|
2294
|
-
"sourceFile": "sdk/signEvmFamily-
|
|
2293
|
+
"route": "/sdk/signEvmFamily-Dxk4sBPY.js",
|
|
2294
|
+
"sourceFile": "sdk/signEvmFamily-Dxk4sBPY.js",
|
|
2295
2295
|
"owner": "wallet_sdk_asset",
|
|
2296
2296
|
"routeClass": "javascript",
|
|
2297
2297
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2386,8 +2386,8 @@
|
|
|
2386
2386
|
]
|
|
2387
2387
|
},
|
|
2388
2388
|
{
|
|
2389
|
-
"route": "/sdk/signNear-
|
|
2390
|
-
"sourceFile": "sdk/signNear-
|
|
2389
|
+
"route": "/sdk/signNear-B0OCVKoH.js",
|
|
2390
|
+
"sourceFile": "sdk/signNear-B0OCVKoH.js",
|
|
2391
2391
|
"owner": "wallet_sdk_asset",
|
|
2392
2392
|
"routeClass": "javascript",
|
|
2393
2393
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2530,8 +2530,8 @@
|
|
|
2530
2530
|
]
|
|
2531
2531
|
},
|
|
2532
2532
|
{
|
|
2533
|
-
"route": "/sdk/transactionState-
|
|
2534
|
-
"sourceFile": "sdk/transactionState-
|
|
2533
|
+
"route": "/sdk/transactionState-Bpm4GamO.js",
|
|
2534
|
+
"sourceFile": "sdk/transactionState-Bpm4GamO.js",
|
|
2535
2535
|
"owner": "wallet_sdk_asset",
|
|
2536
2536
|
"routeClass": "javascript",
|
|
2537
2537
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2818,8 +2818,8 @@
|
|
|
2818
2818
|
]
|
|
2819
2819
|
},
|
|
2820
2820
|
{
|
|
2821
|
-
"route": "/sdk/walletRecoveryCommit-
|
|
2822
|
-
"sourceFile": "sdk/walletRecoveryCommit-
|
|
2821
|
+
"route": "/sdk/walletRecoveryCommit-G6w6N5RV.js",
|
|
2822
|
+
"sourceFile": "sdk/walletRecoveryCommit-G6w6N5RV.js",
|
|
2823
2823
|
"owner": "wallet_sdk_asset",
|
|
2824
2824
|
"routeClass": "javascript",
|
|
2825
2825
|
"contentType": "text/javascript; charset=utf-8",
|
|
@@ -2866,8 +2866,8 @@
|
|
|
2866
2866
|
]
|
|
2867
2867
|
},
|
|
2868
2868
|
{
|
|
2869
|
-
"route": "/sdk/warmSessionHydration-
|
|
2870
|
-
"sourceFile": "sdk/warmSessionHydration-
|
|
2869
|
+
"route": "/sdk/warmSessionHydration-DDNYdTCz.js",
|
|
2870
|
+
"sourceFile": "sdk/warmSessionHydration-DDNYdTCz.js",
|
|
2871
2871
|
"owner": "wallet_sdk_asset",
|
|
2872
2872
|
"routeClass": "javascript",
|
|
2873
2873
|
"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.6.
|
|
8
|
+
<link rel="stylesheet" href="/sdk/wallet-ui.css?v=0.6.1" />
|
|
9
9
|
<!-- Minimal shims some ESM bundles expect (externalized to enable strict CSP) -->
|
|
10
|
-
<script src="/sdk/wallet-shims.js?v=0.6.
|
|
10
|
+
<script src="/sdk/wallet-shims.js?v=0.6.1"></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.6.
|
|
12
|
+
<link rel="modulepreload" href="/sdk/wallet-iframe-host-runtime.js?v=0.6.1" 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.6.
|
|
16
|
+
<script type="module" src="/sdk/wallet-iframe-host-runtime.js?v=0.6.1"></script>
|
|
17
17
|
</body>
|
|
18
18
|
</html>
|
|
@@ -80,6 +80,13 @@ export type HostedPasskeyRegistrationPreparationInput = {
|
|
|
80
80
|
confirmationConfigOverride?: Partial<ConfirmationConfig>;
|
|
81
81
|
expiresInMs?: number;
|
|
82
82
|
};
|
|
83
|
+
type EcdsaRegistrationClientCeremony = {
|
|
84
|
+
kind: 'create_after_authority';
|
|
85
|
+
} | {
|
|
86
|
+
kind: 'use_hosted_preparation';
|
|
87
|
+
ceremonyId: string;
|
|
88
|
+
operation: ReturnType<RegistrationWebContext['signingEngine']['createRouterAbEcdsaRegistrationCeremony']>;
|
|
89
|
+
};
|
|
83
90
|
type RegisterWalletPasskeyExecution = {
|
|
84
91
|
kind: 'collect_during_registration';
|
|
85
92
|
} | {
|
|
@@ -143,6 +150,10 @@ type RegistrationThreeRouteAuthority = {
|
|
|
143
150
|
emailOtpRegistrationProof: EmailOtpRegistrationProof;
|
|
144
151
|
walletCustodyFactorSecret: ArrayBuffer;
|
|
145
152
|
};
|
|
153
|
+
type EarlyNearRegistrationAdmission = {
|
|
154
|
+
readonly deferredNear: WalletRegistrationRespondEd25519DeferredWork;
|
|
155
|
+
readonly admissionReceipt: Awaited<ReturnType<typeof admitDeferredNearRegistration>>;
|
|
156
|
+
};
|
|
146
157
|
export declare function runEcdsaEnabledThreeRouteRegistrationCeremony(args: {
|
|
147
158
|
context: RegistrationWebContext;
|
|
148
159
|
relayerUrl: string;
|
|
@@ -150,6 +161,7 @@ export declare function runEcdsaEnabledThreeRouteRegistrationCeremony(args: {
|
|
|
150
161
|
signerPlanKind: 'evm_family_ecdsa' | 'near_ed25519_and_evm_family_ecdsa';
|
|
151
162
|
signedSetup: string;
|
|
152
163
|
ecdsaPrepare: WalletRegistrationEcdsaPreparePayload;
|
|
164
|
+
clientCeremony: EcdsaRegistrationClientCeremony;
|
|
153
165
|
authority: RegistrationThreeRouteAuthority;
|
|
154
166
|
materialAuthority: WalletAuthAuthorityRef;
|
|
155
167
|
idempotencyKey: string;
|
|
@@ -169,6 +181,7 @@ export declare function runEcdsaEnabledThreeRouteRegistrationCeremony(args: {
|
|
|
169
181
|
persistPendingCommit: (input: PendingRegistrationActivationPersistenceInput) => Promise<void>;
|
|
170
182
|
startDeferredNearCustody: (input: {
|
|
171
183
|
deferredNear: WalletRegistrationRespondEd25519DeferredWork;
|
|
184
|
+
earlyAdmission: Promise<EarlyNearRegistrationAdmission>;
|
|
172
185
|
establishedEvmCustodyCommit: Awaited<ReturnType<RegistrationWebContext['signingEngine']['establishWalletCustodyEvmFamilyKeySet']>>['commitPayload'];
|
|
173
186
|
}) => Promise<DeferredNearCustodyWork>;
|
|
174
187
|
}): Promise<{
|
|
@@ -242,6 +255,7 @@ export declare function continueNearRegistrationCustody(args: {
|
|
|
242
255
|
readonly credential: string;
|
|
243
256
|
readonly traceContext: RouterAbTraceContextV1;
|
|
244
257
|
readonly factorSecret: ArrayBuffer;
|
|
258
|
+
readonly admitted?: Awaited<ReturnType<typeof admitDeferredNearRegistration>>;
|
|
245
259
|
}): Promise<{
|
|
246
260
|
joined: JoinedWalletCustodyNearEd25519KeySetV1;
|
|
247
261
|
admissionReceipt: {
|
|
@@ -282,6 +296,7 @@ type NearRegistrationSessionAuthority = {
|
|
|
282
296
|
/** NEAR failures retain their repair journal while the committed ECDSA wallet stays usable. */
|
|
283
297
|
declare function commitDeferredEd25519Registration(args: {
|
|
284
298
|
context: NearRegistrationContext;
|
|
299
|
+
registrationTiming: RegistrationTimingRecorder | null;
|
|
285
300
|
registrationStartedAt: number;
|
|
286
301
|
clientPrewarm: Promise<void>;
|
|
287
302
|
relayerUrl: string;
|
|
@@ -23,11 +23,14 @@ type StrictEcdsaServerTimingLeg = 'respond' | 'activate';
|
|
|
23
23
|
export declare function recordStrictEcdsaServerTimingBuckets(recorder: {
|
|
24
24
|
record: (bucket: RegistrationTimingBucketName, durationMs: number) => void;
|
|
25
25
|
} | null, leg: StrictEcdsaServerTimingLeg, header: string | null): void;
|
|
26
|
+
export declare function recordRegistrationServerTimingBuckets(recorder: {
|
|
27
|
+
record: (bucket: RegistrationTimingBucketName, durationMs: number) => void;
|
|
28
|
+
} | null, header: string | null): void;
|
|
26
29
|
export declare function parseYaoServerTimingBuckets(header: string | null | undefined): ReadonlyArray<readonly [RegistrationTimingBucketName, number]>;
|
|
27
30
|
export declare const WALLET_IFRAME_TRANSPORT_TIMING_LABEL = "[Registration] wallet iframe transport timing summary";
|
|
28
31
|
export declare function emitNearRegistrationTiming(input: {
|
|
29
32
|
ceremonyId: string;
|
|
30
|
-
stage: 'custody_join' | 'server_finalize' | 'local_publication' | 'session_install' | 'session_seal_preparation' | 'session_seal_preparation_wait' | 'session_hydration_wait' | 'session_hydration' | 'signer_activation' | 'durable_ready' | 'provisioning_total' | 'registration_total';
|
|
33
|
+
stage: 'early_admission' | 'custody_join' | 'server_finalize' | 'local_publication' | 'session_install' | 'session_seal_preparation' | 'session_seal_preparation_wait' | 'session_hydration_wait' | 'session_hydration' | 'signer_activation' | 'durable_ready' | 'provisioning_total' | 'registration_total';
|
|
31
34
|
startedAt: number;
|
|
32
35
|
outcome: 'success' | 'failure';
|
|
33
36
|
}): void;
|
|
@@ -124,6 +127,13 @@ type RegistrationTimingBucketValues = {
|
|
|
124
127
|
ecdsaSigningWorkerParseMs: number;
|
|
125
128
|
ecdsaSigningWorkerActivateMs: number;
|
|
126
129
|
ecdsaSigningWorkerTotalMs: number;
|
|
130
|
+
nearFinalizeAuthorityMs: number;
|
|
131
|
+
nearFinalizeFingerprintMs: number;
|
|
132
|
+
nearFinalizeSideEffectMs: number;
|
|
133
|
+
nearFinalizeCleanupMs: number;
|
|
134
|
+
nearFinalizeSessionProjectionMs: number;
|
|
135
|
+
nearFinalizeSessionSealMs: number;
|
|
136
|
+
nearFinalizeTotalMs: number;
|
|
127
137
|
walletRegisterStartMs: number;
|
|
128
138
|
ecdsaClientBootstrapMs: number;
|
|
129
139
|
ecdsaRegistrationTotalMs: number;
|
|
@@ -454,6 +454,12 @@ export declare class BrowserSigningSurface {
|
|
|
454
454
|
thresholdSessionId: string;
|
|
455
455
|
prfFirstB64u: string;
|
|
456
456
|
}): Promise<void>;
|
|
457
|
+
readPreparedSigningSessionHydration(input: {
|
|
458
|
+
preparationId: string;
|
|
459
|
+
thresholdSessionId: string;
|
|
460
|
+
}): Promise<{
|
|
461
|
+
readonly ciphertext: string;
|
|
462
|
+
}>;
|
|
457
463
|
discardSigningSessionHydration(input: {
|
|
458
464
|
preparationId: string;
|
|
459
465
|
thresholdSessionId: string;
|
|
@@ -399,6 +399,12 @@ export interface SigningSessionSurface {
|
|
|
399
399
|
thresholdSessionId: string;
|
|
400
400
|
prfFirstB64u: string;
|
|
401
401
|
}): Promise<void>;
|
|
402
|
+
readPreparedSigningSessionHydration(input: {
|
|
403
|
+
preparationId: string;
|
|
404
|
+
thresholdSessionId: string;
|
|
405
|
+
}): Promise<{
|
|
406
|
+
readonly ciphertext: string;
|
|
407
|
+
}>;
|
|
402
408
|
discardSigningSessionHydration(input: {
|
|
403
409
|
preparationId: string;
|
|
404
410
|
thresholdSessionId: string;
|
|
@@ -445,7 +451,7 @@ export interface WarmSessionStatusSurface {
|
|
|
445
451
|
}): Promise<SigningSessionStatus | null>;
|
|
446
452
|
}
|
|
447
453
|
export type WalletSessionReadSurface = RuntimeStartupSurface & SignerWorkerContextSurface & NonceCoordinatorSurface & UserAccountLookupSurface & WarmSessionStatusSurface & Pick<WalletAuthenticationSurface, 'readWalletAuthenticationState' | 'setWalletAuthenticated'> & Pick<SigningSessionSurface, 'readPersistedAvailableSigningLanes' | 'readOwnerScopedSigningLanes'>;
|
|
448
|
-
export type NearRegistrationContinuationSigningSurface = EcdsaLoginSessionSurface & Ed25519YaoCapabilityActivationSurface & Pick<WalletCustodyCeremonySurface, 'joinWalletCustodyNearEd25519KeySet'> & Pick<SigningSessionSurface, 'hydrateSigningSession' | 'prepareSigningSessionHydration' | 'discardSigningSessionHydration'> & Pick<RegistrationAccountSurface, 'activateAuthenticatedWalletState' | 'upsertEd25519YaoPublicCapabilityLaneReference' | 'setWalletNearProvisioningState'> & Pick<WalletCustodyCeremonySurface, 'activateEmailOtpEd25519RegistrationMaterialInternal'>;
|
|
454
|
+
export type NearRegistrationContinuationSigningSurface = EcdsaLoginSessionSurface & Ed25519YaoCapabilityActivationSurface & Pick<WalletCustodyCeremonySurface, 'joinWalletCustodyNearEd25519KeySet'> & Pick<SigningSessionSurface, 'hydrateSigningSession' | 'prepareSigningSessionHydration' | 'readPreparedSigningSessionHydration' | 'discardSigningSessionHydration'> & Pick<RegistrationAccountSurface, 'activateAuthenticatedWalletState' | 'upsertEd25519YaoPublicCapabilityLaneReference' | 'setWalletNearProvisioningState'> & Pick<WalletCustodyCeremonySurface, 'activateEmailOtpEd25519RegistrationMaterialInternal'>;
|
|
449
455
|
export type LoginUnlockSigningSurface = WalletSessionReadSurface & NearRegistrationContinuationSigningSurface & Pick<WalletLockGenerationSurface, 'markWalletSelectionUnlocked'> & UserAccountLookupSurface & UnlockedEd25519ExportRootCapabilitySurface & LoginWarmSigningSurface & Ed25519YaoCapabilityActivationSurface & Pick<EmailOtpSigningSessionSurface, 'resolveOwnerAuthorityEd25519UnlockRequestInternal' | 'activateOwnerAuthorityEd25519RuntimeInternal'> & Ed25519MaterialOwnerQueueSurface & Pick<WalletCustodyCeremonySurface, 'loadWalletCustodyEd25519Material' | 'rejoinWalletCustodyNearEd25519KeySet' | 'rejoinWalletCustodyEvmFamilyKeySet' | 'restoreWalletCustodyEcdsaContinuity' | 'persistWalletCustodyEd25519Material'> & EcdsaLoginSessionSurface & PasskeyLoginAssertionSurface & Pick<EcdsaSessionControlSurface, 'clearVolatileWarmSigningMaterial'> & Pick<UserProfileStoreSurface, 'setLastUser' | 'storeUserData'> & Pick<RegistrationAccountSurface, 'activateAuthenticatedWalletState'> & Pick<WalletAuthenticationSurface, 'setWalletAuthenticated'> & Pick<WarmSessionStatusSurface, 'getWarmThresholdEd25519SessionStatus'>;
|
|
450
456
|
export type RecentUnlocksSigningSurface = Pick<UserProfileStoreSurface, 'getAllUsers' | 'getLastUser'>;
|
|
451
457
|
export interface EcdsaSessionControlSurface {
|
|
@@ -610,7 +616,7 @@ export interface KeyExportSigningSurface {
|
|
|
610
616
|
export interface EmailOtpRegistrationEnrollmentSurface {
|
|
611
617
|
prepareEmailOtpRegistrationEnrollmentMaterialInternal(args: PrepareEmailOtpRegistrationEnrollmentMaterialInternalArgs): Promise<PrepareEmailOtpRegistrationEnrollmentMaterialInternalResult>;
|
|
612
618
|
}
|
|
613
|
-
export type RegistrationSigningSurface = RpIdSurface & EcdsaLoginSessionSurface & WalletIframeSurfaceMeasurementSurface & Ed25519YaoCapabilityActivationSurface & UnlockedEd25519ExportRootCapabilitySurface & WalletCustodyCeremonySurface & Pick<WalletIframeWarmupSurface, 'warmCriticalResources'> & RegistrationResourceWarmupSurface & Pick<SigningSessionSurface, 'hydrateSigningSession' | 'prepareSigningSessionHydration' | 'discardSigningSessionHydration' | 'persistSigningSessionSealForThresholdSession'> & Pick<EmailOtpRegistrationEnrollmentSurface, 'prepareEmailOtpRegistrationEnrollmentMaterialInternal'> & SignerWorkerContextSurface & PasskeyLoginAssertionSurface & Pick<WalletAuthenticationSurface, 'setWalletAuthenticated'> & Pick<UserProfileStoreSurface, 'getUserBySignerSlot'> & Pick<RegistrationAccountSurface, 'storeWalletEd25519RegistrationData' | 'storeWalletEmailOtpEd25519RegistrationData'> & Pick<EcdsaRegistrationSurface, 'storeWalletEcdsaSignerRecords' | 'storeWalletEmailOtpEcdsaSignerRecords' | 'storeWalletEmailOtpEcdsaRegistrationData'> & WebAuthnRegistrationConfirmationSurface & EmailOtpEnrollmentConfirmationSurface & RegistrationAccountSurface & EcdsaRegistrationSurface;
|
|
619
|
+
export type RegistrationSigningSurface = RpIdSurface & EcdsaLoginSessionSurface & WalletIframeSurfaceMeasurementSurface & Ed25519YaoCapabilityActivationSurface & UnlockedEd25519ExportRootCapabilitySurface & WalletCustodyCeremonySurface & Pick<WalletIframeWarmupSurface, 'warmCriticalResources'> & RegistrationResourceWarmupSurface & Pick<SigningSessionSurface, 'hydrateSigningSession' | 'prepareSigningSessionHydration' | 'readPreparedSigningSessionHydration' | 'discardSigningSessionHydration' | 'persistSigningSessionSealForThresholdSession'> & Pick<EmailOtpRegistrationEnrollmentSurface, 'prepareEmailOtpRegistrationEnrollmentMaterialInternal'> & SignerWorkerContextSurface & PasskeyLoginAssertionSurface & Pick<WalletAuthenticationSurface, 'setWalletAuthenticated'> & Pick<UserProfileStoreSurface, 'getUserBySignerSlot'> & Pick<RegistrationAccountSurface, 'storeWalletEd25519RegistrationData' | 'storeWalletEmailOtpEd25519RegistrationData'> & Pick<EcdsaRegistrationSurface, 'storeWalletEcdsaSignerRecords' | 'storeWalletEmailOtpEcdsaSignerRecords' | 'storeWalletEmailOtpEcdsaRegistrationData'> & WebAuthnRegistrationConfirmationSurface & EmailOtpEnrollmentConfirmationSurface & RegistrationAccountSurface & EcdsaRegistrationSurface;
|
|
614
620
|
export type SeamsWebBaseContext<TSigningEngine> = {
|
|
615
621
|
signingEngine: TSigningEngine;
|
|
616
622
|
nearClient: NearClient;
|