@seams/wallet 0.7.1 → 0.7.3
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/THIRD_PARTY_NOTICES.md +1 -105
- package/dist/.build-inputs.sha256 +1 -1
- package/dist/esm/SeamsWeb/SeamsWeb.js +10 -1
- package/dist/esm/SeamsWeb/operations/auth/login.js +16 -6
- package/dist/esm/SeamsWeb/operations/auth/scheduleLinkedDevicePresignaturePrefill.js +64 -0
- package/dist/esm/SeamsWeb/operations/auth/walletAuth.js +2 -3
- package/dist/esm/SeamsWeb/operations/auth/walletUnlockEcdsaSubject.js +1 -4
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingHttpTransport.js +11 -12
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingResume.js +1 -5
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingWorkerChannels.js +24 -24
- package/dist/esm/SeamsWeb/operations/recovery/walletRecoveryDurablePayload.js +4 -7
- package/dist/esm/SeamsWeb/operations/registration/pendingRegistrationRecovery.js +2 -8
- package/dist/esm/SeamsWeb/operations/tempo/executeEvmFamilyTransaction.js +4 -1
- package/dist/esm/SeamsWeb/publicApi/auth.js +2 -1
- package/dist/esm/SeamsWeb/publicApi/tempo.js +6 -0
- package/dist/esm/SeamsWeb/signingSurface/BrowserSigningSurface.js +24 -15
- package/dist/esm/SeamsWeb/walletIframe/host/restoredSessionPresignaturePrefill.js +29 -0
- package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.js +88 -222
- package/dist/esm/SeamsWeb/walletIframe/shared/exactSessionState.js +6 -26
- package/dist/esm/build-paths.js +0 -2
- package/dist/esm/components/AccountMenuButton/MenuItem.css +17 -0
- package/dist/esm/components/AccountMenuButton/UserAccountButton.css +0 -5
- package/dist/esm/components/AccountMenuButton/Web3AuthProfileButton.css +0 -52
- package/dist/esm/components/QRCodeScanner.css +0 -15
- package/dist/esm/components/ShowQRCode.css +0 -14
- package/dist/esm/core/indexedDB/pendingWalletRecoveryCommit.js +5 -10
- package/dist/esm/core/indexedDB/pendingWalletRegistrationCommit.js +139 -273
- package/dist/esm/core/indexedDB/seamsWalletDB/laneHolderMaterialStore.js +10 -13
- package/dist/esm/core/rpcClients/relayer/walletRecoveryPrepare.js +69 -121
- package/dist/esm/core/signingEngine/assembly/ports/recovery.js +1 -1
- package/dist/esm/core/signingEngine/chains/evm/display/functionSelectors.js +2 -5
- package/dist/esm/core/signingEngine/flows/recovery/ecdsaExportFlow.js +2 -2
- package/dist/esm/core/signingEngine/flows/recovery/ecdsaExportMaterial.js +35 -28
- package/dist/esm/core/signingEngine/flows/recovery/ed25519YaoExportFlow.js +3 -3
- package/dist/esm/core/signingEngine/flows/recovery/exportKeypairOperation.js +1 -4
- package/dist/esm/core/signingEngine/flows/recovery/passkeyEd25519YaoRecovery.js +1 -4
- package/dist/esm/core/signingEngine/flows/signEvmFamily/emailOtpSigningSession.js +2 -2
- package/dist/esm/core/signingEngine/flows/signEvmFamily/preparedSigning.js +2 -9
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signEvmFamily.js +6 -8
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signers/ecdsaDerivationClientSigningMaterialSource.js +24 -18
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signingFlow.js +6 -4
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signingFlowRuntime.js +10 -9
- package/dist/esm/core/signingEngine/flows/signEvmFamily/transactionExecutor.js +2 -5
- package/dist/esm/core/signingEngine/flows/signNear/signNear.js +2 -2
- package/dist/esm/core/signingEngine/routerAb/ecdsaDerivation/presignaturePool.js +2 -0
- package/dist/esm/core/signingEngine/session/availability/availableSigningLanes.js +1 -10
- package/dist/esm/core/signingEngine/session/availability/persistedAvailableSigningLanes.js +7 -6
- package/dist/esm/core/signingEngine/session/emailOtp/EmailOtpWalletSessionCoordinator.js +108 -24
- package/dist/esm/core/signingEngine/session/emailOtp/ecdsaLogin.js +3 -8
- package/dist/esm/core/signingEngine/session/emailOtp/ecdsaRecovery.js +2 -2
- package/dist/esm/core/signingEngine/session/identity/selectLane.js +7 -21
- package/dist/esm/core/signingEngine/session/material/activeWalletAuthorityEcdsaRuntime.js +2 -7
- package/dist/esm/core/signingEngine/session/material/ecdsaCapabilityManifest.js +3 -15
- package/dist/esm/core/signingEngine/session/material/ecdsaSigningCapability.js +1 -1
- package/dist/esm/core/signingEngine/session/passkey/ed25519YaoWarmRecovery.js +1 -4
- package/dist/esm/core/signingEngine/session/persistence/sealedSessionRecords.js +5 -8
- package/dist/esm/core/signingEngine/session/warmCapabilities/ecdsaLoginPrefillSigningMaterialSource.js +2 -2
- package/dist/esm/core/signingEngine/session/warmCapabilities/nearEd25519CapabilityRehydration.js +1 -1
- package/dist/esm/core/signingEngine/threshold/commitQueueShared.js +20 -6
- package/dist/esm/core/signingEngine/threshold/crypto/ecdsaDerivationClientWasm.js +7 -4
- package/dist/esm/core/signingEngine/threshold/ecdsa/signingQueue.js +8 -50
- package/dist/esm/core/signingEngine/threshold/ed25519/commitQueue.js +7 -43
- package/dist/esm/core/signingEngine/uiConfirm/PasskeyMpcSessionManager.js +3 -2
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +18 -16
- package/dist/esm/core/signingEngine/uiConfirm/ui/transaction-display/tree.js +1 -10
- package/dist/esm/core/signingEngine/workerManager/deviceLinkingPorts.js +67 -48
- package/dist/esm/core/signingEngine/workerManager/workerTransport.js +1 -5
- package/dist/esm/react/SeamsWeb/SeamsWeb.js +10 -1
- package/dist/esm/react/SeamsWeb/operations/auth/login.js +16 -6
- package/dist/esm/react/SeamsWeb/operations/auth/scheduleLinkedDevicePresignaturePrefill.js +64 -0
- package/dist/esm/react/SeamsWeb/operations/auth/walletAuth.js +2 -3
- package/dist/esm/react/SeamsWeb/operations/auth/walletUnlockEcdsaSubject.js +1 -4
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingHttpTransport.js +11 -12
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingResume.js +1 -5
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingWorkerChannels.js +24 -24
- package/dist/esm/react/SeamsWeb/operations/recovery/walletRecoveryDurablePayload.js +4 -7
- package/dist/esm/react/SeamsWeb/operations/registration/pendingRegistrationRecovery.js +2 -8
- package/dist/esm/react/SeamsWeb/operations/tempo/executeEvmFamilyTransaction.js +4 -1
- package/dist/esm/react/SeamsWeb/publicApi/auth.js +2 -1
- package/dist/esm/react/SeamsWeb/publicApi/tempo.js +6 -0
- package/dist/esm/react/SeamsWeb/signingSurface/BrowserSigningSurface.js +24 -15
- package/dist/esm/react/SeamsWeb/walletIframe/host/restoredSessionPresignaturePrefill.js +29 -0
- package/dist/esm/react/SeamsWeb/walletIframe/shared/exactSessionState.js +6 -26
- package/dist/esm/react/build-paths.js +0 -2
- package/dist/esm/react/components/AccountMenuButton/AuthenticationMethodsModal.js +2 -2
- package/dist/esm/react/components/AccountMenuButton/ExportKeysSection.js +1 -1
- package/dist/esm/react/components/AccountMenuButton/LinkedDevicesModal.js +4 -4
- package/dist/esm/react/components/AccountMenuButton/LockMenuItem.js +2 -1
- package/dist/esm/react/components/AccountMenuButton/MenuItem.css +17 -0
- package/dist/esm/react/components/AccountMenuButton/UserAccountButton.css +0 -5
- package/dist/esm/react/components/AccountMenuButton/WalletSettingsLayout.js +7 -7
- package/dist/esm/react/components/AccountMenuButton/Web3AuthProfileButton.css +0 -52
- package/dist/esm/react/components/AccountMenuButton/icons/GlobeIcon.js +12 -27
- package/dist/esm/react/components/AccountMenuButton/icons/KeyIcon.js +12 -27
- package/dist/esm/react/components/AccountMenuButton/icons/LaptopIcon.js +4 -19
- package/dist/esm/react/components/AccountMenuButton/icons/LinkIcon.js +4 -19
- package/dist/esm/react/components/AccountMenuButton/icons/LockIcon.js +11 -26
- package/dist/esm/react/components/AccountMenuButton/icons/MailIcon.js +10 -25
- package/dist/esm/react/components/AccountMenuButton/icons/RecoveryCodesIcon.js +16 -31
- package/dist/esm/react/components/AccountMenuButton/icons/ScanIcon.js +9 -24
- package/dist/esm/react/components/AccountMenuButton/icons/SlidersIcon.js +14 -29
- package/dist/esm/react/components/AccountMenuButton/icons/SmartphoneIcon.js +11 -26
- package/dist/esm/react/components/AccountMenuButton/icons/lucideIcon.js +27 -0
- package/dist/esm/react/components/AccountMenuButton/icons/strokeIcon.js +7 -17
- package/dist/esm/react/components/AccountMenuButton/index.js +6 -6
- package/dist/esm/react/components/QRCodeScanner.css +0 -15
- package/dist/esm/react/components/ShowQRCode.css +0 -14
- package/dist/esm/react/context/useSeamsWithSdkFlow.js +1 -2
- package/dist/esm/react/context/useWalletIframeLifecycle.js +0 -14
- package/dist/esm/react/core/indexedDB/pendingWalletRecoveryCommit.js +5 -10
- package/dist/esm/react/core/indexedDB/pendingWalletRegistrationCommit.js +139 -273
- package/dist/esm/react/core/rpcClients/relayer/walletRecoveryPrepare.js +4 -4
- package/dist/esm/react/core/signingEngine/assembly/ports/recovery.js +1 -1
- package/dist/esm/react/core/signingEngine/chains/evm/display/functionSelectors.js +2 -5
- package/dist/esm/react/core/signingEngine/flows/recovery/ecdsaExportFlow.js +2 -2
- package/dist/esm/react/core/signingEngine/flows/recovery/ecdsaExportMaterial.js +35 -28
- package/dist/esm/react/core/signingEngine/flows/recovery/ed25519YaoExportFlow.js +3 -3
- package/dist/esm/react/core/signingEngine/flows/recovery/exportKeypairOperation.js +1 -4
- package/dist/esm/react/core/signingEngine/flows/recovery/passkeyEd25519YaoRecovery.js +1 -4
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/emailOtpSigningSession.js +2 -2
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/preparedSigning.js +2 -9
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signEvmFamily.js +6 -8
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signers/ecdsaDerivationClientSigningMaterialSource.js +24 -18
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signingFlow.js +6 -4
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signingFlowRuntime.js +10 -9
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/transactionExecutor.js +2 -5
- package/dist/esm/react/core/signingEngine/flows/signNear/signNear.js +2 -2
- package/dist/esm/react/core/signingEngine/routerAb/ecdsaDerivation/presignaturePool.js +2 -0
- package/dist/esm/react/core/signingEngine/session/availability/availableSigningLanes.js +1 -10
- package/dist/esm/react/core/signingEngine/session/availability/persistedAvailableSigningLanes.js +7 -6
- package/dist/esm/react/core/signingEngine/session/emailOtp/EmailOtpWalletSessionCoordinator.js +108 -24
- package/dist/esm/react/core/signingEngine/session/emailOtp/ecdsaLogin.js +3 -8
- package/dist/esm/react/core/signingEngine/session/emailOtp/ecdsaRecovery.js +2 -2
- package/dist/esm/react/core/signingEngine/session/identity/selectLane.js +7 -21
- package/dist/esm/react/core/signingEngine/session/material/activeWalletAuthorityEcdsaRuntime.js +2 -7
- package/dist/esm/react/core/signingEngine/session/material/ecdsaCapabilityManifest.js +3 -15
- package/dist/esm/react/core/signingEngine/session/material/ecdsaSigningCapability.js +1 -1
- package/dist/esm/react/core/signingEngine/session/passkey/ed25519YaoWarmRecovery.js +1 -4
- package/dist/esm/react/core/signingEngine/session/persistence/sealedSessionRecords.js +5 -8
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/ecdsaLoginPrefillSigningMaterialSource.js +2 -2
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/nearEd25519CapabilityRehydration.js +1 -1
- package/dist/esm/react/core/signingEngine/threshold/commitQueueShared.js +20 -6
- package/dist/esm/react/core/signingEngine/threshold/crypto/ecdsaDerivationClientWasm.js +7 -4
- package/dist/esm/react/core/signingEngine/threshold/ecdsa/signingQueue.js +8 -50
- package/dist/esm/react/core/signingEngine/threshold/ed25519/commitQueue.js +7 -43
- package/dist/esm/react/core/signingEngine/uiConfirm/PasskeyMpcSessionManager.js +3 -2
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +18 -16
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/transaction-display/tree.js +1 -10
- package/dist/esm/react/core/signingEngine/workerManager/deviceLinkingPorts.js +67 -48
- package/dist/esm/react/core/signingEngine/workerManager/workerTransport.js +1 -5
- package/dist/esm/react/shared-ts/src/authorization/walletSessionIssuance.js +5 -8
- package/dist/esm/react/shared-ts/src/authorization/walletSignerActivationEquality.js +12 -0
- package/dist/esm/react/shared-ts/src/device-linking/committedSignerPackages.js +2 -5
- package/dist/esm/react/shared-ts/src/device-linking/delegatedActivationPlan.js +1 -5
- package/dist/esm/react/shared-ts/src/device-linking/ed25519ExportRoot.js +11 -15
- package/dist/esm/react/shared-ts/src/device-linking/sourceContribution.js +5 -8
- package/dist/esm/react/shared-ts/src/passkey-custody/primitives.js +5 -1
- package/dist/esm/react/shared-ts/src/signing-lanes/ownerContinuity.js +3 -7
- package/dist/esm/react/shared-ts/src/signing-lanes/recordParsers.js +12 -16
- package/dist/esm/react/shared-ts/src/threshold/signingRootScope.js +4 -1
- package/dist/esm/react/shared-ts/src/utils/ecdsaKeyFactsInventory.js +2 -4
- package/dist/esm/react/shared-ts/src/utils/ecdsaServerTiming.js +0 -1
- package/dist/esm/react/shared-ts/src/utils/exactKeys.js +17 -0
- package/dist/esm/react/shared-ts/src/utils/registrationIntent.js +2 -8
- package/dist/esm/react/shared-ts/src/utils/registrationSignerPlan.js +2 -5
- package/dist/esm/react/shared-ts/src/utils/routerAbEcdsaDerivation.js +1 -1
- package/dist/esm/react/shared-ts/src/utils/routerAbEd25519Yao.js +1 -1
- package/dist/esm/react/shared-ts/src/utils/thresholdEcdsaChainTarget.js +9 -0
- package/dist/esm/react/shared-ts/src/wallet-recovery/walletRecoveryCommittedProjection.js +1 -4
- package/dist/esm/react/styles/styles.css +17 -86
- package/dist/esm/react/utils/menuItemBlink.js +24 -0
- package/dist/esm/sdk/{accountLifecycle-BAGG_rbk.js → accountLifecycle-zthG08aC.js} +1 -1
- package/dist/esm/sdk/{adapters-B4JeK1nJ.js → adapters-Dli9XAZp.js} +20 -48
- package/dist/{public/sdk/canonicalSignerErrorCode-CRoJMVpp.js → esm/sdk/canonicalSignerErrorCode-BBIk365e.js} +1 -15
- package/dist/esm/sdk/{challengeDelivery-Dd0586fo.js → challengeDelivery-DZtopOAG.js} +1 -1
- package/dist/{public/sdk/configHelpers-vAQCzUD0.js → esm/sdk/configHelpers-D1EqxVxg.js} +1 -1
- package/dist/{public/sdk/defaultConfigs-B3c16M_8.js → esm/sdk/defaultConfigs-D_33pPT9.js} +3 -3
- package/dist/esm/sdk/{display-KdIL0ff7.js → display-P4nQF-yc.js} +1 -1
- package/dist/esm/sdk/{ecdsaCapabilityManifest-kzO_fW09.js → ecdsaCapabilityManifest-DuMs0VtU.js} +6 -18
- package/dist/{public/sdk/ecdsaPresignLifecycle-BFOTNYCK.js → esm/sdk/ecdsaPresignLifecycle-Bfx2AQKb.js} +2 -2
- package/dist/esm/sdk/{ecdsaWalletRecords-Cz4m6bIz.js → ecdsaWalletRecords-D42rtA9z.js} +2 -2
- package/dist/{public/sdk/evmFamilyEcdsaIdentity-Co5XDcEA.js → esm/sdk/evmFamilyEcdsaIdentity-CqGafQsI.js} +20 -34
- package/dist/esm/sdk/{exactSessionState-CiD5fBEs.js → exactSessionState-LWDUXydN.js} +10 -30
- package/dist/esm/sdk/{exactSigningLaneIdentity-DQeqPMST.js → exactSigningLaneIdentity-m6uTXV_A.js} +1 -1
- package/dist/esm/sdk/{export-viewer-host-ZqA2Yz3H.js → export-viewer-host-rWMSQQMP.js} +1 -1
- package/dist/{public/sdk/host-BWBbCAMu.js → esm/sdk/host-CnV8nAUe.js} +3 -3
- package/dist/{public/sdk/keyMaterialBrands-CX41hur6.js → esm/sdk/keyMaterialBrands-CogGAAZn.js} +1 -1
- package/dist/{public/sdk/localOnly-Bg8UuLZ5.js → esm/sdk/localOnly-DTpa2jD5.js} +2 -2
- package/dist/esm/sdk/{nearEd25519YaoMaterialActivation-DPb0s3hQ.js → nearEd25519YaoMaterialActivation-B5GecIvq.js} +38 -28
- package/dist/esm/sdk/{nearEd25519YaoSigningPreparation-BeD-SmbK.js → nearEd25519YaoSigningPreparation-CdOT5RuC.js} +3 -3
- package/dist/esm/sdk/{passkey-custody-Bk1jAknm.js → passkey-custody-UUHbC0pk.js} +1 -1
- package/dist/esm/sdk/{pendingWalletRecoveryCodeBackup-DLzBb3WQ.js → pendingWalletRecoveryCodeBackup-BWluQMbt.js} +1 -1
- package/dist/esm/sdk/{recovery-entrypoint-DW2tGyMs.js → recovery-entrypoint-C3fydnRC.js} +10 -10
- package/dist/esm/sdk/{registration-BZDzDv91.js → registration-Ct_7LdGf.js} +30 -42
- package/dist/esm/sdk/{registration-BzVHODuD.js → registration-DHERU8R_.js} +1 -1
- package/dist/esm/sdk/{registrationAccounts-CKku_Sgy.js → registrationAccounts-DmWPzf3T.js} +2 -2
- package/dist/esm/sdk/{registrationIntent-D0PxwEY4.js → registrationIntent-4zwk16zQ.js} +3 -9
- package/dist/esm/sdk/{registrationPreparationPreload-CIAuRlxI.js → registrationPreparationPreload-D6zpWp4O.js} +2 -2
- package/dist/esm/sdk/{registrationSignerPlan-CAikVZZQ.js → registrationSignerPlan-DhV8VAob.js} +2 -5
- package/dist/{public/sdk/router-C5lF_J_u.js → esm/sdk/router-B4ZWFy9E.js} +7 -7
- package/dist/{public/sdk/routerAbNormalSigning-fhvpDtmY.js → esm/sdk/routerAbNormalSigning-CVFEOZ2m.js} +1 -1
- package/dist/esm/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/esm/sdk/{runtime-auth-DFTqwj3u.js → runtime-auth-DdfynDKt.js} +126 -273
- package/dist/esm/sdk/{runtime-device-link-C1Oub8Lw.js → runtime-device-link-HJ2ptFux.js} +12 -12
- package/dist/esm/sdk/{runtime-ecdsa-tempo-rkWwolw1.js → runtime-ecdsa-tempo-BGLsTAWR.js} +13 -13
- package/dist/{public/sdk/runtime-email-otp-vuUG5LYl.js → esm/sdk/runtime-email-otp-CpX88VZJ.js} +12 -12
- package/dist/{public/sdk/runtime-export-FZWj0HxJ.js → esm/sdk/runtime-export-DIVY473L.js} +13 -13
- package/dist/esm/sdk/{runtime-near-B9cjurVD.js → runtime-near-CxtQi4b2.js} +12 -12
- package/dist/esm/sdk/{runtime-preferences-Dq0bfyS5.js → runtime-preferences-vnJc5Svg.js} +12 -12
- package/dist/esm/sdk/{runtime-recovery-codes-bTm3fLV4.js → runtime-recovery-codes-BSCLVHQj.js} +6 -6
- package/dist/{public/sdk/runtime-recovery-C-vfFKF3.js → esm/sdk/runtime-recovery-i08vCJST.js} +12 -12
- package/dist/esm/sdk/{runtimeContext-iLXnxVlZ.js → runtimeContext-D3TBExQ6.js} +346 -305
- package/dist/esm/sdk/{runtimeLoader-hod6T2-m.js → runtimeLoader-DQVEFVaW.js} +11 -11
- package/dist/{public/sdk/secp256k1-el9aE4Sv.js → esm/sdk/secp256k1-D-I6Gh4D.js} +36 -25
- package/dist/esm/sdk/{sessionPolicy-CHiilOAB.js → sessionPolicy-DO-MkL65.js} +8 -1
- package/dist/{public/sdk/signEvmFamily-e4IWWsZs.js → esm/sdk/signEvmFamily-C3C97Th-.js} +43 -102
- package/dist/esm/sdk/{signEvmFamilyWithUiConfirmForTempo-Cu9qdk8M.js → signEvmFamilyWithUiConfirmForTempo-BI9DSTIS.js} +2 -2
- package/dist/{public/sdk/signEvmWithUiConfirm-C61TCBnh.js → esm/sdk/signEvmWithUiConfirm-Bmcim5-g.js} +1 -1
- package/dist/esm/sdk/{signNear-Bblwn2kT.js → signNear-Bmb2fj_a.js} +19 -55
- package/dist/{public/sdk/signerLoader-D7Aey0FD.js → esm/sdk/signerLoader-B7orgq5Z.js} +3 -3
- package/dist/{public/sdk/signingFlow-rZfPegH9.js → esm/sdk/signingFlow-SZ8t_lxv.js} +9 -10
- package/dist/esm/sdk/{trace-rHe0wz7q.js → trace-DKLQZvec.js} +0 -1
- package/dist/esm/sdk/{transactionState-DP9O8F6f.js → transactionState-CJ4U8pcl.js} +50 -41
- package/dist/esm/sdk/tx-confirm-ui.js +11 -46
- 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/{public/sdk/wallet-recovery-Bz9qKgaL.js → esm/sdk/wallet-recovery-BX61-79p.js} +3 -6
- package/dist/esm/sdk/wallet-ui.css +41 -301
- package/dist/{public/sdk/walletAuthority-BQBxgUBn.js → esm/sdk/walletAuthority-DD9T25F6.js} +1 -5
- package/dist/esm/sdk/{walletCustodyEcdsaContinuity-Hn4ORIbf.js → walletCustodyEcdsaContinuity-CF4bv9OI.js} +166 -296
- package/dist/esm/sdk/{walletRecoveryCommit-sjGNTHUj.js → walletRecoveryCommit-AI1AtIRP.js} +81 -139
- package/dist/esm/shared-ts/src/authorization/walletSessionIssuance.js +5 -8
- package/dist/esm/shared-ts/src/authorization/walletSignerActivationEquality.js +12 -0
- package/dist/esm/shared-ts/src/device-linking/committedSignerPackages.js +2 -5
- package/dist/esm/shared-ts/src/device-linking/delegatedActivationPlan.js +1 -5
- package/dist/esm/shared-ts/src/device-linking/ed25519ExportRoot.js +11 -15
- package/dist/esm/shared-ts/src/device-linking/sourceContribution.js +5 -8
- package/dist/esm/shared-ts/src/passkey-custody/primitives.js +5 -1
- package/dist/esm/shared-ts/src/signing-lanes/ownerContinuity.js +3 -7
- package/dist/esm/shared-ts/src/signing-lanes/recordParsers.js +12 -16
- package/dist/esm/shared-ts/src/threshold/signingRootScope.js +4 -1
- package/dist/esm/shared-ts/src/utils/ecdsaKeyFactsInventory.js +2 -4
- package/dist/esm/shared-ts/src/utils/ecdsaServerTiming.js +0 -1
- package/dist/esm/shared-ts/src/utils/exactKeys.js +17 -0
- package/dist/esm/shared-ts/src/utils/registrationIntent.js +2 -8
- package/dist/esm/shared-ts/src/utils/registrationSignerPlan.js +2 -5
- package/dist/esm/shared-ts/src/utils/routerAbEcdsaDerivation.js +1 -1
- package/dist/esm/shared-ts/src/utils/routerAbEd25519Yao.js +1 -1
- package/dist/esm/shared-ts/src/utils/thresholdEcdsaChainTarget.js +9 -0
- package/dist/esm/shared-ts/src/wallet-recovery/walletRecoveryCommittedProjection.js +1 -4
- package/dist/esm/utils/menuItemBlink.js +24 -0
- package/dist/esm/wasm/near_signer/pkg/wasm_signer_worker.d.ts +1 -1
- package/dist/esm/wasm/near_signer/pkg/wasm_signer_worker_bg.wasm +0 -0
- package/dist/esm/wasm/router_ab_ecdsa_client/pkg/router_ab_ecdsa_client_bg.wasm +0 -0
- package/dist/esm/wasm/router_ab_ed25519_yao_client/pkg/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/public/headers.manifest.json +1 -1
- package/dist/public/sdk/{accountLifecycle-BAGG_rbk.js → accountLifecycle-zthG08aC.js} +1 -1
- package/dist/public/sdk/{adapters-B4JeK1nJ.js → adapters-Dli9XAZp.js} +20 -48
- package/dist/{esm/sdk/canonicalSignerErrorCode-CRoJMVpp.js → public/sdk/canonicalSignerErrorCode-BBIk365e.js} +1 -15
- package/dist/public/sdk/{challengeDelivery-Dd0586fo.js → challengeDelivery-DZtopOAG.js} +1 -1
- package/dist/{esm/sdk/configHelpers-vAQCzUD0.js → public/sdk/configHelpers-D1EqxVxg.js} +1 -1
- package/dist/{esm/sdk/defaultConfigs-B3c16M_8.js → public/sdk/defaultConfigs-D_33pPT9.js} +3 -3
- package/dist/public/sdk/{display-KdIL0ff7.js → display-P4nQF-yc.js} +1 -1
- package/dist/public/sdk/{ecdsaCapabilityManifest-kzO_fW09.js → ecdsaCapabilityManifest-DuMs0VtU.js} +6 -18
- package/dist/{esm/sdk/ecdsaPresignLifecycle-BFOTNYCK.js → public/sdk/ecdsaPresignLifecycle-Bfx2AQKb.js} +2 -2
- package/dist/public/sdk/{ecdsaWalletRecords-Cz4m6bIz.js → ecdsaWalletRecords-D42rtA9z.js} +2 -2
- package/dist/{esm/sdk/evmFamilyEcdsaIdentity-Co5XDcEA.js → public/sdk/evmFamilyEcdsaIdentity-CqGafQsI.js} +20 -34
- package/dist/public/sdk/{exactSessionState-CiD5fBEs.js → exactSessionState-LWDUXydN.js} +10 -30
- package/dist/public/sdk/{exactSigningLaneIdentity-DQeqPMST.js → exactSigningLaneIdentity-m6uTXV_A.js} +1 -1
- package/dist/public/sdk/{export-viewer-host-ZqA2Yz3H.js → export-viewer-host-rWMSQQMP.js} +1 -1
- package/dist/{esm/sdk/host-BWBbCAMu.js → public/sdk/host-CnV8nAUe.js} +3 -3
- package/dist/{esm/sdk/keyMaterialBrands-CX41hur6.js → public/sdk/keyMaterialBrands-CogGAAZn.js} +1 -1
- package/dist/{esm/sdk/localOnly-Bg8UuLZ5.js → public/sdk/localOnly-DTpa2jD5.js} +2 -2
- package/dist/public/sdk/{nearEd25519YaoMaterialActivation-DPb0s3hQ.js → nearEd25519YaoMaterialActivation-B5GecIvq.js} +38 -28
- package/dist/public/sdk/{nearEd25519YaoSigningPreparation-BeD-SmbK.js → nearEd25519YaoSigningPreparation-CdOT5RuC.js} +3 -3
- package/dist/public/sdk/{passkey-custody-Bk1jAknm.js → passkey-custody-UUHbC0pk.js} +1 -1
- package/dist/public/sdk/{pendingWalletRecoveryCodeBackup-DLzBb3WQ.js → pendingWalletRecoveryCodeBackup-BWluQMbt.js} +1 -1
- package/dist/public/sdk/{recovery-entrypoint-DW2tGyMs.js → recovery-entrypoint-C3fydnRC.js} +10 -10
- package/dist/public/sdk/{registration-BZDzDv91.js → registration-Ct_7LdGf.js} +30 -42
- package/dist/public/sdk/{registration-BzVHODuD.js → registration-DHERU8R_.js} +1 -1
- package/dist/public/sdk/{registrationAccounts-CKku_Sgy.js → registrationAccounts-DmWPzf3T.js} +2 -2
- package/dist/public/sdk/{registrationIntent-D0PxwEY4.js → registrationIntent-4zwk16zQ.js} +3 -9
- package/dist/public/sdk/{registrationPreparationPreload-CIAuRlxI.js → registrationPreparationPreload-D6zpWp4O.js} +2 -2
- package/dist/public/sdk/{registrationSignerPlan-CAikVZZQ.js → registrationSignerPlan-DhV8VAob.js} +2 -5
- package/dist/{esm/sdk/router-C5lF_J_u.js → public/sdk/router-B4ZWFy9E.js} +7 -7
- package/dist/{esm/sdk/routerAbNormalSigning-fhvpDtmY.js → public/sdk/routerAbNormalSigning-CVFEOZ2m.js} +1 -1
- package/dist/public/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/public/sdk/{runtime-auth-DFTqwj3u.js → runtime-auth-DdfynDKt.js} +126 -273
- package/dist/public/sdk/{runtime-device-link-C1Oub8Lw.js → runtime-device-link-HJ2ptFux.js} +12 -12
- package/dist/public/sdk/{runtime-ecdsa-tempo-rkWwolw1.js → runtime-ecdsa-tempo-BGLsTAWR.js} +13 -13
- package/dist/{esm/sdk/runtime-email-otp-vuUG5LYl.js → public/sdk/runtime-email-otp-CpX88VZJ.js} +12 -12
- package/dist/{esm/sdk/runtime-export-FZWj0HxJ.js → public/sdk/runtime-export-DIVY473L.js} +13 -13
- package/dist/public/sdk/{runtime-near-B9cjurVD.js → runtime-near-CxtQi4b2.js} +12 -12
- package/dist/public/sdk/{runtime-preferences-Dq0bfyS5.js → runtime-preferences-vnJc5Svg.js} +12 -12
- package/dist/public/sdk/{runtime-recovery-codes-bTm3fLV4.js → runtime-recovery-codes-BSCLVHQj.js} +6 -6
- package/dist/{esm/sdk/runtime-recovery-C-vfFKF3.js → public/sdk/runtime-recovery-i08vCJST.js} +12 -12
- package/dist/public/sdk/{runtimeContext-iLXnxVlZ.js → runtimeContext-D3TBExQ6.js} +346 -305
- package/dist/public/sdk/{runtimeLoader-hod6T2-m.js → runtimeLoader-DQVEFVaW.js} +11 -11
- package/dist/{esm/sdk/secp256k1-el9aE4Sv.js → public/sdk/secp256k1-D-I6Gh4D.js} +36 -25
- package/dist/public/sdk/{sessionPolicy-CHiilOAB.js → sessionPolicy-DO-MkL65.js} +8 -1
- package/dist/{esm/sdk/signEvmFamily-e4IWWsZs.js → public/sdk/signEvmFamily-C3C97Th-.js} +43 -102
- package/dist/public/sdk/{signEvmFamilyWithUiConfirmForTempo-Cu9qdk8M.js → signEvmFamilyWithUiConfirmForTempo-BI9DSTIS.js} +2 -2
- package/dist/{esm/sdk/signEvmWithUiConfirm-C61TCBnh.js → public/sdk/signEvmWithUiConfirm-Bmcim5-g.js} +1 -1
- package/dist/public/sdk/{signNear-Bblwn2kT.js → signNear-Bmb2fj_a.js} +19 -55
- package/dist/{esm/sdk/signerLoader-D7Aey0FD.js → public/sdk/signerLoader-B7orgq5Z.js} +3 -3
- package/dist/{esm/sdk/signingFlow-rZfPegH9.js → public/sdk/signingFlow-SZ8t_lxv.js} +9 -10
- package/dist/public/sdk/{trace-rHe0wz7q.js → trace-DKLQZvec.js} +0 -1
- package/dist/public/sdk/{transactionState-DP9O8F6f.js → transactionState-CJ4U8pcl.js} +50 -41
- package/dist/public/sdk/tx-confirm-ui.js +11 -46
- 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/{esm/sdk/wallet-recovery-Bz9qKgaL.js → public/sdk/wallet-recovery-BX61-79p.js} +3 -6
- package/dist/public/sdk/wallet-ui.css +41 -301
- package/dist/{esm/sdk/walletAuthority-BQBxgUBn.js → public/sdk/walletAuthority-DD9T25F6.js} +1 -5
- package/dist/public/sdk/{walletCustodyEcdsaContinuity-Hn4ORIbf.js → walletCustodyEcdsaContinuity-CF4bv9OI.js} +166 -296
- package/dist/public/sdk/{walletRecoveryCommit-sjGNTHUj.js → walletRecoveryCommit-AI1AtIRP.js} +81 -139
- package/dist/public/sdk/workers/device-linking-key.worker.js +106 -105
- package/dist/public/sdk/workers/ecdsa-derivation-client.worker.js +15 -24
- package/dist/public/sdk/workers/ecdsa-presign-client.worker.js +58 -73
- package/dist/public/sdk/workers/email-otp.worker.js +13 -16
- package/dist/public/sdk/workers/evm_crypto.wasm +0 -0
- package/dist/public/sdk/workers/evm_crypto_bg.wasm +0 -0
- package/dist/public/sdk/workers/near_signer.wasm +0 -0
- package/dist/public/sdk/workers/router_ab_ecdsa_client_bg.wasm +0 -0
- package/dist/public/sdk/workers/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/public/sdk/workers/tempo_signer.wasm +0 -0
- package/dist/public/sdk/workers/tempo_signer_bg.wasm +0 -0
- package/dist/public/sdk/workers/wallet-custody-ceremony.worker.js +7 -7
- package/dist/public/sdk/workers/wallet_custody_ceremony_bg.wasm +0 -0
- package/dist/public/sdk/workers/wasm_signer_worker_bg.wasm +0 -0
- package/dist/public/wallet-assets.manifest.json +112 -112
- package/dist/public/wallet-service/index.html +4 -4
- package/dist/types/shared-ts/src/authorization/delegatedAuthority.d.ts +2 -1
- package/dist/types/shared-ts/src/authorization/walletSessionIssuance.d.ts +9 -2
- package/dist/types/shared-ts/src/authorization/walletSignerActivationEquality.d.ts +4 -0
- package/dist/types/shared-ts/src/device-linking/committedSignerPackages.d.ts +3 -4
- package/dist/types/shared-ts/src/device-linking/contracts.d.ts +5 -63
- package/dist/types/shared-ts/src/device-linking/sourceContribution.d.ts +2 -0
- package/dist/types/shared-ts/src/passkey-custody/custodyEnvelope.d.ts +5 -12
- package/dist/types/shared-ts/src/passkey-custody/primitives.d.ts +9 -0
- package/dist/types/shared-ts/src/signing-lanes/execution.d.ts +11 -1
- package/dist/types/shared-ts/src/signing-lanes/ids.d.ts +1 -10
- package/dist/types/shared-ts/src/signing-lanes/rotation.d.ts +3 -5
- package/dist/types/shared-ts/src/tenant-root/tenantRootIdentifier.d.ts +3 -0
- package/dist/types/shared-ts/src/tenant-root/tenantRootOperationRecord.d.ts +2 -1
- package/dist/types/shared-ts/src/threshold/ecdsaDerivationRoleLocalBootstrap.d.ts +6 -0
- package/dist/types/shared-ts/src/threshold/signingRootScope.d.ts +1 -0
- package/dist/types/shared-ts/src/utils/ecdsaKeyFactsInventory.d.ts +2 -11
- package/dist/types/shared-ts/src/utils/eip1559TxWasmJson.d.ts +16 -0
- package/dist/types/shared-ts/src/utils/emailOtpDomain.d.ts +2 -0
- package/dist/types/shared-ts/src/utils/exactKeys.d.ts +11 -0
- package/dist/types/shared-ts/src/utils/failure.d.ts +12 -0
- package/dist/types/shared-ts/src/utils/jsonRpc.d.ts +3 -4
- package/dist/types/shared-ts/src/utils/nearRpcResults.d.ts +1 -0
- package/dist/types/shared-ts/src/utils/registrationAuthMethodInput.d.ts +3 -8
- package/dist/types/shared-ts/src/utils/registrationSignerPlan.d.ts +7 -19
- package/dist/types/shared-ts/src/utils/routerAbEcdsaDerivation.d.ts +3 -1
- package/dist/types/shared-ts/src/utils/routerAbEd25519Yao.d.ts +1 -0
- package/dist/types/shared-ts/src/utils/routerAbEd25519YaoDigests.d.ts +3 -4
- package/dist/types/shared-ts/src/utils/routerAbNormalSigningIdentity.d.ts +30 -8
- package/dist/types/shared-ts/src/utils/routerApiKeyAuth.d.ts +2 -0
- package/dist/types/shared-ts/src/utils/signingSessionSeal.d.ts +10 -11
- package/dist/types/shared-ts/src/utils/thresholdEcdsaChainTarget.d.ts +25 -0
- package/dist/types/shared-ts/src/utils/variant.d.ts +18 -0
- package/dist/types/shared-ts/src/utils/walletAuthMethodRecord.d.ts +3 -6
- package/dist/types/shared-ts/src/utils/webauthnDeviceInfo.d.ts +4 -2
- package/dist/types/shared-ts/src/wallet-recovery/recoveryEnvelopes.d.ts +3 -16
- package/dist/types/shared-ts/src/wallet-recovery/walletRecoveryPreparation.d.ts +15 -0
- package/dist/types/shared-ts/src/wallet-recovery/walletRecoveryTarget.d.ts +3 -4
- package/dist/types/wallet/build-paths.d.ts +1 -2
- package/dist/types/wallet/src/SeamsWeb/SeamsWeb.d.ts +2 -0
- package/dist/types/wallet/src/SeamsWeb/operations/auth/scheduleLinkedDevicePresignaturePrefill.d.ts +11 -0
- package/dist/types/wallet/src/SeamsWeb/operations/auth/walletAuth.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/auth/walletUnlockSubject.d.ts +3 -17
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/walletActivation.d.ts +3 -4
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingAuthorityInstallation.d.ts +2 -10
- package/dist/types/wallet/src/SeamsWeb/operations/tempo/executeEvmFamilyTransaction.d.ts +1 -1
- package/dist/types/wallet/src/SeamsWeb/publicApi/types.d.ts +7 -16
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/restoredSessionPresignaturePrefill.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.d.ts +1 -2
- package/dist/types/wallet/src/SeamsWeb/walletIframe/shared/messages.d.ts +5 -15
- package/dist/types/wallet/src/core/accountData/near/keyMaterial.d.ts +3 -5
- package/dist/types/wallet/src/core/indexedDB/passkeyClientDB.types.d.ts +2 -8
- package/dist/types/wallet/src/core/indexedDB/pendingWalletRegistrationCommit.d.ts +3 -4
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestLookups.d.ts +7 -12
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/walletSessionAuthorizationStore.d.ts +3 -6
- package/dist/types/wallet/src/core/platform/ecdsaRoleLocalRecords.d.ts +9 -38
- package/dist/types/wallet/src/core/platform/http.d.ts +3 -5
- package/dist/types/wallet/src/core/platform/ports.d.ts +3 -7
- package/dist/types/wallet/src/core/rpcClients/near/NearRpcError.d.ts +1 -2
- package/dist/types/wallet/src/core/rpcClients/relayer/ownerWalletExecutionLanePreflight.d.ts +2 -11
- package/dist/types/wallet/src/core/rpcClients/relayer/thresholdEcdsa.d.ts +2 -8
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRecoveryPrepare.d.ts +2 -14
- package/dist/types/wallet/src/core/signingEngine/chains/near/payloads.d.ts +2 -10
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/ecdsaDerivationExport.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/ecdsaExportFlow.d.ts +4 -8
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/keyExportFlow.d.ts +7 -6
- package/dist/types/wallet/src/core/signingEngine/flows/registration/accountLifecycle.d.ts +1 -10
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/emailOtpSigningSession.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/freshAuthRetryPolicy.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/nonceResolution.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/readySecp256k1Material.d.ts +5 -8
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signers/ecdsaDerivationClientSigningMaterialSource.d.ts +1 -0
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signingFlowRuntime.d.ts +10 -5
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/ed25519YaoCapabilityResolution.d.ts +3 -10
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/operationStepUpPreparation.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/signNep413.d.ts +3 -7
- package/dist/types/wallet/src/core/signingEngine/interfaces/near.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/interfaces/operationDeps.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/interfaces/operationStepUpPreparation.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/nonce/nearTransactionReadiness.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/nonce/nonceTypes.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/clientCeremony.d.ts +5 -22
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/poolFillRoutes.d.ts +3 -14
- package/dist/types/wallet/src/core/signingEngine/session/availability/persistedAvailableSigningLanes.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/EmailOtpWalletSessionCoordinator.d.ts +37 -14
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ecdsaPublication.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ed25519ExportContext.d.ts +2 -6
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/walletUnlock.d.ts +6 -15
- package/dist/types/wallet/src/core/signingEngine/session/identity/evmFamilyEcdsaIdentity.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/session/identity/exactWalletSessionCredential.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/session/identity/exactWalletSessionReader.d.ts +3 -6
- package/dist/types/wallet/src/core/signingEngine/session/identity/laneIdentity.d.ts +5 -8
- package/dist/types/wallet/src/core/signingEngine/session/identity/signingLaneAuthBinding.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/session/material/activeEcdsaCapabilityRuntime.d.ts +5 -10
- package/dist/types/wallet/src/core/signingEngine/session/material/activeWalletAuthorityEcdsaRuntime.d.ts +3 -6
- package/dist/types/wallet/src/core/signingEngine/session/material/capabilityPreparationResult.d.ts +3 -22
- package/dist/types/wallet/src/core/signingEngine/session/material/ecdsaCapabilityHydration.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/session/material/ecdsaSealedRuntime.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/session/material/ecdsaSigningCapability.d.ts +5 -0
- package/dist/types/wallet/src/core/signingEngine/session/material/nearEd25519YaoSigningPreparation.d.ts +5 -10
- package/dist/types/wallet/src/core/signingEngine/session/operationState/authorizationAdmission.d.ts +3 -8
- package/dist/types/wallet/src/core/signingEngine/session/operationState/types.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ecdsaBootstrap.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ecdsaSessionProvision.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/session/passkey/unlockEcdsaWarmupPlanner.d.ts +7 -25
- package/dist/types/wallet/src/core/signingEngine/session/sealedRecovery/sealedRecovery.types.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/capabilityReaderCore.d.ts +3 -16
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/ed25519SealedSessionRuntime.d.ts +6 -26
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/persistencePorts.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/channel/confirmTypes.d.ts +11 -36
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/otpPrompt/authLane.d.ts +5 -8
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/passkeyPrompt/touchIdPrompt.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/passkeyPrompt/webauthnPromptCoordinator.d.ts +3 -8
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/types.d.ts +7 -22
- package/dist/types/wallet/src/core/signingEngine/threshold/commitQueueShared.d.ts +10 -10
- package/dist/types/wallet/src/core/signingEngine/threshold/crypto/ecdsaDerivationClientWasm.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/threshold/ecdsa/bootstrapSession.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/threshold/ecdsa/signingQueue.d.ts +1 -7
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/commitQueue.d.ts +1 -6
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/walletSession.d.ts +6 -36
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/yaoPublicCapabilityReferences.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/ExportPrivateKeySurface.d.ts +5 -9
- package/dist/types/wallet/src/core/signingEngine/workerManager/ecdsaPresignLifecycle.d.ts +5 -16
- package/dist/types/wallet/src/core/signingEngine/workerManager/workerTypes.d.ts +3 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/crypto.d.ts +2 -11
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/custodyRestore.d.ts +0 -2
- package/dist/types/wallet/src/core/types/linkDevice.d.ts +3 -18
- package/dist/types/wallet/src/core/types/sdkPublicResults.d.ts +5 -18
- package/dist/types/wallet/src/core/types/sdkSentEvents.d.ts +4 -21
- package/dist/types/wallet/src/core/types/seams.d.ts +17 -71
- package/dist/types/wallet/src/externalEvm/types.d.ts +5 -12
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/GlobeIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/KeyIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/LaptopIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/LinkIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/LockIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/MailIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/RecoveryCodesIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/ScanIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/SlidersIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/SmartphoneIcon.d.ts +1 -4
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/lucideIcon.d.ts +5 -0
- package/dist/types/wallet/src/react/hooks/useAccountInput.d.ts +1 -22
- package/dist/types/wallet/src/react/transactionReview/controller.d.ts +3 -10
- package/dist/types/wallet/src/utils/menuItemBlink.d.ts +9 -0
- package/dist/workers/device-linking-key.worker.js +106 -105
- package/dist/workers/ecdsa-derivation-client.worker.js +15 -24
- package/dist/workers/ecdsa-presign-client.worker.js +58 -73
- package/dist/workers/email-otp.worker.js +13 -16
- package/dist/workers/evm_crypto.wasm +0 -0
- package/dist/workers/evm_crypto_bg.wasm +0 -0
- package/dist/workers/near_signer.wasm +0 -0
- package/dist/workers/router_ab_ecdsa_client_bg.wasm +0 -0
- package/dist/workers/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/workers/tempo_signer.wasm +0 -0
- package/dist/workers/tempo_signer_bg.wasm +0 -0
- package/dist/workers/wallet-custody-ceremony.worker.js +7 -7
- package/dist/workers/wallet_custody_ceremony_bg.wasm +0 -0
- package/dist/workers/wasm_signer_worker_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/esm/components/AccountMenuButton/HaloBorder/HaloBorder.css +0 -101
- package/dist/esm/core/signingEngine/session/emailOtp/coordinatorRuntime.js +0 -131
- package/dist/esm/core/signingEngine/uiConfirm/ui/transaction-display/renderers/evm.js +0 -12
- package/dist/esm/core/signingEngine/uiConfirm/ui/transaction-display/renderers/near.js +0 -12
- package/dist/esm/core/signingEngine/uiConfirm/ui/transaction-display/renderers/tempo.js +0 -12
- package/dist/esm/react/components/AccountMenuButton/HaloBorder/HaloBorder.css +0 -101
- package/dist/esm/react/core/signingEngine/session/emailOtp/coordinatorRuntime.js +0 -131
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/transaction-display/renderers/evm.js +0 -12
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/transaction-display/renderers/near.js +0 -12
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/transaction-display/renderers/tempo.js +0 -12
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/coordinatorRuntime.d.ts +0 -43
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-display/renderers/evm.d.ts +0 -5
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-display/renderers/near.d.ts +0 -5
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-display/renderers/tempo.d.ts +0 -5
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { D as parseWalletAuthorityId, M as parseWebAuthnRpId, O as parseWalletId, T as parseWalletAuthMethodId, _ as parseMpcSigningWorkerRef, d as parseLinkedDeviceId, h as parseMpcMaterialActivationRef, k as parseWalletKeyId, l as parseLinkDeviceSessionId, n as hasWhitespaceOrControlCharacters, r as mpcMaterialActivationRefsEqual, u as parseLinkedDeviceEnrollmentId } from "./domainIds-lcrFg6Sa.js";
|
|
2
2
|
import { D as parseImplicitNearAccountId, O as parseNamedNearAccountId, _ as requireRecord, m as requireArray, v as requireRecordCopy } from "./validation-gat4LEKm.js";
|
|
3
3
|
import { i as base64UrlEncode, r as base64UrlDecode } from "./base64-Clm8C-e9.js";
|
|
4
|
-
import {
|
|
5
|
-
import { $t as
|
|
4
|
+
import { A as delegatedWalletPermissionNamesV1, C as parseEnvelopeNonceB64u, E as parseSecp256k1CompressedPublicKeyB64u, F as exactRecord$3, I as rejectUnknownFields$1, O as requireParsed, S as parseEnvelopeCiphertextB64u, _ as signingRootScopeFromRuntimePolicyScope, b as parseDigestField$1, d as normalizeThresholdEd25519ParticipantIds, v as deriveEvmFamilySigningKeySlotId$1, x as parseEd25519PublicKeyB64u } from "./sessionPolicy-DO-MkL65.js";
|
|
5
|
+
import { $t as wireLiteral, At as parseActiveWalletSessionV1, Bt as parseDelegatedWalletAuthority, Ct as parseRouterAbMpcMaterialActivationRef, Dt as sameRouterAbMpcMaterialActivationRef, Ft as digest, Gt as rpId$1, Ht as parseNonNegativeSafeInteger, It as enrollmentId, Jt as walletAuthorityId, Kt as sessionId, Lt as keyLabeled, Nt as authorizationDeviceId, Ot as requireRouterAbX25519PublicKey, Pt as credentialId, Qt as walletSessionId, Rt as linkedDeviceId, Tt as routerAbMpcMaterialActivationRefFromWire, Ut as parseTargetEmail, Vt as parseNonEmptyToken, Wt as parseUnixTime, Xt as walletKeyId, Yt as walletId, Zt as walletSessionAuthorizationId, en as wireNullable, j as requireRouterAbEcdsaDerivationNormalSigningStateV1, qt as walletAuthMethodId, rn as wireUnion, tn as wireObject, xt as parseSdkEcdsaDerivationThresholdKeyId, zt as nullableToken } from "./ecdsaPresignLifecycle-Bfx2AQKb.js";
|
|
6
6
|
import { d as parseMpcWalletSigningQuotaId, f as parsePrincipalId, h as parseWalletSessionId, l as parseDeviceId, m as parseWalletSessionAuthorizationId, p as parseTenantId } from "./capabilityKinds-hvYqa6S_.js";
|
|
7
7
|
import { f as alphabetizeStringify, m as sha256BytesUtf8 } from "./chains-BMh3btVo.js";
|
|
8
8
|
import { a as sha256DigestB64u, o as sha256Utf8DigestB64u, r as parseDigestB64u } from "./canonicalPrimitives-BTHWz80v.js";
|
|
9
9
|
import { c as toWalletId, l as walletIdFromWalletProfile } from "./ecdsaChainTarget-Bl-JWyuw.js";
|
|
10
10
|
import { n as SIGNER_AUTH_METHODS } from "./signerDomain-IEAVrOrc.js";
|
|
11
|
-
import { _ as rawDigest, b as u32, d as parseWalletSignerActivationSetV1, g as lp32, h as concat, u as parseWalletAuthorityV1, v as rawPublicKey, w as parseWalletAuthMethodRecordV2, x as u64, y as text } from "./walletAuthority-
|
|
11
|
+
import { _ as rawDigest, b as u32, d as parseWalletSignerActivationSetV1, g as lp32, h as concat, u as parseWalletAuthorityV1, v as rawPublicKey, w as parseWalletAuthMethodRecordV2, x as u64, y as text } from "./walletAuthority-DD9T25F6.js";
|
|
12
12
|
import { i as nearEd25519SigningKeyIdFromString } from "./registrationIds-DLSdEKSv.js";
|
|
13
13
|
import { r as SigningSessionIds } from "./types-Dx9fczU7.js";
|
|
14
14
|
//#region ../shared-ts/src/device-linking/contracts.ts
|
|
@@ -108,11 +108,11 @@ function parseLinkedDeviceEd25519ExportRootRecipientV1(raw) {
|
|
|
108
108
|
requireTransferAlg(record.transferAlg, "LinkedDeviceEd25519ExportRootRecipientV1.transferAlg");
|
|
109
109
|
return {
|
|
110
110
|
kind: "linked_device_ed25519_export_root_recipient_v1",
|
|
111
|
-
linkSessionId:
|
|
112
|
-
walletId:
|
|
113
|
-
walletKeyId:
|
|
114
|
-
enrollmentId:
|
|
115
|
-
deviceId:
|
|
111
|
+
linkSessionId: requireParsed(parseLinkDeviceSessionId(record.linkSessionId), "LinkedDeviceEd25519ExportRootRecipientV1.linkSessionId"),
|
|
112
|
+
walletId: requireParsed(parseWalletId(record.walletId), "walletId"),
|
|
113
|
+
walletKeyId: requireParsed(parseWalletKeyId(record.walletKeyId), "walletKeyId"),
|
|
114
|
+
enrollmentId: requireParsed(parseLinkedDeviceEnrollmentId(record.enrollmentId), "enrollmentId"),
|
|
115
|
+
deviceId: requireParsed(parseLinkedDeviceId(record.deviceId), "deviceId"),
|
|
116
116
|
transferAlg: LINKED_DEVICE_ED25519_EXPORT_ROOT_TRANSFER_ALG_V1,
|
|
117
117
|
applicationBindingDigestB64u: parseDigestField$1(record.applicationBindingDigestB64u, "applicationBindingDigestB64u"),
|
|
118
118
|
registeredPublicKeyB64u: parseEd25519PublicKeyB64u(record.registeredPublicKeyB64u, "registeredPublicKeyB64u"),
|
|
@@ -131,11 +131,11 @@ function parseLinkedDeviceEd25519ExportRootPackageV1(raw) {
|
|
|
131
131
|
if (recipientPublicKeyB64u === ephemeralPublicKeyB64u) throw new Error("ephemeralPublicKeyB64u repeats the recipient key");
|
|
132
132
|
return {
|
|
133
133
|
kind: "linked_device_ed25519_export_root_package_v1",
|
|
134
|
-
linkSessionId:
|
|
135
|
-
walletId:
|
|
136
|
-
walletKeyId:
|
|
137
|
-
enrollmentId:
|
|
138
|
-
deviceId:
|
|
134
|
+
linkSessionId: requireParsed(parseLinkDeviceSessionId(record.linkSessionId), "linkSessionId"),
|
|
135
|
+
walletId: requireParsed(parseWalletId(record.walletId), "walletId"),
|
|
136
|
+
walletKeyId: requireParsed(parseWalletKeyId(record.walletKeyId), "walletKeyId"),
|
|
137
|
+
enrollmentId: requireParsed(parseLinkedDeviceEnrollmentId(record.enrollmentId), "enrollmentId"),
|
|
138
|
+
deviceId: requireParsed(parseLinkedDeviceId(record.deviceId), "deviceId"),
|
|
139
139
|
transferAlg: LINKED_DEVICE_ED25519_EXPORT_ROOT_TRANSFER_ALG_V1,
|
|
140
140
|
applicationBindingDigestB64u: parseDigestField$1(record.applicationBindingDigestB64u, "applicationBindingDigestB64u"),
|
|
141
141
|
registeredPublicKeyB64u: parseEd25519PublicKeyB64u(record.registeredPublicKeyB64u, "registeredPublicKeyB64u"),
|
|
@@ -174,10 +174,6 @@ function parseUnixMs(value, label) {
|
|
|
174
174
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value <= 0) throw new Error(`${label} must be a positive unix-millisecond timestamp`);
|
|
175
175
|
return value;
|
|
176
176
|
}
|
|
177
|
-
function parseRequired(parsed, label) {
|
|
178
|
-
if (!parsed.ok) throw new Error(`${label} ${parsed.error.message}`);
|
|
179
|
-
return parsed.value;
|
|
180
|
-
}
|
|
181
177
|
//#endregion
|
|
182
178
|
//#region ../shared-ts/src/utils/addAuthMethodRegistration.ts
|
|
183
179
|
/**
|
|
@@ -1117,7 +1113,7 @@ function parseLinkedDeviceEd25519SourcePreservingReservationV1(raw) {
|
|
|
1117
1113
|
const participantIds = parseRouterAbEd25519YaoParticipantIdsV1(record.participant_ids);
|
|
1118
1114
|
const deriverA = parseEd25519ClientPackage$1(record.deriver_a_client_package, "deriver_a");
|
|
1119
1115
|
const deriverB = parseEd25519ClientPackage$1(record.deriver_b_client_package, "deriver_b");
|
|
1120
|
-
if (!
|
|
1116
|
+
if (!sameRouterAbEd25519YaoByteSequence(activationReceipt.transcript, deriverA.transcript) || !sameRouterAbEd25519YaoByteSequence(activationReceipt.transcript, deriverB.transcript)) throw new Error("linked-device Ed25519 reservation packages have mismatched transcripts");
|
|
1121
1117
|
return {
|
|
1122
1118
|
state: "inactive",
|
|
1123
1119
|
reservationId: requireText(record.reservation_id, "reservation_id"),
|
|
@@ -1276,10 +1272,10 @@ function parseEd25519Contribution(record) {
|
|
|
1276
1272
|
if (!sameEdStableIdentity(sourceBinding, targetBinding)) throw new Error("linked-device Ed25519 source contribution stable identity differs");
|
|
1277
1273
|
if (!mpcMaterialActivationRefsEqual(routerAbMpcMaterialActivationRefFromWire(activationReceipt.material_activation), targetMaterialActivation)) throw new Error("linked-device Ed25519 source contribution receipt activation differs");
|
|
1278
1274
|
const sourceRegisteredPublicKeyB64u = parseEd25519PublicKeyB64u(record.sourceRegisteredPublicKeyB64u, "sourceRegisteredPublicKeyB64u");
|
|
1279
|
-
if (!
|
|
1275
|
+
if (!sameRouterAbEd25519YaoByteSequence(activationReceipt.registered_public_key, Array.from(base64UrlDecode(sourceRegisteredPublicKeyB64u)))) throw new Error("linked-device Ed25519 source contribution receipt public key differs");
|
|
1280
1276
|
const deriverA = parseEd25519ClientPackage$1(record.deriver_a_client_package, "deriver_a");
|
|
1281
1277
|
const deriverB = parseEd25519ClientPackage$1(record.deriver_b_client_package, "deriver_b");
|
|
1282
|
-
if (!
|
|
1278
|
+
if (!sameRouterAbEd25519YaoByteSequence(activationReceipt.transcript, deriverA.transcript) || !sameRouterAbEd25519YaoByteSequence(activationReceipt.transcript, deriverB.transcript)) throw new Error("linked-device Ed25519 source contribution package transcript differs");
|
|
1283
1279
|
if (sourceBinding.material_activation.activation_id === targetMaterialActivation.activationId) throw new Error("linked-device Ed25519 source contribution reuses the source activation");
|
|
1284
1280
|
return {
|
|
1285
1281
|
kind: "linked_device_ed25519_source_contribution_v1",
|
|
@@ -1606,9 +1602,6 @@ function parseFixedBase64(raw, byteLength, label) {
|
|
|
1606
1602
|
if (decoded.length !== byteLength || base64UrlEncode(decoded) !== raw) throw new Error(`${label} must decode to ${byteLength} bytes`);
|
|
1607
1603
|
return raw;
|
|
1608
1604
|
}
|
|
1609
|
-
function sameBytes$1(left, right) {
|
|
1610
|
-
return left.length === right.length && left.every((value, index) => value === right[index]);
|
|
1611
|
-
}
|
|
1612
1605
|
function requireText(raw, label) {
|
|
1613
1606
|
if (typeof raw !== "string" || raw.length === 0 || raw.trim() !== raw || [...raw].some((character) => {
|
|
1614
1607
|
const code = character.charCodeAt(0);
|
|
@@ -1709,7 +1702,7 @@ function parseEd25519Package(raw) {
|
|
|
1709
1702
|
if (!mpcMaterialActivationRefsEqual(materialActivation, routerAbMpcMaterialActivationRefFromWire(targetBinding.material_activation))) throw new Error("CommittedEd25519SignerPackageV1 target binding does not match material");
|
|
1710
1703
|
const deriverA = parseEd25519ClientPackage(record.deriver_a_client_package, "deriver_a_client_package", "deriver_a");
|
|
1711
1704
|
const deriverB = parseEd25519ClientPackage(record.deriver_b_client_package, "deriver_b_client_package", "deriver_b");
|
|
1712
|
-
if (!
|
|
1705
|
+
if (!sameRouterAbEd25519YaoByteSequence(activationReceipt.transcript, deriverA.transcript) || !sameRouterAbEd25519YaoByteSequence(activationReceipt.transcript, deriverB.transcript)) throw new Error("CommittedEd25519SignerPackageV1 receipt transcript does not match packages");
|
|
1713
1706
|
return {
|
|
1714
1707
|
kind: "committed_ed25519_signer_package_v1",
|
|
1715
1708
|
materialActivation,
|
|
@@ -1875,9 +1868,6 @@ function parseCommittedEcdsaSignerPackageWireV1(raw) {
|
|
|
1875
1868
|
function inspectRawObject(raw) {
|
|
1876
1869
|
return raw !== null && typeof raw === "object" && !Array.isArray(raw) ? raw : null;
|
|
1877
1870
|
}
|
|
1878
|
-
function sameBytes(left, right) {
|
|
1879
|
-
return left.length === right.length && left.every((value, index) => value === right[index]);
|
|
1880
|
-
}
|
|
1881
1871
|
function requireExactWireFields(record, keys, label) {
|
|
1882
1872
|
const expected = new Set(keys);
|
|
1883
1873
|
const actual = Object.keys(record);
|
|
@@ -3985,10 +3975,6 @@ const OWNER_LANE_PARTICIPANT_CONTINUITY_FIELDS = [
|
|
|
3985
3975
|
"custodyKeyManifestDigestB64u",
|
|
3986
3976
|
"sourceIdentityDigestB64u"
|
|
3987
3977
|
];
|
|
3988
|
-
function requireResult(result, label) {
|
|
3989
|
-
if (result.ok) return result.value;
|
|
3990
|
-
throw new Error(`${label} ${result.error.message}`);
|
|
3991
|
-
}
|
|
3992
3978
|
/** Parse the owner signer identity without widening it into a generic string. */
|
|
3993
3979
|
function parseWalletSignerId(raw, label = "walletSignerId") {
|
|
3994
3980
|
if (typeof raw !== "string") throw new Error(`${label} must be a string`);
|
|
@@ -4014,7 +4000,7 @@ function buildOwnerLaneParticipantContinuityV1(args) {
|
|
|
4014
4000
|
kind: "owner_lane_participant_continuity_v1",
|
|
4015
4001
|
signerId: parseWalletSignerId(args.signerId),
|
|
4016
4002
|
participantIds,
|
|
4017
|
-
signingWorkerId:
|
|
4003
|
+
signingWorkerId: requireParsed(parseMpcSigningWorkerRef(args.signingWorkerId), "signingWorkerId"),
|
|
4018
4004
|
custodyKeyManifestDigestB64u: parseDigestField$1(args.custodyKeyManifestDigestB64u, "custodyKeyManifestDigestB64u"),
|
|
4019
4005
|
sourceIdentityDigestB64u: parseDigestField$1(args.sourceIdentityDigestB64u, "sourceIdentityDigestB64u")
|
|
4020
4006
|
};
|
|
@@ -4026,7 +4012,7 @@ function parseOwnerLaneParticipantContinuityV1(raw, label = "ownerParticipantCon
|
|
|
4026
4012
|
return buildOwnerLaneParticipantContinuityV1({
|
|
4027
4013
|
signerId: parseWalletSignerId(record.signerId, `${label}.signerId`),
|
|
4028
4014
|
participantIds: parseParticipantIds(record.participantIds, `${label}.participantIds`),
|
|
4029
|
-
signingWorkerId:
|
|
4015
|
+
signingWorkerId: requireParsed(parseMpcSigningWorkerRef(record.signingWorkerId), `${label}.signingWorkerId`),
|
|
4030
4016
|
custodyKeyManifestDigestB64u: parseDigestField$1(record.custodyKeyManifestDigestB64u, `${label}.custodyKeyManifestDigestB64u`),
|
|
4031
4017
|
sourceIdentityDigestB64u: parseDigestField$1(record.sourceIdentityDigestB64u, `${label}.sourceIdentityDigestB64u`)
|
|
4032
4018
|
});
|
|
@@ -4285,4 +4271,4 @@ function deriveEvmFamilyKeyFingerprintFromPublicFacts(input) {
|
|
|
4285
4271
|
}))}`;
|
|
4286
4272
|
}
|
|
4287
4273
|
//#endregion
|
|
4288
|
-
export { parseLinkedDeviceListRequestV1 as $,
|
|
4274
|
+
export { parseLinkedDeviceListRequestV1 as $, parseRouterAbEd25519YaoExportResultV1 as $t, buildImplicitNearAccountBinding as A, serializeQrLinkedDeviceSessionPayloadV5 as At, LINKED_DEVICE_CLOCK_SKEW_TOLERANCE_MS_V1 as B, ROUTER_AB_ED25519_YAO_EXPORT_EXECUTE_PATH_V1 as Bt, toThresholdOwnerAddress as C, parseLinkedDeviceOwnerAuthorizationRequestV1 as Ct, parseSigningWorkerParticipantRecordV1 as D, parseLinkedDeviceTargetPreparationRequestV1 as Dt, parseLaneParticipantBindingDigestB64u as E, parseLinkedDeviceTargetCredentialRegistrationResultV1 as Et, buildWalletIdentity as F, parseLinkedDeviceOrdinaryMaterialSourceContributionPreparationV1 as Ft, computeWalletSessionInstallationReceiptDigestB64u as G, ROUTER_AB_ED25519_YAO_REGISTRATION_ADMISSION_PATH_V1 as Gt, LINKED_DEVICE_REQUEST_PROOF_MAX_TTL_MS_V1 as H, ROUTER_AB_ED25519_YAO_RECOVERY_ADMISSION_PATH_V1 as Ht, nearAccountBindingFromRaw as I, sameEcdsaSourceSigner as It, parseLocalAuthorityActivationFinalAckV1 as J, parseRouterAbEd25519YaoActivationPublicReceiptV1 as Jt, computeWalletSessionOperationCredentialDigestB64u as K, ROUTER_AB_ED25519_YAO_REGISTRATION_EXECUTE_PATH_V1 as Kt, nearEd25519SignerBindingFromRaw as L, sameEcdsaTarget as Lt, buildNearEd25519SignerBinding as M, parseLinkedDeviceEcdsaSourcePreservingActivationReceiptV1 as Mt, buildPasskeyAuthScope as N, parseLinkedDeviceEd25519SourcePreservingReservationV1 as Nt, parseThresholdEcdsaKeyHandle as O, parseLinkedDeviceTargetPreparationV1 as Ot, buildPasskeyWalletAuthMethodBinding as P, parseLinkedDeviceOrdinaryMaterialSourceContributionPreparationTupleV1 as Pt, parseLinkedDeviceWalletSessionCredentialDeliveryV1 as Q, parseRouterAbEd25519YaoExportExecuteRequestV1 as Qt, parseRpId as R, ROUTER_AB_ED25519_YAO_EMAIL_OTP_RECOVERY_BOOTSTRAP_KIND_V1 as Rt, toThresholdEcdsaPublicKeyB64u as S, parseLinkedDeviceEmailOtpVerificationResultV1 as St, parseLaneHolderParticipantRecordV1 as T, parseLinkedDeviceSessionClaimV1 as Tt, computeLinkedDevicePublicKeyDigestV1 as U, ROUTER_AB_ED25519_YAO_RECOVERY_CHALLENGE_ID_HEADER_V1 as Ut, LINKED_DEVICE_REQUEST_PROOF_HEADER_V1 as V, ROUTER_AB_ED25519_YAO_RECOVERY_ACTIVATE_PATH_V1 as Vt, computeLinkedDeviceTargetPreparationDigestV1 as W, ROUTER_AB_ED25519_YAO_RECOVERY_EXECUTE_PATH_V1 as Wt, assertLinkedDeviceWalletSessionCredentialDeliveryIntegrityV1 as X, parseRouterAbEd25519YaoCeremonyBindingV1 as Xt, parseLocalAuthorityInstallationReceiptV1 as Y, parseRouterAbEd25519YaoApplicationBindingFactsV1 as Yt, parseLinkedDeviceWalletSessionCredentialDeliveryBindingV1 as Z, parseRouterAbEd25519YaoExportAdmissionReceiptV1 as Zt, resolveThresholdSigningRootBindingFromRecord as _, parseLinkedDeviceEd25519ExportRootPackageV1 as _n, parseLinkedDeviceEmailOtpChallengeResultV1 as _t, buildEvmFamilyEcdsaWalletKey as a, parseRouterAbEd25519YaoRecoveryAdmissionRequestV1 as an, buildLinkedDeviceSessionCancelClaimedRequestV1 as at, toParticipantId as b, serializeLinkedDeviceEd25519ExportRootTransferBindingV1 as bn, parseLinkedDeviceEmailOtpFactorReleaseEnvelopeV1 as bt, buildResolvedEvmFamilyEcdsaKey as c, parseRouterAbEd25519YaoRegistrationActivationResultV1 as cn, buildLinkedDeviceTargetCredentialRegistrationV1 as ct, deriveEvmFamilyKeyFingerprint as d, sameRouterAbEd25519YaoActivationBindingV1 as dn, parseLinkSessionProjectionV1 as dt, parseRouterAbEd25519YaoParticipantIdsV1 as en, parseLinkedDeviceListResultV1 as et, deriveEvmFamilyKeyFingerprintFromPublicFacts as f, sameRouterAbEd25519YaoRegistrationAdmissionRequestV1 as fn, parseLinkSessionTransportEventV1 as ft, resolveThresholdEcdsaKeyIdFromRecord as g, buildLinkedDeviceEd25519ExportRootTransferBindingV1 as gn, parseLinkedDeviceEmailOtpChallengeResendRequestV1 as gt, parseThresholdSigningRootBinding as h, LINKED_DEVICE_ED25519_EXPORT_ROOT_TRANSFER_ALG_V1 as hn, parseLinkedDeviceEmailOtpBaseFactorResolutionResultV1 as ht, buildEvmFamilyEcdsaSessionLanePolicy as i, parseRouterAbEd25519YaoRecoveryActivationResultV1 as in, buildLinkedDeviceApprovalV1 as it, buildNamedNearAccountBinding as j, parseCommittedAuthorityPackagesV1 as jt, buildEmailOtpWalletAuthMethodBinding as k, parseQrLinkedDeviceSessionPayloadV5 as kt, buildVerifiedEcdsaPublicFacts as l, parseRouterAbEd25519YaoRegistrationAdmissionRequestV1 as ln, buildQrLinkedDeviceSessionPayloadV5 as lt, evmFamilyEcdsaWalletKeyToIdentity as m, parseWalletAddAuthMethodRegistrationOptions as mn, parseLinkedDeviceApprovalResultV1 as mt, buildBaseEvmFamilyEcdsaKeyIdentity as n, parseRouterAbEd25519YaoRecoveryActivationExecuteRequestV1 as nn, parseLinkedDeviceRevokeResultV1 as nt, buildHydratedEcdsaSignerMaterial as o, parseRouterAbEd25519YaoRegistrationActivationAdmissionReceiptV1 as on, buildLinkedDeviceSessionCancelUnclaimedRequestV1 as ot, deriveEvmFamilySigningKeySlotId as p, deriveRouterAbEd25519YaoApplicationBindingDigestV1 as pn, parseLinkedDeviceApprovalDeliveryV1 as pt, parseActivateInstalledAuthorityResultV1 as q, ROUTER_AB_ED25519_YAO_WARM_RECOVERY_BOOTSTRAP_PATH_V1 as qt, buildEvmFamilyEcdsaRecoveredMaterialLanePolicy as r, parseRouterAbEd25519YaoRecoveryActivationReceiptV1 as rn, parseWebAuthnAuthenticatorDeviceInfo as rt, buildPasskeyEcdsaAuthBinding as s, parseRouterAbEd25519YaoRegistrationActivationExecuteRequestV1 as sn, buildLinkedDeviceSessionClaimRequestV1 as st, assertMatchingVerifiedEcdsaPublicFacts as t, parseRouterAbEd25519YaoRecoveryActivationAdmissionReceiptV1 as tn, parseLinkedDeviceRevokeRequestV1 as tt, deriveEvmFamilyEcdsaKeyHandle as u, parseRouterAbEd25519YaoWarmRecoveryBootstrapRequestV1 as un, parseLinkDevicePublicKeyB64u as ut, resolveThresholdSigningRootBindingFromRuntimePolicyScope as v, parseLinkedDeviceEd25519ExportRootRecipientPublicKeyB64u as vn, parseLinkedDeviceEmailOtpChallengeStartRequestV1 as vt, parseOwnerLaneParticipantContinuityV1 as w, parseLinkedDeviceOwnerAuthorizationSourceV1 as wt, toRpId as x, assertNeverLinkSessionStateV1 as xn, parseLinkedDeviceEmailOtpVerificationGrantV1 as xt, toEvmFamilyEcdsaKeyHandle as y, parseLinkedDeviceEd25519ExportRootRecipientV1 as yn, parseLinkedDeviceEmailOtpChallengeVerifyRequestV1 as yt, walletAuthMethodBindingFromRaw as z, ROUTER_AB_ED25519_YAO_EXPORT_ADMISSION_PATH_V1 as zt };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { O as parseWalletId, i as parseCapabilityInstanceRef } from "./domainIds-lcrFg6Sa.js";
|
|
2
2
|
import { g as requireNonEmptyString, m as requireArray, v as requireRecordCopy } from "./validation-gat4LEKm.js";
|
|
3
3
|
import { n as secureRandomBase64Url } from "./secureRandomId-BORsmdS4.js";
|
|
4
|
-
import {
|
|
4
|
+
import { kt as activeWalletSessionV1RecordsEqual, nt as parseWalletAuthAuthorityRef } from "./ecdsaPresignLifecycle-Bfx2AQKb.js";
|
|
5
5
|
import { h as parseWalletSessionId, m as parseWalletSessionAuthorizationId } from "./capabilityKinds-hvYqa6S_.js";
|
|
6
6
|
import { a as thresholdEcdsaChainTargetFromRequest } from "./ecdsaChainTarget-Bl-JWyuw.js";
|
|
7
7
|
import { o as isWalletAuthMethod } from "./signerDomain-IEAVrOrc.js";
|
|
8
8
|
import { t as toAccountId } from "./accountIds-DhIPGOSN.js";
|
|
9
|
-
import { z as walletAuthMethodBindingFromRaw } from "./evmFamilyEcdsaIdentity-
|
|
9
|
+
import { z as walletAuthMethodBindingFromRaw } from "./evmFamilyEcdsaIdentity-CqGafQsI.js";
|
|
10
10
|
import { a as parseNearEd25519SigningKeyId } from "./registrationIds-DLSdEKSv.js";
|
|
11
|
-
import { s as parseEcdsaThresholdKeyId } from "./keyMaterialBrands-
|
|
11
|
+
import { s as parseEcdsaThresholdKeyId } from "./keyMaterialBrands-CogGAAZn.js";
|
|
12
12
|
import { t as parseSignerSlot } from "./signerSlot-_ovonwVX.js";
|
|
13
13
|
import { _ as NonceCoordinatorDegradationReason, v as NonceCoordinatorFallback, x as NonceLeaseState } from "./nonceLaneKeys-C3c9lG6u.js";
|
|
14
14
|
import { t as createEvmClient } from "./EvmClient-f3gUhS2L.js";
|
|
15
|
-
import { n as resolveAppearanceTheme } from "./configHelpers-
|
|
15
|
+
import { n as resolveAppearanceTheme } from "./configHelpers-D1EqxVxg.js";
|
|
16
16
|
import { n as getDefaultCspNonce, r as appearanceTokenCssRule, t as createCspStylesheetManager } from "./csp-stylesheet-btENhsNp.js";
|
|
17
17
|
//#region src/core/signingEngine/webauthnAuth/fallbacks/safari-fallbacks.ts
|
|
18
18
|
const WebAuthnBridgeMessage = {
|
|
@@ -2366,35 +2366,15 @@ function parseNonceDiagnosticLane(value) {
|
|
|
2366
2366
|
}
|
|
2367
2367
|
function parseRequiredNonceStateCounts(value) {
|
|
2368
2368
|
const record = requireRecordCopy(value, "nonce state counts");
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
[NonceLeaseState.Expired]: requireNonceStateCount(record, NonceLeaseState.Expired),
|
|
2373
|
-
[NonceLeaseState.Signed]: requireNonceStateCount(record, NonceLeaseState.Signed),
|
|
2374
|
-
[NonceLeaseState.SignedLeaseExpired]: requireNonceStateCount(record, NonceLeaseState.SignedLeaseExpired),
|
|
2375
|
-
[NonceLeaseState.BroadcastAccepted]: requireNonceStateCount(record, NonceLeaseState.BroadcastAccepted),
|
|
2376
|
-
[NonceLeaseState.BroadcastRejected]: requireNonceStateCount(record, NonceLeaseState.BroadcastRejected),
|
|
2377
|
-
[NonceLeaseState.Finalized]: requireNonceStateCount(record, NonceLeaseState.Finalized),
|
|
2378
|
-
[NonceLeaseState.Dropped]: requireNonceStateCount(record, NonceLeaseState.Dropped),
|
|
2379
|
-
[NonceLeaseState.Replaced]: requireNonceStateCount(record, NonceLeaseState.Replaced),
|
|
2380
|
-
[NonceLeaseState.Reconciled]: requireNonceStateCount(record, NonceLeaseState.Reconciled)
|
|
2381
|
-
};
|
|
2369
|
+
const counts = {};
|
|
2370
|
+
for (const state of Object.values(NonceLeaseState)) counts[state] = requireNonceStateCount(record, state);
|
|
2371
|
+
return counts;
|
|
2382
2372
|
}
|
|
2383
2373
|
function parsePartialNonceStateCounts(value) {
|
|
2384
2374
|
const record = requireRecordCopy(value, "nonce state counts");
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
...record[NonceLeaseState.Expired] === void 0 ? {} : { [NonceLeaseState.Expired]: requireNonceStateCount(record, NonceLeaseState.Expired) },
|
|
2389
|
-
...record[NonceLeaseState.Signed] === void 0 ? {} : { [NonceLeaseState.Signed]: requireNonceStateCount(record, NonceLeaseState.Signed) },
|
|
2390
|
-
...record[NonceLeaseState.SignedLeaseExpired] === void 0 ? {} : { [NonceLeaseState.SignedLeaseExpired]: requireNonceStateCount(record, NonceLeaseState.SignedLeaseExpired) },
|
|
2391
|
-
...record[NonceLeaseState.BroadcastAccepted] === void 0 ? {} : { [NonceLeaseState.BroadcastAccepted]: requireNonceStateCount(record, NonceLeaseState.BroadcastAccepted) },
|
|
2392
|
-
...record[NonceLeaseState.BroadcastRejected] === void 0 ? {} : { [NonceLeaseState.BroadcastRejected]: requireNonceStateCount(record, NonceLeaseState.BroadcastRejected) },
|
|
2393
|
-
...record[NonceLeaseState.Finalized] === void 0 ? {} : { [NonceLeaseState.Finalized]: requireNonceStateCount(record, NonceLeaseState.Finalized) },
|
|
2394
|
-
...record[NonceLeaseState.Dropped] === void 0 ? {} : { [NonceLeaseState.Dropped]: requireNonceStateCount(record, NonceLeaseState.Dropped) },
|
|
2395
|
-
...record[NonceLeaseState.Replaced] === void 0 ? {} : { [NonceLeaseState.Replaced]: requireNonceStateCount(record, NonceLeaseState.Replaced) },
|
|
2396
|
-
...record[NonceLeaseState.Reconciled] === void 0 ? {} : { [NonceLeaseState.Reconciled]: requireNonceStateCount(record, NonceLeaseState.Reconciled) }
|
|
2397
|
-
};
|
|
2375
|
+
const counts = {};
|
|
2376
|
+
for (const state of Object.values(NonceLeaseState)) if (record[state] !== void 0) counts[state] = requireNonceStateCount(record, state);
|
|
2377
|
+
return counts;
|
|
2398
2378
|
}
|
|
2399
2379
|
function requireNonceStateCount(record, state) {
|
|
2400
2380
|
return requireNonNegativeSafeInteger(record[state], `nonce state ${state}`);
|
|
@@ -2,7 +2,7 @@ import { h as parseMpcMaterialActivationRef } from "./domainIds-lcrFg6Sa.js";
|
|
|
2
2
|
import { E as isImplicitNearAccountId, k as parseNearAccountId } from "./validation-gat4LEKm.js";
|
|
3
3
|
import { f as alphabetizeStringify } from "./chains-BMh3btVo.js";
|
|
4
4
|
import { a as thresholdEcdsaChainTargetFromRequest, c as toWalletId, o as thresholdEcdsaChainTargetKey } from "./ecdsaChainTarget-Bl-JWyuw.js";
|
|
5
|
-
import { A as buildImplicitNearAccountBinding, F as buildWalletIdentity, L as nearEd25519SignerBindingFromRaw, M as buildNearEd25519SignerBinding, j as buildNamedNearAccountBinding, n as buildBaseEvmFamilyEcdsaKeyIdentity, x as toRpId, y as toEvmFamilyEcdsaKeyHandle } from "./evmFamilyEcdsaIdentity-
|
|
5
|
+
import { A as buildImplicitNearAccountBinding, F as buildWalletIdentity, L as nearEd25519SignerBindingFromRaw, M as buildNearEd25519SignerBinding, j as buildNamedNearAccountBinding, n as buildBaseEvmFamilyEcdsaKeyIdentity, x as toRpId, y as toEvmFamilyEcdsaKeyHandle } from "./evmFamilyEcdsaIdentity-CqGafQsI.js";
|
|
6
6
|
import { r as SigningSessionIds } from "./types-Dx9fczU7.js";
|
|
7
7
|
//#region src/core/signingEngine/session/identity/exactSigningLaneIdentity.ts
|
|
8
8
|
function assertNeverExactLane(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as resolveUiAppearance, k as sameSurfaceMeasurementBinding } from "./adapters-
|
|
1
|
+
import { O as resolveUiAppearance, k as sameSurfaceMeasurementBinding } from "./adapters-Dli9XAZp.js";
|
|
2
2
|
import { t as createWalletIframeSurfaceMeasurementReporter } from "./surface-measurement-reporter-CSTyRsMa.js";
|
|
3
3
|
//#region src/core/signingEngine/uiConfirm/ui/export-viewer-host.ts
|
|
4
4
|
let mountedHost = null;
|
|
@@ -6,7 +6,7 @@ import { a as setEmbeddedBase, i as setEmbeddedAssetVersion, n as getEmbeddedBas
|
|
|
6
6
|
import { t as walletIframeRequestIdFromBoundary } from "./walletIframeIdentity-DB6Z2EC9.js";
|
|
7
7
|
import { _ as parseHostedAuthMenuExternalAuthResolution, n as WALLET_IFRAME_PROTOCOL_VERSION_MISMATCH, p as parseHostedAuthMenuCancelPayload, r as WALLET_PROTOCOL_VERSION, v as parseHostedAuthMenuOpenRequest } from "./messages-C7Dbx9iN.js";
|
|
8
8
|
import { t as errorMessage } from "./errors-93h9uAW9.js";
|
|
9
|
-
import { n as preloadWalletHostRecoveryCodeSurface, t as loadWalletHostRuntime } from "./runtimeLoader-
|
|
9
|
+
import { n as preloadWalletHostRecoveryCodeSurface, t as loadWalletHostRuntime } from "./runtimeLoader-DQVEFVaW.js";
|
|
10
10
|
//#region src/SeamsWeb/walletIframe/host/bootstrap.ts
|
|
11
11
|
/**
|
|
12
12
|
* Bootstrap tasks for the wallet iframe host.
|
|
@@ -387,7 +387,7 @@ function initWalletIFrame(options = {}) {
|
|
|
387
387
|
...state.walletConfigs || {},
|
|
388
388
|
...route.request.payload
|
|
389
389
|
};
|
|
390
|
-
if (CONFIRM_UI_SURFACES.some(({ selector }) => document.querySelector(selector))) (await import("./runtimeContext-
|
|
390
|
+
if (CONFIRM_UI_SURFACES.some(({ selector }) => document.querySelector(selector))) (await import("./runtimeContext-D3TBExQ6.js")).syncActiveWalletHostRuntimeConfig(state);
|
|
391
391
|
post({
|
|
392
392
|
type: "PONG",
|
|
393
393
|
requestId
|
|
@@ -473,7 +473,7 @@ function initWalletIFrame(options = {}) {
|
|
|
473
473
|
});
|
|
474
474
|
} catch (err) {
|
|
475
475
|
if (reviewAdmission?.cancelled) return;
|
|
476
|
-
const canonicalSignerErrors = await import("./canonicalSignerErrorCode-
|
|
476
|
+
const canonicalSignerErrors = await import("./canonicalSignerErrorCode-BBIk365e.js");
|
|
477
477
|
const codeRaw = err && typeof err === "object" && "code" in err ? err.code : void 0;
|
|
478
478
|
const message = errorMessage(err);
|
|
479
479
|
const code = canonicalSignerErrors.resolveWalletBoundaryErrorCode({
|
package/dist/{esm/sdk/keyMaterialBrands-CX41hur6.js → public/sdk/keyMaterialBrands-CogGAAZn.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as parseMpcMaterialActivationRef } from "./domainIds-lcrFg6Sa.js";
|
|
2
2
|
import { i as base64UrlEncode, r as base64UrlDecode } from "./base64-Clm8C-e9.js";
|
|
3
|
-
import {
|
|
3
|
+
import { xt as parseSdkEcdsaDerivationThresholdKeyId } from "./ecdsaPresignLifecycle-Bfx2AQKb.js";
|
|
4
4
|
//#region ../shared-ts/src/threshold/keyMaterialBrands.ts
|
|
5
5
|
function parseNonEmptyBrand(value, label) {
|
|
6
6
|
const normalized = String(value ?? "").trim();
|
|
@@ -5,8 +5,8 @@ import "./capabilityKinds-hvYqa6S_.js";
|
|
|
5
5
|
import "./signerDomain-IEAVrOrc.js";
|
|
6
6
|
import "./encoders-D8d07vpx.js";
|
|
7
7
|
import "./actions-CCvThiKe.js";
|
|
8
|
-
import { N as silentConfirmationConfig, O as resolveUiAppearance, f as ERROR_MESSAGES, j as UserConfirmationType, l as collectAuthenticationCredentialForExactNearChallengeB64u, m as isUserCancelledUserConfirm, n as createConfirmTxFlowAdapters, o as __isWalletIframeHostMode, t as createConfirmSession, u as collectAuthenticationCredentialForExactWalletChallengeB64u, x as getIntentDigest } from "./adapters-
|
|
9
|
-
import { n as removeExportViewerHostIfPresent, r as upsertExportViewerHost } from "./export-viewer-host-
|
|
8
|
+
import { N as silentConfirmationConfig, O as resolveUiAppearance, f as ERROR_MESSAGES, j as UserConfirmationType, l as collectAuthenticationCredentialForExactNearChallengeB64u, m as isUserCancelledUserConfirm, n as createConfirmTxFlowAdapters, o as __isWalletIframeHostMode, t as createConfirmSession, u as collectAuthenticationCredentialForExactWalletChallengeB64u, x as getIntentDigest } from "./adapters-Dli9XAZp.js";
|
|
9
|
+
import { n as removeExportViewerHostIfPresent, r as upsertExportViewerHost } from "./export-viewer-host-rWMSQQMP.js";
|
|
10
10
|
import "./jsxRuntime.module-CuH5ZEIA.js";
|
|
11
11
|
//#region src/core/signingEngine/uiConfirm/handlers/flows/localOnly.ts
|
|
12
12
|
function createRandomChallengeB64u() {
|
|
@@ -2,21 +2,21 @@ import { D as parseWalletAuthorityId, M as parseWebAuthnRpId, O as parseWalletId
|
|
|
2
2
|
import { D as parseImplicitNearAccountId, O as parseNamedNearAccountId, d as isPlainObject, k as parseNearAccountId, u as isObject } from "./validation-gat4LEKm.js";
|
|
3
3
|
import { t as errorMessage } from "./errors-93h9uAW9.js";
|
|
4
4
|
import { r as base64UrlDecode } from "./base64-Clm8C-e9.js";
|
|
5
|
-
import { h as normalizeRuntimePolicyScope, o as normalizeThresholdRuntimePolicyScope } from "./sessionPolicy-
|
|
6
|
-
import {
|
|
5
|
+
import { h as normalizeRuntimePolicyScope, o as normalizeThresholdRuntimePolicyScope } from "./sessionPolicy-DO-MkL65.js";
|
|
6
|
+
import { At as parseActiveWalletSessionV1, D as parseRouterAbEcdsaRegistrationPublicActivationReceiptV1, O as parseRouterAbEcdsaRegistrationRequestFactsV1, Q as isPasskeyWalletAuthAuthority, T as parseRouterAbEcdsaPostRegistrationSessionActivationResponseV1, Tt as routerAbMpcMaterialActivationRefFromWire, _ as parseRouterAbEcdsaDerivationNormalSigningStateV1, c as ROUTER_AB_ECDSA_DERIVATION_SESSION_ACTIVATION_PATH, j as requireRouterAbEcdsaDerivationNormalSigningStateV1, jt as parseWalletSessionOperationCredentialV1, k as parseRouterAbEcdsaStrictForwardedRegistrationResponseV1, tt as parseWalletAuthAuthority, v as parseRouterAbEcdsaDerivationPublicCapabilityV1 } from "./ecdsaPresignLifecycle-Bfx2AQKb.js";
|
|
7
7
|
import { d as parseMpcWalletSigningQuotaId, g as parseWalletSessionMintId, h as parseWalletSessionId, m as parseWalletSessionAuthorizationId } from "./capabilityKinds-hvYqa6S_.js";
|
|
8
8
|
import { f as alphabetizeStringify } from "./chains-BMh3btVo.js";
|
|
9
9
|
import { o as sha256Utf8DigestB64u, r as parseDigestB64u } from "./canonicalPrimitives-BTHWz80v.js";
|
|
10
10
|
import { a as thresholdEcdsaChainTargetFromRequest, c as toWalletId, l as walletIdFromWalletProfile, o as thresholdEcdsaChainTargetKey, s as thresholdEcdsaChainTargetsEqual } from "./ecdsaChainTarget-Bl-JWyuw.js";
|
|
11
11
|
import { n as SIGNER_AUTH_METHODS, r as SIGNER_KINDS } from "./signerDomain-IEAVrOrc.js";
|
|
12
|
-
import { O as parseThresholdEcdsaKeyHandle, S as toThresholdEcdsaPublicKeyB64u, a as buildEvmFamilyEcdsaWalletKey,
|
|
13
|
-
import { u as parseWalletAuthorityV1, w as parseWalletAuthMethodRecordV2 } from "./walletAuthority-
|
|
12
|
+
import { O as parseThresholdEcdsaKeyHandle, S as toThresholdEcdsaPublicKeyB64u, a as buildEvmFamilyEcdsaWalletKey, g as resolveThresholdEcdsaKeyIdFromRecord, h as parseThresholdSigningRootBinding, ln as parseRouterAbEd25519YaoRegistrationAdmissionRequestV1, mn as parseWalletAddAuthMethodRegistrationOptions, rt as parseWebAuthnAuthenticatorDeviceInfo, y as toEvmFamilyEcdsaKeyHandle } from "./evmFamilyEcdsaIdentity-CqGafQsI.js";
|
|
13
|
+
import { u as parseWalletAuthorityV1, w as parseWalletAuthMethodRecordV2 } from "./walletAuthority-DD9T25F6.js";
|
|
14
14
|
import { a as parseNearEd25519SigningKeyId, l as normalizeRegistrationAuthMethodInput, o as walletIdFromString } from "./registrationIds-DLSdEKSv.js";
|
|
15
|
-
import { d as parsePasskeyCustodyEnvelopeRecord, t as parseWalletCustodyRegistrationOutcome } from "./passkey-custody-
|
|
15
|
+
import { d as parsePasskeyCustodyEnvelopeRecord, t as parseWalletCustodyRegistrationOutcome } from "./passkey-custody-UUHbC0pk.js";
|
|
16
16
|
import { l as parseRouterAbEd25519NormalSigningState, u as requireRouterAbEd25519NormalSigningState } from "./signingSessionSeal-Cu-GHm6y.js";
|
|
17
|
-
import { o as normalizeRegistrationSignerPlan, u as registrationSignerSetSelectionFromPlan } from "./registrationSignerPlan-
|
|
18
|
-
import { a as parseAddAuthMethodIntentV1, c as sameAddSignerIntentV1, i as computeRegistrationIntentDigestB64u, n as addSignerIntentGrantFromString, o as parseAddSignerIntentV1, s as sameAddAuthMethodIntentV1, t as addAuthMethodIntentGrantFromString } from "./registrationIntent-
|
|
19
|
-
import { a as toEcdsaDerivationThresholdKeyId } from "./challengeDelivery-
|
|
17
|
+
import { o as normalizeRegistrationSignerPlan, u as registrationSignerSetSelectionFromPlan } from "./registrationSignerPlan-DhV8VAob.js";
|
|
18
|
+
import { a as parseAddAuthMethodIntentV1, c as sameAddSignerIntentV1, i as computeRegistrationIntentDigestB64u, n as addSignerIntentGrantFromString, o as parseAddSignerIntentV1, s as sameAddAuthMethodIntentV1, t as addAuthMethodIntentGrantFromString } from "./registrationIntent-4zwk16zQ.js";
|
|
19
|
+
import { a as toEcdsaDerivationThresholdKeyId } from "./challengeDelivery-DZtopOAG.js";
|
|
20
20
|
import { n as buildRelayerJsonPostRequestInit, r as normalizeRelayerBaseUrl, t as buildBearerAuthorizationHeader } from "./relayerHttp-VC8Holz1.js";
|
|
21
21
|
//#region ../shared-ts/src/utils/registrationEstablishedSession.ts
|
|
22
22
|
function parseRegistrationEstablishedSessionResultV2(raw) {
|
|
@@ -24,7 +24,7 @@ function parseRegistrationEstablishedSessionResultV2(raw) {
|
|
|
24
24
|
if (!result || !("kind" in result) || typeof result.kind !== "string") return null;
|
|
25
25
|
switch (result.kind) {
|
|
26
26
|
case "issued": {
|
|
27
|
-
if (!hasExactKeys(result, ["kind", "session"]) || !("session" in result)) return null;
|
|
27
|
+
if (!hasExactKeys$1(result, ["kind", "session"]) || !("session" in result)) return null;
|
|
28
28
|
const session = parseRegistrationEstablishedSessionV2(result.session);
|
|
29
29
|
return session === null ? null : {
|
|
30
30
|
kind: "issued",
|
|
@@ -32,7 +32,7 @@ function parseRegistrationEstablishedSessionResultV2(raw) {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
case "already_committed": {
|
|
35
|
-
if (!hasExactKeys(result, [
|
|
35
|
+
if (!hasExactKeys$1(result, [
|
|
36
36
|
"kind",
|
|
37
37
|
"session",
|
|
38
38
|
"next"
|
|
@@ -51,7 +51,7 @@ function parseRegistrationEstablishedSessionResultV2(raw) {
|
|
|
51
51
|
function parseRegistrationEstablishedSessionV2(raw) {
|
|
52
52
|
try {
|
|
53
53
|
const record = inspectRawObject(raw);
|
|
54
|
-
if (!record || !hasExactKeys(record, [
|
|
54
|
+
if (!record || !hasExactKeys$1(record, [
|
|
55
55
|
"kind",
|
|
56
56
|
"walletId",
|
|
57
57
|
"authorizationId",
|
|
@@ -110,7 +110,7 @@ function hasUnexpectedRegistrationSigningFamily(walletSession, ...allowedFamilie
|
|
|
110
110
|
function parseRegistrationEstablishedSessionProjectionV2(raw) {
|
|
111
111
|
try {
|
|
112
112
|
const record = inspectRawObject(raw);
|
|
113
|
-
if (!record || !hasExactKeys(record, [
|
|
113
|
+
if (!record || !hasExactKeys$1(record, [
|
|
114
114
|
"kind",
|
|
115
115
|
"walletId",
|
|
116
116
|
"authorizationId",
|
|
@@ -156,7 +156,7 @@ function parseRegistrationEstablishedSessionProjectionTokensV2(raw) {
|
|
|
156
156
|
if (!record || !("kind" in record) || typeof record.kind !== "string") return null;
|
|
157
157
|
switch (record.kind) {
|
|
158
158
|
case "evm_family_ecdsa": {
|
|
159
|
-
if (!hasExactKeys(record, ["kind", "ecdsa"]) || !("ecdsa" in record)) return null;
|
|
159
|
+
if (!hasExactKeys$1(record, ["kind", "ecdsa"]) || !("ecdsa" in record)) return null;
|
|
160
160
|
const ecdsa = parseRegistrationEstablishedEcdsaSessionProjectionV2(record.ecdsa);
|
|
161
161
|
return ecdsa === null ? null : {
|
|
162
162
|
kind: "evm_family_ecdsa",
|
|
@@ -164,7 +164,7 @@ function parseRegistrationEstablishedSessionProjectionTokensV2(raw) {
|
|
|
164
164
|
};
|
|
165
165
|
}
|
|
166
166
|
case "near_ed25519": {
|
|
167
|
-
if (!hasExactKeys(record, ["kind", "ed25519"]) || !("ed25519" in record)) return null;
|
|
167
|
+
if (!hasExactKeys$1(record, ["kind", "ed25519"]) || !("ed25519" in record)) return null;
|
|
168
168
|
const ed25519 = parseRegistrationEstablishedEd25519SessionProjectionV2(record.ed25519);
|
|
169
169
|
return ed25519 === null ? null : {
|
|
170
170
|
kind: "near_ed25519",
|
|
@@ -172,7 +172,7 @@ function parseRegistrationEstablishedSessionProjectionTokensV2(raw) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
case "near_ed25519_and_evm_family_ecdsa": {
|
|
175
|
-
if (!hasExactKeys(record, [
|
|
175
|
+
if (!hasExactKeys$1(record, [
|
|
176
176
|
"kind",
|
|
177
177
|
"ecdsa",
|
|
178
178
|
"ed25519"
|
|
@@ -190,7 +190,7 @@ function parseRegistrationEstablishedSessionProjectionTokensV2(raw) {
|
|
|
190
190
|
}
|
|
191
191
|
function parseRegistrationEstablishedEcdsaSessionProjectionV2(raw) {
|
|
192
192
|
const record = inspectRawObject(raw);
|
|
193
|
-
if (!record || !hasExactKeys(record, [
|
|
193
|
+
if (!record || !hasExactKeys$1(record, [
|
|
194
194
|
"sessionKind",
|
|
195
195
|
"thresholdSessionId",
|
|
196
196
|
"keyHandle",
|
|
@@ -223,7 +223,7 @@ function parseRegistrationEstablishedEcdsaSessionProjectionV2(raw) {
|
|
|
223
223
|
}
|
|
224
224
|
function parseRegistrationEstablishedEd25519SessionProjectionV2(raw) {
|
|
225
225
|
const record = inspectRawObject(raw);
|
|
226
|
-
if (!record || !hasExactKeys(record, [
|
|
226
|
+
if (!record || !hasExactKeys$1(record, [
|
|
227
227
|
"sessionKind",
|
|
228
228
|
"thresholdSessionId",
|
|
229
229
|
"nearAccountId",
|
|
@@ -257,7 +257,7 @@ function parseRegistrationEstablishedEd25519SessionProjectionV2(raw) {
|
|
|
257
257
|
}
|
|
258
258
|
function parseRuntimePolicyScopeProjection(raw) {
|
|
259
259
|
const record = inspectRawObject(raw);
|
|
260
|
-
if (!record || !hasExactKeys(record, [
|
|
260
|
+
if (!record || !hasExactKeys$1(record, [
|
|
261
261
|
"orgId",
|
|
262
262
|
"projectId",
|
|
263
263
|
"envId",
|
|
@@ -276,7 +276,7 @@ function parseNonNegativeSafeInteger(raw) {
|
|
|
276
276
|
function inspectRawObject(value) {
|
|
277
277
|
return value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
278
278
|
}
|
|
279
|
-
function hasExactKeys(record, expectedKeys) {
|
|
279
|
+
function hasExactKeys$1(record, expectedKeys) {
|
|
280
280
|
return Object.keys(record).length === expectedKeys.length && expectedKeys.every((key) => Object.prototype.hasOwnProperty.call(record, key));
|
|
281
281
|
}
|
|
282
282
|
//#endregion
|
|
@@ -3742,6 +3742,20 @@ async function computeWalletCustodyAdminChallengeDigest(input) {
|
|
|
3742
3742
|
})}`);
|
|
3743
3743
|
}
|
|
3744
3744
|
//#endregion
|
|
3745
|
+
//#region ../shared-ts/src/utils/exactKeys.ts
|
|
3746
|
+
/**
|
|
3747
|
+
* True when `value` is a non-array object whose own enumerable string keys are exactly `keys`.
|
|
3748
|
+
*
|
|
3749
|
+
* A key whose value is `undefined` still counts as present. Symbol, non-enumerable and inherited
|
|
3750
|
+
* keys are not counted, and the prototype is not checked. A list that repeats a key never matches.
|
|
3751
|
+
* Kept apart from validation.ts, which the wallet iframe's boot path loads.
|
|
3752
|
+
*/
|
|
3753
|
+
function hasExactKeys(value, keys) {
|
|
3754
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
|
|
3755
|
+
const actual = Object.keys(value);
|
|
3756
|
+
return actual.length === keys.length && actual.every((key) => keys.includes(key));
|
|
3757
|
+
}
|
|
3758
|
+
//#endregion
|
|
3745
3759
|
//#region ../shared-ts/src/authorization/walletSessionIssuance.ts
|
|
3746
3760
|
const COMMITTED_IDENTITY_FIELDS = [
|
|
3747
3761
|
"kind",
|
|
@@ -3779,12 +3793,8 @@ const UNLOCK_FLAT_RESPONSE_FIELDS = [
|
|
|
3779
3793
|
"unlocked",
|
|
3780
3794
|
"unlockBackend"
|
|
3781
3795
|
];
|
|
3782
|
-
function hasOnlyFields(record, fields) {
|
|
3783
|
-
const actual = Object.keys(record);
|
|
3784
|
-
return actual.length === new Set(fields).size && actual.every((field) => fields.includes(field));
|
|
3785
|
-
}
|
|
3786
3796
|
function parseCommittedIdentity(value) {
|
|
3787
|
-
if (!isPlainObject(value) || !
|
|
3797
|
+
if (!isPlainObject(value) || !hasExactKeys(value, COMMITTED_IDENTITY_FIELDS)) return null;
|
|
3788
3798
|
if (value.kind !== "already_committed_wallet_session_v1") return null;
|
|
3789
3799
|
const walletId = parseWalletId(value.walletId);
|
|
3790
3800
|
const authorityId = parseWalletAuthorityId(value.authorityId);
|
|
@@ -3815,8 +3825,8 @@ function parseResponseEnvelope(value) {
|
|
|
3815
3825
|
};
|
|
3816
3826
|
}
|
|
3817
3827
|
function parseFlatCommittedIdentity(value) {
|
|
3818
|
-
if (!
|
|
3819
|
-
if (
|
|
3828
|
+
if (!hasExactKeys(value, FLAT_RESPONSE_FIELDS) && !hasExactKeys(value, UNLOCK_FLAT_RESPONSE_FIELDS)) return null;
|
|
3829
|
+
if (hasExactKeys(value, UNLOCK_FLAT_RESPONSE_FIELDS) && (value.unlocked !== false || value.unlockBackend !== "passkey" && value.unlockBackend !== "email_otp")) return null;
|
|
3820
3830
|
if (value.kind !== "already_committed") return null;
|
|
3821
3831
|
return parseCommittedIdentity({
|
|
3822
3832
|
kind: "already_committed_wallet_session_v1",
|
|
@@ -3842,7 +3852,7 @@ function parseWalletSessionAlreadyCommittedResponseV1(value) {
|
|
|
3842
3852
|
if (!isPlainObject(value)) return null;
|
|
3843
3853
|
const envelope = parseResponseEnvelope(value);
|
|
3844
3854
|
if (!envelope) return null;
|
|
3845
|
-
if (!
|
|
3855
|
+
if (!hasExactKeys(value, NESTED_RESPONSE_FIELDS)) return null;
|
|
3846
3856
|
const committed = parseCommittedIdentity(value.committed);
|
|
3847
3857
|
return committed ? buildAlreadyCommittedResponse(envelope, committed) : null;
|
|
3848
3858
|
}
|
|
@@ -4005,4 +4015,4 @@ function resolveNearEd25519YaoCapabilityHydrationV1(input) {
|
|
|
4005
4015
|
throw new Error("Unsupported Near Ed25519 unlock-source observation");
|
|
4006
4016
|
}
|
|
4007
4017
|
//#endregion
|
|
4008
|
-
export {
|
|
4018
|
+
export { activateRouterAbEcdsaPostRegistrationSession as A, requestAddAuthMethodEmailOtpChallenge as C, setupWalletRegistration as D, revokeWalletAuthMethod as E, startWalletAddAuthMethod as O, parseWalletRegistrationEcdsaDerivationRespond as S, respondWalletRegistration as T, fetchWalletEcdsaKeyFactsInventoryWithWebAuthn as _, buildRehydrateMaterialActivationHydrationPlan as a, fundImplicitNearAccountForTesting as b, parseWalletUnlockAlreadyCommittedResponseV1 as c, activateWalletAddSignerEcdsa as d, activateWalletRegistration as f, fetchWalletEcdsaKeyFactsInventoryWithOperationCredential as g, createWalletAddSignerIntent as h, buildBlockedMpcCapabilityHydrationPlan as i, parseProfileContinuityEcdsaWarmKey as j, startWalletAddSigner as k, hasExactKeys as l, createWalletAddAuthMethodIntent as m, nearEd25519YaoRuntimeRef as n, buildUseLiveRuntimeHydrationPlan as o, completeWalletRegistrationNearProvisioning as p, resolveNearEd25519YaoCapabilityHydrationV1 as r, parseWalletSessionAlreadyCommittedResponseV1 as s, nearEd25519YaoMaterialActivationFromMetadata as t, computeWalletCustodyAdminChallengeDigest as u, finalizeWalletAddAuthMethod as v, respondWalletAddSignerEcdsa as w, isEmailOtpWalletRegistrationFinalizeResponse as x, finalizeWalletAddSigner as y };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as mpcMaterialActivationRefsEqual } from "./domainIds-lcrFg6Sa.js";
|
|
2
|
-
import {
|
|
3
|
-
import { y as toEvmFamilyEcdsaKeyHandle } from "./evmFamilyEcdsaIdentity-
|
|
2
|
+
import { J as emailOtpWalletAuthAuthorityEmailHashHex, K as buildEmailOtpWalletAuthAuthority, X as emailOtpWalletAuthAuthorityProviderUserId, Y as emailOtpWalletAuthAuthorityProvider, it as walletAuthAuthorityRef, kt as activeWalletSessionV1RecordsEqual } from "./ecdsaPresignLifecycle-Bfx2AQKb.js";
|
|
3
|
+
import { y as toEvmFamilyEcdsaKeyHandle } from "./evmFamilyEcdsaIdentity-CqGafQsI.js";
|
|
4
4
|
import { t as parseSignerSlot } from "./signerSlot-_ovonwVX.js";
|
|
5
5
|
import { c as signingLaneAuthMethod, r as SigningSessionIds } from "./types-Dx9fczU7.js";
|
|
6
|
-
import { a as exactEd25519SigningLaneIdentity, f as nearEd25519SignerBindingFromBoundaryFields, n as exactEcdsaSigningLaneIdentity, t as buildEvmFamilyEcdsaSignerBinding } from "./exactSigningLaneIdentity-
|
|
6
|
+
import { a as exactEd25519SigningLaneIdentity, f as nearEd25519SignerBindingFromBoundaryFields, n as exactEcdsaSigningLaneIdentity, t as buildEvmFamilyEcdsaSignerBinding } from "./exactSigningLaneIdentity-m6uTXV_A.js";
|
|
7
7
|
//#region src/core/signingEngine/session/identity/laneIdentity.ts
|
|
8
8
|
function emailOtpAuthContextProviderUserId(context) {
|
|
9
9
|
return String(emailOtpWalletAuthAuthorityProviderUserId(context.authority));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as parseWebAuthnRpId, O as parseWalletId, T as parseWalletAuthMethodId, b as parseSigningLaneId, c as parseLaneShareEpoch, d as parseLinkedDeviceId, j as parseWebAuthnCredentialIdB64u, k as parseWalletKeyId, l as parseLinkDeviceSessionId, u as parseLinkedDeviceEnrollmentId, v as parsePasskeyEnvelopeId, x as parseThresholdEcdsaSessionId } from "./domainIds-lcrFg6Sa.js";
|
|
2
2
|
import { _ as requireRecord } from "./validation-gat4LEKm.js";
|
|
3
|
-
import { C as
|
|
3
|
+
import { C as parseEnvelopeNonceB64u, D as parseUnixMs, E as parseSecp256k1CompressedPublicKeyB64u, I as rejectUnknownFields, S as parseEnvelopeCiphertextB64u, b as parseDigestField, w as parseEnvelopeRevision, x as parseEd25519PublicKeyB64u, y as requireEvmFamilySigningKeySlotId } from "./sessionPolicy-DO-MkL65.js";
|
|
4
4
|
import { a as parseNearEd25519SigningKeyId } from "./registrationIds-DLSdEKSv.js";
|
|
5
5
|
//#region ../shared-ts/src/passkey-custody/custodySecretBinding.ts
|
|
6
6
|
/** The only derivation scheme owner custody supports. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as seamsWalletDB, p as buildEmailOtpRecoveryCodeSet, v as SEAMS_WALLET_STORES } from "./wallet-recovery-
|
|
1
|
+
import { h as seamsWalletDB, p as buildEmailOtpRecoveryCodeSet, v as SEAMS_WALLET_STORES } from "./wallet-recovery-BX61-79p.js";
|
|
2
2
|
import { t as createWalletIframeSurfaceMeasurementReporter } from "./surface-measurement-reporter-CSTyRsMa.js";
|
|
3
3
|
//#region src/SeamsWeb/operations/recovery/walletRecoveryCodeBackup.ts
|
|
4
4
|
const CANCELLED_MESSAGE = "Recovery-code backup was cancelled before acknowledgement";
|
|
@@ -3,23 +3,23 @@ import "./validation-gat4LEKm.js";
|
|
|
3
3
|
import "./errors-93h9uAW9.js";
|
|
4
4
|
import { i as base64UrlEncode } from "./base64-Clm8C-e9.js";
|
|
5
5
|
import { r as secureRandomId } from "./secureRandomId-BORsmdS4.js";
|
|
6
|
-
import "./sessionPolicy-
|
|
7
|
-
import "./ecdsaPresignLifecycle-
|
|
6
|
+
import "./sessionPolicy-DO-MkL65.js";
|
|
7
|
+
import "./ecdsaPresignLifecycle-Bfx2AQKb.js";
|
|
8
8
|
import "./capabilityKinds-hvYqa6S_.js";
|
|
9
9
|
import { h as sha256HexUtf8, p as sha256Bytes } from "./chains-BMh3btVo.js";
|
|
10
10
|
import "./signerDomain-IEAVrOrc.js";
|
|
11
|
-
import { f as parseRecoveryCodeReservationId, m as decodeEmailOtpRecoveryKey } from "./wallet-recovery-
|
|
12
|
-
import "./evmFamilyEcdsaIdentity-
|
|
13
|
-
import "./walletAuthority-
|
|
11
|
+
import { f as parseRecoveryCodeReservationId, m as decodeEmailOtpRecoveryKey } from "./wallet-recovery-BX61-79p.js";
|
|
12
|
+
import "./evmFamilyEcdsaIdentity-CqGafQsI.js";
|
|
13
|
+
import "./walletAuthority-DD9T25F6.js";
|
|
14
14
|
import "./encoders-D8d07vpx.js";
|
|
15
15
|
import "./registrationIds-DLSdEKSv.js";
|
|
16
|
-
import { a as buildEmailOtpEnvelopeFactor, c as buildPasskeyEnvelopeFactor } from "./passkey-custody-
|
|
17
|
-
import { u as IndexedDBManager } from "./walletCustodyEcdsaContinuity-
|
|
16
|
+
import { a as buildEmailOtpEnvelopeFactor, c as buildPasskeyEnvelopeFactor } from "./passkey-custody-UUHbC0pk.js";
|
|
17
|
+
import { u as IndexedDBManager } from "./walletCustodyEcdsaContinuity-CF4bv9OI.js";
|
|
18
18
|
import "./keccak-DUL3d8SF.js";
|
|
19
19
|
import "./signingSessionSeal-Cu-GHm6y.js";
|
|
20
|
-
import "./registrationSignerPlan-
|
|
21
|
-
import "./registrationIntent-
|
|
22
|
-
import { a as finalizeWalletRecoveryGoogleEmailOtp, c as isDurablePasskeyPayload, d as prepareWalletRecoveryWithCode, l as finalizeWalletRecovery, n as promoteWalletRecoveryCommit, o as verifyWalletRecoveryEmailOtp, r as restoreAndPublishWalletRecoveryCommit, s as verifyWalletRecoveryGoogle, t as createAwaitingWalletRecoveryCommit, u as buildWalletRecoveryCeremonyCustodyJson } from "./walletRecoveryCommit-
|
|
20
|
+
import "./registrationSignerPlan-DhV8VAob.js";
|
|
21
|
+
import "./registrationIntent-4zwk16zQ.js";
|
|
22
|
+
import { a as finalizeWalletRecoveryGoogleEmailOtp, c as isDurablePasskeyPayload, d as prepareWalletRecoveryWithCode, l as finalizeWalletRecovery, n as promoteWalletRecoveryCommit, o as verifyWalletRecoveryEmailOtp, r as restoreAndPublishWalletRecoveryCommit, s as verifyWalletRecoveryGoogle, t as createAwaitingWalletRecoveryCommit, u as buildWalletRecoveryCeremonyCustodyJson } from "./walletRecoveryCommit-AI1AtIRP.js";
|
|
23
23
|
//#region src/SeamsWeb/operations/recovery/walletRecovery.ts
|
|
24
24
|
const RECOVERY_PREPARE_RETRY_TTL_MS = 300 * 1e3;
|
|
25
25
|
function assertNever(value) {
|