@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
|
@@ -6,19 +6,19 @@ import "./signerDomain-DDLiwuYS.js";
|
|
|
6
6
|
import "./wallet-recovery-CKqoHbxT.js";
|
|
7
7
|
import "./participants-Bcnsa_ip.js";
|
|
8
8
|
import "./sessionPolicy-B4FsPuk2.js";
|
|
9
|
-
import "./ecdsaPresignLifecycle-
|
|
9
|
+
import "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
10
10
|
import "./capabilityKinds-jwCEaqBU.js";
|
|
11
11
|
import "./evmFamilyEcdsaIdentity-_kuKSW35.js";
|
|
12
12
|
import "./passkey-custody-BaHyYMhj.js";
|
|
13
|
-
import "./ed25519SeedMaterial-
|
|
13
|
+
import "./ed25519SeedMaterial-Cghz8-XB.js";
|
|
14
14
|
import "./keccak-DY5wDsym.js";
|
|
15
15
|
import "./signingSessionSeal-CdtgXHSL.js";
|
|
16
|
-
import { S as requireTempoFeeTokenPreferenceSigningRequest } from "./exactSessionState-
|
|
17
|
-
import "./nearEd25519YaoMaterialActivation-
|
|
16
|
+
import { S as requireTempoFeeTokenPreferenceSigningRequest } from "./exactSessionState-Bt0HforB.js";
|
|
17
|
+
import "./nearEd25519YaoMaterialActivation-BLxVE6E5.js";
|
|
18
18
|
import "./operationFingerprint-CsYO6b0a.js";
|
|
19
19
|
import "./actions-DsBQcjBn.js";
|
|
20
20
|
import "./jsxRuntime.module-FAP0NE9p.js";
|
|
21
|
-
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-
|
|
21
|
+
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-CH97jPZ0.js";
|
|
22
22
|
import { n as respondOkResult, t as respondOk } from "./shared-Qy1DGMqH.js";
|
|
23
23
|
//#region src/SeamsWeb/walletIframe/host/handlers/ecdsaTempo.ts
|
|
24
24
|
function createEcdsaTempoWalletIframeHandlers(deps) {
|
package/dist/{esm/sdk/runtime-email-otp-giyMPib8.js → public/sdk/runtime-email-otp-D5bxhdyG.js}
RENAMED
|
@@ -7,18 +7,18 @@ import "./signerDomain-DDLiwuYS.js";
|
|
|
7
7
|
import "./wallet-recovery-CKqoHbxT.js";
|
|
8
8
|
import "./participants-Bcnsa_ip.js";
|
|
9
9
|
import "./sessionPolicy-B4FsPuk2.js";
|
|
10
|
-
import "./ecdsaPresignLifecycle-
|
|
10
|
+
import "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
11
11
|
import "./capabilityKinds-jwCEaqBU.js";
|
|
12
12
|
import "./evmFamilyEcdsaIdentity-_kuKSW35.js";
|
|
13
13
|
import "./passkey-custody-BaHyYMhj.js";
|
|
14
|
-
import "./ed25519SeedMaterial-
|
|
14
|
+
import "./ed25519SeedMaterial-Cghz8-XB.js";
|
|
15
15
|
import "./keccak-DY5wDsym.js";
|
|
16
16
|
import "./signingSessionSeal-CdtgXHSL.js";
|
|
17
|
-
import "./nearEd25519YaoMaterialActivation-
|
|
17
|
+
import "./nearEd25519YaoMaterialActivation-BLxVE6E5.js";
|
|
18
18
|
import "./operationFingerprint-CsYO6b0a.js";
|
|
19
19
|
import "./actions-DsBQcjBn.js";
|
|
20
20
|
import "./jsxRuntime.module-FAP0NE9p.js";
|
|
21
|
-
import { handleWalletHostRuntimeRequestWithHandlers, r as redeemHostedWalletSeamsSession } from "./runtimeContext-
|
|
21
|
+
import { handleWalletHostRuntimeRequestWithHandlers, r as redeemHostedWalletSeamsSession } from "./runtimeContext-CH97jPZ0.js";
|
|
22
22
|
import { n as respondOkResult, r as withProgress } from "./shared-Qy1DGMqH.js";
|
|
23
23
|
//#region src/SeamsWeb/walletIframe/host/handlers/emailOtp.ts
|
|
24
24
|
function recordFromPayload(value) {
|
|
@@ -8,18 +8,18 @@ import "./signerDomain-DDLiwuYS.js";
|
|
|
8
8
|
import "./wallet-recovery-CKqoHbxT.js";
|
|
9
9
|
import "./participants-Bcnsa_ip.js";
|
|
10
10
|
import "./sessionPolicy-B4FsPuk2.js";
|
|
11
|
-
import "./ecdsaPresignLifecycle-
|
|
11
|
+
import "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
12
12
|
import "./capabilityKinds-jwCEaqBU.js";
|
|
13
13
|
import { G as parseExactEcdsaSigningLaneIdentity, K as parseExactEd25519ExportMaterialIdentity } from "./evmFamilyEcdsaIdentity-_kuKSW35.js";
|
|
14
14
|
import "./passkey-custody-BaHyYMhj.js";
|
|
15
|
-
import "./ed25519SeedMaterial-
|
|
15
|
+
import "./ed25519SeedMaterial-Cghz8-XB.js";
|
|
16
16
|
import "./keccak-DY5wDsym.js";
|
|
17
17
|
import "./signingSessionSeal-CdtgXHSL.js";
|
|
18
|
-
import "./nearEd25519YaoMaterialActivation-
|
|
18
|
+
import "./nearEd25519YaoMaterialActivation-BLxVE6E5.js";
|
|
19
19
|
import "./operationFingerprint-CsYO6b0a.js";
|
|
20
20
|
import "./actions-DsBQcjBn.js";
|
|
21
21
|
import "./jsxRuntime.module-FAP0NE9p.js";
|
|
22
|
-
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-
|
|
22
|
+
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-CH97jPZ0.js";
|
|
23
23
|
import { n as respondOkResult, t as respondOk } from "./shared-Qy1DGMqH.js";
|
|
24
24
|
//#region src/SeamsWeb/walletIframe/host/handlers/export.ts
|
|
25
25
|
function keyExportInputFromPayload(payload) {
|
|
@@ -7,19 +7,19 @@ import "./signerDomain-DDLiwuYS.js";
|
|
|
7
7
|
import "./wallet-recovery-CKqoHbxT.js";
|
|
8
8
|
import "./participants-Bcnsa_ip.js";
|
|
9
9
|
import "./sessionPolicy-B4FsPuk2.js";
|
|
10
|
-
import "./ecdsaPresignLifecycle-
|
|
10
|
+
import "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
11
11
|
import "./capabilityKinds-jwCEaqBU.js";
|
|
12
12
|
import "./evmFamilyEcdsaIdentity-_kuKSW35.js";
|
|
13
13
|
import "./passkey-custody-BaHyYMhj.js";
|
|
14
|
-
import "./ed25519SeedMaterial-
|
|
14
|
+
import "./ed25519SeedMaterial-Cghz8-XB.js";
|
|
15
15
|
import "./keccak-DY5wDsym.js";
|
|
16
16
|
import "./signingSessionSeal-CdtgXHSL.js";
|
|
17
|
-
import "./nearEd25519YaoMaterialActivation-
|
|
17
|
+
import "./nearEd25519YaoMaterialActivation-BLxVE6E5.js";
|
|
18
18
|
import "./operationFingerprint-CsYO6b0a.js";
|
|
19
19
|
import "./actions-DsBQcjBn.js";
|
|
20
20
|
import { n as SignedTransaction } from "./NearClient-BQgcqAzG.js";
|
|
21
21
|
import "./jsxRuntime.module-FAP0NE9p.js";
|
|
22
|
-
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-
|
|
22
|
+
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-CH97jPZ0.js";
|
|
23
23
|
import { i as withRegistrationProgress, n as respondOkResult, r as withProgress, t as respondOk } from "./shared-Qy1DGMqH.js";
|
|
24
24
|
//#region src/SeamsWeb/walletIframe/host/handlers/near.ts
|
|
25
25
|
function walletSessionFromWalletId(walletIdRaw) {
|
package/dist/{esm/sdk/runtime-preferences-Canyenle.js → public/sdk/runtime-preferences-BiqPp1lV.js}
RENAMED
|
@@ -7,18 +7,18 @@ import "./signerDomain-DDLiwuYS.js";
|
|
|
7
7
|
import "./wallet-recovery-CKqoHbxT.js";
|
|
8
8
|
import "./participants-Bcnsa_ip.js";
|
|
9
9
|
import "./sessionPolicy-B4FsPuk2.js";
|
|
10
|
-
import "./ecdsaPresignLifecycle-
|
|
10
|
+
import "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
11
11
|
import "./capabilityKinds-jwCEaqBU.js";
|
|
12
12
|
import "./evmFamilyEcdsaIdentity-_kuKSW35.js";
|
|
13
13
|
import "./passkey-custody-BaHyYMhj.js";
|
|
14
|
-
import { s as IndexedDBManager } from "./ed25519SeedMaterial-
|
|
14
|
+
import { s as IndexedDBManager } from "./ed25519SeedMaterial-Cghz8-XB.js";
|
|
15
15
|
import "./keccak-DY5wDsym.js";
|
|
16
16
|
import "./signingSessionSeal-CdtgXHSL.js";
|
|
17
|
-
import "./nearEd25519YaoMaterialActivation-
|
|
17
|
+
import "./nearEd25519YaoMaterialActivation-BLxVE6E5.js";
|
|
18
18
|
import "./operationFingerprint-CsYO6b0a.js";
|
|
19
19
|
import "./actions-DsBQcjBn.js";
|
|
20
20
|
import "./jsxRuntime.module-FAP0NE9p.js";
|
|
21
|
-
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-
|
|
21
|
+
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-CH97jPZ0.js";
|
|
22
22
|
import { n as respondOkResult, t as respondOk } from "./shared-Qy1DGMqH.js";
|
|
23
23
|
//#region src/SeamsWeb/walletIframe/host/handlers/preferences.ts
|
|
24
24
|
function createPreferencesWalletIframeHandlers(deps) {
|
|
@@ -6,18 +6,18 @@ import "./signerDomain-DDLiwuYS.js";
|
|
|
6
6
|
import "./wallet-recovery-CKqoHbxT.js";
|
|
7
7
|
import "./participants-Bcnsa_ip.js";
|
|
8
8
|
import "./sessionPolicy-B4FsPuk2.js";
|
|
9
|
-
import "./ecdsaPresignLifecycle-
|
|
9
|
+
import "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
10
10
|
import "./capabilityKinds-jwCEaqBU.js";
|
|
11
11
|
import "./evmFamilyEcdsaIdentity-_kuKSW35.js";
|
|
12
12
|
import "./passkey-custody-BaHyYMhj.js";
|
|
13
|
-
import "./ed25519SeedMaterial-
|
|
13
|
+
import "./ed25519SeedMaterial-Cghz8-XB.js";
|
|
14
14
|
import "./keccak-DY5wDsym.js";
|
|
15
15
|
import "./signingSessionSeal-CdtgXHSL.js";
|
|
16
|
-
import "./nearEd25519YaoMaterialActivation-
|
|
16
|
+
import "./nearEd25519YaoMaterialActivation-BLxVE6E5.js";
|
|
17
17
|
import "./operationFingerprint-CsYO6b0a.js";
|
|
18
18
|
import "./actions-DsBQcjBn.js";
|
|
19
19
|
import "./jsxRuntime.module-FAP0NE9p.js";
|
|
20
|
-
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-
|
|
20
|
+
import { handleWalletHostRuntimeRequestWithHandlers } from "./runtimeContext-CH97jPZ0.js";
|
|
21
21
|
import { n as respondOkResult, r as withProgress } from "./shared-Qy1DGMqH.js";
|
|
22
22
|
//#region src/SeamsWeb/walletIframe/host/handlers/recovery.ts
|
|
23
23
|
function createRecoveryWalletIframeHandlers(deps) {
|
|
@@ -8,7 +8,7 @@ import { b as parsePMRedeemHostedWalletSeamsSessionPayload } from "./messages-B3
|
|
|
8
8
|
import { i as isUserCancellationError, n as getUserFriendlyErrorMessage, o as toError, t as errorMessage } from "./errors-93h9uAW9.js";
|
|
9
9
|
import { i as base64UrlEncode, n as base64Encode, r as base64UrlDecode } from "./base64-Clm8C-e9.js";
|
|
10
10
|
import { n as secureRandomBase64Url, r as secureRandomId, t as secureRandomBase36 } from "./secureRandomId-BORsmdS4.js";
|
|
11
|
-
import { $ as unlockEmailOtpEd25519YaoCapability, A as requestEmailOtpEnrollmentChallenge, At as listExactSealedSessionsForWallet, B as scheduleEcdsaSessionPresignaturePrefill, Bt as resolveExactWalletSessionOperationCredential, C as preparePasskeyEd25519YaoLocalMaterialRehydrationV1, Ct as resolveExactEd25519SealedSessionRuntimeForLane, D as persistPasskeyEd25519YaoSessionForRefresh, Dt as buildCurrentSealedSessionRecord, E as buildPasskeyEd25519RestoreMetadata, Et as acquireSigningSessionRestoreLease, F as buildRecoveredCustodyEnvelopeRecord, Ft as updateExactSealedSessionPolicy, G as requirePasskeyPrfFirstB64u, Gt as ROUTER_AB_ED25519_YAO_ACTIVE_CLIENT_KIND_V1, H as resumePendingNearRegistrations, Ht as openWalletCustodyEd25519ActiveClientV1, I as resolveManagedRuntimeScopeBootstrap, It as writeExactSealedSession, J as assertEd25519YaoWarmRecoveryDescriptorStableMaterialContinuity, Jt as parseEd25519YaoRecoveryCapabilityV1, K as verifyLinkedDevicePasskeyWalletSession, Kt as RouterAbEd25519YaoClientV1, L as awaitNearProvisioningInFlight, Lt as createDeleteDurableSealedSessionCommand, M as configurePasskeyCustodySessionCachePersistence, Mt as readExactSealedSession, N as readPasskeyCustodySessionEnvelope, Nt as releaseSigningSessionRestoreLease, O as collectEmailOtpRegistrationAuthority, Ot as deleteDurableSealedSessionRecord, P as rememberPasskeyCustodySessionEnvelope, Pt as updateExactEd25519SealedSessionPolicy, Q as unlockEmailOtpAuthorityWallet, R as readNearProvisioningState, Rt as buildRouterAbEd25519SigningWalletSession, S as persistPasskeyEd25519YaoSignerMaterialV1, St as parseExactEd25519SealedSessionRuntime, T as buildRestorableMpcMaterialRefInternal, Tt as resolveExactEd25519SealedSessionRuntimeForWalletSubject, U as passkeyCredentialIdB64uFromAuthentication, Ut as walletCustodyActivationFactsFromActiveClientMetadataV1, V as resumePendingEcdsaRegistrationFromStoredCommit, Vt as openOrRejoinWalletCustodyEd25519V1, W as passkeyPrfFirstB64uFromCredential, Wt as walletCustodyCacheEnvelopeFromRecordV1, X as parsePasskeyEd25519YaoSyncResponseV1, Xt as listThresholdEcdsaProvisionTargets, Y as buildRecoveredWalletSessionState, Yt as listConfiguredThresholdEcdsaPublicationTargets, Z as passkeyEd25519YaoLaneReferenceFromRecovery, Zt as isRegistrationBenchmarkDiagnosticsEnabled, _ as walletCustodyCeremonyTransportFromWorkerContextV1, _t as nearEd25519YaoOperationMaterialFacts, a as registerWallet, at as joinNearEd25519CustodyV1, b as ed25519YaoLocalMaterialIdentityFromWalletSession, bt as ed25519AuthorizationIdentityMatchesRuntime, c as exactWalletSessionAuthorityIdentity, ct as rejoinEvmFamilyCustodyV1, d as validateExactWalletSessionAuthorization, dt as createRelayerExactWalletSessionStatusPort, et as unlockEmailOtpWallet, f as destroyUnlockedWalletEd25519ExportRootCapabilitiesV1, ft as sameRuntimePolicyScope$1, g as setUnlockedCustodyEnvelopeUpgradeSinkV1, gt as buildPasskeyRouterAbEd25519WalletSessionState, h as readUnlockedWalletEd25519ExportRootCapabilityV1, ht as buildEmailOtpRouterAbEd25519WalletSessionState, it as joinEvmFamilyCustodyV1, j as resolveGoogleEmailOtpProvider, jt as readExactEd25519SealedSession, k as requestEmailOtpChallenge, kt as listEcdsaSealedSessionsForWallet, l as persistExactWalletSessionAuthorizationFromEcdsaBootstrap, lt as rejoinNearEd25519CustodyV1, m as establishUnlockedWalletEd25519ExportRootCapabilityV1, mt as WALLET_IFRAME_TRANSPORT_TIMING_LABEL, nt as establishEvmFamilyCustodyV1, ot as recoverEvmFamilyCustodyV1, p as dropUnlockedWalletEd25519ExportRootCapabilityReferenceV1, pt as joinCustodyWireFromEnvelopeRecord, q as verifyPasskeyWalletUnlock, qt as RouterAbEd25519YaoHttpActivationTransportV1, rt as establishNearEd25519CustodyV1, st as recoverNearEd25519CustodyV1, t as addWalletSigner, tt as unlockEmailOtpWalletCapabilities, u as validateExactWalletSessionAuthorityIdentity, ut as WalletSessionStatusReadScope, v as requestWalletCustodyCeremonyOperation, vt as rebindRouterAbEd25519WalletSessionStateFromExactRuntime, w as readPasskeyEd25519YaoLocalMaterialLocatorV1, wt as resolveExactEd25519SealedSessionRuntimeForWallet, x as hydratePasskeyEd25519YaoLocalMaterialV1, xt as ed25519SealedRuntimeAuthorityRef, y as walletCustodyCeremonyStepRunner, yt as resolveActiveAuthorizedRouterAbEd25519WalletSessionState, z as subscribeToNearProvisioning, zt as requiredSigningSubjectForExactSigningLane } from "./registration-
|
|
11
|
+
import { $ as unlockEmailOtpEd25519YaoCapability, A as requestEmailOtpEnrollmentChallenge, At as listExactSealedSessionsForWallet, B as scheduleEcdsaSessionPresignaturePrefill, Bt as resolveExactWalletSessionOperationCredential, C as preparePasskeyEd25519YaoLocalMaterialRehydrationV1, Ct as resolveExactEd25519SealedSessionRuntimeForLane, D as persistPasskeyEd25519YaoSessionForRefresh, Dt as buildCurrentSealedSessionRecord, E as buildPasskeyEd25519RestoreMetadata, Et as acquireSigningSessionRestoreLease, F as buildRecoveredCustodyEnvelopeRecord, Ft as updateExactSealedSessionPolicy, G as requirePasskeyPrfFirstB64u, Gt as ROUTER_AB_ED25519_YAO_ACTIVE_CLIENT_KIND_V1, H as resumePendingNearRegistrations, Ht as openWalletCustodyEd25519ActiveClientV1, I as resolveManagedRuntimeScopeBootstrap, It as writeExactSealedSession, J as assertEd25519YaoWarmRecoveryDescriptorStableMaterialContinuity, Jt as parseEd25519YaoRecoveryCapabilityV1, K as verifyLinkedDevicePasskeyWalletSession, Kt as RouterAbEd25519YaoClientV1, L as awaitNearProvisioningInFlight, Lt as createDeleteDurableSealedSessionCommand, M as configurePasskeyCustodySessionCachePersistence, Mt as readExactSealedSession, N as readPasskeyCustodySessionEnvelope, Nt as releaseSigningSessionRestoreLease, O as collectEmailOtpRegistrationAuthority, Ot as deleteDurableSealedSessionRecord, P as rememberPasskeyCustodySessionEnvelope, Pt as updateExactEd25519SealedSessionPolicy, Q as unlockEmailOtpAuthorityWallet, R as readNearProvisioningState, Rt as buildRouterAbEd25519SigningWalletSession, S as persistPasskeyEd25519YaoSignerMaterialV1, St as parseExactEd25519SealedSessionRuntime, T as buildRestorableMpcMaterialRefInternal, Tt as resolveExactEd25519SealedSessionRuntimeForWalletSubject, U as passkeyCredentialIdB64uFromAuthentication, Ut as walletCustodyActivationFactsFromActiveClientMetadataV1, V as resumePendingEcdsaRegistrationFromStoredCommit, Vt as openOrRejoinWalletCustodyEd25519V1, W as passkeyPrfFirstB64uFromCredential, Wt as walletCustodyCacheEnvelopeFromRecordV1, X as parsePasskeyEd25519YaoSyncResponseV1, Xt as listThresholdEcdsaProvisionTargets, Y as buildRecoveredWalletSessionState, Yt as listConfiguredThresholdEcdsaPublicationTargets, Z as passkeyEd25519YaoLaneReferenceFromRecovery, Zt as isRegistrationBenchmarkDiagnosticsEnabled, _ as walletCustodyCeremonyTransportFromWorkerContextV1, _t as nearEd25519YaoOperationMaterialFacts, a as registerWallet, at as joinNearEd25519CustodyV1, b as ed25519YaoLocalMaterialIdentityFromWalletSession, bt as ed25519AuthorizationIdentityMatchesRuntime, c as exactWalletSessionAuthorityIdentity, ct as rejoinEvmFamilyCustodyV1, d as validateExactWalletSessionAuthorization, dt as createRelayerExactWalletSessionStatusPort, et as unlockEmailOtpWallet, f as destroyUnlockedWalletEd25519ExportRootCapabilitiesV1, ft as sameRuntimePolicyScope$1, g as setUnlockedCustodyEnvelopeUpgradeSinkV1, gt as buildPasskeyRouterAbEd25519WalletSessionState, h as readUnlockedWalletEd25519ExportRootCapabilityV1, ht as buildEmailOtpRouterAbEd25519WalletSessionState, it as joinEvmFamilyCustodyV1, j as resolveGoogleEmailOtpProvider, jt as readExactEd25519SealedSession, k as requestEmailOtpChallenge, kt as listEcdsaSealedSessionsForWallet, l as persistExactWalletSessionAuthorizationFromEcdsaBootstrap, lt as rejoinNearEd25519CustodyV1, m as establishUnlockedWalletEd25519ExportRootCapabilityV1, mt as WALLET_IFRAME_TRANSPORT_TIMING_LABEL, nt as establishEvmFamilyCustodyV1, ot as recoverEvmFamilyCustodyV1, p as dropUnlockedWalletEd25519ExportRootCapabilityReferenceV1, pt as joinCustodyWireFromEnvelopeRecord, q as verifyPasskeyWalletUnlock, qt as RouterAbEd25519YaoHttpActivationTransportV1, rt as establishNearEd25519CustodyV1, st as recoverNearEd25519CustodyV1, t as addWalletSigner, tt as unlockEmailOtpWalletCapabilities, u as validateExactWalletSessionAuthorityIdentity, ut as WalletSessionStatusReadScope, v as requestWalletCustodyCeremonyOperation, vt as rebindRouterAbEd25519WalletSessionStateFromExactRuntime, w as readPasskeyEd25519YaoLocalMaterialLocatorV1, wt as resolveExactEd25519SealedSessionRuntimeForWallet, x as hydratePasskeyEd25519YaoLocalMaterialV1, xt as ed25519SealedRuntimeAuthorityRef, y as walletCustodyCeremonyStepRunner, yt as resolveActiveAuthorizedRouterAbEd25519WalletSessionState, z as subscribeToNearProvisioning, zt as requiredSigningSubjectForExactSigningLane } from "./registration-D-istkMZ.js";
|
|
12
12
|
import { a as computeLinkedDeviceTargetPreparationDigestV1, c as assertNeverLinkSessionStateV1, i as computeLinkedDevicePublicKeyDigestV1, l as activeWalletSessionV1RecordsEqual, n as LINKED_DEVICE_REQUEST_PROOF_HEADER_V1, o as computeWalletSessionInstallationReceiptDigestB64u, r as LINKED_DEVICE_REQUEST_PROOF_MAX_TTL_MS_V1, s as computeWalletSessionOperationCredentialDigestB64u } from "./device-linking-DpVGjSeq.js";
|
|
13
13
|
import { A as alphabetizeStringify, D as sameWalletAuthMethodRecordV2, I as parseDigestB64u, J as resolvePrimaryNearRpcUrl, M as sha256BytesUtf8, N as sha256HexUtf8, O as sponsoredNamedNearAccountProvisioning, R as chainFamilyFromNetwork, S as registrationNearEd25519BranchKey, a as computeAddAuthMethodIntentDigestB64u, b as parseWalletAuthMethodRecordV2, c as computeWalletAuthMethodRevokeOperationFingerprintV1, i as buildWalletAuthMethodRecordV2, j as sha256Bytes, k as walletIdFromString, m as nearEd25519SigningKeyIdFromString, p as implicitNearAccountProvisioning, q as resolvePrimaryExplorerUrl, t as NEAR_ED25519_YAO_KEY_VERSION_V1, u as createServerAllocatedWalletId, y as parseNearEd25519SigningKeyId, z as cloneChainConfig } from "./registrationIntent-DwAIMQYh.js";
|
|
14
14
|
import { a as thresholdEcdsaChainTargetFromRequest, c as toWalletId, i as thresholdEcdsaChainTargetFromConfig, n as nearAccountRefFromAccountId, o as thresholdEcdsaChainTargetKey, s as thresholdEcdsaChainTargetsEqual, t as configuredThresholdEcdsaChainTargets, u as walletSessionRefFromSession } from "./ecdsaChainTarget-BOTPGIU_.js";
|
|
@@ -19,56 +19,56 @@ import { _ as parseUnixMs, c as deriveEvmFamilySigningKeySlotId, d as parseEd255
|
|
|
19
19
|
import { A as storeWalletMixedRegistrationData$1, C as storeWalletEcdsaSignerRecords$1, D as storeWalletEmailOtpEcdsaSignerRecords$1, E as storeWalletEmailOtpEcdsaRegistrationData$1, F as getLastSelectedNearAccount, I as getNearAccountProjection, M as WALLET_CUSTODY_ED25519_MATERIAL_KEY_KIND, O as storeWalletEmailOtpEd25519RegistrationData$1, S as storeWalletEcdsaRecoverySignerRecords$1, T as storeWalletEd25519RegistrationData$1, _ as rollbackWalletEd25519SignerRegistration$1, a as getLastUser$1, b as storeAuthenticator$1, c as hasPasskeyCredential$1, g as rollbackUserRegistration$1, i as getAllUsers$1, k as storeWalletEmailOtpMixedRegistrationData$1, l as nearAuthenticatorsByAccount$1, n as finalizeWalletEcdsaRegistration$1, o as getUserBySignerSlot$1, r as finalizeWalletEd25519SignerRegistration$1, s as getWalletNearProvisioningState$1, t as activateAuthenticatedWalletState$1, v as setLastUser$1, w as storeWalletEd25519RecoveryRegistrationData$1, x as storeUserData$1, y as setWalletNearProvisioningState$1 } from "./accountLifecycle-Ddavc_FC.js";
|
|
20
20
|
import { t as toAccountId } from "./accountIds-Ck4GAQfm.js";
|
|
21
21
|
import { C as buildFullOwnerDelegatedWalletAuthorityV1, S as parseExactAdministeredSignerManifestV1, T as hasDelegatedWalletPermissionV1, a as clampThresholdSessionPolicy, b as replaceActiveWalletAuthorityEd25519MaterialActivationV1, c as resolveWalletUnlockSessionUsesFromRequestedUses, d as computeWalletSignerActivationSetDigestB64u, f as encodeWalletSignerActivationSetV1, h as isActiveRecoveredWalletAuthorityV1, i as buildEd25519SessionPolicy, l as coerceThemeMode$1, o as normalizeThresholdRuntimePolicyScope, r as DEFAULT_UNLOCK_REMAINING_USES, t as DEFAULT_THRESHOLD_SESSION_POLICY, u as computeWalletAuthorityDigestB64u, y as parseWalletSignerActivationSetV1 } from "./sessionPolicy-B4FsPuk2.js";
|
|
22
|
-
import { $ as parseRouterAbEcdsaCredentialFreeSessionActivationResponseV1, $t as deriveRouterAbEd25519YaoApplicationBindingDigestV1, A as parseLinkedDeviceRevokeResultV1, An as
|
|
22
|
+
import { $ as parseRouterAbEcdsaCredentialFreeSessionActivationResponseV1, $t as deriveRouterAbEd25519YaoApplicationBindingDigestV1, A as parseLinkedDeviceRevokeResultV1, An as LINKED_DEVICE_ED25519_EXPORT_ROOT_TRANSFER_ALG_V1, At as buildEmailOtpWalletAuthAuthority, B as parseCommittedAuthorityPackagesV1, Bt as parseWalletAuthAuthorityRef, C as parseLinkedDeviceEmailOtpVerificationGrantV1, Cn as routerAbMpcMaterialActivationRefToWire, D as parseLinkedDeviceOwnerAuthorizationRequestV1, Dn as parseLinkedDeviceWalletSessionCredentialDeliveryBindingV1, Dt as sameRouterAbEcdsaRegistrationActivationReceiptV1, E as parseLinkedDeviceListResultV1, En as assertLinkedDeviceWalletSessionCredentialDeliveryIntegrityV1, Et as sameRouterAbEcdsaDerivationPublicIdentityV1, F as parseLocalAuthorityActivationFinalAckV1, Fn as serializeLinkedDeviceEd25519ExportRootTransferBindingV1, Ft as isEmailOtpWalletAuthAuthority, G as ROUTER_AB_ECDSA_DERIVATION_EXPORT_PATH, H as parseLinkedDeviceEd25519SourcePreservingReservationV1, Ht as walletAuthAuthorityRef, I as parseLocalAuthorityInstallationReceiptV1, It as isPasskeyWalletAuthAuthority, Kt as ROUTER_AB_ED25519_YAO_RECOVERY_ACTIVATE_PATH_V1, L as parseQrLinkedDeviceSessionPayloadV5, Lt as parseEmailOtpWalletAuthAuthority, M as parseLinkedDeviceTargetCredentialRegistrationResultV1, Mn as parseLinkedDeviceEd25519ExportRootPackageV1, N as parseLinkedDeviceTargetPreparationRequestV1, Nn as parseLinkedDeviceEd25519ExportRootRecipientPublicKeyB64u, O as parseLinkedDeviceOwnerAuthorizationSourceV1, On as parseLinkedDeviceWalletSessionCredentialDeliveryV1, P as parseLinkedDeviceTargetPreparationV1, Pn as parseLinkedDeviceEd25519ExportRootRecipientV1, Qt as ROUTER_AB_ED25519_YAO_WARM_RECOVERY_BOOTSTRAP_PATH_V1, R as parseWalletSessionOperationCredentialV1, S as parseLinkedDeviceEmailOtpFactorReleaseEnvelopeV1, Sn as routerAbMpcMaterialActivationRefFromWire, T as parseLinkedDeviceListRequestV1, Tt as sameRouterAbEcdsaDerivationPublicCapabilityV1, U as parseLinkedDeviceOrdinaryMaterialSourceContributionPreparationTupleV1, Ut as ROUTER_AB_ED25519_YAO_EMAIL_OTP_RECOVERY_BOOTSTRAP_KIND_V1, Vt as walletAuthAuthoritiesMatch, W as parseLinkedDeviceOrdinaryMaterialSourceContributionPreparationV1, Yt as ROUTER_AB_ED25519_YAO_RECOVERY_EXECUTE_PATH_V1, Zt as ROUTER_AB_ED25519_YAO_REGISTRATION_EXECUTE_PATH_V1, _ as parseLinkedDeviceEmailOtpBaseFactorResolutionResultV1, a as buildLinkedDeviceSessionCancelClaimedRequestV1, at as parseRouterAbEcdsaExplicitExportForwardedResponseV1, b as parseLinkedDeviceEmailOtpChallengeStartRequestV1, c as buildLinkedDeviceTargetCredentialRegistrationV1, cn as parseRouterAbEd25519YaoRecoveryActivationExecuteRequestV1, ct as parseRouterAbEcdsaOperationStepUpPreparationV1, dn as parseRouterAbEd25519YaoRecoveryAdmissionRequestV1, f as parseLinkDevicePublicKeyB64u, ft as parseRouterAbEcdsaRegistrationActivationReceiptV1, g as parseLinkedDeviceApprovalResultV1, gn as parseRouterAbEd25519YaoWarmRecoveryBootstrapRequestV1, h as parseLinkedDeviceApprovalDeliveryV1, i as buildLinkedDeviceApprovalV1, it as parseRouterAbEcdsaDerivationPublicCapabilityV1, j as parseLinkedDeviceSessionClaimV1, jn as buildLinkedDeviceEd25519ExportRootTransferBindingV1, jt as buildPasskeyWalletAuthAuthority, k as parseLinkedDeviceRevokeRequestV1, kt as sameRouterAbServerIdentityV1, l as buildQrLinkedDeviceSessionPayloadV5, ln as parseRouterAbEd25519YaoRecoveryActivationReceiptV1, m as parseLinkSessionTransportEventV1, mn as parseRouterAbEd25519YaoRegistrationActivationResultV1, o as buildLinkedDeviceSessionCancelUnclaimedRequestV1, p as parseLinkSessionProjectionV1, qt as ROUTER_AB_ED25519_YAO_RECOVERY_ADMISSION_PATH_V1, r as cloneAuthenticatorOptions, rt as parseRouterAbEcdsaDerivationNormalSigningStateV1, s as buildLinkedDeviceSessionClaimRequestV1, sn as parseRouterAbEd25519YaoRecoveryActivationAdmissionReceiptV1, t as MAX_DURABLE_CLIENT_PRESIGNATURE_LIFETIME_MS, u as parseActivateInstalledAuthorityResultV1, un as parseRouterAbEd25519YaoRecoveryActivationResultV1, ut as parseRouterAbEcdsaPostRegistrationSessionActivationRequestV1, v as parseLinkedDeviceEmailOtpChallengeResendRequestV1, vt as routerAbEcdsaDerivationActiveStateId, w as parseLinkedDeviceEmailOtpVerificationResultV1, wn as sameRouterAbMpcMaterialActivationRef, wt as sameRouterAbEcdsaDerivationNormalSigningStateV1, x as parseLinkedDeviceEmailOtpChallengeVerifyRequestV1, y as parseLinkedDeviceEmailOtpChallengeResultV1, z as serializeQrLinkedDeviceSessionPayloadV5 } from "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
23
23
|
import { a as buildNearEd25519MpcOperationRef, d as parseMpcWalletSigningQuotaId, g as parseWalletSessionMintId, h as parseWalletSessionId, i as buildEvmEcdsaMpcOperationRef, l as parseDeviceId, m as parseWalletSessionAuthorizationId, n as EVM_ECDSA_MPC_OPERATION_KINDS, o as buildVaultOperationRef, r as NEAR_ED25519_MPC_OPERATION_KINDS, t as CAPABILITY_KINDS } from "./capabilityKinds-jwCEaqBU.js";
|
|
24
24
|
import { $ as buildEmailOtpWalletAuthMethodBinding, A as signingLaneAuthBindingKey, B as exactSigningLaneIdentityMatches, E as SigningSessionIds, F as exactEd25519ExportMaterialIdentity, G as parseExactEcdsaSigningLaneIdentity, I as exactEd25519SigningLaneIdentity, J as parseOwnerLaneParticipantContinuityV1, K as parseExactEd25519ExportMaterialIdentity, M as buildEvmFamilyEcdsaSignerBinding, N as exactEcdsaSigningLaneIdentity, St as parseSdkEcdsaDerivationThresholdKeyId, T as SigningOperationIntent, U as nearEd25519SignerBindingFromBoundaryFields, V as exactSigningLaneWalletId, W as nearProtocolProjectionFromExactLane, X as parseLaneParticipantBindingDigestB64u, Y as parseLaneHolderParticipantRecordV1, Z as parseSigningWorkerParticipantRecordV1, _ as resolveThresholdSigningRootBindingFromRecord, a as buildEvmFamilyEcdsaWalletKey, bt as parseSdkEcdsaDerivationSigningRootId, c as buildResolvedEvmFamilyEcdsaKey, d as deriveEvmFamilyKeyFingerprint, et as buildPasskeyAuthScope, f as deriveEvmFamilyKeyFingerprintFromPublicFacts, i as buildEvmFamilyEcdsaSessionLanePolicy, it as parseRpId, j as signingLaneAuthMethod, m as evmFamilyEcdsaWalletKeyToIdentity, n as buildBaseEvmFamilyEcdsaKeyIdentity, nt as buildWalletIdentity, p as deriveEvmFamilySigningKeySlotId$1, r as buildEvmFamilyEcdsaRecoveredMaterialLanePolicy, rt as nearAccountBindingFromRaw, s as buildPasskeyEcdsaAuthBinding, t as assertMatchingVerifiedEcdsaPublicFacts, tt as buildPasskeyWalletAuthMethodBinding, v as resolveThresholdSigningRootBindingFromRuntimePolicyScope, vt as computeEcdsaDerivationRoleLocalRelayerKeyId, x as toRpId, xt as parseSdkEcdsaDerivationSigningRootVersion, y as toEvmFamilyEcdsaKeyHandle, z as exactSigningLaneIdentityKey } from "./evmFamilyEcdsaIdentity-_kuKSW35.js";
|
|
25
25
|
import { a as buildEmailOtpEnvelopeFactor, c as buildPasskeyEnvelopeFactor, d as parsePasskeyCustodyEnvelopeRecord, h as isWalletCustodySeedBinding, i as buildActiveEnvelopeLifecycle, l as custodyEnvelopeBindingJsonV1, m as buildEd25519YaoClientRootBinding, o as buildMethodBoundEnvelopeOwnership, s as buildPasskeyCustodyEnvelopeRecord } from "./passkey-custody-BaHyYMhj.js";
|
|
26
26
|
import { a as parseEcdsaRelayerKeyId, c as parseEcdsaRoleLocalMaterialHandle, d as parseEcdsaThresholdKeyId, f as parseSigningSessionSealKeyVersion, i as parseEcdsaKeyHandle, l as parseEcdsaRoleLocalPersistedMaterialRef, o as parseEcdsaRoleLocalBindingDigest, r as parseEcdsaClientVerifyingShareB64u, s as parseEcdsaRoleLocalDurableMaterialRef } from "./keyMaterialBrands-BbjCfzXv.js";
|
|
27
27
|
import { a as SIGNING_SESSION_EXPIRY_DETECTION_SOURCES, d as createLinkDeviceFlowEvent, f as createNearProvisioningStateChangedEvent, g as createUnlockFlowEvent, h as createSigningSessionExpiredEvent, i as RegistrationEventPhase, l as createAccountSyncFlowEvent, m as createSigningFlowEvent, n as KeyExportEventPhase, o as SigningEventPhase, p as createRegistrationFlowEvent, r as LinkDeviceEventPhase, s as UnlockEventPhase, t as AccountSyncEventPhase, u as createKeyExportFlowEvent } from "./sdkSentEvents-5Pi-hjHB.js";
|
|
28
|
-
import { D as computeWalletEcdsaKeyFactsInventoryChallengeDigestB64u, O as openWalletAuthorityLinkedSignerMaterialV1, _ as WalletSessionAuthorizationUpgradeRequiredError, c as configureIndexedDB, d as publishEd25519YaoPublicCapabilityReferenceAndLane, f as readEmailOtpProviderSubjectForWalletV1, h as importWalletCustodyEcdsaContinuity, i as getAccountKeyMaterial, k as parseWalletAuthorityLinkedSignerMaterialRecordV1, l as createIndexedDBNonceLaneCoordinationStore, m as copyWalletCustodyEcdsaContinuityToAuthMethod, n as loadWalletCustodyEd25519MaterialV1, o as storeAccountKeyMaterial, p as IndexedDbEcdsaCapabilityManifestStore, r as persistWalletCustodyEd25519MaterialV1, s as IndexedDBManager, t as deleteWalletCustodyEd25519MaterialV1, u as IndexedDbEd25519YaoPublicCapabilityReferenceStore, v as walletSessionAuthorizations } from "./ed25519SeedMaterial-
|
|
28
|
+
import { D as computeWalletEcdsaKeyFactsInventoryChallengeDigestB64u, O as openWalletAuthorityLinkedSignerMaterialV1, _ as WalletSessionAuthorizationUpgradeRequiredError, c as configureIndexedDB, d as publishEd25519YaoPublicCapabilityReferenceAndLane, f as readEmailOtpProviderSubjectForWalletV1, h as importWalletCustodyEcdsaContinuity, i as getAccountKeyMaterial, k as parseWalletAuthorityLinkedSignerMaterialRecordV1, l as createIndexedDBNonceLaneCoordinationStore, m as copyWalletCustodyEcdsaContinuityToAuthMethod, n as loadWalletCustodyEd25519MaterialV1, o as storeAccountKeyMaterial, p as IndexedDbEcdsaCapabilityManifestStore, r as persistWalletCustodyEd25519MaterialV1, s as IndexedDBManager, t as deleteWalletCustodyEd25519MaterialV1, u as IndexedDbEd25519YaoPublicCapabilityReferenceStore, v as walletSessionAuthorizations } from "./ed25519SeedMaterial-Cghz8-XB.js";
|
|
29
29
|
import { t as parseSignerSlot } from "./signerSlot-DbNAs-kc.js";
|
|
30
30
|
import "./keccak-DY5wDsym.js";
|
|
31
31
|
import { a as SIGNING_SESSION_SEAL_ALG, l as parseRouterAbEd25519NormalSigningState, n as PASSKEY_PRF_SECOND_SALT_V1, o as SIGNING_SESSION_SEAL_GROUP_ID, r as ROUTER_AB_ED25519_NORMAL_SIGNING_STATE_KIND, t as PASSKEY_PRF_FIRST_SALT_V1 } from "./signingSessionSeal-CdtgXHSL.js";
|
|
32
32
|
import { t as demoEmailOtpCodeFromDelivery } from "./challengeDelivery-BjLKoou3.js";
|
|
33
|
-
import { _ as parseEmailOtpEcdsaExportWorkerIssuedSessionHandle, a as createSigningPlannerDecisionTraceEvent, c as nearImplicitAccountFundingPort, d as mintEd25519WalletSession, f as nearOperationStepUpPreparationPort, g as buildNearMessageDisplayModel, h as buildNearDisplayModel, i as withThresholdEd25519CommitQueue, l as buildThresholdEd25519WebAuthnPrfSecretSource, m as getLastLoggedInSignerSlot, o as planSigningSession, p as deriveThresholdEd25519ClientVerifyingShareWasm, r as resolveThresholdEd25519CommitQueueKey, s as parseAndValidateRegistrationCredentialConfirmationPayload, t as signNear, u as localPrfFirstForEd25519WalletSessionMintAuthorization, v as parseEmailOtpWorkerIssuedSessionHandle } from "./signNear-
|
|
33
|
+
import { _ as parseEmailOtpEcdsaExportWorkerIssuedSessionHandle, a as createSigningPlannerDecisionTraceEvent, c as nearImplicitAccountFundingPort, d as mintEd25519WalletSession, f as nearOperationStepUpPreparationPort, g as buildNearMessageDisplayModel, h as buildNearDisplayModel, i as withThresholdEd25519CommitQueue, l as buildThresholdEd25519WebAuthnPrfSecretSource, m as getLastLoggedInSignerSlot, o as planSigningSession, p as deriveThresholdEd25519ClientVerifyingShareWasm, r as resolveThresholdEd25519CommitQueueKey, s as parseAndValidateRegistrationCredentialConfirmationPayload, t as signNear, u as localPrfFirstForEd25519WalletSessionMintAuthorization, v as parseEmailOtpWorkerIssuedSessionHandle } from "./signNear-B0OCVKoH.js";
|
|
34
34
|
import { t as executeWorkerOperation } from "./executeWorkerOperation-Bn8GEuT_.js";
|
|
35
|
-
import { A as thresholdEcdsaRoleLocalComputeSignatureShareFromPresignatureHandleWasm, B as SignerWorkerOperationError, C as prepareLinkedDeviceEcdsaSourceContributionWasm, D as storeLinkedDeviceEcdsaHolderMaterialWasm, E as storeEcdsaRoleLocalSigningMaterialWasm, F as thresholdEcdsaRoleLocalPresignSessionStepWasm, H as getSignerWorkerOperationCoreCode, I as thresholdEcdsaRoleLocalReservePresignatureWasm, L as verifyRouterAbEcdsaRegistrationClientProofsWasm, M as thresholdEcdsaRoleLocalListAvailablePresignaturesWasm, N as thresholdEcdsaRoleLocalPresignSessionAbortWasm, O as thresholdEcdsaRoleLocalAdmitPresignatureWasm, P as thresholdEcdsaRoleLocalPresignSessionInitFromMaterialHandleWasm, R as EcdsaDerivationClientCustomRequestType, S as prepareEcdsaClientBootstrapCommandWasm, T as signWalletRecoveryEcdsaMaterialPossessionProofWasm, U as getSignerWorkerOperationErrorCode, V as WorkerControlMessage, _ as finalizeEcdsaHolderOrdinaryExportWasm, a as resolveRouterAbEcdsaDerivationPresignaturePoolPolicy, b as openEcdsaRoleLocalSigningMaterialWasm, c as clearLinkedDeviceEcdsaHolderMaterialsWasm, d as createEcdsaHolderOrdinaryExportRequestWasm, f as createRouterAbEcdsaPostRegistrationCeremonyWasm, g as finalizeEcdsaClientBootstrapCommandWasm, h as destroyLinkedDeviceEcdsaHolderMaterialsWasm, i as clearRouterAbEcdsaDerivationClientPresignaturesForWallet, j as thresholdEcdsaRoleLocalDestroyPresignatureWasm, k as thresholdEcdsaRoleLocalCommitPresignatureWasm, l as closeRouterAbEcdsaPostRegistrationCeremonyWasm, m as destroyLinkedDeviceEcdsaHolderMaterialWasm, o as scheduleRouterAbEcdsaDerivationClientPresignaturePoolRefill, p as createRouterAbEcdsaRegistrationCeremonyWasm, r as clearAllRouterAbEcdsaDerivationClientPresignatures, s as waitForRouterAbEcdsaDerivationClientPresignaturePoolReady, u as closeRouterAbEcdsaRegistrationCeremonyWasm, v as finalizeRouterAbEcdsaExplicitExportWasm, w as reconcileCanonicalEcdsaActivationWasm, x as persistInitialCanonicalEcdsaActivationWasm, y as finalizeRouterAbEcdsaRegistrationActivationWasm, z as EcdsaPresignClientRequestType } from "./secp256k1-
|
|
35
|
+
import { A as thresholdEcdsaRoleLocalComputeSignatureShareFromPresignatureHandleWasm, B as SignerWorkerOperationError, C as prepareLinkedDeviceEcdsaSourceContributionWasm, D as storeLinkedDeviceEcdsaHolderMaterialWasm, E as storeEcdsaRoleLocalSigningMaterialWasm, F as thresholdEcdsaRoleLocalPresignSessionStepWasm, H as getSignerWorkerOperationCoreCode, I as thresholdEcdsaRoleLocalReservePresignatureWasm, L as verifyRouterAbEcdsaRegistrationClientProofsWasm, M as thresholdEcdsaRoleLocalListAvailablePresignaturesWasm, N as thresholdEcdsaRoleLocalPresignSessionAbortWasm, O as thresholdEcdsaRoleLocalAdmitPresignatureWasm, P as thresholdEcdsaRoleLocalPresignSessionInitFromMaterialHandleWasm, R as EcdsaDerivationClientCustomRequestType, S as prepareEcdsaClientBootstrapCommandWasm, T as signWalletRecoveryEcdsaMaterialPossessionProofWasm, U as getSignerWorkerOperationErrorCode, V as WorkerControlMessage, _ as finalizeEcdsaHolderOrdinaryExportWasm, a as resolveRouterAbEcdsaDerivationPresignaturePoolPolicy, b as openEcdsaRoleLocalSigningMaterialWasm, c as clearLinkedDeviceEcdsaHolderMaterialsWasm, d as createEcdsaHolderOrdinaryExportRequestWasm, f as createRouterAbEcdsaPostRegistrationCeremonyWasm, g as finalizeEcdsaClientBootstrapCommandWasm, h as destroyLinkedDeviceEcdsaHolderMaterialsWasm, i as clearRouterAbEcdsaDerivationClientPresignaturesForWallet, j as thresholdEcdsaRoleLocalDestroyPresignatureWasm, k as thresholdEcdsaRoleLocalCommitPresignatureWasm, l as closeRouterAbEcdsaPostRegistrationCeremonyWasm, m as destroyLinkedDeviceEcdsaHolderMaterialWasm, o as scheduleRouterAbEcdsaDerivationClientPresignaturePoolRefill, p as createRouterAbEcdsaRegistrationCeremonyWasm, r as clearAllRouterAbEcdsaDerivationClientPresignatures, s as waitForRouterAbEcdsaDerivationClientPresignaturePoolReady, u as closeRouterAbEcdsaRegistrationCeremonyWasm, v as finalizeRouterAbEcdsaExplicitExportWasm, w as reconcileCanonicalEcdsaActivationWasm, x as persistInitialCanonicalEcdsaActivationWasm, y as finalizeRouterAbEcdsaRegistrationActivationWasm, z as EcdsaPresignClientRequestType } from "./secp256k1-Cr1jBW1n.js";
|
|
36
36
|
import { c as serializeRegistrationCredentialWithPRF, i as normalizeAuthenticationCredential, l as getPrfFirstB64uFromCredential, n as getPrfSecondSaltV1, o as redactedPasskeyRegistrationCredential, r as isSerializedRegistrationCredential, s as serializeAuthenticationCredentialWithPRF, t as getPrfFirstSaltV1, u as redactCredentialExtensionOutputs } from "./helpers-DpRjHMBx.js";
|
|
37
|
-
import { C as validateTempoFeeToken, D as requestParentDomainWebAuthn, E as executeWebAuthnWithParentFallbacksSafari, S as requireTempoFeeTokenPreferenceSigningRequest, T as WindowParentDomainWebAuthnClient, b as parseTempoEvmAddress, d as walletIframeUnlockRequestFromLoginHooks, f as needsExplicitActivation, p as OverlayController, r as parseWalletIframeExactSessionIdentity, x as readTempoFeeTokenPreference, y as buildTempoSetUserTokenRequest } from "./exactSessionState-
|
|
38
|
-
import { C as ecdsaRoleLocalReadyRecordMatchesInput, E as parseEcdsaRoleLocalReadyRecord, O as serializeEcdsaRoleLocalReadyRecord, S as buildEcdsaRoleLocalPublicFacts, T as ecdsaRoleLocalReadyRecordStorageKeyFacts, b as buildEcdsaRoleLocalEmailOtpAuthMethod, w as ecdsaRoleLocalReadyRecordStorageKey, x as buildEcdsaRoleLocalPasskeyAuthMethod, y as routerAbEcdsaDerivationPublicCapabilitiesEqual } from "./ecdsaCapabilityManifest-
|
|
37
|
+
import { C as validateTempoFeeToken, D as requestParentDomainWebAuthn, E as executeWebAuthnWithParentFallbacksSafari, S as requireTempoFeeTokenPreferenceSigningRequest, T as WindowParentDomainWebAuthnClient, b as parseTempoEvmAddress, d as walletIframeUnlockRequestFromLoginHooks, f as needsExplicitActivation, p as OverlayController, r as parseWalletIframeExactSessionIdentity, x as readTempoFeeTokenPreference, y as buildTempoSetUserTokenRequest } from "./exactSessionState-Bt0HforB.js";
|
|
38
|
+
import { C as ecdsaRoleLocalReadyRecordMatchesInput, E as parseEcdsaRoleLocalReadyRecord, O as serializeEcdsaRoleLocalReadyRecord, S as buildEcdsaRoleLocalPublicFacts, T as ecdsaRoleLocalReadyRecordStorageKeyFacts, b as buildEcdsaRoleLocalEmailOtpAuthMethod, w as ecdsaRoleLocalReadyRecordStorageKey, x as buildEcdsaRoleLocalPasskeyAuthMethod, y as routerAbEcdsaDerivationPublicCapabilitiesEqual } from "./ecdsaCapabilityManifest-C8itxV9S.js";
|
|
39
39
|
import { i as buildNearAccountRefs } from "./profileAccountProjection-C9rVhbeJ.js";
|
|
40
40
|
import { a as isWorkerError, o as isWorkerProgress, s as isWorkerSuccess, t as DEFAULT_CONFIRMATION_CONFIG } from "./signer-worker-DYRteieu.js";
|
|
41
|
-
import { A as
|
|
41
|
+
import { A as activateRouterAbEcdsaPostRegistrationSession, C as requestAddAuthMethodEmailOtpChallenge, E as revokeWalletAuthMethod, O as startWalletAddAuthMethod, _ as fetchWalletEcdsaKeyFactsInventoryWithWebAuthn, a as buildRehydrateMaterialActivationHydrationPlan, b as fundImplicitNearAccountForTesting, g as fetchWalletEcdsaKeyFactsInventoryWithOperationCredential, i as buildBlockedMpcCapabilityHydrationPlan, j as parseProfileContinuityEcdsaWarmKey, l as computeWalletCustodyAdminChallengeDigest, m as createWalletAddAuthMethodIntent, n as nearEd25519YaoRuntimeRef, o as buildUseLiveRuntimeHydrationPlan, r as resolveNearEd25519YaoCapabilityHydrationV1, t as nearEd25519YaoMaterialActivationFromMetadata, v as finalizeWalletAddAuthMethod } from "./nearEd25519YaoMaterialActivation-BLxVE6E5.js";
|
|
42
42
|
import { n as buildRelayerJsonPostRequestInit, r as normalizeRelayerBaseUrl, t as buildBearerAuthorizationHeader } from "./relayerHttp-LsVTZCxA.js";
|
|
43
|
-
import { _ as isEmailOtpPendingSingleUseAuthContext, a as nearEd25519SessionMatchesMaterialActivation, b as laneCandidateStateFromRuntimePolicy, d as buildEmailOtpAuthContextForWalletAuthMethod, f as emailOtpAuthContextConsumedAtMs, g as emailOtpAuthContextRetention, h as emailOtpAuthContextProviderUserId, i as classifyNearEd25519WalletSessionAuthorization, m as emailOtpAuthContextProvider, n as buildAuthorizationRequiredNearEd25519YaoSigningPreparation, p as emailOtpAuthContextEmailHashHex, r as buildAuthorizedNearEd25519YaoSigningPreparation, t as buildActiveNearEd25519WalletSessionAuthorization, u as buildEmailOtpAuthContextForCanonicalWallet, v as isEmailOtpSessionAuthContext, x as selectedEcdsaLane } from "./nearEd25519YaoSigningPreparation-
|
|
43
|
+
import { _ as isEmailOtpPendingSingleUseAuthContext, a as nearEd25519SessionMatchesMaterialActivation, b as laneCandidateStateFromRuntimePolicy, d as buildEmailOtpAuthContextForWalletAuthMethod, f as emailOtpAuthContextConsumedAtMs, g as emailOtpAuthContextRetention, h as emailOtpAuthContextProviderUserId, i as classifyNearEd25519WalletSessionAuthorization, m as emailOtpAuthContextProvider, n as buildAuthorizationRequiredNearEd25519YaoSigningPreparation, p as emailOtpAuthContextEmailHashHex, r as buildAuthorizedNearEd25519YaoSigningPreparation, t as buildActiveNearEd25519WalletSessionAuthorization, u as buildEmailOtpAuthContextForCanonicalWallet, v as isEmailOtpSessionAuthContext, x as selectedEcdsaLane } from "./nearEd25519YaoSigningPreparation-DX6xG-IW.js";
|
|
44
44
|
import { a as throwEmailOtpSigningSessionAuthStateError, i as emailOtpEcdsaBootstrapRouteAuthFromRoutePlan, n as buildEmailOtpSigningSessionRoutePlan, o as buildEmailOtpRoutePlan, r as buildFreshEmailOtpRoutePlan, t as assertEmailOtpSigningSessionAuthLane } from "./routePlan-nLpPFHB-.js";
|
|
45
45
|
import "./operationFingerprint-CsYO6b0a.js";
|
|
46
|
-
import { n as generateSessionId, t as cacheCredentialBoundarySetupExportPrfFirst } from "./prfCache-
|
|
46
|
+
import { n as generateSessionId, t as cacheCredentialBoundarySetupExportPrfFirst } from "./prfCache-CgAr-VEU.js";
|
|
47
47
|
import { c as emitSigningSessionFlowFailure, l as emitSigningSessionFlowTrace } from "./trace-DWnDLSuV.js";
|
|
48
48
|
import { t as webAuthnPromptCoordinator } from "./webauthnPromptCoordinator-CLeba8ru.js";
|
|
49
49
|
import { a as toActionArgsWasm, t as ActionType } from "./actions-DsBQcjBn.js";
|
|
50
50
|
import { t as MinimalNearClient } from "./NearClient-BQgcqAzG.js";
|
|
51
|
-
import { A as UserConfirmMessageType, C as getSignIntentDigestSubject, E as getTxCount, M as normalizeConfirmationConfig, S as getNearAccountId, T as getSigningAuthMode, _ as sendConfirmProgress, a as formatNearAccountFundingProgressNotice, b as assertSigningRequestContext, c as collectAuthenticationCredentialForChallengeB64u, d as collectAuthenticationCredentialForWalletChallengeB64u, f as ERROR_MESSAGES, g as sanitizeForPostMessage, h as parseTransactionSummary, i as formatNearAccountFundingNotice, j as UserConfirmationType, m as isUserCancelledUserConfirm, n as createConfirmTxFlowAdapters, o as __isWalletIframeHostMode, p as createUserConfirmScopedWorker, r as mountConfirmUI, s as __setWalletIframeHostMode, t as createConfirmSession, v as sendConfirmResponse, w as getSignTransactionPayload, x as getIntentDigest, y as assertNoForbiddenMainThreadSigningSecrets } from "./adapters-
|
|
51
|
+
import { A as UserConfirmMessageType, C as getSignIntentDigestSubject, E as getTxCount, M as normalizeConfirmationConfig, S as getNearAccountId, T as getSigningAuthMode, _ as sendConfirmProgress, a as formatNearAccountFundingProgressNotice, b as assertSigningRequestContext, c as collectAuthenticationCredentialForChallengeB64u, d as collectAuthenticationCredentialForWalletChallengeB64u, f as ERROR_MESSAGES, g as sanitizeForPostMessage, h as parseTransactionSummary, i as formatNearAccountFundingNotice, j as UserConfirmationType, m as isUserCancelledUserConfirm, n as createConfirmTxFlowAdapters, o as __isWalletIframeHostMode, p as createUserConfirmScopedWorker, r as mountConfirmUI, s as __setWalletIframeHostMode, t as createConfirmSession, v as sendConfirmResponse, w as getSignTransactionPayload, x as getIntentDigest, y as assertNoForbiddenMainThreadSigningSecrets } from "./adapters-LgE4nnos.js";
|
|
52
52
|
import { i as orderActionForDigest, n as computeUiIntentDigestFromNep413, r as computeUiIntentDigestFromTxs } from "./intentDigest-A1MbbJPu.js";
|
|
53
53
|
import { r as showWalletRecoveryCodesUi, t as pendingWalletRecoveryCodeBackupRepository } from "./pendingWalletRecoveryCodeBackup-DyvRysWg.js";
|
|
54
54
|
import { t as createEvmClient } from "./EvmClient-CHw6txjt.js";
|
|
55
55
|
import { n as resolveAppearanceTheme, o as resolveThemePalette } from "./configHelpers-DB73zYvO.js";
|
|
56
56
|
import { n as getDefaultCspNonce, t as createCspStylesheetManager } from "./csp-stylesheet-DLj_a6t_.js";
|
|
57
|
-
import { r as buildConfigsFromEnv } from "./defaultConfigs-
|
|
57
|
+
import { r as buildConfigsFromEnv } from "./defaultConfigs-CyNOW4Sy.js";
|
|
58
58
|
import { t as createNonceCoordinator } from "./NonceCoordinator-C7QltTDC.js";
|
|
59
|
-
import { i as resumePendingWalletRecoveries } from "./walletRecoveryCommit-
|
|
60
|
-
import { i as loadWebAuthnP256EngineCtor, n as loadSignEvmFamilyWithUiConfirmForTempo, r as loadSignEvmWithUiConfirm, t as loadSecp256k1EngineCtor } from "./signerLoader-
|
|
61
|
-
import { A as authorizeEvmFamilyEcdsaSigningCapability, B as listLinkedEcdsaHolderRuntimesV1, C as buildExactPasskeyOwnerLaneScope, D as buildPersistedEcdsaRoleLocalMaterial, E as resolveExactWalletAuthAuthority$1, F as signingAuthorizationFromPreprocessing, H as resolveLinkedEcdsaHolderRuntimeV1, I as ensureSealedRefreshStartupParityForThresholdEcdsaBootstrap, L as isRetryableSealedRefreshCapabilityFetchError, M as buildEcdsaPreprocessingCapability, N as buildExactEcdsaDirectCapabilityRuntime, O as ecdsaRoleLocalPersistedMaterialSource, P as buildExactEvmFamilyWalletSessionAuthorization, R as clearLinkedEcdsaHolderRuntimesV1, S as buildExactLinkedEmailOtpOwnerLaneScope, T as resolveExactOwnerLaneScope, V as removeLinkedEcdsaHolderRuntimeV1, _ as resolveEmailOtpEcdsaSigningSessionAuth, a as reportTempoFinalized, b as withThresholdEcdsaSigningQueue, c as resolveActiveWalletAuthorityEcdsaRuntimeV1, d as createActiveEcdsaCapabilityRuntimeForChainResolver, f as createActiveEcdsaCapabilityRuntimeResolver, g as requestEmailOtpSigningSessionChallenge$1, h as refreshEmailOtpSigningSession$1, i as reportTempoDroppedOrReplaced, j as buildCanonicalEvmFamilyEcdsaSigningCapability, k as resolveEcdsaRoleLocalMaterial, l as issueEcdsaOperationStepUpAuthorization, m as resolveExactEcdsaSealedRuntime, n as reportTempoBroadcastAccepted, o as signEvmFamily, p as resolveExactEcdsaCapabilityRuntime, r as reportTempoBroadcastRejected, t as reconcileTempoNonceLane, u as prepareEcdsaOperationStepUp, v as clearThresholdEcdsaSigningQueue, w as isOwnerRelinkRequiredError, x as buildExactEcdsaPasskeyOwnerLaneScope, y as resolveThresholdEcdsaSigningQueueKey, z as installLinkedEcdsaHolderRuntimeV1 } from "./signEvmFamily-
|
|
59
|
+
import { i as resumePendingWalletRecoveries } from "./walletRecoveryCommit-G6w6N5RV.js";
|
|
60
|
+
import { i as loadWebAuthnP256EngineCtor, n as loadSignEvmFamilyWithUiConfirmForTempo, r as loadSignEvmWithUiConfirm, t as loadSecp256k1EngineCtor } from "./signerLoader-D0WU1jq_.js";
|
|
61
|
+
import { A as authorizeEvmFamilyEcdsaSigningCapability, B as listLinkedEcdsaHolderRuntimesV1, C as buildExactPasskeyOwnerLaneScope, D as buildPersistedEcdsaRoleLocalMaterial, E as resolveExactWalletAuthAuthority$1, F as signingAuthorizationFromPreprocessing, H as resolveLinkedEcdsaHolderRuntimeV1, I as ensureSealedRefreshStartupParityForThresholdEcdsaBootstrap, L as isRetryableSealedRefreshCapabilityFetchError, M as buildEcdsaPreprocessingCapability, N as buildExactEcdsaDirectCapabilityRuntime, O as ecdsaRoleLocalPersistedMaterialSource, P as buildExactEvmFamilyWalletSessionAuthorization, R as clearLinkedEcdsaHolderRuntimesV1, S as buildExactLinkedEmailOtpOwnerLaneScope, T as resolveExactOwnerLaneScope, V as removeLinkedEcdsaHolderRuntimeV1, _ as resolveEmailOtpEcdsaSigningSessionAuth, a as reportTempoFinalized, b as withThresholdEcdsaSigningQueue, c as resolveActiveWalletAuthorityEcdsaRuntimeV1, d as createActiveEcdsaCapabilityRuntimeForChainResolver, f as createActiveEcdsaCapabilityRuntimeResolver, g as requestEmailOtpSigningSessionChallenge$1, h as refreshEmailOtpSigningSession$1, i as reportTempoDroppedOrReplaced, j as buildCanonicalEvmFamilyEcdsaSigningCapability, k as resolveEcdsaRoleLocalMaterial, l as issueEcdsaOperationStepUpAuthorization, m as resolveExactEcdsaSealedRuntime, n as reportTempoBroadcastAccepted, o as signEvmFamily, p as resolveExactEcdsaCapabilityRuntime, r as reportTempoBroadcastRejected, t as reconcileTempoNonceLane, u as prepareEcdsaOperationStepUp, v as clearThresholdEcdsaSigningQueue, w as isOwnerRelinkRequiredError, x as buildExactEcdsaPasskeyOwnerLaneScope, y as resolveThresholdEcdsaSigningQueueKey, z as installLinkedEcdsaHolderRuntimeV1 } from "./signEvmFamily-Dxk4sBPY.js";
|
|
62
62
|
import { n as SigningAuthPlanKind } from "./promptText-BEgOkGxB.js";
|
|
63
63
|
import { C as isSigningOperationReviewApprovedStateKind, d as fullWalletLoginRequired, f as invalidWalletSigningMaterial, m as walletSigningMaterialBlockError, p as isWalletSigningStateFailure, v as SigningOperationInteractionEventKind } from "./operationFingerprint-DEPg9A3h.js";
|
|
64
|
-
import { _ as WALLET_SESSION_FAILURE_CODES, g as walletSessionFailureFromError, h as walletSessionFailureFromCode, p as WalletSessionFailureError } from "./routerAbNormalSigning-
|
|
65
|
-
import { _ as parseWalletSessionAuthorizationBoundary, d as availableEd25519SigningLaneAuthMethod, f as ecdsaAvailableLaneCandidatesForTarget, g as readAvailableSigningLanes, h as isConcreteAvailableSigningLane, l as activeWalletAuthorityAvailableLaneFromProjection, m as ecdsaAvailableLaneIdentityKey, p as ecdsaAvailableLaneForTarget, u as availableEcdsaSigningLaneAuthMethod, v as requireAuthoritativeExpiredWalletSessionAuthorizationBoundary } from "./transactionState-
|
|
64
|
+
import { _ as WALLET_SESSION_FAILURE_CODES, g as walletSessionFailureFromError, h as walletSessionFailureFromCode, p as WalletSessionFailureError } from "./routerAbNormalSigning-DktZKnf1.js";
|
|
65
|
+
import { _ as parseWalletSessionAuthorizationBoundary, d as availableEd25519SigningLaneAuthMethod, f as ecdsaAvailableLaneCandidatesForTarget, g as readAvailableSigningLanes, h as isConcreteAvailableSigningLane, l as activeWalletAuthorityAvailableLaneFromProjection, m as ecdsaAvailableLaneIdentityKey, p as ecdsaAvailableLaneForTarget, u as availableEcdsaSigningLaneAuthMethod, v as requireAuthoritativeExpiredWalletSessionAuthorizationBoundary } from "./transactionState-Bpm4GamO.js";
|
|
66
66
|
import { t as bytesToHex } from "./bytes-CwytAKz8.js";
|
|
67
67
|
import { a as PENDING_CHALLENGE_B64U, c as consumeIntentDigestPreparation, l as createEvmNonceBackend, n as EvmFamilyEcdsaMaterialSupersededError, s as clearIntentDigestPreparation } from "./signatureUses-C1o1pDql.js";
|
|
68
|
-
import { n as removeExportViewerHostIfPresent, t as isExportViewerSessionOpen } from "./export-viewer-host-
|
|
68
|
+
import { n as removeExportViewerHostIfPresent, t as isExportViewerSessionOpen } from "./export-viewer-host-B3K81QGA.js";
|
|
69
69
|
import { i as observeTransactionLifecycleReport, n as failTransactionActivity, r as observeTransactionActivity, t as beginTransactionActivity } from "./transaction-activity-DKgIGpKG.js";
|
|
70
70
|
import "./jsxRuntime.module-FAP0NE9p.js";
|
|
71
|
-
import { t as handleRegistrationFlow } from "./registration-
|
|
71
|
+
import { t as handleRegistrationFlow } from "./registration-BtPLgKHk.js";
|
|
72
72
|
import { i as rotateWalletRecoverySet, n as readWalletRecoveryCodeStatus, r as requestWalletCustodyEmailOtpChallenge, t as acknowledgeWalletRecoveryBackup } from "./walletRecoveryRotate-BYOYJAyb.js";
|
|
73
73
|
//#region src/core/walletRuntimePaths/workers.ts
|
|
74
74
|
/**
|
|
@@ -7759,13 +7759,13 @@ async function handlePromptFromWorker(ctx, message, worker, options) {
|
|
|
7759
7759
|
switch (request.type) {
|
|
7760
7760
|
case UserConfirmationType.AUTHORIZE_KEY_EXPORT:
|
|
7761
7761
|
case UserConfirmationType.SHOW_SECURE_PRIVATE_KEY_UI: {
|
|
7762
|
-
const { handleLocalOnlyFlow } = await import("./localOnly-
|
|
7762
|
+
const { handleLocalOnlyFlow } = await import("./localOnly-B5TYHJiq.js");
|
|
7763
7763
|
await handleLocalOnlyFlow(ctx, request, scopedWorker, flowOptions);
|
|
7764
7764
|
break;
|
|
7765
7765
|
}
|
|
7766
7766
|
case UserConfirmationType.REGISTER_ACCOUNT:
|
|
7767
7767
|
case UserConfirmationType.LINK_DEVICE: {
|
|
7768
|
-
const { handleRegistrationFlow } = await import("./registration-
|
|
7768
|
+
const { handleRegistrationFlow } = await import("./registration-BtPLgKHk.js").then((n) => n.n);
|
|
7769
7769
|
await handleRegistrationFlow(ctx, request, scopedWorker, flowOptions);
|
|
7770
7770
|
break;
|
|
7771
7771
|
}
|
|
@@ -10232,7 +10232,8 @@ var PasskeyMpcSessionDurableState = class {
|
|
|
10232
10232
|
metadata,
|
|
10233
10233
|
purpose,
|
|
10234
10234
|
relayerUrl,
|
|
10235
|
-
diagnostics: args.diagnostics
|
|
10235
|
+
diagnostics: args.diagnostics,
|
|
10236
|
+
completedSeal: args.completedSeal
|
|
10236
10237
|
});
|
|
10237
10238
|
else persistTask = this.persistExactRecord({
|
|
10238
10239
|
thresholdSessionId,
|
|
@@ -10240,7 +10241,8 @@ var PasskeyMpcSessionDurableState = class {
|
|
|
10240
10241
|
metadata,
|
|
10241
10242
|
purpose,
|
|
10242
10243
|
relayerUrl,
|
|
10243
|
-
diagnostics: args.diagnostics
|
|
10244
|
+
diagnostics: args.diagnostics,
|
|
10245
|
+
completedSeal: args.completedSeal
|
|
10244
10246
|
});
|
|
10245
10247
|
const task = persistTask.finally(() => {
|
|
10246
10248
|
signingSessionSealPersistSingleFlight.delete(singleFlightKey);
|
|
@@ -10381,7 +10383,7 @@ var PasskeyMpcSessionDurableState = class {
|
|
|
10381
10383
|
};
|
|
10382
10384
|
const groupId = SIGNING_SESSION_SEAL_GROUP_ID;
|
|
10383
10385
|
const sealStartedAt = performance.now();
|
|
10384
|
-
const sealed = await this.deps.sealAndPersistWarmSessionMaterial({
|
|
10386
|
+
const sealed = args.completedSeal ?? await this.deps.sealAndPersistWarmSessionMaterial({
|
|
10385
10387
|
thresholdSessionId: args.thresholdSessionId,
|
|
10386
10388
|
transport: normalizedPasskeyTransport(args.transport, groupId)
|
|
10387
10389
|
});
|
|
@@ -10711,7 +10713,8 @@ var PasskeyMpcSessionManagerImpl = class {
|
|
|
10711
10713
|
this.boundHandleWorkerMessage = this.handleWorkerMessage.bind(this);
|
|
10712
10714
|
this.boundHandleWorkerError = this.handleWorkerError.bind(this);
|
|
10713
10715
|
this.putWarmSessionMaterial = async (args) => {
|
|
10714
|
-
const { diagnostics, ...workerPayload } = args;
|
|
10716
|
+
const { diagnostics, preparedServerSeal, ...workerPayload } = args;
|
|
10717
|
+
if (preparedServerSeal && !args.transport) throw new Error("Prepared server seal requires exact persistence transport");
|
|
10715
10718
|
const workerReadyStartedAt = performance.now();
|
|
10716
10719
|
await this.ensureWorkerReady();
|
|
10717
10720
|
recordDiagnosticDuration({
|
|
@@ -10734,11 +10737,38 @@ var PasskeyMpcSessionManagerImpl = class {
|
|
|
10734
10737
|
bucket: "worker_put",
|
|
10735
10738
|
startedAt: workerPutStartedAt
|
|
10736
10739
|
});
|
|
10740
|
+
let completedSeal;
|
|
10741
|
+
if (preparedServerSeal && args.transport) {
|
|
10742
|
+
const completed = await this.sendMessage({
|
|
10743
|
+
type: "COMPLETE_SESSION_CLIENT_SEAL",
|
|
10744
|
+
id: this.generateMessageId(),
|
|
10745
|
+
payload: {
|
|
10746
|
+
preparationId: preparedServerSeal.preparationId,
|
|
10747
|
+
thresholdSessionId: args.thresholdSessionId,
|
|
10748
|
+
transport: requirePasskeySealTransport(args.transport),
|
|
10749
|
+
serverSeal: {
|
|
10750
|
+
ok: true,
|
|
10751
|
+
ciphertext: preparedServerSeal.ciphertext,
|
|
10752
|
+
keyVersion: preparedServerSeal.keyVersion,
|
|
10753
|
+
expiresAtMs: preparedServerSeal.expiresAtMs,
|
|
10754
|
+
remainingUses: preparedServerSeal.remainingUses
|
|
10755
|
+
}
|
|
10756
|
+
}
|
|
10757
|
+
});
|
|
10758
|
+
const parsed = completed.success ? parseWarmSessionSealAndPersistResult(completed.data) : null;
|
|
10759
|
+
if (!parsed) {
|
|
10760
|
+
const message = completed.success ? "Prepared signing-session seal returned an invalid response" : completed.error || "Prepared signing-session seal failed";
|
|
10761
|
+
throw new Error(message);
|
|
10762
|
+
}
|
|
10763
|
+
if (!parsed.ok) throw new Error(`Prepared signing-session seal failed (${parsed.code}): ${parsed.message}`);
|
|
10764
|
+
completedSeal = parsed;
|
|
10765
|
+
}
|
|
10737
10766
|
const persistStartedAt = performance.now();
|
|
10738
|
-
const persisted = args.transport ? await this.persistSigningSessionSealForThresholdSession({
|
|
10767
|
+
const persisted = args.transport ? await this.durableState.persistSigningSessionSealForThresholdSession({
|
|
10739
10768
|
thresholdSessionId: args.thresholdSessionId,
|
|
10740
10769
|
transport: requirePasskeySealTransport(args.transport),
|
|
10741
|
-
...diagnostics ? { diagnostics } : {}
|
|
10770
|
+
...diagnostics ? { diagnostics } : {},
|
|
10771
|
+
...completedSeal ? { completedSeal } : {}
|
|
10742
10772
|
}) : null;
|
|
10743
10773
|
recordDiagnosticDuration({
|
|
10744
10774
|
diagnostics,
|
|
@@ -10962,6 +10992,15 @@ var PasskeyMpcSessionManagerImpl = class {
|
|
|
10962
10992
|
});
|
|
10963
10993
|
if (!response.success) throw new Error(response.error || "Client seal cleanup failed");
|
|
10964
10994
|
}
|
|
10995
|
+
async readPreparedSigningSessionHydration(input) {
|
|
10996
|
+
const response = await this.sendMessage({
|
|
10997
|
+
type: "READ_SESSION_CLIENT_SEAL",
|
|
10998
|
+
id: this.generateMessageId(),
|
|
10999
|
+
payload: input
|
|
11000
|
+
});
|
|
11001
|
+
if (!response.success || !isObjectRecord(response.data) || response.data.ok !== true || typeof response.data.ciphertext !== "string" || !response.data.ciphertext.trim()) throw new Error(response.success ? "Prepared client seal is invalid" : response.error || "Client seal read failed");
|
|
11002
|
+
return { ciphertext: response.data.ciphertext };
|
|
11003
|
+
}
|
|
10965
11004
|
async restorePasskeyEcdsaRecord(args) {
|
|
10966
11005
|
const thresholdSessionId = args.purpose.thresholdSessionId;
|
|
10967
11006
|
const chainTarget = args.purpose.chainTarget;
|
|
@@ -24631,6 +24670,9 @@ var BrowserSigningSurface = class {
|
|
|
24631
24670
|
prepareSigningSessionHydration(input) {
|
|
24632
24671
|
return this.passkeyMpcSession.prepareSigningSessionHydration(input);
|
|
24633
24672
|
}
|
|
24673
|
+
readPreparedSigningSessionHydration(input) {
|
|
24674
|
+
return this.passkeyMpcSession.readPreparedSigningSessionHydration(input);
|
|
24675
|
+
}
|
|
24634
24676
|
discardSigningSessionHydration(input) {
|
|
24635
24677
|
return this.passkeyMpcSession.discardSigningSessionHydration(input);
|
|
24636
24678
|
}
|
|
@@ -26319,7 +26361,7 @@ function warnIfSameOriginWallet(walletOrigin) {
|
|
|
26319
26361
|
}
|
|
26320
26362
|
async function createWalletIframeRouter(args) {
|
|
26321
26363
|
warnIfSameOriginWallet(args.walletOrigin);
|
|
26322
|
-
const { WalletIframeRouter } = await import("./router-
|
|
26364
|
+
const { WalletIframeRouter } = await import("./router-CeFS9SgT.js");
|
|
26323
26365
|
const signingSessionPersistenceMode = args.configs.signing.sessionPersistenceMode;
|
|
26324
26366
|
return new WalletIframeRouter({
|
|
26325
26367
|
walletOrigin: args.walletOrigin,
|
|
@@ -26620,7 +26662,7 @@ function createSigningRuntimeStatePorts() {
|
|
|
26620
26662
|
}
|
|
26621
26663
|
function createSigningRuntime(deps) {
|
|
26622
26664
|
const getWarmSessions = memoizeService(async () => {
|
|
26623
|
-
const { createWarmSessionHydrationService } = await import("./warmSessionHydration-
|
|
26665
|
+
const { createWarmSessionHydrationService } = await import("./warmSessionHydration-DDNYdTCz.js");
|
|
26624
26666
|
return createWarmSessionHydrationService({ getWarmSessionMaterialWriter: deps.ui.warmSessions.getWarmSessionMaterialWriter });
|
|
26625
26667
|
});
|
|
26626
26668
|
const warmSessions = { hydrateSigningSession: async (input) => (await getWarmSessions()).hydrateSigningSession(input) };
|
|
@@ -26660,32 +26702,32 @@ function createSigningRuntime(deps) {
|
|
|
26660
26702
|
storeWalletEmailOtpEcdsaRegistrationData: async (input) => (await getEcdsaWalletRecords()).storeWalletEmailOtpEcdsaRegistrationData(input)
|
|
26661
26703
|
};
|
|
26662
26704
|
const nearSigning = { signNear: async (request) => {
|
|
26663
|
-
const { signNear } = await import("./signNear-
|
|
26705
|
+
const { signNear } = await import("./signNear-B0OCVKoH.js").then((n) => n.n);
|
|
26664
26706
|
return signNear(deps.signing.near.getDeps(), request);
|
|
26665
26707
|
} };
|
|
26666
26708
|
const evmFamilySigning = {
|
|
26667
26709
|
signEvmFamily: async (args) => {
|
|
26668
|
-
const { signEvmFamily } = await import("./signEvmFamily-
|
|
26710
|
+
const { signEvmFamily } = await import("./signEvmFamily-Dxk4sBPY.js").then((n) => n.s);
|
|
26669
26711
|
return signEvmFamily(deps.signing.evmFamily.getDeps(), args);
|
|
26670
26712
|
},
|
|
26671
26713
|
reportTempoBroadcastAccepted: async (args) => {
|
|
26672
|
-
const { reportTempoBroadcastAccepted } = await import("./signEvmFamily-
|
|
26714
|
+
const { reportTempoBroadcastAccepted } = await import("./signEvmFamily-Dxk4sBPY.js").then((n) => n.s);
|
|
26673
26715
|
return reportTempoBroadcastAccepted(deps.signing.evmFamily.getDeps(), args);
|
|
26674
26716
|
},
|
|
26675
26717
|
reportTempoBroadcastRejected: async (args) => {
|
|
26676
|
-
const { reportTempoBroadcastRejected } = await import("./signEvmFamily-
|
|
26718
|
+
const { reportTempoBroadcastRejected } = await import("./signEvmFamily-Dxk4sBPY.js").then((n) => n.s);
|
|
26677
26719
|
return reportTempoBroadcastRejected(deps.signing.evmFamily.getDeps(), args);
|
|
26678
26720
|
},
|
|
26679
26721
|
reportTempoFinalized: async (args) => {
|
|
26680
|
-
const { reportTempoFinalized } = await import("./signEvmFamily-
|
|
26722
|
+
const { reportTempoFinalized } = await import("./signEvmFamily-Dxk4sBPY.js").then((n) => n.s);
|
|
26681
26723
|
return reportTempoFinalized(deps.signing.evmFamily.getDeps(), args);
|
|
26682
26724
|
},
|
|
26683
26725
|
reportTempoDroppedOrReplaced: async (args) => {
|
|
26684
|
-
const { reportTempoDroppedOrReplaced } = await import("./signEvmFamily-
|
|
26726
|
+
const { reportTempoDroppedOrReplaced } = await import("./signEvmFamily-Dxk4sBPY.js").then((n) => n.s);
|
|
26685
26727
|
return reportTempoDroppedOrReplaced(deps.signing.evmFamily.getDeps(), args);
|
|
26686
26728
|
},
|
|
26687
26729
|
reconcileTempoNonceLane: async (args) => {
|
|
26688
|
-
const { reconcileTempoNonceLane } = await import("./signEvmFamily-
|
|
26730
|
+
const { reconcileTempoNonceLane } = await import("./signEvmFamily-Dxk4sBPY.js").then((n) => n.s);
|
|
26689
26731
|
return reconcileTempoNonceLane(deps.signing.evmFamily.getDeps(), args);
|
|
26690
26732
|
}
|
|
26691
26733
|
};
|
|
@@ -32175,7 +32217,7 @@ async function logout(context) {
|
|
|
32175
32217
|
}
|
|
32176
32218
|
async function resumeNearAfterSuccessfulUnlock(args) {
|
|
32177
32219
|
try {
|
|
32178
|
-
await (await import("./registration-
|
|
32220
|
+
await (await import("./registration-D-istkMZ.js").then((n) => n.o)).resumeNearRegistrationAfterUnlock(args);
|
|
32179
32221
|
} catch (error) {
|
|
32180
32222
|
console.warn("[login] NEAR continuation could not start", error instanceof Error ? error.message : "module unavailable");
|
|
32181
32223
|
} finally {
|
|
@@ -42762,6 +42804,7 @@ var SeamsWeb = class {
|
|
|
42762
42804
|
account: nearAccountBinding
|
|
42763
42805
|
} : { kind: "none" };
|
|
42764
42806
|
tasks.push(this.signingEngine.warmCriticalResources(accountContext));
|
|
42807
|
+
tasks.push(this.signingEngine.prewarmEcdsaRegistrationCrypto());
|
|
42765
42808
|
}
|
|
42766
42809
|
if (tasks.length === 0) return;
|
|
42767
42810
|
let status = "succeeded";
|
|
@@ -21,19 +21,19 @@ async function preloadWalletHostRecoveryCodeSurface() {
|
|
|
21
21
|
await recoveryCodeSurfacePromise;
|
|
22
22
|
}
|
|
23
23
|
async function preloadRegistrationPreparation() {
|
|
24
|
-
registrationPreparationPromise ??= import("./registrationPreparationPreload-
|
|
24
|
+
registrationPreparationPromise ??= import("./registrationPreparationPreload-CvnlDCVn.js");
|
|
25
25
|
await (await registrationPreparationPromise).preloadWalletHostRegistrationPreparation();
|
|
26
26
|
}
|
|
27
27
|
function loadRuntimeForKind(kind) {
|
|
28
28
|
switch (kind) {
|
|
29
|
-
case "auth": return import("./runtime-auth-
|
|
30
|
-
case "near": return import("./runtime-near-
|
|
31
|
-
case "ecdsa": return import("./runtime-ecdsa-tempo-
|
|
32
|
-
case "email_otp": return import("./runtime-email-otp-
|
|
33
|
-
case "recovery": return import("./runtime-recovery-
|
|
34
|
-
case "export": return import("./runtime-export
|
|
35
|
-
case "device_link": return import("./runtime-device-link-
|
|
36
|
-
case "preferences": return import("./runtime-preferences-
|
|
29
|
+
case "auth": return import("./runtime-auth-B7z1ANNp.js");
|
|
30
|
+
case "near": return import("./runtime-near-CEexHoug.js");
|
|
31
|
+
case "ecdsa": return import("./runtime-ecdsa-tempo-DKdS5-us.js");
|
|
32
|
+
case "email_otp": return import("./runtime-email-otp-D5bxhdyG.js");
|
|
33
|
+
case "recovery": return import("./runtime-recovery-BYu1gDq_.js");
|
|
34
|
+
case "export": return import("./runtime-export--hvNrx8l.js");
|
|
35
|
+
case "device_link": return import("./runtime-device-link-B8HGDakg.js");
|
|
36
|
+
case "preferences": return import("./runtime-preferences-BiqPp1lV.js");
|
|
37
37
|
}
|
|
38
38
|
return assertNever(kind);
|
|
39
39
|
}
|
|
@@ -2,13 +2,13 @@ import { n as __exportAll } from "./chunk-BtrIJ4_z.js";
|
|
|
2
2
|
import { T as parseMpcMaterialActivationRef, c as normalizeTrimmedString, l as stripTrailingSlashes, p as mpcMaterialActivationRefsEqual } from "./normalize-BephcEIF.js";
|
|
3
3
|
import { i as base64UrlEncode, r as base64UrlDecode } from "./base64-Clm8C-e9.js";
|
|
4
4
|
import { r as secureRandomId } from "./secureRandomId-BORsmdS4.js";
|
|
5
|
-
import { Bt as parseWalletAuthAuthorityRef,
|
|
5
|
+
import { Bt as parseWalletAuthAuthorityRef, Cn as routerAbMpcMaterialActivationRefToWire, J as ROUTER_AB_ECDSA_DERIVATION_PRESIGNATURE_POOL_FILL_STEP_PATH, St as routerAbEcdsaRerandomizationClientCommitmentV1, X as buildRouterAbEcdsaDerivationEvmDigestSigningFinalizeRequestV1, Z as buildRouterAbEcdsaDerivationEvmDigestSigningRequestV1, nt as parseRouterAbEcdsaDerivationNormalSigningScopeV1, q as ROUTER_AB_ECDSA_DERIVATION_PRESIGNATURE_POOL_FILL_INIT_PATH, t as MAX_DURABLE_CLIENT_PRESIGNATURE_LIFETIME_MS, xt as routerAbEcdsaDerivationNormalSigningScopeCanonicalBytesV1, yn as canonicalRouterAbMpcMaterialActivationRefBytes } from "./ecdsaPresignLifecycle-CnSnzoRJ.js";
|
|
6
6
|
import { d as parseEcdsaThresholdKeyId, i as parseEcdsaKeyHandle, l as parseEcdsaRoleLocalPersistedMaterialRef, r as parseEcdsaClientVerifyingShareB64u, t as formatEcdsaKeyHandleForWire, u as parseEcdsaRoleLocalWorkerHandle } from "./keyMaterialBrands-BbjCfzXv.js";
|
|
7
7
|
import { t as executeWorkerOperation } from "./executeWorkerOperation-Bn8GEuT_.js";
|
|
8
8
|
import { n as ecdsaClientPresignPoolKey, t as FIXED_ECDSA_PRESIGN_PROTOCOL_ID } from "./ecdsaPresignPoolIdentity-Yopr4jvS.js";
|
|
9
9
|
import { i as emitEcdsaSigningTiming, l as emitSigningSessionFlowTrace, n as emitEcdsaPresignServerTiming, r as emitEcdsaServerTiming } from "./trace-DWnDLSuV.js";
|
|
10
|
-
import { t as DEFAULT_ROUTER_AB_ECDSA_DERIVATION_PRESIGNATURE_POOL_POLICY } from "./defaultConfigs-
|
|
11
|
-
import { c as prepareRouterAbEcdsaDerivationEvmDigestSigningV1, l as prepareRouterAbEcdsaFinalPresignBatchV1, o as finalizeRouterAbEcdsaDerivationEvmDigestSigningV1, t as RouterAbSigningRequestError } from "./routerAbNormalSigning-
|
|
10
|
+
import { t as DEFAULT_ROUTER_AB_ECDSA_DERIVATION_PRESIGNATURE_POOL_POLICY } from "./defaultConfigs-CyNOW4Sy.js";
|
|
11
|
+
import { c as prepareRouterAbEcdsaDerivationEvmDigestSigningV1, l as prepareRouterAbEcdsaFinalPresignBatchV1, o as finalizeRouterAbEcdsaDerivationEvmDigestSigningV1, t as RouterAbSigningRequestError } from "./routerAbNormalSigning-DktZKnf1.js";
|
|
12
12
|
import { o as validateSecp256k1PublicKey33Wasm, s as verifySecp256k1RecoverableSignatureAgainstPublicKey33Wasm, t as addSecp256k1PublicKeys33Wasm } from "./evmCryptoWasm-BVj135bZ.js";
|
|
13
13
|
//#region src/core/signingEngine/workerManager/workerTypes.ts
|
|
14
14
|
/**
|