@seams/wallet 0.6.2 → 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 +43 -94
- package/dist/esm/SeamsWeb/assembly/browserSigningSurfaceAssembly.js +25 -5
- package/dist/esm/SeamsWeb/assembly/createBrowserSigningStores.js +1 -2
- package/dist/esm/SeamsWeb/operations/auth/login.js +29 -43
- 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/auth/walletUnlockSubject.js +1 -1
- package/dist/esm/SeamsWeb/operations/authMethods/addAuthMethodSourceClaim.js +1 -1
- package/dist/esm/SeamsWeb/operations/authMethods/emailOtp/addEmailOtp.js +4 -3
- package/dist/esm/SeamsWeb/operations/authMethods/emailOtp/challenge.js +1 -1
- package/dist/esm/SeamsWeb/operations/authMethods/emailOtp/googleEmailOtpWalletAuthFlow.js +1 -1
- package/dist/esm/SeamsWeb/operations/authMethods/emailOtp/localEmailOtpProjection.js +1 -1
- package/dist/esm/SeamsWeb/operations/authMethods/emailOtp/registrationOffer.js +6 -15
- package/dist/esm/SeamsWeb/operations/authMethods/emailOtp/walletActivation.js +2 -2
- package/dist/esm/SeamsWeb/operations/authMethods/passkey/addPasskey.js +5 -4
- package/dist/esm/SeamsWeb/operations/authMethods/passkey/exactPasskeyAuthority.js +34 -0
- package/dist/esm/SeamsWeb/operations/authMethods/passkey/localPasskeyProjection.js +4 -42
- package/dist/esm/SeamsWeb/operations/authMethods/revokeAuthMethod.js +3 -2
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingAuthorityInstallation.js +2 -2
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingEd25519ExportRoot.js +1 -1
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingHttpTransport.js +17 -17
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingOwnerTransport.js +1 -1
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingResume.js +4 -8
- package/dist/esm/SeamsWeb/operations/devices/deviceLinkingWorkerChannels.js +26 -25
- package/dist/esm/SeamsWeb/operations/devices/linkDevice.js +1 -1671
- package/dist/esm/SeamsWeb/operations/devices/linkDeviceFlow.js +1358 -0
- package/dist/esm/SeamsWeb/operations/devices/linkDeviceFlowSupport.js +143 -0
- package/dist/esm/SeamsWeb/operations/devices/linkDeviceTargetActivation.js +119 -0
- package/dist/esm/SeamsWeb/operations/devices/scanDevice.js +1 -1
- package/dist/esm/SeamsWeb/operations/devices/walletHostComposition.js +13 -3
- package/dist/esm/SeamsWeb/operations/devices/walletHostOwnerAuthority.js +12 -4
- package/dist/esm/SeamsWeb/operations/near/index.js +1 -1
- package/dist/esm/SeamsWeb/operations/near/signNEP413.js +1 -1
- package/dist/esm/SeamsWeb/operations/recovery/accountSync.js +1 -1
- package/dist/esm/SeamsWeb/operations/recovery/recoveryWalletBinding.js +1 -1
- package/dist/esm/SeamsWeb/operations/recovery/syncAccount.js +7 -7
- package/dist/esm/SeamsWeb/operations/recovery/walletRecoveryCommit.js +6 -10
- package/dist/esm/SeamsWeb/operations/recovery/walletRecoveryDurablePayload.js +8 -9
- package/dist/esm/SeamsWeb/operations/recovery/walletRecoveryRotation.js +2 -2
- package/dist/esm/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecovery.js +39 -5
- package/dist/esm/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecoveryUnlock.js +21 -42
- package/dist/esm/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecoveryValidation.js +3 -3
- package/dist/esm/SeamsWeb/operations/registration/pendingRegistrationRecovery.js +4 -10
- package/dist/esm/SeamsWeb/operations/registration/registration.js +101 -58
- package/dist/esm/SeamsWeb/operations/registration/registrationEd25519Yao.js +37 -6
- package/dist/esm/SeamsWeb/operations/registration/registrationSignerSet.js +1 -1
- package/dist/esm/SeamsWeb/operations/registration/registrationStrictEcdsa.js +4 -3
- package/dist/esm/SeamsWeb/operations/registration/registrationTerminalCommit.js +1 -1
- package/dist/esm/SeamsWeb/operations/registration/registrationTiming.js +194 -539
- package/dist/esm/SeamsWeb/operations/tempo/executeEvmFamilyTransaction.js +4 -1
- package/dist/esm/SeamsWeb/publicApi/auth.js +2 -1
- package/dist/esm/SeamsWeb/publicApi/awaitNearReady.js +3 -1
- package/dist/esm/SeamsWeb/publicApi/devices.js +1 -1
- package/dist/esm/SeamsWeb/publicApi/tempo.js +6 -0
- package/dist/esm/SeamsWeb/signingSurface/BrowserSigningSurface.js +46 -39
- package/dist/esm/SeamsWeb/walletIframe/client/progress/on-events-progress-bus.js +0 -4
- package/dist/esm/SeamsWeb/walletIframe/client/router.js +4 -3
- package/dist/esm/SeamsWeb/walletIframe/client/surface/geometry.js +6 -88
- package/dist/esm/SeamsWeb/walletIframe/host/restoredSessionPresignaturePrefill.js +29 -0
- package/dist/esm/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.js +89 -223
- package/dist/esm/SeamsWeb/walletIframe/shared/exactSessionState.js +32 -62
- package/dist/esm/SeamsWeb/walletIframe/shared/messages.js +3 -1
- package/dist/esm/SeamsWeb/walletIframe/shared/transactionReview.js +2 -4
- package/dist/esm/advanced.js +3 -2
- 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/accountData/near/keyMaterial.js +2 -2
- package/dist/esm/core/config/chains.js +1 -0
- package/dist/esm/core/indexedDB/index.js +1 -7
- package/dist/esm/core/indexedDB/keyMaterialEnvelope.js +1 -5
- package/dist/esm/core/indexedDB/linkedAuthoritySignerMaterial.js +7 -14
- package/dist/esm/core/indexedDB/pendingWalletRecoveryCommit.js +7 -12
- package/dist/esm/core/indexedDB/pendingWalletRegistrationCommit.js +140 -274
- package/dist/esm/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestLookups.js +209 -0
- package/dist/esm/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestRecords.js +848 -0
- package/dist/esm/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestStore.js +122 -1721
- package/dist/esm/core/indexedDB/seamsWalletDB/ecdsaClientPresignatures.js +235 -0
- package/dist/esm/core/indexedDB/seamsWalletDB/laneHolderMaterialStore.js +10 -13
- package/dist/esm/core/indexedDB/seamsWalletDB/repositories.js +60 -11
- package/dist/esm/core/indexedDB/seamsWalletDB/walletCustodyEcdsaContinuity.js +198 -0
- package/dist/esm/core/indexedDB/seamsWalletDB/walletSessionAuthorizationStore.js +1 -1
- package/dist/esm/core/indexedDB/unifiedIndexedDBManager.js +6 -0
- package/dist/esm/core/indexedDB/walletCustodyEd25519MaterialRecord.js +1 -1
- package/dist/esm/core/platform/browser/createBrowserPlatformRuntime.js +0 -43
- package/dist/esm/core/rpcClients/near/NearClient.js +20 -215
- package/dist/esm/core/rpcClients/near/rpcCalls.js +4 -4
- package/dist/esm/core/rpcClients/relayer/routerAbNormalSigning.js +57 -86
- package/dist/esm/core/rpcClients/relayer/thresholdEcdsa.js +1 -1
- package/dist/esm/core/rpcClients/relayer/walletRecoveryPrepare.js +75 -127
- package/dist/esm/core/rpcClients/relayer/walletRecoveryRotate.js +0 -1
- package/dist/esm/core/rpcClients/relayer/walletRegistration.js +42 -18
- package/dist/esm/core/rpcClients/relayer/walletRegistrationTerminalResponse.js +6 -12
- package/dist/esm/core/rpcClients/relayer/walletSessionAuthorizationStatus.js +1 -1
- package/dist/esm/core/signingEngine/assembly/ports/evmFamily.js +1 -1
- package/dist/esm/core/signingEngine/assembly/ports/recovery.js +1 -1
- package/dist/esm/core/signingEngine/assembly/ports/stepUpRuntime.js +0 -1
- package/dist/esm/core/signingEngine/chains/evm/display/evmTx.js +1 -6
- package/dist/esm/core/signingEngine/chains/evm/display/functionSelectors.js +2 -5
- package/dist/esm/core/signingEngine/chains/evm/evmCryptoWasm.js +1 -36
- package/dist/esm/core/signingEngine/chains/near/display.js +14 -1
- package/dist/esm/core/signingEngine/chains/tempo/display.js +1 -6
- package/dist/esm/core/signingEngine/flows/recovery/ecdsaDerivationExport.js +4 -4
- package/dist/esm/core/signingEngine/flows/recovery/ecdsaExportFlow.js +9 -10
- package/dist/esm/core/signingEngine/flows/recovery/ecdsaExportMaterial.js +37 -30
- package/dist/esm/core/signingEngine/flows/recovery/ed25519YaoExportFlow.js +4 -4
- package/dist/esm/core/signingEngine/flows/recovery/exportKeypairOperation.js +1 -4
- package/dist/esm/core/signingEngine/flows/recovery/passkeyEd25519YaoRecovery.js +18 -29
- package/dist/esm/core/signingEngine/flows/registration/accountLifecycle.js +245 -503
- package/dist/esm/core/signingEngine/flows/registration/services/passkeyEd25519YaoAddSigner.js +8 -11
- package/dist/esm/core/signingEngine/flows/signEvmFamily/authPlanning.js +1 -1
- package/dist/esm/core/signingEngine/flows/signEvmFamily/ecdsaSelection.js +1 -1
- package/dist/esm/core/signingEngine/flows/signEvmFamily/emailOtpSigningSession.js +3 -3
- package/dist/esm/core/signingEngine/flows/signEvmFamily/preparedSigning.js +2 -9
- package/dist/esm/core/signingEngine/flows/signEvmFamily/readySecp256k1Material.js +2 -2
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signEvmFamily.js +7 -11
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signEvmFamilyWithUiConfirmForTempo.js +1 -1
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signEvmWithUiConfirm.js +1 -1
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signers/ecdsaDerivationClientSigningMaterialSource.js +24 -18
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signers/secp256k1.js +1 -2
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signingFlow.js +10 -8
- package/dist/esm/core/signingEngine/flows/signEvmFamily/signingFlowRuntime.js +52 -21
- package/dist/esm/core/signingEngine/flows/signEvmFamily/transactionExecutor.js +2 -5
- package/dist/esm/core/signingEngine/flows/signNear/shared/ed25519YaoNormalSigning.js +2 -2
- package/dist/esm/core/signingEngine/flows/signNear/shared/signatureOnlySigning.js +343 -0
- package/dist/esm/core/signingEngine/flows/signNear/signDelegate.js +66 -312
- package/dist/esm/core/signingEngine/flows/signNear/signNear.js +46 -50
- package/dist/esm/core/signingEngine/flows/signNear/signNep413.js +58 -305
- package/dist/esm/core/signingEngine/flows/signNear/signTransactions.js +33 -16
- package/dist/esm/core/signingEngine/interfaces/accountAuthMetadata.js +0 -1
- package/dist/esm/core/signingEngine/routerAb/ecdsaDerivation/presignaturePool.js +16 -148
- package/dist/esm/core/signingEngine/routerAb/ecdsaDerivation/signingMaterialRef.js +2 -1
- package/dist/esm/core/signingEngine/session/availability/availableSigningLanes.js +5 -14
- package/dist/esm/core/signingEngine/session/availability/persistedAvailableSigningLanes.js +9 -8
- package/dist/esm/core/signingEngine/session/emailOtp/EmailOtpWalletSessionCoordinator.js +108 -24
- package/dist/esm/core/signingEngine/session/emailOtp/ecdsaLogin.js +5 -10
- package/dist/esm/core/signingEngine/session/emailOtp/ecdsaPublication.js +3 -3
- package/dist/esm/core/signingEngine/session/emailOtp/ecdsaRecovery.js +5 -5
- package/dist/esm/core/signingEngine/session/emailOtp/ecdsaSigningSessionAuthority.js +1 -1
- package/dist/esm/core/signingEngine/session/emailOtp/ed25519ExportContext.js +9 -16
- package/dist/esm/core/signingEngine/session/emailOtp/exportRecovery.js +2 -2
- package/dist/esm/core/signingEngine/session/emailOtp/exportRecoveryRuntime.js +0 -9
- package/dist/esm/core/signingEngine/session/emailOtp/publicTypes.js +1 -2
- package/dist/esm/core/signingEngine/session/emailOtp/sealedRefreshPolicy.js +0 -28
- package/dist/esm/core/signingEngine/session/emailOtp/sealedSessionRegistry.js +1 -1
- package/dist/esm/core/signingEngine/session/emailOtp/walletUnlock.js +1 -1
- package/dist/esm/core/signingEngine/session/identity/evmFamilyEcdsaIdentity.js +2 -2
- package/dist/esm/core/signingEngine/session/identity/exactSigningLaneIdentity.js +1 -1
- package/dist/esm/core/signingEngine/session/identity/laneIdentity.js +5 -4
- package/dist/esm/core/signingEngine/session/identity/ownerLaneScope.js +1 -1
- package/dist/esm/core/signingEngine/session/identity/selectLane.js +7 -21
- package/dist/esm/core/signingEngine/session/keyMaterialBrands.js +2 -21
- package/dist/esm/core/signingEngine/session/material/activeWalletAuthorityEcdsaRuntime.js +43 -69
- package/dist/esm/core/signingEngine/session/material/ecdsaCapabilityManifest.js +9 -17
- package/dist/esm/core/signingEngine/session/material/ecdsaSealedRuntime.js +3 -3
- package/dist/esm/core/signingEngine/session/material/ecdsaSigningCapability.js +2 -2
- package/dist/esm/core/signingEngine/session/material/nearEd25519YaoSigningPreparation.js +1 -1
- package/dist/esm/core/signingEngine/session/operationState/authorizationAdmission.js +4 -4
- package/dist/esm/core/signingEngine/session/passkey/ecdsaKeyFactsInventory.js +1 -1
- package/dist/esm/core/signingEngine/session/passkey/ecdsaRecovery.js +1 -1
- package/dist/esm/core/signingEngine/session/passkey/ed25519YaoLocalMaterial.js +39 -59
- package/dist/esm/core/signingEngine/session/passkey/ed25519YaoRecoveryCapability.js +13 -22
- package/dist/esm/core/signingEngine/session/passkey/ed25519YaoWarmRecovery.js +11 -23
- package/dist/esm/core/signingEngine/session/passkey/unlockEcdsaWarmupPlanner.js +1 -1
- package/dist/esm/core/signingEngine/session/persistence/ecdsaRoleLocalRecords.js +1 -1
- package/dist/esm/core/signingEngine/session/persistence/sealedSessionRecords.js +761 -0
- package/dist/esm/core/signingEngine/session/persistence/sealedSessionStore.js +42 -862
- package/dist/esm/core/signingEngine/session/public.js +1 -1
- package/dist/esm/core/signingEngine/session/sealedRecovery/recoveryRecord.js +3 -3
- package/dist/esm/core/signingEngine/session/warmCapabilities/capabilityReaderCore.js +1 -1
- package/dist/esm/core/signingEngine/session/warmCapabilities/ecdsaLoginPrefill.js +2 -1
- package/dist/esm/core/signingEngine/session/warmCapabilities/ecdsaLoginPrefillSigningMaterialSource.js +2 -2
- package/dist/esm/core/signingEngine/session/warmCapabilities/ecdsaProvisionPlan.js +0 -1
- package/dist/esm/core/signingEngine/session/warmCapabilities/ed25519SealedSessionRuntime.js +3 -3
- package/dist/esm/core/signingEngine/session/warmCapabilities/nearEd25519CapabilityRehydration.js +1 -1
- package/dist/esm/core/signingEngine/session/warmCapabilities/routerAbEd25519WalletSessionState.js +1 -1
- package/dist/esm/core/signingEngine/session/warmCapabilities/types.js +0 -1
- package/dist/esm/core/signingEngine/session/warmCapabilities/volatileWarmMaterialCommands.js +3 -5
- package/dist/esm/core/signingEngine/stepUpConfirmation/passkeyPrompt/touchIdPrompt.js +2 -3
- package/dist/esm/core/signingEngine/threshold/commitQueueShared.js +20 -6
- package/dist/esm/core/signingEngine/threshold/crypto/ecdsaDerivationClientWasm.js +10 -6
- package/dist/esm/core/signingEngine/threshold/crypto/ed25519YaoLaneWasm.js +2 -2
- package/dist/esm/core/signingEngine/threshold/ecdsa/activation.js +3 -2
- 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/threshold/ed25519/connectSession.js +1 -1
- package/dist/esm/core/signingEngine/threshold/ed25519/walletSession.js +2 -2
- package/dist/esm/core/signingEngine/threshold/ed25519/yaoActiveClientRegistry.js +1 -1
- package/dist/esm/core/signingEngine/threshold/ed25519/yaoPublicCapabilityReferences.js +12 -19
- package/dist/esm/core/signingEngine/threshold/sessionPolicy.js +1 -1
- package/dist/esm/core/signingEngine/uiConfirm/PasskeyMpcSessionDurableState.js +4 -3
- package/dist/esm/core/signingEngine/uiConfirm/PasskeyMpcSessionManager.js +5 -4
- package/dist/esm/core/signingEngine/uiConfirm/handlers/flows/adapters/adapters.js +7 -0
- package/dist/esm/core/signingEngine/uiConfirm/handlers/flows/signing.js +9 -16
- package/dist/esm/core/signingEngine/uiConfirm/ui/confirm-surface-resize.js +5 -5
- package/dist/esm/core/signingEngine/uiConfirm/ui/confirmation-model.js +1 -1
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/ConfirmationModal.js +1 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/TransactionLabel.js +1 -1
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +81 -9
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/TransactionReview.js +31 -78
- package/dist/esm/core/signingEngine/uiConfirm/ui/preact/confirmation-controller.js +1 -0
- package/dist/esm/core/signingEngine/uiConfirm/ui/transaction-display/tree.js +1 -10
- package/dist/esm/core/signingEngine/walletCustody/activateEd25519Capability.js +2 -1
- package/dist/esm/core/signingEngine/walletCustody/ceremonyActiveClientMetadata.js +3 -4
- package/dist/esm/core/signingEngine/walletCustody/emailOtpLink.js +2 -2
- package/dist/esm/core/signingEngine/walletCustody/openCustodyCache.js +1 -1
- package/dist/esm/core/signingEngine/walletCustody/recoveryReplacementEnvelope.js +2 -1
- package/dist/esm/core/signingEngine/walletCustody/unlockedEd25519ExportRootCapability.js +56 -9
- package/dist/esm/core/signingEngine/walletCustody/walletRecoveryEcdsa.js +1 -1
- package/dist/esm/core/signingEngine/walletCustody/walletRecoveryEd25519.js +2 -2
- package/dist/esm/core/signingEngine/walletCustody/walletRecoveryRotation.js +52 -81
- package/dist/esm/core/signingEngine/webauthnAuth/credentials/credentialExtensions.js +2 -4
- package/dist/esm/core/signingEngine/webauthnAuth/credentials/helpers.js +1 -1
- package/dist/esm/core/signingEngine/workerManager/deviceLinkingPorts.js +80 -64
- package/dist/esm/core/signingEngine/workerManager/deviceLinkingSourceContribution.js +28 -3
- package/dist/esm/core/signingEngine/workerManager/ecdsaClientWorkerChannels.js +3 -1
- package/dist/esm/core/signingEngine/workerManager/workerTransport.js +21 -10
- package/dist/esm/core/signingEngine/workerManager/workerTypes.js +2 -1
- package/dist/esm/core/types/linkDevice.js +2 -3
- package/dist/esm/core/types/sdkSentEvents.js +7 -5
- package/dist/esm/core/types/signer-worker.js +1 -58
- package/dist/esm/index.js +1 -1
- package/dist/esm/plugins/vite.js +1 -1
- package/dist/esm/react/SeamsWeb/SeamsWeb.js +42 -93
- package/dist/esm/react/SeamsWeb/assembly/browserSigningSurfaceAssembly.js +25 -5
- package/dist/esm/react/SeamsWeb/assembly/createBrowserSigningStores.js +1 -2
- package/dist/esm/react/SeamsWeb/operations/auth/login.js +26 -40
- package/dist/esm/react/SeamsWeb/operations/auth/scheduleLinkedDevicePresignaturePrefill.js +64 -0
- package/dist/esm/react/SeamsWeb/operations/auth/walletAuth.js +3 -4
- package/dist/esm/react/SeamsWeb/operations/auth/walletUnlockEcdsaSubject.js +1 -4
- package/dist/esm/react/SeamsWeb/operations/auth/walletUnlockSubject.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/authMethods/addAuthMethodSourceClaim.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/authMethods/emailOtp/addEmailOtp.js +4 -3
- package/dist/esm/react/SeamsWeb/operations/authMethods/emailOtp/googleEmailOtpWalletAuthFlow.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/authMethods/emailOtp/localEmailOtpProjection.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/authMethods/emailOtp/registrationOffer.js +6 -15
- package/dist/esm/react/SeamsWeb/operations/authMethods/emailOtp/walletActivation.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/authMethods/passkey/addPasskey.js +5 -4
- package/dist/esm/react/SeamsWeb/operations/authMethods/passkey/exactPasskeyAuthority.js +34 -0
- package/dist/esm/react/SeamsWeb/operations/authMethods/passkey/localPasskeyProjection.js +3 -3
- package/dist/esm/react/SeamsWeb/operations/authMethods/revokeAuthMethod.js +3 -2
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingAuthorityInstallation.js +2 -2
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingEd25519ExportRoot.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingHttpTransport.js +16 -16
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingOwnerTransport.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingResume.js +4 -8
- package/dist/esm/react/SeamsWeb/operations/devices/deviceLinkingWorkerChannels.js +26 -25
- package/dist/esm/react/SeamsWeb/operations/devices/linkDevice.js +1 -1671
- package/dist/esm/react/SeamsWeb/operations/devices/linkDeviceFlow.js +1358 -0
- package/dist/esm/react/SeamsWeb/operations/devices/linkDeviceFlowSupport.js +143 -0
- package/dist/esm/react/SeamsWeb/operations/devices/linkDeviceTargetActivation.js +119 -0
- package/dist/esm/react/SeamsWeb/operations/devices/walletHostComposition.js +13 -3
- package/dist/esm/react/SeamsWeb/operations/devices/walletHostOwnerAuthority.js +11 -3
- package/dist/esm/react/SeamsWeb/operations/near/index.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/recovery/accountSync.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/recovery/recoveryWalletBinding.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/recovery/syncAccount.js +5 -5
- package/dist/esm/react/SeamsWeb/operations/recovery/walletRecoveryCommit.js +5 -9
- package/dist/esm/react/SeamsWeb/operations/recovery/walletRecoveryDurablePayload.js +7 -8
- package/dist/esm/react/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecovery.js +38 -4
- package/dist/esm/react/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecoveryUnlock.js +20 -41
- package/dist/esm/react/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecoveryValidation.js +3 -3
- package/dist/esm/react/SeamsWeb/operations/registration/pendingRegistrationRecovery.js +4 -10
- package/dist/esm/react/SeamsWeb/operations/registration/registration.js +96 -53
- package/dist/esm/react/SeamsWeb/operations/registration/registrationEd25519Yao.js +35 -4
- package/dist/esm/react/SeamsWeb/operations/registration/registrationSignerSet.js +1 -1
- package/dist/esm/react/SeamsWeb/operations/registration/registrationStrictEcdsa.js +5 -4
- package/dist/esm/react/SeamsWeb/operations/registration/registrationTiming.js +194 -539
- 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/awaitNearReady.js +3 -1
- package/dist/esm/react/SeamsWeb/publicApi/devices.js +1 -1
- package/dist/esm/react/SeamsWeb/publicApi/tempo.js +6 -0
- package/dist/esm/react/SeamsWeb/signingSurface/BrowserSigningSurface.js +45 -38
- package/dist/esm/react/SeamsWeb/walletIframe/client/progress/on-events-progress-bus.js +0 -4
- package/dist/esm/react/SeamsWeb/walletIframe/client/router.js +4 -3
- package/dist/esm/react/SeamsWeb/walletIframe/client/surface/geometry.js +8 -5
- package/dist/esm/react/SeamsWeb/walletIframe/host/restoredSessionPresignaturePrefill.js +29 -0
- package/dist/esm/react/SeamsWeb/walletIframe/shared/exactSessionState.js +33 -63
- package/dist/esm/react/SeamsWeb/walletIframe/shared/messages.js +3 -1
- package/dist/esm/react/SeamsWeb/walletIframe/shared/transactionReview.js +3 -5
- package/dist/esm/react/build-paths.js +0 -2
- package/dist/esm/react/components/AccountMenuButton/AccountMenuDialog.js +93 -0
- package/dist/esm/react/components/AccountMenuButton/AuthenticationMethodsModal.js +189 -251
- package/dist/esm/react/components/AccountMenuButton/ExportKeysSection.js +1 -1
- package/dist/esm/react/components/AccountMenuButton/LinkedDevicesModal.js +199 -261
- 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/ProfileDropdown.js +1 -1
- package/dist/esm/react/components/AccountMenuButton/TransactionSettingsSection.js +1 -1
- package/dist/esm/react/components/AccountMenuButton/UserAccountButton.css +0 -5
- package/dist/esm/react/components/AccountMenuButton/UserAccountButton.js +1 -1
- 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/MoonIcon.js +6 -41
- 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/SunIcon.js +43 -78
- package/dist/esm/react/components/AccountMenuButton/icons/lucideIcon.js +27 -0
- package/dist/esm/react/components/AccountMenuButton/icons/strokeIcon.js +33 -0
- package/dist/esm/react/components/AccountMenuButton/index.js +7 -7
- package/dist/esm/react/components/QRCodeScanner.css +0 -15
- package/dist/esm/react/components/ShowQRCode.css +0 -14
- package/dist/esm/react/components/theme/design-tokens.js +0 -1
- package/dist/esm/react/context/useSeamsWithSdkFlow.js +1 -2
- package/dist/esm/react/context/useWalletIframeLifecycle.js +0 -14
- package/dist/esm/react/core/config/chains.js +1 -0
- package/dist/esm/react/core/indexedDB/keyMaterialEnvelope.js +1 -5
- package/dist/esm/react/core/indexedDB/linkedAuthoritySignerMaterial.js +7 -14
- package/dist/esm/react/core/indexedDB/pendingWalletRecoveryCommit.js +6 -11
- package/dist/esm/react/core/indexedDB/pendingWalletRegistrationCommit.js +140 -274
- package/dist/esm/react/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestLookups.js +209 -0
- package/dist/esm/react/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestRecords.js +848 -0
- package/dist/esm/react/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestStore.js +122 -1721
- package/dist/esm/react/core/indexedDB/seamsWalletDB/ecdsaClientPresignatures.js +235 -0
- package/dist/esm/react/core/indexedDB/seamsWalletDB/repositories.js +56 -7
- package/dist/esm/react/core/indexedDB/seamsWalletDB/walletCustodyEcdsaContinuity.js +198 -0
- package/dist/esm/react/core/indexedDB/seamsWalletDB/walletSessionAuthorizationStore.js +1 -1
- package/dist/esm/react/core/indexedDB/unifiedIndexedDBManager.js +6 -0
- package/dist/esm/react/core/indexedDB/walletCustodyEd25519MaterialRecord.js +1 -1
- package/dist/esm/react/core/platform/browser/createBrowserPlatformRuntime.js +1 -44
- package/dist/esm/react/core/rpcClients/near/NearClient.js +19 -214
- package/dist/esm/react/core/rpcClients/near/rpcCalls.js +1 -1
- package/dist/esm/react/core/rpcClients/relayer/routerAbNormalSigning.js +56 -85
- package/dist/esm/react/core/rpcClients/relayer/walletRecoveryPrepare.js +6 -6
- package/dist/esm/react/core/rpcClients/relayer/walletRecoveryRotate.js +0 -1
- package/dist/esm/react/core/rpcClients/relayer/walletRegistration.js +39 -15
- package/dist/esm/react/core/rpcClients/relayer/walletRegistrationTerminalResponse.js +4 -10
- package/dist/esm/react/core/rpcClients/relayer/walletSessionAuthorizationStatus.js +1 -1
- package/dist/esm/react/core/signingEngine/assembly/ports/recovery.js +1 -1
- package/dist/esm/react/core/signingEngine/assembly/ports/stepUpRuntime.js +0 -1
- package/dist/esm/react/core/signingEngine/chains/evm/display/evmTx.js +1 -6
- package/dist/esm/react/core/signingEngine/chains/evm/display/functionSelectors.js +2 -5
- package/dist/esm/react/core/signingEngine/chains/near/display.js +14 -1
- package/dist/esm/react/core/signingEngine/chains/tempo/display.js +1 -6
- package/dist/esm/react/core/signingEngine/flows/recovery/ecdsaDerivationExport.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/recovery/ecdsaExportFlow.js +7 -8
- 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/exportLaneSelection.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/recovery/passkeyEd25519YaoRecovery.js +17 -28
- package/dist/esm/react/core/signingEngine/flows/registration/accountLifecycle.js +246 -504
- package/dist/esm/react/core/signingEngine/flows/registration/services/passkeyEd25519YaoAddSigner.js +7 -10
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/authPlanning.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/ecdsaLanes.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/ecdsaSelection.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/emailOtpSigningSession.js +2 -2
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/preparedSigning.js +3 -10
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signEvmFamily.js +9 -13
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signEvmFamilyWithUiConfirmForTempo.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signEvmWithUiConfirm.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signers/ecdsaDerivationClientSigningMaterialSource.js +24 -18
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signers/secp256k1.js +1 -2
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signingFlow.js +10 -8
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/signingFlowRuntime.js +51 -20
- package/dist/esm/react/core/signingEngine/flows/signEvmFamily/transactionExecutor.js +2 -5
- package/dist/esm/react/core/signingEngine/flows/signNear/shared/ed25519YaoNormalSigning.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/signNear/shared/signatureOnlySigning.js +343 -0
- package/dist/esm/react/core/signingEngine/flows/signNear/shared/signingSessionAuthMode.js +1 -1
- package/dist/esm/react/core/signingEngine/flows/signNear/signDelegate.js +66 -312
- package/dist/esm/react/core/signingEngine/flows/signNear/signNear.js +47 -51
- package/dist/esm/react/core/signingEngine/flows/signNear/signNep413.js +58 -305
- package/dist/esm/react/core/signingEngine/flows/signNear/signTransactions.js +34 -17
- package/dist/esm/react/core/signingEngine/interfaces/accountAuthMetadata.js +0 -1
- package/dist/esm/react/core/signingEngine/routerAb/ecdsaDerivation/presignaturePool.js +15 -147
- package/dist/esm/react/core/signingEngine/routerAb/ecdsaDerivation/signingMaterialRef.js +2 -1
- package/dist/esm/react/core/signingEngine/session/SigningSessionCoordinator.js +1 -1
- package/dist/esm/react/core/signingEngine/session/availability/availableSigningLanes.js +5 -14
- package/dist/esm/react/core/signingEngine/session/availability/persistedAvailableSigningLanes.js +10 -9
- package/dist/esm/react/core/signingEngine/session/emailOtp/EmailOtpWalletSessionCoordinator.js +108 -24
- package/dist/esm/react/core/signingEngine/session/emailOtp/ecdsaLogin.js +5 -10
- package/dist/esm/react/core/signingEngine/session/emailOtp/ecdsaPublication.js +1 -1
- package/dist/esm/react/core/signingEngine/session/emailOtp/ecdsaRecovery.js +4 -4
- package/dist/esm/react/core/signingEngine/session/emailOtp/ed25519ExportContext.js +7 -14
- package/dist/esm/react/core/signingEngine/session/emailOtp/exportRecovery.js +1 -1
- package/dist/esm/react/core/signingEngine/session/emailOtp/exportRecoveryRuntime.js +0 -9
- package/dist/esm/react/core/signingEngine/session/emailOtp/publicTypes.js +0 -1
- package/dist/esm/react/core/signingEngine/session/emailOtp/sealedRefreshPolicy.js +0 -28
- package/dist/esm/react/core/signingEngine/session/emailOtp/sealedSessionRegistry.js +1 -1
- package/dist/esm/react/core/signingEngine/session/emailOtp/walletUnlock.js +1 -1
- package/dist/esm/react/core/signingEngine/session/emailOtp/workerEnrollment.js +1 -1
- package/dist/esm/react/core/signingEngine/session/identity/clientSessionPersistenceState.js +1 -1
- package/dist/esm/react/core/signingEngine/session/identity/evmFamilyEcdsaIdentity.js +3 -3
- package/dist/esm/react/core/signingEngine/session/identity/exactSigningLaneIdentity.js +2 -2
- package/dist/esm/react/core/signingEngine/session/identity/laneIdentity.js +6 -5
- package/dist/esm/react/core/signingEngine/session/identity/selectLane.js +7 -21
- package/dist/esm/react/core/signingEngine/session/keyMaterialBrands.js +2 -21
- package/dist/esm/react/core/signingEngine/session/material/activeWalletAuthorityEcdsaRuntime.js +41 -67
- package/dist/esm/react/core/signingEngine/session/material/ecdsaCapabilityManifest.js +8 -16
- package/dist/esm/react/core/signingEngine/session/material/ecdsaSigningCapability.js +1 -1
- package/dist/esm/react/core/signingEngine/session/material/nearEd25519YaoSigningPreparation.js +1 -1
- package/dist/esm/react/core/signingEngine/session/operationState/authorizationAdmission.js +4 -4
- package/dist/esm/react/core/signingEngine/session/passkey/ecdsaBootstrap.js +1 -1
- package/dist/esm/react/core/signingEngine/session/passkey/ecdsaKeyFactsInventory.js +1 -1
- package/dist/esm/react/core/signingEngine/session/passkey/ecdsaRecovery.js +1 -1
- package/dist/esm/react/core/signingEngine/session/passkey/ecdsaWarmCapabilityBootstrap.js +1 -1
- package/dist/esm/react/core/signingEngine/session/passkey/ed25519SessionProvision.js +1 -1
- package/dist/esm/react/core/signingEngine/session/passkey/ed25519YaoLocalMaterial.js +37 -57
- package/dist/esm/react/core/signingEngine/session/passkey/ed25519YaoRecoveryCapability.js +12 -21
- package/dist/esm/react/core/signingEngine/session/passkey/ed25519YaoWarmRecovery.js +11 -23
- package/dist/esm/react/core/signingEngine/session/persistence/sealedSessionRecords.js +761 -0
- package/dist/esm/react/core/signingEngine/session/persistence/sealedSessionStore.js +41 -858
- package/dist/esm/react/core/signingEngine/session/postconditions/runtimePostconditions.js +1 -1
- package/dist/esm/react/core/signingEngine/session/public.js +2 -2
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/capabilityReaderCore.js +1 -1
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/ecdsaBootstrapPersistence.js +1 -1
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/ecdsaLoginPrefill.js +2 -1
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/ecdsaLoginPrefillSigningMaterialSource.js +2 -2
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/ecdsaProvisionPlan.js +0 -1
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/ed25519SealedSessionRuntime.js +3 -3
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/nearEd25519CapabilityRehydration.js +2 -2
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/sealedRefreshParity.js +1 -1
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/types.js +1 -2
- package/dist/esm/react/core/signingEngine/session/warmCapabilities/volatileWarmMaterialCommands.js +3 -5
- package/dist/esm/react/core/signingEngine/stepUpConfirmation/passkeyPrompt/touchIdPrompt.js +2 -3
- package/dist/esm/react/core/signingEngine/threshold/commitQueueShared.js +20 -6
- package/dist/esm/react/core/signingEngine/threshold/crypto/ecdsaDerivationClientWasm.js +9 -5
- package/dist/esm/react/core/signingEngine/threshold/crypto/ed25519YaoLaneWasm.js +2 -2
- package/dist/esm/react/core/signingEngine/threshold/ecdsa/activation.js +2 -1
- package/dist/esm/react/core/signingEngine/threshold/ecdsa/bootstrapSession.js +1 -1
- 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/threshold/ed25519/walletSession.js +1 -1
- package/dist/esm/react/core/signingEngine/threshold/ed25519/yaoPublicCapabilityReferences.js +12 -19
- package/dist/esm/react/core/signingEngine/uiConfirm/PasskeyMpcSessionDurableState.js +2 -1
- package/dist/esm/react/core/signingEngine/uiConfirm/PasskeyMpcSessionManager.js +4 -3
- package/dist/esm/react/core/signingEngine/uiConfirm/handlers/flows/adapters/adapters.js +7 -0
- package/dist/esm/react/core/signingEngine/uiConfirm/handlers/flows/localOnly.js +1 -1
- package/dist/esm/react/core/signingEngine/uiConfirm/handlers/flows/signing.js +9 -16
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/confirm-surface-resize.js +5 -5
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/confirmation-model.js +1 -1
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/ConfirmationModal.js +1 -0
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/TransactionLabel.js +1 -1
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.js +81 -9
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/TransactionReview.js +31 -78
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/preact/confirmation-controller.js +1 -0
- package/dist/esm/react/core/signingEngine/uiConfirm/ui/transaction-display/tree.js +1 -10
- package/dist/esm/react/core/signingEngine/walletCustody/activateEd25519Capability.js +2 -1
- package/dist/esm/react/core/signingEngine/walletCustody/ceremonyActiveClientMetadata.js +3 -4
- package/dist/esm/react/core/signingEngine/walletCustody/emailOtpLink.js +2 -2
- package/dist/esm/react/core/signingEngine/walletCustody/recoveryReplacementEnvelope.js +2 -1
- package/dist/esm/react/core/signingEngine/walletCustody/unlockedEd25519ExportRootCapability.js +55 -8
- package/dist/esm/react/core/signingEngine/walletCustody/walletRecoveryRotation.js +52 -81
- package/dist/esm/react/core/signingEngine/webauthnAuth/credentials/credentialExtensions.js +2 -4
- package/dist/esm/react/core/signingEngine/workerManager/deviceLinkingPorts.js +80 -64
- package/dist/esm/react/core/signingEngine/workerManager/deviceLinkingSourceContribution.js +29 -4
- package/dist/esm/react/core/signingEngine/workerManager/ecdsaClientWorkerChannels.js +4 -2
- package/dist/esm/react/core/signingEngine/workerManager/workerTransport.js +21 -10
- package/dist/esm/react/core/signingEngine/workerManager/workerTypes.js +2 -1
- package/dist/esm/react/core/types/linkDevice.js +2 -3
- package/dist/esm/react/core/types/sdkSentEvents.js +7 -5
- package/dist/esm/react/hooks/useQRCamera.js +1 -1
- package/dist/esm/react/shared-ts/src/authorization/delegatedAuthority.js +1 -1
- package/dist/esm/react/shared-ts/src/authorization/operationFingerprint.js +0 -1
- package/dist/esm/react/shared-ts/src/authorization/walletAuthority.js +92 -227
- package/dist/esm/react/shared-ts/src/authorization/walletCustodyOperation.js +4 -6
- 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/activeWalletSession.js +70 -1
- package/dist/esm/react/shared-ts/src/device-linking/authorityActivation.js +142 -0
- package/dist/esm/react/shared-ts/src/device-linking/committedSignerPackages.js +5 -8
- package/dist/esm/react/shared-ts/src/device-linking/delegatedActivationPlan.js +3 -5
- package/dist/esm/react/shared-ts/src/device-linking/deviceManagement.js +120 -0
- package/dist/esm/react/shared-ts/src/device-linking/digests.js +8 -63
- package/dist/esm/react/shared-ts/src/device-linking/ed25519ExportRoot.js +13 -15
- package/dist/esm/react/shared-ts/src/device-linking/index.js +6 -4
- package/dist/esm/react/shared-ts/src/device-linking/parsers.js +546 -1308
- package/dist/esm/react/shared-ts/src/device-linking/requestProof.js +3 -3
- package/dist/esm/react/shared-ts/src/device-linking/sourceContribution.js +11 -17
- package/dist/esm/react/shared-ts/src/device-linking/walletSessionCredentialDelivery.js +7 -7
- package/dist/esm/react/shared-ts/src/device-linking/wireFields.js +59 -0
- package/dist/esm/react/shared-ts/src/near/nearClient.js +252 -0
- package/dist/esm/react/shared-ts/src/passkey-custody/custodyEnvelope.js +6 -4
- package/dist/esm/react/shared-ts/src/passkey-custody/custodySecretBinding.js +6 -4
- package/dist/esm/react/shared-ts/src/passkey-custody/primitives.js +9 -39
- package/dist/esm/react/shared-ts/src/signing-lanes/index.js +4 -3
- package/dist/esm/react/shared-ts/src/signing-lanes/ownerContinuity.js +8 -7
- package/dist/esm/react/shared-ts/src/signing-lanes/participantDigest.js +2 -0
- package/dist/esm/react/shared-ts/src/signing-lanes/participants.js +2 -5
- package/dist/esm/react/shared-ts/src/signing-lanes/recordParsers.js +18 -22
- package/dist/esm/react/shared-ts/src/signing-lanes/rotationDigests.js +2 -0
- package/dist/esm/react/shared-ts/src/signing-lanes/rotationParsers.js +3 -3
- package/dist/esm/react/shared-ts/src/signing-lanes/rotationProtocolParsers.js +8 -0
- package/dist/esm/react/shared-ts/src/signing-lanes/rotationWireFields.js +3 -0
- package/dist/esm/react/shared-ts/src/threshold/ed25519OperationFingerprint.js +34 -42
- package/dist/esm/react/shared-ts/src/threshold/keyMaterialBrands.js +25 -0
- package/dist/esm/react/shared-ts/src/threshold/secp256k1.js +1 -2
- package/dist/esm/react/shared-ts/src/threshold/signingRootScope.js +4 -1
- package/dist/esm/react/shared-ts/src/utils/addAuthMethodRegistration.js +3 -4
- package/dist/esm/react/shared-ts/src/utils/canonicalPrimitives.js +8 -1
- package/dist/esm/react/shared-ts/src/utils/digestEncoding.js +63 -0
- package/dist/esm/react/shared-ts/src/utils/ecdsaKeyFactsInventory.js +3 -5
- package/dist/esm/react/shared-ts/src/utils/ecdsaServerTiming.js +0 -1
- package/dist/esm/react/shared-ts/src/utils/emailOtpDomain.js +3 -3
- package/dist/esm/react/shared-ts/src/utils/encoders.js +1 -1
- package/dist/esm/react/shared-ts/src/utils/errors.js +1 -1
- package/dist/esm/react/shared-ts/src/utils/exactKeys.js +17 -0
- package/dist/esm/react/shared-ts/src/utils/exactRecord.js +44 -0
- package/dist/esm/react/shared-ts/src/utils/index.js +12 -8
- package/dist/esm/react/shared-ts/src/utils/registrationAuthMethodInput.js +84 -0
- package/dist/esm/react/shared-ts/src/utils/registrationEstablishedSession.js +2 -2
- package/dist/esm/react/shared-ts/src/utils/registrationIds.js +226 -0
- package/dist/esm/react/shared-ts/src/utils/registrationIntent.js +6 -1089
- package/dist/esm/react/shared-ts/src/utils/registrationSignerPlan.js +439 -0
- package/dist/esm/react/shared-ts/src/utils/routerAbEcdsaDerivation.js +9 -8
- package/dist/esm/react/shared-ts/src/utils/routerAbEd25519Yao.js +3 -76
- package/dist/esm/react/shared-ts/src/utils/routerAbEd25519YaoDigests.js +76 -0
- package/dist/esm/react/shared-ts/src/utils/routerAbNormalSigningIdentity.js +1 -4
- package/dist/esm/react/shared-ts/src/utils/routerAbPublicKeyset.js +2 -6
- package/dist/esm/react/shared-ts/src/utils/secureRandomId.js +1 -1
- package/dist/esm/react/shared-ts/src/utils/signerDomain.js +1 -16
- package/dist/esm/react/shared-ts/src/utils/thresholdEcdsaChainTarget.js +9 -0
- package/dist/esm/react/shared-ts/src/utils/validation.js +36 -2
- package/dist/esm/react/shared-ts/src/utils/walletAuthAuthority.js +1 -1
- package/dist/esm/react/shared-ts/src/utils/walletAuthMethodRecord.js +357 -0
- package/dist/esm/react/shared-ts/src/utils/walletCapabilityBindings.js +2 -2
- package/dist/esm/react/shared-ts/src/utils/wireSchema.js +66 -0
- package/dist/esm/react/shared-ts/src/wallet-recovery/walletRecoveryCommittedProjection.js +11 -17
- package/dist/esm/react/shared-ts/src/wallet-recovery/walletRecoveryEcdsaPossession.js +4 -8
- package/dist/esm/react/shared-ts/src/wallet-recovery/walletRecoveryEnvelopeSet.js +3 -1
- package/dist/esm/react/styles/styles.css +17 -86
- package/dist/esm/react/utils/menuItemBlink.js +24 -0
- package/dist/esm/react/utils/qrScanner.js +2 -19
- package/dist/esm/sdk/{ConfirmationDrawer-G0bT0Dbu.js → ConfirmationDrawer-MgFTBwwK.js} +2 -1
- package/dist/esm/sdk/{EvmClient-CHw6txjt.js → EvmClient-f3gUhS2L.js} +1 -1
- package/dist/esm/sdk/{NearClient-BQgcqAzG.js → NearClient-DY4NfHeD.js} +194 -147
- package/dist/esm/sdk/{NonceCoordinator-C7mqpJiU.js → NonceCoordinator-4XWPhYww.js} +4 -4
- package/dist/esm/sdk/{accountIds-Ck4GAQfm.js → accountIds-DhIPGOSN.js} +1 -1
- package/dist/{public/sdk/accountLifecycle-Ddavc_FC.js → esm/sdk/accountLifecycle-zthG08aC.js} +253 -514
- package/dist/esm/sdk/{actions-DsBQcjBn.js → actions-CCvThiKe.js} +1 -1
- package/dist/esm/sdk/{adapters-m94YFj70.js → adapters-Dli9XAZp.js} +137 -136
- package/dist/esm/sdk/canonicalPrimitives-BTHWz80v.js +36 -0
- package/dist/esm/sdk/{canonicalSignerErrorCode-DAzYzisf.js → canonicalSignerErrorCode-BBIk365e.js} +3 -17
- package/dist/{public/sdk/capabilityKinds-jwCEaqBU.js → esm/sdk/capabilityKinds-hvYqa6S_.js} +1 -1
- package/dist/esm/sdk/chains-BMh3btVo.js +124 -0
- package/dist/{public/sdk/challengeDelivery-BjLKoou3.js → esm/sdk/challengeDelivery-DZtopOAG.js} +2 -2
- package/dist/esm/sdk/{configHelpers-DB73zYvO.js → configHelpers-D1EqxVxg.js} +3 -3
- package/dist/esm/sdk/{defaultConfigs-CyNOW4Sy.js → defaultConfigs-D_33pPT9.js} +5 -5
- package/dist/{public/sdk/display-DHdC2yXU.js → esm/sdk/display-P4nQF-yc.js} +3 -8
- package/dist/{public/sdk/normalize-BephcEIF.js → esm/sdk/domainIds-lcrFg6Sa.js} +84 -84
- package/dist/{public/sdk/ecdsaCapabilityManifest-C8itxV9S.js → esm/sdk/ecdsaCapabilityManifest-DuMs0VtU.js} +14 -22
- package/dist/esm/sdk/{ecdsaChainTarget-BOTPGIU_.js → ecdsaChainTarget-Bl-JWyuw.js} +2 -2
- package/dist/esm/sdk/ecdsaPresignLifecycle-Bfx2AQKb.js +1983 -0
- package/dist/{public/sdk/ecdsaPresignPoolIdentity-Yopr4jvS.js → esm/sdk/ecdsaPresignPoolIdentity-BjxZVIqn.js} +1 -1
- package/dist/{public/sdk/ecdsaWalletRecords-CAbbVhEY.js → esm/sdk/ecdsaWalletRecords-D42rtA9z.js} +6 -4
- package/dist/esm/sdk/encoders-D8d07vpx.js +0 -0
- package/dist/{public/sdk/enrichDisplayModelWithAbi-DnjR1CqT.js → esm/sdk/enrichDisplayModelWithAbi-CWggsykc.js} +2 -2
- package/dist/{public/sdk/evmCryptoWasm-BVj135bZ.js → esm/sdk/evmCryptoWasm-DWklhEEb.js} +1 -1
- package/dist/esm/sdk/evmFamilyEcdsaIdentity-CqGafQsI.js +4274 -0
- package/dist/{public/sdk/exactSessionState-Bt0HforB.js → esm/sdk/exactSessionState-LWDUXydN.js} +51 -80
- package/dist/esm/sdk/exactSigningLaneIdentity-m6uTXV_A.js +335 -0
- package/dist/{public/sdk/export-viewer-host-CbqG8ZQV.js → esm/sdk/export-viewer-host-rWMSQQMP.js} +3 -3
- package/dist/esm/sdk/{helpers-DpRjHMBx.js → helpers-ZrowMnev.js} +3 -6
- package/dist/{public/sdk/host-BPC1zSVg.js → esm/sdk/host-CnV8nAUe.js} +12 -12
- package/dist/{public/sdk/intentDigest-A1MbbJPu.js → esm/sdk/intentDigest-CvOSNlCH.js} +2 -2
- package/dist/esm/sdk/{jsxRuntime.module-FAP0NE9p.js → jsxRuntime.module-CuH5ZEIA.js} +1 -1
- package/dist/esm/sdk/{keyMaterialBrands-BbjCfzXv.js → keyMaterialBrands-CogGAAZn.js} +15 -13
- package/dist/esm/sdk/{localOnly-CbLYTVbo.js → localOnly-DTpa2jD5.js} +8 -10
- package/dist/{public/sdk/messages-B3UbNZYc.js → esm/sdk/messages-C7Dbx9iN.js} +6 -4
- package/dist/{public/sdk/mountExportPrivateKeySurface-CNc6Mch4.js → esm/sdk/mountExportPrivateKeySurface-DgX-IBG_.js} +4 -4
- package/dist/{public/sdk/mountRecoveryCodeBackupSurface-ChwzwnYG.js → esm/sdk/mountRecoveryCodeBackupSurface-DXrExiJ7.js} +2 -2
- package/dist/{public/sdk/nearEd25519YaoMaterialActivation-Cz5UJQ_7.js → esm/sdk/nearEd25519YaoMaterialActivation-B5GecIvq.js} +82 -55
- package/dist/{public/sdk/nearEd25519YaoSigningPreparation-DX6xG-IW.js → esm/sdk/nearEd25519YaoSigningPreparation-CdOT5RuC.js} +10 -8
- package/dist/{public/sdk/nonceLaneKeys-B_RcSS6M.js → esm/sdk/nonceLaneKeys-C3c9lG6u.js} +1 -1
- package/dist/{public/sdk/normalization-oJyXl3Vn.js → esm/sdk/normalization-CBt413-z.js} +2 -2
- package/dist/esm/sdk/{operationFingerprint-DEPg9A3h.js → operationFingerprint-C8Trar4R.js} +4 -4
- package/dist/esm/sdk/{operationFingerprint-CsYO6b0a.js → operationFingerprint-CGZui5dR.js} +2 -1
- package/dist/esm/sdk/{passkey-custody-BaHyYMhj.js → passkey-custody-UUHbC0pk.js} +7 -6
- package/dist/{public/sdk/pendingWalletRecoveryCodeBackup-DyvRysWg.js → esm/sdk/pendingWalletRecoveryCodeBackup-BWluQMbt.js} +3 -3
- package/dist/esm/sdk/{recovery-entrypoint-D39R1avB.js → recovery-entrypoint-C3fydnRC.js} +19 -16
- package/dist/esm/sdk/{registration-PIBMSsQR.js → registration-Ct_7LdGf.js} +2871 -3182
- package/dist/esm/sdk/{registration-DtDICj-o.js → registration-DHERU8R_.js} +4 -4
- package/dist/{public/sdk/registrationAccounts-AO3QHjas.js → esm/sdk/registrationAccounts-DmWPzf3T.js} +6 -4
- package/dist/esm/sdk/registrationIds-DLSdEKSv.js +310 -0
- package/dist/esm/sdk/registrationIntent-4zwk16zQ.js +387 -0
- package/dist/esm/sdk/{registrationPreparationPreload-BZfAC_ba.js → registrationPreparationPreload-D6zpWp4O.js} +2 -2
- package/dist/esm/sdk/registrationSignerPlan-DhV8VAob.js +437 -0
- package/dist/{public/sdk/relayerHttp-LsVTZCxA.js → esm/sdk/relayerHttp-VC8Holz1.js} +1 -1
- package/dist/{public/sdk/routePlan-nLpPFHB-.js → esm/sdk/routePlan-D59x5xzQ.js} +1 -1
- package/dist/{public/sdk/router-CeFS9SgT.js → esm/sdk/router-B4ZWFy9E.js} +23 -25
- package/dist/{public/sdk/routerAbNormalSigning-DktZKnf1.js → esm/sdk/routerAbNormalSigning-CVFEOZ2m.js} +63 -92
- package/dist/esm/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/{public/sdk/runtime-auth-D_lUQQlc.js → esm/sdk/runtime-auth-DdfynDKt.js} +144 -301
- package/dist/{public/sdk/runtime-device-link-CEph1iM0.js → esm/sdk/runtime-device-link-HJ2ptFux.js} +25 -22
- package/dist/{public/sdk/runtime-ecdsa-tempo-tUWnafRo.js → esm/sdk/runtime-ecdsa-tempo-BGLsTAWR.js} +24 -21
- package/dist/esm/sdk/{runtime-email-otp-1wIPTDim.js → runtime-email-otp-CpX88VZJ.js} +23 -20
- package/dist/{public/sdk/runtime-export-Du2d4_Vu.js → esm/sdk/runtime-export-DIVY473L.js} +26 -22
- package/dist/{public/sdk/runtime-near-CGoWxu7u.js → esm/sdk/runtime-near-CxtQi4b2.js} +24 -22
- package/dist/{public/sdk/runtime-preferences-JwJK_xP3.js → esm/sdk/runtime-preferences-vnJc5Svg.js} +24 -21
- package/dist/esm/sdk/{runtime-recovery-codes-DW7bB2tO.js → runtime-recovery-codes-BSCLVHQj.js} +15 -19
- package/dist/{public/sdk/runtime-recovery-BEqBdpyo.js → esm/sdk/runtime-recovery-i08vCJST.js} +23 -20
- package/dist/esm/sdk/{runtimeContext-CTt9ON27.js → runtimeContext-D3TBExQ6.js} +915 -1109
- package/dist/{public/sdk/runtimeLoader-ZXsvx9zX.js → esm/sdk/runtimeLoader-DQVEFVaW.js} +12 -12
- package/dist/{public/sdk/sdkSentEvents-5Pi-hjHB.js → esm/sdk/sdkSentEvents-MqDkbQg1.js} +10 -8
- package/dist/esm/sdk/{secp256k1-CWDid9WH.js → secp256k1-D-I6Gh4D.js} +53 -176
- package/dist/esm/sdk/sessionPolicy-DO-MkL65.js +460 -0
- package/dist/{public/sdk/signEvmFamily-pbMepepQ.js → esm/sdk/signEvmFamily-C3C97Th-.js} +135 -185
- package/dist/esm/sdk/{signEvmFamilyWithUiConfirmForTempo-CxvfCI_o.js → signEvmFamilyWithUiConfirmForTempo-BI9DSTIS.js} +11 -15
- package/dist/{public/sdk/signEvmWithUiConfirm-nk-r3Rff.js → esm/sdk/signEvmWithUiConfirm-Bmcim5-g.js} +6 -10
- package/dist/{public/sdk/signNear-DVD9-IO5.js → esm/sdk/signNear-Bmb2fj_a.js} +729 -846
- package/dist/esm/sdk/{evmAdapter-C5NR5tiV.js → signatureUses-BkGyYt8F.js} +12 -3
- package/dist/esm/sdk/{signerDomain-DDLiwuYS.js → signerDomain-IEAVrOrc.js} +3 -18
- package/dist/{public/sdk/signerLoader-D_w-SfR9.js → esm/sdk/signerLoader-B7orgq5Z.js} +4 -4
- package/dist/esm/sdk/{signatureUses-BY1IY7uz.js → signingFlow-SZ8t_lxv.js} +24 -38
- package/dist/esm/sdk/{trace-08ayoiNp.js → trace-DKLQZvec.js} +1 -2
- package/dist/esm/sdk/{transaction-activity-DKgIGpKG.js → transaction-activity-CSMCveBn.js} +1 -1
- package/dist/{public/sdk/transactionReview-UoZQ2opj.js → esm/sdk/transactionReview-DpHLTznU.js} +4 -6
- package/dist/esm/sdk/{transactionReviewAdmission-Cv9kTr4c.js → transactionReviewAdmission-BCPvl8OZ.js} +2 -2
- package/dist/esm/sdk/{transactionState-Bpm4GamO.js → transactionState-CJ4U8pcl.js} +58 -47
- package/dist/esm/sdk/tx-confirm-ui.js +182 -189
- package/dist/esm/sdk/types-Dx9fczU7.js +111 -0
- package/dist/{public/sdk/validation-BphUDXs7.js → esm/sdk/validation-gat4LEKm.js} +36 -2
- package/dist/esm/sdk/wallet-iframe-host-ecdsa.js +2 -2
- package/dist/esm/sdk/wallet-iframe-host-full.js +2 -2
- package/dist/esm/sdk/wallet-iframe-host-near.js +2 -2
- package/dist/esm/sdk/wallet-iframe-host-runtime.js +2 -2
- package/dist/esm/sdk/{wallet-recovery-CKqoHbxT.js → wallet-recovery-BX61-79p.js} +20 -29
- package/dist/esm/sdk/wallet-service.css +21 -0
- package/dist/esm/sdk/wallet-ui.css +129 -345
- package/dist/{public/sdk/sessionPolicy-B4FsPuk2.js → esm/sdk/walletAuthority-DD9T25F6.js} +504 -447
- package/dist/{public/sdk/ed25519SeedMaterial-Cghz8-XB.js → esm/sdk/walletCustodyEcdsaContinuity-CF4bv9OI.js} +1951 -2216
- package/dist/esm/sdk/{walletRecoveryCommit-G6w6N5RV.js → walletRecoveryCommit-AI1AtIRP.js} +88 -151
- package/dist/{public/sdk/walletRecoveryRotate-BYOYJAyb.js → esm/sdk/walletRecoveryRotate-BgLlW5ih.js} +1 -1
- package/dist/esm/sdk/{warmSessionHydration-DDNYdTCz.js → warmSessionHydration-Os8niEm7.js} +1 -1
- package/dist/{public/sdk/webauthnP256-CHqprSh1.js → esm/sdk/webauthnP256-DC5EIbKN.js} +1 -1
- package/dist/esm/shared-ts/src/authorization/delegatedAuthority.js +1 -1
- package/dist/esm/shared-ts/src/authorization/operationFingerprint.js +1 -2
- package/dist/esm/shared-ts/src/authorization/walletAuthority.js +93 -228
- package/dist/esm/shared-ts/src/authorization/walletCustodyOperation.js +4 -6
- 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/activeWalletSession.js +70 -1
- package/dist/esm/shared-ts/src/device-linking/authorityActivation.js +142 -0
- package/dist/esm/shared-ts/src/device-linking/committedSignerPackages.js +5 -8
- package/dist/esm/shared-ts/src/device-linking/delegatedActivationPlan.js +3 -5
- package/dist/esm/shared-ts/src/device-linking/deviceManagement.js +120 -0
- package/dist/esm/shared-ts/src/device-linking/digests.js +8 -63
- package/dist/esm/shared-ts/src/device-linking/ed25519ExportRoot.js +13 -15
- package/dist/esm/shared-ts/src/device-linking/index.js +6 -4
- package/dist/esm/shared-ts/src/device-linking/parsers.js +550 -1311
- package/dist/esm/shared-ts/src/device-linking/requestProof.js +3 -3
- package/dist/esm/shared-ts/src/device-linking/sourceContribution.js +11 -17
- package/dist/esm/shared-ts/src/device-linking/walletSessionCredentialDelivery.js +7 -7
- package/dist/esm/shared-ts/src/device-linking/wireFields.js +59 -0
- package/dist/esm/shared-ts/src/near/nearClient.js +252 -0
- package/dist/esm/shared-ts/src/passkey-custody/custodyEnvelope.js +6 -4
- package/dist/esm/shared-ts/src/passkey-custody/custodySecretBinding.js +6 -4
- package/dist/esm/shared-ts/src/passkey-custody/primitives.js +9 -39
- package/dist/esm/shared-ts/src/signing-lanes/index.js +4 -3
- package/dist/esm/shared-ts/src/signing-lanes/ownerContinuity.js +8 -7
- package/dist/esm/shared-ts/src/signing-lanes/participantDigest.js +2 -0
- package/dist/esm/shared-ts/src/signing-lanes/participants.js +2 -5
- package/dist/esm/shared-ts/src/signing-lanes/recordParsers.js +18 -22
- package/dist/esm/shared-ts/src/signing-lanes/rotationDigests.js +2 -0
- package/dist/esm/shared-ts/src/signing-lanes/rotationParsers.js +3 -3
- package/dist/esm/shared-ts/src/signing-lanes/rotationProtocolParsers.js +8 -0
- package/dist/esm/shared-ts/src/signing-lanes/rotationWireFields.js +3 -0
- package/dist/esm/shared-ts/src/threshold/ed25519OperationFingerprint.js +34 -42
- package/dist/esm/shared-ts/src/threshold/keyMaterialBrands.js +25 -0
- package/dist/esm/shared-ts/src/threshold/secp256k1.js +1 -2
- package/dist/esm/shared-ts/src/threshold/signingRootScope.js +4 -1
- package/dist/esm/shared-ts/src/utils/addAuthMethodRegistration.js +3 -4
- package/dist/esm/shared-ts/src/utils/canonicalPrimitives.js +8 -1
- package/dist/esm/shared-ts/src/utils/digestEncoding.js +63 -0
- package/dist/esm/shared-ts/src/utils/ecdsaKeyFactsInventory.js +3 -5
- package/dist/esm/shared-ts/src/utils/ecdsaServerTiming.js +0 -1
- package/dist/esm/shared-ts/src/utils/emailOtpDomain.js +3 -3
- package/dist/esm/shared-ts/src/utils/encoders.js +1 -1
- package/dist/esm/shared-ts/src/utils/errors.js +1 -1
- package/dist/esm/shared-ts/src/utils/exactKeys.js +17 -0
- package/dist/esm/shared-ts/src/utils/exactRecord.js +44 -0
- package/dist/esm/shared-ts/src/utils/index.js +18 -14
- package/dist/esm/shared-ts/src/utils/registrationAuthMethodInput.js +84 -0
- package/dist/esm/shared-ts/src/utils/registrationEstablishedSession.js +5 -5
- package/dist/esm/shared-ts/src/utils/registrationIds.js +226 -0
- package/dist/esm/shared-ts/src/utils/registrationIntent.js +6 -1089
- package/dist/esm/shared-ts/src/utils/registrationSignerPlan.js +439 -0
- package/dist/esm/shared-ts/src/utils/routerAbEcdsaDerivation.js +11 -10
- package/dist/esm/shared-ts/src/utils/routerAbEd25519Yao.js +3 -76
- package/dist/esm/shared-ts/src/utils/routerAbEd25519YaoDigests.js +76 -0
- package/dist/esm/shared-ts/src/utils/routerAbNormalSigningIdentity.js +1 -4
- package/dist/esm/shared-ts/src/utils/routerAbPublicKeyset.js +2 -6
- package/dist/esm/shared-ts/src/utils/secureRandomId.js +1 -1
- package/dist/esm/shared-ts/src/utils/signerDomain.js +1 -16
- package/dist/esm/shared-ts/src/utils/thresholdEcdsaChainTarget.js +9 -0
- package/dist/esm/shared-ts/src/utils/validation.js +36 -2
- package/dist/esm/shared-ts/src/utils/walletAuthAuthority.js +1 -1
- package/dist/esm/shared-ts/src/utils/walletAuthMethodRecord.js +357 -0
- package/dist/esm/shared-ts/src/utils/walletCapabilityBindings.js +2 -2
- package/dist/esm/shared-ts/src/utils/wireSchema.js +66 -0
- package/dist/esm/shared-ts/src/wallet-recovery/recoveryCodeLocator.js +1 -1
- package/dist/esm/shared-ts/src/wallet-recovery/recoveryCodeReservation.js +1 -1
- package/dist/esm/shared-ts/src/wallet-recovery/recoveryKeyId.js +1 -1
- package/dist/esm/shared-ts/src/wallet-recovery/walletRecoveryCommittedProjection.js +11 -17
- package/dist/esm/shared-ts/src/wallet-recovery/walletRecoveryEcdsaPossession.js +4 -8
- package/dist/esm/shared-ts/src/wallet-recovery/walletRecoveryEnvelopeSet.js +3 -1
- package/dist/esm/utils/menuItemBlink.js +24 -0
- package/dist/esm/wasm/near_signer/pkg/wasm_signer_worker.d.ts +19 -6
- package/dist/esm/wasm/near_signer/pkg/wasm_signer_worker.js +44 -9
- 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.d.ts +10 -1
- package/dist/esm/wasm/router_ab_ecdsa_client/pkg/router_ab_ecdsa_client.js +31 -1
- 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.d.ts +1 -1
- package/dist/esm/wasm/router_ab_ed25519_yao_client/pkg/router_ab_ed25519_yao_client.js +1 -1
- package/dist/esm/wasm/router_ab_ed25519_yao_client/pkg/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/public/headers.manifest.json +1 -1
- package/dist/public/sdk/{ConfirmationDrawer-G0bT0Dbu.js → ConfirmationDrawer-MgFTBwwK.js} +2 -1
- package/dist/public/sdk/{EvmClient-CHw6txjt.js → EvmClient-f3gUhS2L.js} +1 -1
- package/dist/public/sdk/{NearClient-BQgcqAzG.js → NearClient-DY4NfHeD.js} +194 -147
- package/dist/public/sdk/{NonceCoordinator-C7mqpJiU.js → NonceCoordinator-4XWPhYww.js} +4 -4
- package/dist/public/sdk/{accountIds-Ck4GAQfm.js → accountIds-DhIPGOSN.js} +1 -1
- package/dist/{esm/sdk/accountLifecycle-Ddavc_FC.js → public/sdk/accountLifecycle-zthG08aC.js} +253 -514
- package/dist/public/sdk/{actions-DsBQcjBn.js → actions-CCvThiKe.js} +1 -1
- package/dist/public/sdk/{adapters-m94YFj70.js → adapters-Dli9XAZp.js} +137 -136
- package/dist/public/sdk/canonicalPrimitives-BTHWz80v.js +36 -0
- package/dist/public/sdk/{canonicalSignerErrorCode-DAzYzisf.js → canonicalSignerErrorCode-BBIk365e.js} +3 -17
- package/dist/{esm/sdk/capabilityKinds-jwCEaqBU.js → public/sdk/capabilityKinds-hvYqa6S_.js} +1 -1
- package/dist/public/sdk/chains-BMh3btVo.js +124 -0
- package/dist/{esm/sdk/challengeDelivery-BjLKoou3.js → public/sdk/challengeDelivery-DZtopOAG.js} +2 -2
- package/dist/public/sdk/{configHelpers-DB73zYvO.js → configHelpers-D1EqxVxg.js} +3 -3
- package/dist/public/sdk/{defaultConfigs-CyNOW4Sy.js → defaultConfigs-D_33pPT9.js} +5 -5
- package/dist/{esm/sdk/display-DHdC2yXU.js → public/sdk/display-P4nQF-yc.js} +3 -8
- package/dist/{esm/sdk/normalize-BephcEIF.js → public/sdk/domainIds-lcrFg6Sa.js} +84 -84
- package/dist/{esm/sdk/ecdsaCapabilityManifest-C8itxV9S.js → public/sdk/ecdsaCapabilityManifest-DuMs0VtU.js} +14 -22
- package/dist/public/sdk/{ecdsaChainTarget-BOTPGIU_.js → ecdsaChainTarget-Bl-JWyuw.js} +2 -2
- package/dist/public/sdk/ecdsaPresignLifecycle-Bfx2AQKb.js +1983 -0
- package/dist/{esm/sdk/ecdsaPresignPoolIdentity-Yopr4jvS.js → public/sdk/ecdsaPresignPoolIdentity-BjxZVIqn.js} +1 -1
- package/dist/{esm/sdk/ecdsaWalletRecords-CAbbVhEY.js → public/sdk/ecdsaWalletRecords-D42rtA9z.js} +6 -4
- package/dist/public/sdk/encoders-D8d07vpx.js +0 -0
- package/dist/{esm/sdk/enrichDisplayModelWithAbi-DnjR1CqT.js → public/sdk/enrichDisplayModelWithAbi-CWggsykc.js} +2 -2
- package/dist/{esm/sdk/evmCryptoWasm-BVj135bZ.js → public/sdk/evmCryptoWasm-DWklhEEb.js} +1 -1
- package/dist/public/sdk/evmFamilyEcdsaIdentity-CqGafQsI.js +4274 -0
- package/dist/{esm/sdk/exactSessionState-Bt0HforB.js → public/sdk/exactSessionState-LWDUXydN.js} +51 -80
- package/dist/public/sdk/exactSigningLaneIdentity-m6uTXV_A.js +335 -0
- package/dist/{esm/sdk/export-viewer-host-CbqG8ZQV.js → public/sdk/export-viewer-host-rWMSQQMP.js} +3 -3
- package/dist/public/sdk/{helpers-DpRjHMBx.js → helpers-ZrowMnev.js} +3 -6
- package/dist/{esm/sdk/host-BPC1zSVg.js → public/sdk/host-CnV8nAUe.js} +12 -12
- package/dist/{esm/sdk/intentDigest-A1MbbJPu.js → public/sdk/intentDigest-CvOSNlCH.js} +2 -2
- package/dist/public/sdk/{jsxRuntime.module-FAP0NE9p.js → jsxRuntime.module-CuH5ZEIA.js} +1 -1
- package/dist/public/sdk/{keyMaterialBrands-BbjCfzXv.js → keyMaterialBrands-CogGAAZn.js} +15 -13
- package/dist/public/sdk/{localOnly-CbLYTVbo.js → localOnly-DTpa2jD5.js} +8 -10
- package/dist/{esm/sdk/messages-B3UbNZYc.js → public/sdk/messages-C7Dbx9iN.js} +6 -4
- package/dist/{esm/sdk/mountExportPrivateKeySurface-CNc6Mch4.js → public/sdk/mountExportPrivateKeySurface-DgX-IBG_.js} +4 -4
- package/dist/{esm/sdk/mountRecoveryCodeBackupSurface-ChwzwnYG.js → public/sdk/mountRecoveryCodeBackupSurface-DXrExiJ7.js} +2 -2
- package/dist/{esm/sdk/nearEd25519YaoMaterialActivation-Cz5UJQ_7.js → public/sdk/nearEd25519YaoMaterialActivation-B5GecIvq.js} +82 -55
- package/dist/{esm/sdk/nearEd25519YaoSigningPreparation-DX6xG-IW.js → public/sdk/nearEd25519YaoSigningPreparation-CdOT5RuC.js} +10 -8
- package/dist/{esm/sdk/nonceLaneKeys-B_RcSS6M.js → public/sdk/nonceLaneKeys-C3c9lG6u.js} +1 -1
- package/dist/{esm/sdk/normalization-oJyXl3Vn.js → public/sdk/normalization-CBt413-z.js} +2 -2
- package/dist/public/sdk/{operationFingerprint-DEPg9A3h.js → operationFingerprint-C8Trar4R.js} +4 -4
- package/dist/public/sdk/{operationFingerprint-CsYO6b0a.js → operationFingerprint-CGZui5dR.js} +2 -1
- package/dist/public/sdk/{passkey-custody-BaHyYMhj.js → passkey-custody-UUHbC0pk.js} +7 -6
- package/dist/{esm/sdk/pendingWalletRecoveryCodeBackup-DyvRysWg.js → public/sdk/pendingWalletRecoveryCodeBackup-BWluQMbt.js} +3 -3
- package/dist/public/sdk/{recovery-entrypoint-D39R1avB.js → recovery-entrypoint-C3fydnRC.js} +19 -16
- package/dist/public/sdk/{registration-PIBMSsQR.js → registration-Ct_7LdGf.js} +2871 -3182
- package/dist/public/sdk/{registration-DtDICj-o.js → registration-DHERU8R_.js} +4 -4
- package/dist/{esm/sdk/registrationAccounts-AO3QHjas.js → public/sdk/registrationAccounts-DmWPzf3T.js} +6 -4
- package/dist/public/sdk/registrationIds-DLSdEKSv.js +310 -0
- package/dist/public/sdk/registrationIntent-4zwk16zQ.js +387 -0
- package/dist/public/sdk/{registrationPreparationPreload-BZfAC_ba.js → registrationPreparationPreload-D6zpWp4O.js} +2 -2
- package/dist/public/sdk/registrationSignerPlan-DhV8VAob.js +437 -0
- package/dist/{esm/sdk/relayerHttp-LsVTZCxA.js → public/sdk/relayerHttp-VC8Holz1.js} +1 -1
- package/dist/{esm/sdk/routePlan-nLpPFHB-.js → public/sdk/routePlan-D59x5xzQ.js} +1 -1
- package/dist/{esm/sdk/router-CeFS9SgT.js → public/sdk/router-B4ZWFy9E.js} +23 -25
- package/dist/{esm/sdk/routerAbNormalSigning-DktZKnf1.js → public/sdk/routerAbNormalSigning-CVFEOZ2m.js} +63 -92
- package/dist/public/sdk/router_ab_ed25519_yao_client_bg.wasm +0 -0
- package/dist/{esm/sdk/runtime-auth-D_lUQQlc.js → public/sdk/runtime-auth-DdfynDKt.js} +144 -301
- package/dist/{esm/sdk/runtime-device-link-CEph1iM0.js → public/sdk/runtime-device-link-HJ2ptFux.js} +25 -22
- package/dist/{esm/sdk/runtime-ecdsa-tempo-tUWnafRo.js → public/sdk/runtime-ecdsa-tempo-BGLsTAWR.js} +24 -21
- package/dist/public/sdk/{runtime-email-otp-1wIPTDim.js → runtime-email-otp-CpX88VZJ.js} +23 -20
- package/dist/{esm/sdk/runtime-export-Du2d4_Vu.js → public/sdk/runtime-export-DIVY473L.js} +26 -22
- package/dist/{esm/sdk/runtime-near-CGoWxu7u.js → public/sdk/runtime-near-CxtQi4b2.js} +24 -22
- package/dist/{esm/sdk/runtime-preferences-JwJK_xP3.js → public/sdk/runtime-preferences-vnJc5Svg.js} +24 -21
- package/dist/public/sdk/{runtime-recovery-codes-DW7bB2tO.js → runtime-recovery-codes-BSCLVHQj.js} +15 -19
- package/dist/{esm/sdk/runtime-recovery-BEqBdpyo.js → public/sdk/runtime-recovery-i08vCJST.js} +23 -20
- package/dist/public/sdk/{runtimeContext-CTt9ON27.js → runtimeContext-D3TBExQ6.js} +915 -1109
- package/dist/{esm/sdk/runtimeLoader-ZXsvx9zX.js → public/sdk/runtimeLoader-DQVEFVaW.js} +12 -12
- package/dist/{esm/sdk/sdkSentEvents-5Pi-hjHB.js → public/sdk/sdkSentEvents-MqDkbQg1.js} +10 -8
- package/dist/public/sdk/{secp256k1-CWDid9WH.js → secp256k1-D-I6Gh4D.js} +53 -176
- package/dist/public/sdk/sessionPolicy-DO-MkL65.js +460 -0
- package/dist/{esm/sdk/signEvmFamily-pbMepepQ.js → public/sdk/signEvmFamily-C3C97Th-.js} +135 -185
- package/dist/public/sdk/{signEvmFamilyWithUiConfirmForTempo-CxvfCI_o.js → signEvmFamilyWithUiConfirmForTempo-BI9DSTIS.js} +11 -15
- package/dist/{esm/sdk/signEvmWithUiConfirm-nk-r3Rff.js → public/sdk/signEvmWithUiConfirm-Bmcim5-g.js} +6 -10
- package/dist/{esm/sdk/signNear-DVD9-IO5.js → public/sdk/signNear-Bmb2fj_a.js} +729 -846
- package/dist/public/sdk/{evmAdapter-C5NR5tiV.js → signatureUses-BkGyYt8F.js} +12 -3
- package/dist/public/sdk/{signerDomain-DDLiwuYS.js → signerDomain-IEAVrOrc.js} +3 -18
- package/dist/{esm/sdk/signerLoader-D_w-SfR9.js → public/sdk/signerLoader-B7orgq5Z.js} +4 -4
- package/dist/public/sdk/{signatureUses-BY1IY7uz.js → signingFlow-SZ8t_lxv.js} +24 -38
- package/dist/public/sdk/{trace-08ayoiNp.js → trace-DKLQZvec.js} +1 -2
- package/dist/public/sdk/{transaction-activity-DKgIGpKG.js → transaction-activity-CSMCveBn.js} +1 -1
- package/dist/{esm/sdk/transactionReview-UoZQ2opj.js → public/sdk/transactionReview-DpHLTznU.js} +4 -6
- package/dist/public/sdk/{transactionReviewAdmission-Cv9kTr4c.js → transactionReviewAdmission-BCPvl8OZ.js} +2 -2
- package/dist/public/sdk/{transactionState-Bpm4GamO.js → transactionState-CJ4U8pcl.js} +58 -47
- package/dist/public/sdk/tx-confirm-ui.js +182 -189
- package/dist/public/sdk/types-Dx9fczU7.js +111 -0
- package/dist/{esm/sdk/validation-BphUDXs7.js → public/sdk/validation-gat4LEKm.js} +36 -2
- package/dist/public/sdk/wallet-iframe-host-ecdsa.js +2 -2
- package/dist/public/sdk/wallet-iframe-host-full.js +2 -2
- package/dist/public/sdk/wallet-iframe-host-near.js +2 -2
- package/dist/public/sdk/wallet-iframe-host-runtime.js +2 -2
- package/dist/public/sdk/{wallet-recovery-CKqoHbxT.js → wallet-recovery-BX61-79p.js} +20 -29
- package/dist/public/sdk/wallet-service.css +21 -0
- package/dist/public/sdk/wallet-ui.css +129 -345
- package/dist/{esm/sdk/sessionPolicy-B4FsPuk2.js → public/sdk/walletAuthority-DD9T25F6.js} +504 -447
- package/dist/{esm/sdk/ed25519SeedMaterial-Cghz8-XB.js → public/sdk/walletCustodyEcdsaContinuity-CF4bv9OI.js} +1951 -2216
- package/dist/public/sdk/{walletRecoveryCommit-G6w6N5RV.js → walletRecoveryCommit-AI1AtIRP.js} +88 -151
- package/dist/{esm/sdk/walletRecoveryRotate-BYOYJAyb.js → public/sdk/walletRecoveryRotate-BgLlW5ih.js} +1 -1
- package/dist/public/sdk/{warmSessionHydration-DDNYdTCz.js → warmSessionHydration-Os8niEm7.js} +1 -1
- package/dist/{esm/sdk/webauthnP256-CHqprSh1.js → public/sdk/webauthnP256-DC5EIbKN.js} +1 -1
- package/dist/public/sdk/workers/device-linking-key.worker.js +5638 -5817
- package/dist/public/sdk/workers/ecdsa-derivation-client.worker.js +1663 -2128
- package/dist/public/sdk/workers/ecdsa-online-client.worker.js +9 -117
- package/dist/public/sdk/workers/ecdsa-presign-client.worker.js +102 -220
- package/dist/public/sdk/workers/email-otp.worker.js +8966 -9300
- package/dist/public/sdk/workers/evm-crypto.worker.js +8 -6
- 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.worker.js +4 -4
- package/dist/public/sdk/workers/near_signer.wasm +0 -0
- package/dist/public/sdk/workers/passkey-confirm.worker.js +6 -3
- package/dist/public/sdk/workers/passkey-mpc-export.worker.js +95 -101
- package/dist/public/sdk/workers/passkey-mpc-session.worker.js +205 -202
- 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.worker.js +8 -6
- 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 +230 -222
- 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 +334 -214
- package/dist/public/wallet-service/index.html +4 -4
- package/dist/types/shared-ts/src/authorization/capabilityKinds.d.ts +8 -26
- package/dist/types/shared-ts/src/authorization/delegatedAuthority.d.ts +2 -9
- package/dist/types/shared-ts/src/authorization/operationFingerprint.d.ts +1 -3
- package/dist/types/shared-ts/src/authorization/walletAuthority.d.ts +25 -12
- package/dist/types/shared-ts/src/authorization/walletSessionIssuance.d.ts +8 -0
- package/dist/types/shared-ts/src/authorization/walletSignerActivationEquality.d.ts +4 -0
- package/dist/types/shared-ts/src/device-linking/activeWalletSession.d.ts +3 -2
- package/dist/types/shared-ts/src/device-linking/authorityActivation.d.ts +5 -0
- package/dist/types/shared-ts/src/device-linking/committedSignerPackages.d.ts +4 -8
- package/dist/types/shared-ts/src/device-linking/contracts.d.ts +13 -74
- package/dist/types/shared-ts/src/device-linking/contracts.typecheck.d.ts +2 -1
- package/dist/types/shared-ts/src/device-linking/deviceManagement.d.ts +7 -0
- package/dist/types/shared-ts/src/device-linking/digests.d.ts +0 -5
- package/dist/types/shared-ts/src/device-linking/ed25519ExportRoot.d.ts +3 -2
- package/dist/types/shared-ts/src/device-linking/index.d.ts +2 -0
- package/dist/types/shared-ts/src/device-linking/parsers.d.ts +4 -41
- package/dist/types/shared-ts/src/device-linking/requestProof.d.ts +0 -1
- package/dist/types/shared-ts/src/device-linking/sourceContribution.d.ts +5 -2
- package/dist/types/shared-ts/src/device-linking/walletSessionCredentialDelivery.d.ts +2 -1
- package/dist/types/shared-ts/src/device-linking/wireFields.d.ts +26 -0
- package/dist/types/shared-ts/src/near/actions.d.ts +4 -4
- package/dist/types/shared-ts/src/near/delegate.d.ts +3 -2
- package/dist/types/shared-ts/src/near/nearClient.d.ts +145 -0
- package/dist/types/shared-ts/src/passkey-custody/ceremonyCommitPayload.d.ts +0 -22
- package/dist/types/shared-ts/src/passkey-custody/credentialActivity.d.ts +2 -4
- package/dist/types/shared-ts/src/passkey-custody/custodyEnvelope.d.ts +14 -30
- package/dist/types/shared-ts/src/passkey-custody/custodySecretBinding.d.ts +8 -24
- package/dist/types/shared-ts/src/passkey-custody/index.d.ts +0 -2
- package/dist/types/shared-ts/src/passkey-custody/primitives.d.ts +9 -14
- package/dist/types/shared-ts/src/signing-lanes/evmFamilySigningKeySlotId.d.ts +0 -15
- package/dist/types/shared-ts/src/signing-lanes/execution.d.ts +11 -50
- package/dist/types/shared-ts/src/signing-lanes/ids.d.ts +1 -10
- package/dist/types/shared-ts/src/signing-lanes/index.d.ts +1 -2
- package/dist/types/shared-ts/src/signing-lanes/ownerContinuity.d.ts +1 -2
- package/dist/types/shared-ts/src/signing-lanes/participantDigest.d.ts +5 -27
- package/dist/types/shared-ts/src/signing-lanes/participants.d.ts +0 -11
- package/dist/types/shared-ts/src/signing-lanes/recordParsers.d.ts +6 -53
- package/dist/types/shared-ts/src/signing-lanes/records.d.ts +1 -2
- package/dist/types/shared-ts/src/signing-lanes/rotation.d.ts +18 -42
- package/dist/types/shared-ts/src/signing-lanes/rotationDigests.d.ts +1 -20
- package/dist/types/shared-ts/src/signing-lanes/rotationLifecycle.d.ts +4 -25
- package/dist/types/shared-ts/src/signing-lanes/rotationParsers.d.ts +1 -41
- package/dist/types/shared-ts/src/signing-lanes/rotationProtocolParsers.d.ts +6 -0
- package/dist/types/shared-ts/src/signing-lanes/rotationWireFields.d.ts +20 -0
- 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 +8 -35
- package/dist/types/shared-ts/src/threshold/ed25519OperationFingerprint.d.ts +8 -35
- package/dist/types/shared-ts/src/threshold/keyMaterialBrands.d.ts +25 -0
- package/dist/types/shared-ts/src/threshold/participants.d.ts +3 -9
- package/dist/types/shared-ts/src/threshold/secp256k1.d.ts +0 -37
- package/dist/types/shared-ts/src/threshold/sessionPolicy.d.ts +24 -0
- package/dist/types/shared-ts/src/threshold/signingRootScope.d.ts +3 -5
- package/dist/types/shared-ts/src/utils/addAuthMethodRegistration.d.ts +3 -4
- package/dist/types/shared-ts/src/utils/addWalletAuthMethod.d.ts +7 -108
- package/dist/types/shared-ts/src/utils/addWalletAuthMethod.typecheck.d.ts +16 -3
- package/dist/types/shared-ts/src/utils/canonicalPrimitives.d.ts +2 -0
- package/dist/types/shared-ts/src/utils/digestEncoding.d.ts +9 -0
- package/dist/types/shared-ts/src/utils/domainIds.d.ts +1 -2
- package/dist/types/shared-ts/src/utils/ecdsaKeyFactsInventory.d.ts +3 -13
- package/dist/types/shared-ts/src/utils/eip1559TxWasmJson.d.ts +16 -0
- package/dist/types/shared-ts/src/utils/emailOtpDomain.d.ts +7 -5
- package/dist/types/shared-ts/src/utils/emailOtpRecoveryKey.d.ts +0 -2
- package/dist/types/shared-ts/src/utils/errors.d.ts +0 -7
- package/dist/types/shared-ts/src/utils/exactKeys.d.ts +11 -0
- package/dist/types/shared-ts/src/utils/exactRecord.d.ts +12 -0
- package/dist/types/shared-ts/src/utils/failure.d.ts +12 -0
- package/dist/types/shared-ts/src/utils/index.d.ts +5 -2
- package/dist/types/shared-ts/src/utils/jsonRpc.d.ts +6 -6
- package/dist/types/shared-ts/src/utils/near.d.ts +2 -1
- package/dist/types/shared-ts/src/utils/nearRpcResults.d.ts +8 -7
- package/dist/types/shared-ts/src/utils/normalize.d.ts +0 -4
- package/dist/types/shared-ts/src/utils/registrationAuthMethodInput.d.ts +179 -0
- package/dist/types/shared-ts/src/utils/registrationContracts.d.ts +76 -0
- package/dist/types/shared-ts/src/utils/registrationEstablishedSession.d.ts +1 -2
- package/dist/types/shared-ts/src/utils/registrationIds.d.ts +56 -0
- package/dist/types/shared-ts/src/utils/registrationIntent.d.ts +9 -514
- package/dist/types/shared-ts/src/utils/registrationSignerPlan.d.ts +130 -0
- package/dist/types/shared-ts/src/utils/routerAbEcdsaDerivation.d.ts +24 -93
- package/dist/types/shared-ts/src/utils/routerAbEd25519Yao.d.ts +15 -99
- package/dist/types/shared-ts/src/utils/routerAbEd25519YaoDigests.d.ts +38 -0
- package/dist/types/shared-ts/src/utils/routerAbNormalSigningIdentity.d.ts +30 -8
- package/dist/types/shared-ts/src/utils/routerAbPublicKeyset.d.ts +10 -15
- package/dist/types/shared-ts/src/utils/routerAbTraceContext.d.ts +2 -1
- package/dist/types/shared-ts/src/utils/routerApiKeyAuth.d.ts +2 -0
- package/dist/types/shared-ts/src/utils/secureRandomId.d.ts +0 -2
- package/dist/types/shared-ts/src/utils/signerDomain.d.ts +3 -35
- package/dist/types/shared-ts/src/utils/signerSlot.d.ts +0 -4
- package/dist/types/shared-ts/src/utils/signingSessionSeal.d.ts +10 -17
- package/dist/types/shared-ts/src/utils/thresholdEcdsaChainTarget.d.ts +25 -0
- package/dist/types/shared-ts/src/utils/validation.d.ts +10 -10
- package/dist/types/shared-ts/src/utils/variant.d.ts +29 -0
- package/dist/types/shared-ts/src/utils/variant.typecheck.d.ts +22 -0
- package/dist/types/shared-ts/src/utils/walletAddSignerActivation.d.ts +2 -2
- package/dist/types/shared-ts/src/utils/walletAuthAuthority.d.ts +1 -58
- package/dist/types/shared-ts/src/utils/walletAuthMethodRecord.d.ts +101 -0
- package/dist/types/shared-ts/src/utils/walletCapabilityBindings.d.ts +3 -7
- package/dist/types/shared-ts/src/utils/webauthnDeviceInfo.d.ts +5 -4
- package/dist/types/shared-ts/src/utils/wireSchema.d.ts +60 -0
- package/dist/types/shared-ts/src/wallet-recovery/backupAcknowledgement.d.ts +2 -1
- package/dist/types/shared-ts/src/wallet-recovery/index.d.ts +0 -1
- package/dist/types/shared-ts/src/wallet-recovery/recoveryCodeLocator.d.ts +0 -16
- package/dist/types/shared-ts/src/wallet-recovery/recoveryCodeReservation.d.ts +2 -11
- package/dist/types/shared-ts/src/wallet-recovery/recoveryEnvelopes.d.ts +3 -16
- package/dist/types/shared-ts/src/wallet-recovery/walletRecoveryCommittedProjection.d.ts +6 -18
- package/dist/types/shared-ts/src/wallet-recovery/walletRecoveryEcdsaPossession.d.ts +0 -2
- package/dist/types/shared-ts/src/wallet-recovery/walletRecoveryEnvelopeSet.d.ts +1 -3
- 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 -12
- package/dist/types/wallet/src/SeamsWeb/assembly/browserSigningSurfaceAssembly.d.ts +3 -13
- package/dist/types/wallet/src/SeamsWeb/assembly/browserSigningSurfacePorts.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/assembly/browserWorkerWarmupPolicy.d.ts +1 -3
- package/dist/types/wallet/src/SeamsWeb/assembly/createBrowserSigningStores.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/assembly/initializeBrowserSigningRuntime.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/assembly/preconnectWalletAssets.d.ts +2 -3
- package/dist/types/wallet/src/SeamsWeb/operations/auth/login.d.ts +13 -88
- package/dist/types/wallet/src/SeamsWeb/operations/auth/scheduleLinkedDevicePresignaturePrefill.d.ts +11 -0
- package/dist/types/wallet/src/SeamsWeb/operations/auth/walletAuth.d.ts +4 -3
- package/dist/types/wallet/src/SeamsWeb/operations/auth/walletUnlockEcdsaSubject.d.ts +2 -18
- package/dist/types/wallet/src/SeamsWeb/operations/auth/walletUnlockSubject.d.ts +7 -24
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/addAuthMethodSourceClaim.d.ts +5 -6
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/addEmailOtp.d.ts +1 -1
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/challenge.d.ts +0 -13
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/googleEmailOtpWalletAuthFlow.d.ts +0 -1
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/localEmailOtpProjection.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/registrationAuthority.d.ts +2 -2
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/registrationOffer.d.ts +1 -2
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/emailOtp/walletActivation.d.ts +3 -4
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/passkey/exactPasskeyAuthority.d.ts +20 -0
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/passkey/localPasskeyProjection.d.ts +4 -42
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/passkey/registrationAuthority.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/revokeAuthMethod.d.ts +1 -9
- package/dist/types/wallet/src/SeamsWeb/operations/authMethods/sourcePasskeyProof.d.ts +2 -7
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingAuthorityInstallation.d.ts +2 -23
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingComposition.d.ts +2 -21
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingEd25519ExportRoot.d.ts +2 -2
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingHttpTransport.d.ts +4 -17
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingOwnerTransport.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingPorts.d.ts +10 -16
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingResume.d.ts +4 -3
- package/dist/types/wallet/src/SeamsWeb/operations/devices/deviceLinkingWorkerChannels.d.ts +2 -14
- package/dist/types/wallet/src/SeamsWeb/operations/devices/linkDevice.d.ts +3 -91
- package/dist/types/wallet/src/SeamsWeb/operations/devices/linkDeviceFlow.d.ts +88 -0
- package/dist/types/wallet/src/SeamsWeb/operations/devices/linkDeviceFlowSupport.d.ts +53 -0
- package/dist/types/wallet/src/SeamsWeb/operations/devices/linkDeviceTargetActivation.d.ts +149 -0
- package/dist/types/wallet/src/SeamsWeb/operations/devices/scanDevice.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/devices/walletHostComposition.d.ts +4 -9
- package/dist/types/wallet/src/SeamsWeb/operations/devices/walletHostOwnerAuthority.d.ts +9 -5
- package/dist/types/wallet/src/SeamsWeb/operations/near/actions.d.ts +0 -46
- package/dist/types/wallet/src/SeamsWeb/operations/near/delegateAction.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/near/signingEventHelpers.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/recovery/accountSync.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/operations/recovery/recoveryWalletBinding.d.ts +1 -2
- package/dist/types/wallet/src/SeamsWeb/operations/recovery/syncAccount.d.ts +1 -77
- package/dist/types/wallet/src/SeamsWeb/operations/recovery/walletRecovery.d.ts +8 -7
- package/dist/types/wallet/src/SeamsWeb/operations/recovery/walletRecoveryCodeBackup.d.ts +1 -1
- package/dist/types/wallet/src/SeamsWeb/operations/recovery/walletRecoveryCommit.d.ts +0 -2
- package/dist/types/wallet/src/SeamsWeb/operations/recovery/walletRecoveryRotation.d.ts +0 -8
- package/dist/types/wallet/src/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecovery.d.ts +1 -1
- package/dist/types/wallet/src/SeamsWeb/operations/registration/pendingEcdsaRegistrationRecoveryValidation.d.ts +2 -2
- package/dist/types/wallet/src/SeamsWeb/operations/registration/pendingRegistrationRecovery.d.ts +8 -10
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registration.d.ts +10 -233
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registrationEd25519Yao.d.ts +18 -5
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registrationSignerSet.d.ts +2 -6
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registrationStrictEcdsa.d.ts +1 -7
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registrationTerminalCommit.d.ts +2 -2
- package/dist/types/wallet/src/SeamsWeb/operations/registration/registrationTiming.d.ts +49 -275
- package/dist/types/wallet/src/SeamsWeb/operations/session/thresholdEcdsaProvisioning.d.ts +3 -2
- package/dist/types/wallet/src/SeamsWeb/operations/tempo/executeEvmFamilyTransaction.d.ts +2 -2
- package/dist/types/wallet/src/SeamsWeb/publicApi/awaitNearReady.d.ts +0 -1
- package/dist/types/wallet/src/SeamsWeb/publicApi/capabilitySelection.d.ts +1 -1
- package/dist/types/wallet/src/SeamsWeb/publicApi/currentWallet.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/publicApi/devices.d.ts +1 -1
- package/dist/types/wallet/src/SeamsWeb/publicApi/keyExport.d.ts +1 -4
- package/dist/types/wallet/src/SeamsWeb/publicApi/near.d.ts +0 -8
- package/dist/types/wallet/src/SeamsWeb/publicApi/transactionReview.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/publicApi/types.d.ts +29 -36
- package/dist/types/wallet/src/SeamsWeb/registrationIntent.typecheck.d.ts +8 -0
- package/dist/types/wallet/src/SeamsWeb/signingSurface/BrowserSigningSurface.d.ts +14 -61
- package/dist/types/wallet/src/SeamsWeb/signingSurface/ports.d.ts +2 -4
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/overlay/overlay-controller.d.ts +3 -3
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/overlay/overlay-styles.d.ts +3 -3
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/progress/on-events-progress-bus.d.ts +0 -13
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/router.d.ts +3 -4
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/surface/domain.d.ts +8 -39
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/surface/geometry.d.ts +3 -7
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/surface/renderer.d.ts +2 -2
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/transport/IframeTransport.d.ts +3 -7
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/transport/iframe-transport-dom.d.ts +2 -3
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/transport/iframe-transport-handshake.d.ts +1 -11
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/transport/webauthn-bridge.d.ts +0 -6
- package/dist/types/wallet/src/SeamsWeb/walletIframe/coordinator.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/controller.d.ts +2 -3
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/domain.d.ts +2 -8
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/passkey.d.ts +3 -3
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/auth-menu/session.d.ts +2 -4
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/bootstrap.d.ts +0 -4
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/canonicalSignerErrorCode.d.ts +2 -7
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/context.d.ts +0 -5
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/handlers/authMenu.d.ts +0 -1
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/handlers/walletIframeHandler.types.d.ts +0 -13
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/hostedWalletSeamsSession.d.ts +1 -2
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/requestRouter.d.ts +10 -10
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/restoredSessionPresignaturePrefill.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/runtimeLoader.d.ts +2 -1
- package/dist/types/wallet/src/SeamsWeb/walletIframe/host/ui/auth-menu/AuthMenuSurface.d.ts +3 -3
- package/dist/types/wallet/src/SeamsWeb/walletIframe/sanitization.d.ts +0 -7
- package/dist/types/wallet/src/SeamsWeb/walletIframe/shared/exactSessionReconciliation.d.ts +3 -2
- package/dist/types/wallet/src/SeamsWeb/walletIframe/shared/exactSessionState.d.ts +2 -2
- package/dist/types/wallet/src/SeamsWeb/walletIframe/shared/messages.d.ts +57 -72
- package/dist/types/wallet/src/SeamsWeb/walletIframe/shared/transactionReview.d.ts +3 -2
- package/dist/types/wallet/src/core/accountData/near/accountProjection.d.ts +4 -49
- package/dist/types/wallet/src/core/accountData/near/keyMaterial.d.ts +4 -21
- package/dist/types/wallet/src/core/accountData/near/profileId.d.ts +2 -2
- package/dist/types/wallet/src/core/browser/walletIframe/events.d.ts +0 -1
- package/dist/types/wallet/src/core/config/chains.d.ts +0 -2
- package/dist/types/wallet/src/core/config/configBuilder.d.ts +0 -4
- package/dist/types/wallet/src/core/config/configHelpers.d.ts +1 -21
- package/dist/types/wallet/src/core/config/defaultConfigs.d.ts +1 -4
- package/dist/types/wallet/src/core/config/registrationConfig.typecheck.d.ts +1 -2
- package/dist/types/wallet/src/core/indexedDB/accountKeyMaterial.d.ts +5 -4
- package/dist/types/wallet/src/core/indexedDB/accountSignerLifecycle.d.ts +1 -1
- package/dist/types/wallet/src/core/indexedDB/index.d.ts +1 -5
- package/dist/types/wallet/src/core/indexedDB/keyMaterialEnvelope.d.ts +1 -2
- package/dist/types/wallet/src/core/indexedDB/linkedAuthoritySignerMaterial.d.ts +3 -3
- package/dist/types/wallet/src/core/indexedDB/normalization.d.ts +0 -3
- package/dist/types/wallet/src/core/indexedDB/passkeyClientDB.types.d.ts +7 -26
- package/dist/types/wallet/src/core/indexedDB/pendingWalletRegistrationCommit.d.ts +5 -8
- package/dist/types/wallet/src/core/indexedDB/profileAccountProjection.d.ts +3 -14
- package/dist/types/wallet/src/core/indexedDB/schemaNames.d.ts +2 -1
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestLookups.d.ts +172 -0
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestRecords.d.ts +155 -0
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestStore.d.ts +15 -256
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/ecdsaClientPresignatures.d.ts +101 -0
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/laneHolderMaterialStore.d.ts +0 -1
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/manager.d.ts +2 -1
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/pendingWalletRecoveryCodeBackup.d.ts +3 -2
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/repositories.d.ts +49 -44
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/signingSessionSeals.d.ts +2 -1
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/walletCustodyEcdsaContinuity.d.ts +47 -0
- package/dist/types/wallet/src/core/indexedDB/seamsWalletDB/walletSessionAuthorizationStore.d.ts +5 -8
- package/dist/types/wallet/src/core/indexedDB/unifiedIndexedDBManager.d.ts +7 -4
- package/dist/types/wallet/src/core/platform/ecdsaRoleLocalRecords.d.ts +10 -78
- 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/platform/secretSources.d.ts +1 -1
- package/dist/types/wallet/src/core/platform/signerCoreCommandAdapters.typecheck.d.ts +25 -0
- package/dist/types/wallet/src/core/rpcClients/evm/EvmClient.d.ts +1 -2
- package/dist/types/wallet/src/core/rpcClients/evm/nonceBackend.d.ts +6 -22
- package/dist/types/wallet/src/core/rpcClients/near/NearClient.d.ts +13 -133
- package/dist/types/wallet/src/core/rpcClients/near/NearRpcError.d.ts +1 -2
- package/dist/types/wallet/src/core/rpcClients/near/rpcCalls.d.ts +5 -31
- package/dist/types/wallet/src/core/rpcClients/relayer/ownerWalletExecutionLanePreflight.d.ts +2 -12
- package/dist/types/wallet/src/core/rpcClients/relayer/passkeyCustodyEnvelope.d.ts +4 -3
- package/dist/types/wallet/src/core/rpcClients/relayer/registrationSignerSetRequest.d.ts +3 -2
- package/dist/types/wallet/src/core/rpcClients/relayer/relayerHttp.d.ts +2 -2
- package/dist/types/wallet/src/core/rpcClients/relayer/routerAbNormalSigning.d.ts +10 -39
- package/dist/types/wallet/src/core/rpcClients/relayer/sealedRefreshCapabilities.d.ts +0 -14
- package/dist/types/wallet/src/core/rpcClients/relayer/thresholdEcdsa.d.ts +4 -72
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRecoveryFinalize.d.ts +2 -5
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRecoveryGoogleEmailOtp.d.ts +4 -7
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRecoveryPrepare.d.ts +5 -17
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRecoveryRotate.d.ts +3 -19
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRegistration.d.ts +32 -106
- package/dist/types/wallet/src/core/rpcClients/relayer/walletRegistrationTerminalResponse.d.ts +2 -2
- package/dist/types/wallet/src/core/rpcClients/relayer/walletSessionAuthorizationStatus.d.ts +2 -10
- package/dist/types/wallet/src/core/runtime/runtime.types.d.ts +7 -6
- package/dist/types/wallet/src/core/signingEngine/assembly/createManagers.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/assembly/ports/warmSigning.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/assembly/warmup.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/chains/evm/bytes.d.ts +0 -2
- package/dist/types/wallet/src/core/signingEngine/chains/evm/display/evmTx.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/chains/evm/display/functionSelectors.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/chains/evm/evmAdapter.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/chains/evm/evmCryptoWasm.d.ts +0 -9
- package/dist/types/wallet/src/core/signingEngine/chains/evm/evmSigning.types.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/chains/near/display.d.ts +4 -2
- package/dist/types/wallet/src/core/signingEngine/chains/near/payloads.d.ts +5 -12
- package/dist/types/wallet/src/core/signingEngine/chains/tempo/display.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/chains/tempo/tempoAdapter.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/chains/tempo/tempoSigning.types.d.ts +4 -7
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/ecdsaDerivationExport.d.ts +6 -104
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/ecdsaExportFlow.d.ts +4 -8
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/ecdsaExportMaterial.d.ts +1 -17
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/ed25519YaoExportFlow.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/exportKeypairOperation.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/keyExportConfirmation.d.ts +2 -5
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/keyExportFlow.d.ts +8 -7
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/passkeyEd25519YaoRecovery.d.ts +3 -6
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/stepUpAuthorization.d.ts +3 -3
- package/dist/types/wallet/src/core/signingEngine/flows/registration/accountLifecycle.d.ts +10 -30
- package/dist/types/wallet/src/core/signingEngine/flows/registration/nearProvisioningRegistry.d.ts +2 -20
- package/dist/types/wallet/src/core/signingEngine/flows/registration/services/ecdsaRegistrationSessions.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/flows/registration/services/passkeyEd25519YaoAddSigner.d.ts +5 -10
- package/dist/types/wallet/src/core/signingEngine/flows/shared/signingConfirmation.d.ts +0 -15
- package/dist/types/wallet/src/core/signingEngine/flows/shared/signingStateMachine.d.ts +7 -50
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/authPlanning.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/ecdsaSelection.d.ts +2 -6
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/emailOtpSigningSession.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/errors.d.ts +3 -15
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/executorThresholdState.d.ts +0 -4
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/freshAuthRetryPolicy.d.ts +5 -6
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/freshWalletSessionRetry.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/nonceResolution.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/preparedSigning.d.ts +5 -14
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/readySecp256k1Material.d.ts +5 -13
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/requireEvmFamilyStepUpAuth.d.ts +7 -7
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signatureUses.d.ts +0 -2
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signerLoader.d.ts +5 -4
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signers/ecdsaDerivationClientSigningMaterialSource.d.ts +1 -0
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signers/secp256k1.d.ts +2 -3
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signingFlow.d.ts +12 -12
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/signingFlowRuntime.d.ts +11 -46
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/stepUpAuthorization.d.ts +4 -22
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/thresholdAdmission.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/flows/signEvmFamily/types.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/implicitAccountFunding.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/requireNearStepUpAuth.d.ts +3 -3
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/ed25519YaoCapabilityResolution.d.ts +4 -11
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/ed25519YaoNormalSigning.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/operationStepUpPreparation.d.ts +3 -5
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/signatureOnlySigning.d.ts +126 -0
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/signingMaterials.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/shared/signingSessionAuthMode.d.ts +3 -3
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/signNear.d.ts +6 -5
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/signNep413.d.ts +3 -7
- package/dist/types/wallet/src/core/signingEngine/flows/signNear/stepUpAuthorization.d.ts +1 -6
- package/dist/types/wallet/src/core/signingEngine/interfaces/accountAuthMetadata.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/interfaces/display.d.ts +7 -6
- package/dist/types/wallet/src/core/signingEngine/interfaces/ecdsaChainTarget.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/interfaces/near.d.ts +8 -48
- package/dist/types/wallet/src/core/signingEngine/interfaces/operationDeps.d.ts +5 -19
- package/dist/types/wallet/src/core/signingEngine/interfaces/operationStepUpPreparation.d.ts +4 -6
- package/dist/types/wallet/src/core/signingEngine/interfaces/signing.d.ts +8 -17
- package/dist/types/wallet/src/core/signingEngine/nonce/evmNonceLane.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/nonce/nearNonceLane.d.ts +3 -28
- package/dist/types/wallet/src/core/signingEngine/nonce/nearNonceLaneIdentity.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/nonce/nearTransactionReadiness.d.ts +5 -6
- package/dist/types/wallet/src/core/signingEngine/nonce/nonceCoordinationRecordBoundary.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/nonce/nonceDiagnostics.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/nonce/nonceLaneKeys.d.ts +1 -3
- package/dist/types/wallet/src/core/signingEngine/nonce/nonceLeaseState.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/nonce/nonceTypes.d.ts +15 -15
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/clientCeremony.d.ts +6 -23
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/httpRequest.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/poolFillRoutes.d.ts +7 -17
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/presignaturePool.d.ts +1 -7
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/presignatureRefillProgress.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/routerAb/ecdsaDerivation/registrationPendingFinalization.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/SigningSessionCoordinator.d.ts +5 -8
- package/dist/types/wallet/src/core/signingEngine/session/authority/authorityOperationResolver.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/availability/availableSigningLanes.d.ts +14 -37
- package/dist/types/wallet/src/core/signingEngine/session/availability/clientSessionExpiryInvalidator.d.ts +3 -2
- package/dist/types/wallet/src/core/signingEngine/session/availability/persistedAvailableSigningLanes.d.ts +4 -3
- package/dist/types/wallet/src/core/signingEngine/session/availability/readiness.d.ts +6 -31
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/EmailOtpWalletSessionCoordinator.d.ts +37 -14
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/challengeDelivery.d.ts +0 -5
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ecdsaBootstrapCommit.d.ts +1 -21
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ecdsaLogin.d.ts +6 -61
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ecdsaPublication.d.ts +7 -26
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ecdsaRecovery.d.ts +3 -19
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ecdsaSigningSessionAuthority.d.ts +3 -2
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ed25519ExportContext.d.ts +6 -12
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/exportRecoveryRuntime.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/ports.d.ts +2 -3
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/publicTypes.d.ts +4 -6
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/routePlan.d.ts +4 -15
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/runtimeConfig.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/sealedRefreshPolicy.d.ts +4 -17
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/sealedRestoreOrchestrator.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/sealedSessionRegistry.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/secretEscrow.d.ts +4 -11
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/walletUnlock.d.ts +6 -15
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/warmSessionRuntime.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/workerRequests.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/holderShares/holderShareHandle.d.ts +0 -13
- package/dist/types/wallet/src/core/signingEngine/session/identity/clientSessionPersistenceState.d.ts +6 -7
- package/dist/types/wallet/src/core/signingEngine/session/identity/emailOtpEcdsaDerivationIdentity.d.ts +0 -3
- package/dist/types/wallet/src/core/signingEngine/session/identity/evmFamilyEcdsaIdentity.d.ts +19 -35
- package/dist/types/wallet/src/core/signingEngine/session/identity/exactSigningLaneIdentity.d.ts +10 -27
- package/dist/types/wallet/src/core/signingEngine/session/identity/exactWalletSessionCredential.d.ts +11 -11
- 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 +13 -20
- package/dist/types/wallet/src/core/signingEngine/session/identity/ownerLaneScope.d.ts +9 -17
- package/dist/types/wallet/src/core/signingEngine/session/identity/selectLane.d.ts +12 -28
- package/dist/types/wallet/src/core/signingEngine/session/identity/signingLaneAuthBinding.d.ts +7 -8
- package/dist/types/wallet/src/core/signingEngine/session/identity/walletUnlockSubject.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/keyMaterialBrands.d.ts +3 -27
- package/dist/types/wallet/src/core/signingEngine/session/lanes/operations/activationCoordinator.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/session/lanes/operations/laneMaterialInvalidation.d.ts +2 -37
- package/dist/types/wallet/src/core/signingEngine/session/lanes/operations/recipientPreparation.d.ts +4 -16
- package/dist/types/wallet/src/core/signingEngine/session/lanes/walletExecutionLaneHydration.d.ts +5 -42
- package/dist/types/wallet/src/core/signingEngine/session/lifecycle/canonicalWalletSessionStatus.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/lifecycle/walletSessionStatus.d.ts +2 -6
- package/dist/types/wallet/src/core/signingEngine/session/material/activeEcdsaCapabilityRuntime.d.ts +8 -12
- package/dist/types/wallet/src/core/signingEngine/session/material/activeWalletAuthorityEcdsaRuntime.d.ts +7 -10
- 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 +4 -5
- package/dist/types/wallet/src/core/signingEngine/session/material/ecdsaCapabilityManifest.d.ts +5 -5
- package/dist/types/wallet/src/core/signingEngine/session/material/ecdsaRoleLocalMaterialResolver.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/session/material/ecdsaSealedRuntime.d.ts +6 -35
- package/dist/types/wallet/src/core/signingEngine/session/material/ecdsaSigningCapability.d.ts +10 -9
- package/dist/types/wallet/src/core/signingEngine/session/material/mpcCapabilityHydration.d.ts +4 -5
- package/dist/types/wallet/src/core/signingEngine/session/material/nearEd25519YaoSigningPreparation.d.ts +9 -13
- package/dist/types/wallet/src/core/signingEngine/session/material/walletSigningStateFailure.d.ts +9 -8
- package/dist/types/wallet/src/core/signingEngine/session/operationState/authorizationAdmission.d.ts +7 -16
- package/dist/types/wallet/src/core/signingEngine/session/operationState/lanes.d.ts +13 -16
- package/dist/types/wallet/src/core/signingEngine/session/operationState/preparedOperation.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/operationState/trace.d.ts +5 -10
- package/dist/types/wallet/src/core/signingEngine/session/operationState/transactionState.d.ts +5 -26
- package/dist/types/wallet/src/core/signingEngine/session/operationState/types.d.ts +18 -36
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ecdsaBootstrap.d.ts +7 -8
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ecdsaSessionProvision.d.ts +6 -23
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ecdsaWarmCapabilityBootstrap.d.ts +4 -15
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ed25519Provisioner.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ed25519SessionProvision.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ed25519SessionProvision.typecheck.d.ts +7 -1
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ed25519YaoLocalMaterial.d.ts +10 -94
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ed25519YaoSealedSession.d.ts +3 -2
- package/dist/types/wallet/src/core/signingEngine/session/passkey/ed25519YaoWarmRecovery.d.ts +3 -13
- package/dist/types/wallet/src/core/signingEngine/session/passkey/passkeyCustodySessionCache.d.ts +0 -40
- package/dist/types/wallet/src/core/signingEngine/session/passkey/prfCache.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/passkey/unlockEcdsaWarmupPlanner.d.ts +12 -30
- package/dist/types/wallet/src/core/signingEngine/session/passkey/warmSessionMaterialWriter.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/persistence/durableSealedSessionCommands.d.ts +5 -7
- package/dist/types/wallet/src/core/signingEngine/session/persistence/ecdsaRoleLocalRecords.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/session/persistence/ecdsaSealedRecordKey.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/persistence/sealedSessionRecords.d.ts +212 -0
- package/dist/types/wallet/src/core/signingEngine/session/persistence/sealedSessionStore.d.ts +4 -199
- package/dist/types/wallet/src/core/signingEngine/session/postconditions/runtimePostconditions.d.ts +6 -35
- package/dist/types/wallet/src/core/signingEngine/session/public.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/session/routerAbSigningWalletSession.d.ts +4 -3
- package/dist/types/wallet/src/core/signingEngine/session/sealedRecovery/recoveryRecord.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/session/sealedRecovery/sealedRecovery.types.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/session/userPreferences.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/capabilityReader.d.ts +3 -6
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/capabilityReaderCore.d.ts +7 -19
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/clearVolatileWarmSigningMaterial.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/ecdsaLoginPrefill.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/ecdsaProvisionPlan.d.ts +6 -40
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/ecdsaProvisionPlan.typecheck.d.ts +4 -0
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/ed25519SealedSessionRuntime.d.ts +8 -61
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/persistencePorts.d.ts +4 -73
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/readModel.d.ts +4 -12
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/routerAbEd25519WalletSessionState.d.ts +4 -3
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/routerAbWalletSessionCredential.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/transitions.d.ts +3 -2
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/types.d.ts +5 -36
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/types.typecheck.d.ts +10 -1
- package/dist/types/wallet/src/core/signingEngine/session/warmCapabilities/volatileWarmMaterialCommands.d.ts +1 -2
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/channel/confirmCommon.d.ts +3 -2
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/channel/confirmTypes.d.ts +17 -53
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/confirmOperation.d.ts +4 -5
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/methodRunners.d.ts +4 -3
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/methodSelection.d.ts +5 -10
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/otpPrompt/authLane.d.ts +5 -8
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/otpPrompt/exportAuthorization.d.ts +7 -6
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/otpPrompt/signingPrompt.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/passkeyPrompt/touchIdPrompt.d.ts +5 -8
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/passkeyPrompt/webauthnPromptCoordinator.d.ts +6 -15
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/requireStepUpAuth.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/types.d.ts +13 -28
- 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 +5 -17
- package/dist/types/wallet/src/core/signingEngine/threshold/crypto/ecdsaLaneWasm.d.ts +0 -9
- package/dist/types/wallet/src/core/signingEngine/threshold/crypto/ed25519YaoLaneWasm.d.ts +5 -31
- package/dist/types/wallet/src/core/signingEngine/threshold/crypto/webauthn.d.ts +1 -46
- package/dist/types/wallet/src/core/signingEngine/threshold/ecdsa/activation.d.ts +2 -9
- package/dist/types/wallet/src/core/signingEngine/threshold/ecdsa/bootstrapSession.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/threshold/ecdsa/operationStepUp.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/threshold/ecdsa/postRegistrationSessionActivation.d.ts +5 -4
- package/dist/types/wallet/src/core/signingEngine/threshold/ecdsa/signingQueue.d.ts +2 -11
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/commitQueue.d.ts +2 -10
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/connectSession.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/walletSession.d.ts +7 -37
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/yaoActiveClientRegistry.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/yaoClient.d.ts +17 -49
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/yaoPageLifecycleOwner.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/threshold/ed25519/yaoPublicCapabilityReferences.d.ts +5 -19
- package/dist/types/wallet/src/core/signingEngine/threshold/sessionPolicy.d.ts +2 -53
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/handlers/flows/adapters/adapters.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/handlers/flows/adapters/request.d.ts +1 -5
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/handlers/flows/signing.d.ts +1 -7
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/nearFundingNotice.d.ts +2 -5
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/confirm-surface-resize.d.ts +3 -32
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/confirm-ui-types.d.ts +2 -0
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/confirmation-model.d.ts +3 -2
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/export-private-key-reveal.d.ts +0 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/ConfirmationModal.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/EmailOtpInput.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/ExportPrivateKeySurface.d.ts +5 -9
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/PadlockIcon.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/TransactionLabel.d.ts +1 -0
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/TransactionReceipt.d.ts +11 -2
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/TransactionReview.d.ts +4 -21
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/TransactionTree.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/confirmation-controller.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/email-otp-session.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/preact/mountRecoveryCodeBackupSurface.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/seamsWordmarkPaths.d.ts +0 -2
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/surface-resize-events.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-display/renderers/fallback.d.ts +0 -2
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-display/renderers/types.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/ui/transaction-display/tree.d.ts +3 -3
- package/dist/types/wallet/src/core/signingEngine/uiConfirm/uiConfirm.types.d.ts +9 -9
- package/dist/types/wallet/src/core/signingEngine/walletCustody/activateEd25519Capability.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/walletCustody/ceremonyActiveClientMetadata.d.ts +3 -4
- package/dist/types/wallet/src/core/signingEngine/walletCustody/ceremonyDriver.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/walletCustody/ceremonyStepRunner.d.ts +4 -3
- package/dist/types/wallet/src/core/signingEngine/walletCustody/ed25519SeedMaterial.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/walletCustody/emailOtpLink.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/walletCustody/joinCustodyWire.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/walletCustody/openCustodyCache.d.ts +6 -5
- package/dist/types/wallet/src/core/signingEngine/walletCustody/passkeyLink.d.ts +1 -52
- package/dist/types/wallet/src/core/signingEngine/walletCustody/recoveryReplacementEnvelope.d.ts +0 -5
- package/dist/types/wallet/src/core/signingEngine/walletCustody/registrationCeremony.d.ts +16 -26
- package/dist/types/wallet/src/core/signingEngine/walletCustody/unlockedEd25519ExportRootCapability.d.ts +22 -12
- package/dist/types/wallet/src/core/signingEngine/walletCustody/walletRecoveryEd25519.d.ts +1 -1
- package/dist/types/wallet/src/core/signingEngine/walletCustody/walletRecoveryRotation.d.ts +3 -2
- package/dist/types/wallet/src/core/signingEngine/webauthnAuth/credentials/collectAuthenticationCredentialForChallengeB64u.d.ts +1 -2
- package/dist/types/wallet/src/core/signingEngine/webauthnAuth/credentials/credentialExtensions.d.ts +2 -5
- package/dist/types/wallet/src/core/signingEngine/webauthnAuth/credentials/helpers.d.ts +0 -9
- package/dist/types/wallet/src/core/signingEngine/webauthnAuth/fallbacks/safari-fallbacks.d.ts +4 -9
- package/dist/types/wallet/src/core/signingEngine/workerManager/deviceLinkingPorts.d.ts +3 -12
- package/dist/types/wallet/src/core/signingEngine/workerManager/deviceLinkingSourceContribution.d.ts +17 -9
- package/dist/types/wallet/src/core/signingEngine/workerManager/ecdsaClientWorkerChannels.d.ts +7 -7
- package/dist/types/wallet/src/core/signingEngine/workerManager/ecdsaPresignLifecycle.d.ts +5 -16
- package/dist/types/wallet/src/core/signingEngine/workerManager/workerTransport.d.ts +5 -5
- package/dist/types/wallet/src/core/signingEngine/workerManager/workerTypes.d.ts +78 -81
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/device-linking-key/ecdsaTargetShareHpke.d.ts +7 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/device-linking-key/ordinaryMaterialState.d.ts +50 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/device-linking-key/requests.d.ts +89 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/device-linking-key.worker.d.ts +1 -10
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/ecdsaLaneHolderWorkerRuntime.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/crypto.d.ts +57 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/custodyRestore.d.ts +89 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/dispatch.d.ts +4 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/ed25519YaoExport.d.ts +45 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/enrollment.d.ts +47 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/fetch.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/materialParsing.d.ts +45 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/operationRequestParsing.d.ts +7 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/otpVerification.d.ts +53 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/passkeyCustodyLink.d.ts +18 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/payloadParsing.d.ts +48 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/recovery.d.ts +9 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/requestEnvelope.d.ts +11 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/sessionState.d.ts +74 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/email-otp/unlock.d.ts +133 -0
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/opaqueEcdsaPresignAuthority.d.ts +6 -6
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/shamir3pass/clientSealPreparation.d.ts +2 -2
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/shamir3pass/runtime.d.ts +2 -1
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/workerErrorPayload.d.ts +16 -0
- package/dist/types/wallet/src/core/types/accountIds.d.ts +2 -1
- package/dist/types/wallet/src/core/types/authenticatorOptions.d.ts +0 -2
- package/dist/types/wallet/src/core/types/confirmationConfig.d.ts +4 -4
- package/dist/types/wallet/src/core/types/ecdsaSignerProvisioningDefaults.d.ts +2 -1
- package/dist/types/wallet/src/core/types/errors.d.ts +2 -1
- package/dist/types/wallet/src/core/types/linkDevice.d.ts +5 -21
- package/dist/types/wallet/src/core/types/rpc.d.ts +0 -30
- package/dist/types/wallet/src/core/types/sdkPublicResults.d.ts +5 -18
- package/dist/types/wallet/src/core/types/sdkSentEvents.d.ts +15 -32
- package/dist/types/wallet/src/core/types/seams.d.ts +50 -124
- package/dist/types/wallet/src/core/types/secure-confirm-worker.d.ts +3 -5
- package/dist/types/wallet/src/core/types/signer-worker.d.ts +13 -70
- package/dist/types/wallet/src/core/types/webauthn.d.ts +3 -12
- package/dist/types/wallet/src/core/walletRuntimePaths/base.d.ts +0 -28
- package/dist/types/wallet/src/core/walletRuntimePaths/wasm-loader.d.ts +2 -1
- package/dist/types/wallet/src/core/walletRuntimePaths/workers.d.ts +0 -11
- package/dist/types/wallet/src/externalEvm/boundary.d.ts +2 -2
- package/dist/types/wallet/src/externalEvm/types.d.ts +5 -12
- package/dist/types/wallet/src/index.d.ts +3 -1
- package/dist/types/wallet/src/plugins/plugin-utils.d.ts +1 -3
- package/dist/types/wallet/src/react/components/AccountMenuButton/AccountMenuDialog.d.ts +21 -0
- package/dist/types/wallet/src/react/components/AccountMenuButton/AccountsSection.d.ts +2 -1
- package/dist/types/wallet/src/react/components/AccountMenuButton/AuthenticationMethodsModal.d.ts +1 -1
- package/dist/types/wallet/src/react/components/AccountMenuButton/ExportKeysSection.d.ts +2 -1
- package/dist/types/wallet/src/react/components/AccountMenuButton/LinkedDevicesModal.d.ts +1 -1
- package/dist/types/wallet/src/react/components/AccountMenuButton/SegmentedControl.d.ts +2 -2
- package/dist/types/wallet/src/react/components/AccountMenuButton/UserAccountButton.d.ts +0 -7
- 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/MoonIcon.d.ts +1 -5
- 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/SunIcon.d.ts +1 -5
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/lucideIcon.d.ts +5 -0
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/strokeIcon.d.ts +10 -0
- package/dist/types/wallet/src/react/components/HostedSeamsAuthMenu/types.d.ts +1 -1
- package/dist/types/wallet/src/react/components/QRCodeIcon.d.ts +1 -1
- package/dist/types/wallet/src/react/components/theme/ThemeProvider.d.ts +0 -9
- package/dist/types/wallet/src/react/components/theme/design-tokens.d.ts +2 -205
- package/dist/types/wallet/src/react/context/reactLoginStateBuilders.d.ts +2 -9
- package/dist/types/wallet/src/react/hooks/useAccountInput.d.ts +3 -24
- package/dist/types/wallet/src/react/index.d.ts +3 -1
- package/dist/types/wallet/src/react/transactionReview/boundCalls.d.ts +108 -8
- package/dist/types/wallet/src/react/transactionReview/controller.d.ts +3 -47
- package/dist/types/wallet/src/react/types.d.ts +2 -2
- package/dist/types/wallet/src/utils/deviceDetection.d.ts +2 -58
- package/dist/types/wallet/src/utils/intentDigest.d.ts +1 -6
- package/dist/types/wallet/src/utils/menuItemBlink.d.ts +9 -0
- package/dist/types/wallet/src/utils/qrScanner.d.ts +4 -38
- package/dist/workers/device-linking-key.worker.js +5638 -5817
- package/dist/workers/ecdsa-derivation-client.worker.js +1663 -2128
- package/dist/workers/ecdsa-online-client.worker.js +9 -117
- package/dist/workers/ecdsa-presign-client.worker.js +102 -220
- package/dist/workers/email-otp.worker.js +8966 -9300
- package/dist/workers/evm-crypto.worker.js +8 -6
- package/dist/workers/evm_crypto.wasm +0 -0
- package/dist/workers/evm_crypto_bg.wasm +0 -0
- package/dist/workers/near-signer.worker.js +4 -4
- package/dist/workers/near_signer.wasm +0 -0
- package/dist/workers/passkey-confirm.worker.js +6 -3
- package/dist/workers/passkey-mpc-export.worker.js +95 -101
- package/dist/workers/passkey-mpc-session.worker.js +205 -202
- 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.worker.js +8 -6
- 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 +230 -222
- 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 -133
- 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 -133
- 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/esm/react/core/types/rpc.js +0 -9
- package/dist/esm/react/shared-ts/src/signing-lanes/linkedEcdsaScope.js +0 -1
- package/dist/esm/react/shared-ts/src/utils/paillier.js +0 -3
- package/dist/esm/sdk/device-linking-DpVGjSeq.js +0 -221
- package/dist/esm/sdk/ecdsaPresignLifecycle-CnSnzoRJ.js +0 -5511
- package/dist/esm/sdk/evmFamilyEcdsaIdentity-_kuKSW35.js +0 -1385
- package/dist/esm/sdk/participants-Bcnsa_ip.js +0 -232
- package/dist/esm/sdk/registrationIntent-DwAIMQYh.js +0 -1623
- package/dist/esm/sdk/signer-worker-DYRteieu.js +0 -48
- package/dist/esm/shared-ts/src/signing-lanes/linkedEcdsaScope.js +0 -1
- package/dist/esm/shared-ts/src/utils/paillier.js +0 -3
- package/dist/public/sdk/device-linking-DpVGjSeq.js +0 -221
- package/dist/public/sdk/ecdsaPresignLifecycle-CnSnzoRJ.js +0 -5511
- package/dist/public/sdk/evmFamilyEcdsaIdentity-_kuKSW35.js +0 -1385
- package/dist/public/sdk/participants-Bcnsa_ip.js +0 -232
- package/dist/public/sdk/registrationIntent-DwAIMQYh.js +0 -1623
- package/dist/public/sdk/signer-worker-DYRteieu.js +0 -48
- package/dist/types/shared-ts/src/passkey-custody/credentialObservations.d.ts +0 -74
- package/dist/types/shared-ts/src/passkey-custody/kekContext.d.ts +0 -34
- package/dist/types/shared-ts/src/signing-lanes/linkedEcdsaScope.d.ts +0 -62
- package/dist/types/shared-ts/src/signing-lanes/linkedEcdsaScope.typecheck.d.ts +0 -2
- package/dist/types/shared-ts/src/signing-lanes/validation.d.ts +0 -11
- package/dist/types/shared-ts/src/utils/bigint.d.ts +0 -3
- package/dist/types/shared-ts/src/utils/paillier.d.ts +0 -37
- package/dist/types/shared-ts/src/utils/recoveryDomain.d.ts +0 -12
- package/dist/types/shared-ts/src/utils/signerDomain.typecheck.d.ts +0 -2
- package/dist/types/shared-ts/src/wallet-recovery/recoveryKekContext.d.ts +0 -37
- package/dist/types/wallet/src/SeamsWeb/operations/devices/qrLinkSession.d.ts +0 -7
- package/dist/types/wallet/src/SeamsWeb/operations/session/thresholdWarmSessionDefaults.d.ts +0 -11
- package/dist/types/wallet/src/SeamsWeb/walletIframe/SeamsWebIframe.d.ts +0 -113
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/env.d.ts +0 -7
- package/dist/types/wallet/src/SeamsWeb/walletIframe/client/index.d.ts +0 -12
- package/dist/types/wallet/src/SeamsWeb/walletIframe/index.d.ts +0 -21
- package/dist/types/wallet/src/core/platform/webCryptoHkdf.d.ts +0 -7
- package/dist/types/wallet/src/core/rpcClients/relayer/routerAbPublicKeyset.d.ts +0 -5
- package/dist/types/wallet/src/core/rpcClients/relayer/thresholdEcdsa.typecheck.d.ts +0 -2
- package/dist/types/wallet/src/core/rpcClients/relayer/walletCredentialActivity.d.ts +0 -48
- package/dist/types/wallet/src/core/signingEngine/flows/recovery/recoveryStorePorts.d.ts +0 -7
- package/dist/types/wallet/src/core/signingEngine/session/emailOtp/coordinatorRuntime.d.ts +0 -44
- package/dist/types/wallet/src/core/signingEngine/session/holderShares/holderShareEnvelopeAad.d.ts +0 -14
- package/dist/types/wallet/src/core/signingEngine/session/identity/ecdsaDerivationSigningMaterialHandle.d.ts +0 -19
- package/dist/types/wallet/src/core/signingEngine/session/identity/ecdsaDerivationSigningMaterialHandle.typecheck.d.ts +0 -2
- package/dist/types/wallet/src/core/signingEngine/session/lanes/laneRecords.d.ts +0 -3
- package/dist/types/wallet/src/core/signingEngine/session/lanes/operations/holderDeliveryCoordinator.d.ts +0 -29
- package/dist/types/wallet/src/core/signingEngine/session/lanes/operations/ports.d.ts +0 -53
- package/dist/types/wallet/src/core/signingEngine/session/lanes/operations/sourceLaneOperationCoordinator.d.ts +0 -24
- package/dist/types/wallet/src/core/signingEngine/session/operationState/stepUpFreshness.d.ts +0 -135
- package/dist/types/wallet/src/core/signingEngine/session/operationState/stepUpFreshness.typecheck.d.ts +0 -2
- package/dist/types/wallet/src/core/signingEngine/session/passkey/envelopes/index.d.ts +0 -19
- package/dist/types/wallet/src/core/signingEngine/session/passkey/runtime.d.ts +0 -23
- package/dist/types/wallet/src/core/signingEngine/stepUpConfirmation/walletAuthPolicyError.d.ts +0 -17
- package/dist/types/wallet/src/core/signingEngine/threshold/crypto/ed25519WrapKeySalt.d.ts +0 -2
- 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
- package/dist/types/wallet/src/core/signingEngine/useCases/lifecycle.d.ts +0 -758
- package/dist/types/wallet/src/core/signingEngine/useCases/lifecycle.typecheck.d.ts +0 -2
- package/dist/types/wallet/src/core/signingEngine/useCases/registerWallet.d.ts +0 -71
- package/dist/types/wallet/src/core/signingEngine/useCases/restorePersistedSessions.d.ts +0 -51
- package/dist/types/wallet/src/core/signingEngine/useCases/signEvmFamily.d.ts +0 -47
- package/dist/types/wallet/src/core/signingEngine/useCases/signNear.d.ts +0 -60
- package/dist/types/wallet/src/core/signingEngine/useCases/unlockWallet.d.ts +0 -69
- package/dist/types/wallet/src/core/signingEngine/walletCustody/coldUnlock.d.ts +0 -57
- package/dist/types/wallet/src/core/signingEngine/workerManager/laneWorkerChannels.d.ts +0 -81
- package/dist/types/wallet/src/core/signingEngine/workerManager/workers/laneHolderWorkerBackend.d.ts +0 -54
- package/dist/types/wallet/src/react/components/AccountMenuButton/HaloBorder/index.d.ts +0 -33
- package/dist/types/wallet/src/react/components/AccountMenuButton/PasskeyHaloLoading.d.ts +0 -10
- package/dist/types/wallet/src/react/components/AccountMenuButton/icons/EclipseIcon.d.ts +0 -8
- package/dist/types/wallet/src/react/components/ArrowRightAnim.d.ts +0 -19
- package/dist/types/wallet/src/react/components/HostedSeamsAuthMenu/index.d.ts +0 -5
- package/dist/types/wallet/src/theme/base-styles.runtime.d.ts +0 -15
- /package/dist/esm/sdk/{base-CMsoJcVv.js → base-D1B5mGin.js} +0 -0
- /package/dist/esm/sdk/{bytes-CwytAKz8.js → bytes-qKxKn4gg.js} +0 -0
- /package/dist/esm/sdk/{csp-stylesheet-DLj_a6t_.js → csp-stylesheet-btENhsNp.js} +0 -0
- /package/dist/esm/sdk/{events-Z_Rmy0Hn.js → events-DYoBL2HO.js} +0 -0
- /package/dist/esm/sdk/{executeWorkerOperation-Bn8GEuT_.js → executeWorkerOperation-Cl9whMK7.js} +0 -0
- /package/dist/esm/sdk/{jsonRpc-MUsR5-C6.js → jsonRpc-VVkaQkFD.js} +0 -0
- /package/dist/esm/sdk/{keccak-DY5wDsym.js → keccak-DUL3d8SF.js} +0 -0
- /package/dist/esm/sdk/{nearRpcResults-DwvW43FL.js → nearRpcResults-DoUgDATm.js} +0 -0
- /package/dist/esm/sdk/{prfCache-CgAr-VEU.js → prfCache-wqQSjYLn.js} +0 -0
- /package/dist/esm/sdk/{profileAccountProjection-C9rVhbeJ.js → profileAccountProjection-uZVJuBvS.js} +0 -0
- /package/dist/esm/sdk/{promptText-BEgOkGxB.js → promptText-CuRa_ivd.js} +0 -0
- /package/dist/esm/sdk/{shared-Qy1DGMqH.js → shared-DkbeLCI3.js} +0 -0
- /package/dist/esm/sdk/{signerSlot-DbNAs-kc.js → signerSlot-_ovonwVX.js} +0 -0
- /package/dist/esm/sdk/{signingSessionSeal-CdtgXHSL.js → signingSessionSeal-Cu-GHm6y.js} +0 -0
- /package/dist/esm/sdk/{surface-measurement-reporter-D7BNehf4.js → surface-measurement-reporter-CSTyRsMa.js} +0 -0
- /package/dist/esm/sdk/{walletIframeIdentity-UmQTJsHc.js → walletIframeIdentity-DB6Z2EC9.js} +0 -0
- /package/dist/esm/sdk/{webauthnPromptCoordinator-CLeba8ru.js → webauthnPromptCoordinator-L96oVvLz.js} +0 -0
- /package/dist/public/sdk/{base-CMsoJcVv.js → base-D1B5mGin.js} +0 -0
- /package/dist/public/sdk/{bytes-CwytAKz8.js → bytes-qKxKn4gg.js} +0 -0
- /package/dist/public/sdk/{csp-stylesheet-DLj_a6t_.js → csp-stylesheet-btENhsNp.js} +0 -0
- /package/dist/public/sdk/{events-Z_Rmy0Hn.js → events-DYoBL2HO.js} +0 -0
- /package/dist/public/sdk/{executeWorkerOperation-Bn8GEuT_.js → executeWorkerOperation-Cl9whMK7.js} +0 -0
- /package/dist/public/sdk/{jsonRpc-MUsR5-C6.js → jsonRpc-VVkaQkFD.js} +0 -0
- /package/dist/public/sdk/{keccak-DY5wDsym.js → keccak-DUL3d8SF.js} +0 -0
- /package/dist/public/sdk/{nearRpcResults-DwvW43FL.js → nearRpcResults-DoUgDATm.js} +0 -0
- /package/dist/public/sdk/{prfCache-CgAr-VEU.js → prfCache-wqQSjYLn.js} +0 -0
- /package/dist/public/sdk/{profileAccountProjection-C9rVhbeJ.js → profileAccountProjection-uZVJuBvS.js} +0 -0
- /package/dist/public/sdk/{promptText-BEgOkGxB.js → promptText-CuRa_ivd.js} +0 -0
- /package/dist/public/sdk/{shared-Qy1DGMqH.js → shared-DkbeLCI3.js} +0 -0
- /package/dist/public/sdk/{signerSlot-DbNAs-kc.js → signerSlot-_ovonwVX.js} +0 -0
- /package/dist/public/sdk/{signingSessionSeal-CdtgXHSL.js → signingSessionSeal-Cu-GHm6y.js} +0 -0
- /package/dist/public/sdk/{surface-measurement-reporter-D7BNehf4.js → surface-measurement-reporter-CSTyRsMa.js} +0 -0
- /package/dist/public/sdk/{walletIframeIdentity-UmQTJsHc.js → walletIframeIdentity-DB6Z2EC9.js} +0 -0
- /package/dist/public/sdk/{webauthnPromptCoordinator-CLeba8ru.js → webauthnPromptCoordinator-L96oVvLz.js} +0 -0
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -5,7 +5,7 @@ distributed Seams Wallet SDK, server runtime, Wasm, strict Workers, and CLI.
|
|
|
5
5
|
Dependency license expressions come from their package metadata. Packaged
|
|
6
6
|
license and notice wording is reproduced below with normalized whitespace.
|
|
7
7
|
|
|
8
|
-
Inventory:
|
|
8
|
+
Inventory: 518 dependency records (110 npm, 408 Cargo).
|
|
9
9
|
|
|
10
10
|
## Dependency inventory
|
|
11
11
|
|
|
@@ -26,7 +26,6 @@ Inventory: 522 dependency records (110 npm, 412 Cargo).
|
|
|
26
26
|
| cargo | base64 | 0.23.1 | MIT OR Apache-2.0 | Marshall Pierce <marshall@mpierce.org> |
|
|
27
27
|
| cargo | base64ct | 1.8.0 | Apache-2.0 OR MIT | RustCrypto Developers |
|
|
28
28
|
| cargo | base64ct | 1.8.3 | Apache-2.0 OR MIT | RustCrypto Developers |
|
|
29
|
-
| cargo | bincode | 1.3.3 | MIT | David Tolnay <dtolnay@gmail.com>; Francesco Mazzoli <f@mazzo.li>; Ty Overby <ty@pre-alpha.com>; Zoey Riordan <zoey@dos.cafe> |
|
|
30
29
|
| cargo | bitflags | 2.13.0 | MIT OR Apache-2.0 | The Rust Project Developers |
|
|
31
30
|
| cargo | bitflags | 2.13.1 | MIT OR Apache-2.0 | The Rust Project Developers |
|
|
32
31
|
| cargo | block-buffer | 0.10.4 | MIT OR Apache-2.0 | RustCrypto Developers |
|
|
@@ -157,7 +156,6 @@ Inventory: 522 dependency records (110 npm, 412 Cargo).
|
|
|
157
156
|
| cargo | hashbrown | 0.17.1 | MIT OR Apache-2.0 | |
|
|
158
157
|
| cargo | hashlink | 0.9.1 | MIT OR Apache-2.0 | kyren <kerriganw@gmail.com> |
|
|
159
158
|
| cargo | heapless | 0.7.17 | MIT OR Apache-2.0 | Emil Fresk <emil.fresk@gmail.com>; Jorge Aparicio <jorge@japaric.io>; Per Lindgren <per.lindgren@ltu.se> |
|
|
160
|
-
| cargo | hex-literal | 0.4.1 | MIT OR Apache-2.0 | RustCrypto Developers |
|
|
161
159
|
| cargo | hex | 0.4.3 | MIT OR Apache-2.0 | KokaKiwi <kokakiwi@kokakiwi.net> |
|
|
162
160
|
| cargo | hkdf | 0.12.4 | MIT OR Apache-2.0 | RustCrypto Developers |
|
|
163
161
|
| cargo | hkdf | 0.13.0 | MIT OR Apache-2.0 | RustCrypto Developers |
|
|
@@ -251,8 +249,6 @@ Inventory: 522 dependency records (110 npm, 412 Cargo).
|
|
|
251
249
|
| cargo | rand_core | 0.9.5 | MIT OR Apache-2.0 | The Rand Project Developers; The Rust Project Developers |
|
|
252
250
|
| cargo | rfc6979 | 0.4.0 | Apache-2.0 OR MIT | RustCrypto Developers |
|
|
253
251
|
| cargo | ring | 0.17.14 | Apache-2.0 AND ISC | |
|
|
254
|
-
| cargo | rmp-serde | 1.3.1 | MIT | Evgeny Safronov <division494@gmail.com> |
|
|
255
|
-
| cargo | rmp | 0.8.15 | MIT | Evgeny Safronov <division494@gmail.com>; Kornel <kornel@geekhood.net> |
|
|
256
252
|
| cargo | rusqlite | 0.32.1 | MIT | The rusqlite developers |
|
|
257
253
|
| cargo | rustc_version | 0.4.1 | MIT OR Apache-2.0 | |
|
|
258
254
|
| cargo | rustls-native-certs | 0.8.4 | Apache-2.0 OR ISC OR MIT | |
|
|
@@ -9739,37 +9735,6 @@ Applies to:
|
|
|
9739
9735
|
DEALINGS IN THE SOFTWARE.
|
|
9740
9736
|
|
|
9741
9737
|
|
|
9742
|
-
### 90d7e062634054e6
|
|
9743
|
-
|
|
9744
|
-
Packaged as: LICENSE.md
|
|
9745
|
-
|
|
9746
|
-
Applies to:
|
|
9747
|
-
|
|
9748
|
-
- cargo:bincode@1.3.3
|
|
9749
|
-
|
|
9750
|
-
The MIT License (MIT)
|
|
9751
|
-
|
|
9752
|
-
Copyright (c) 2014 Ty Overby
|
|
9753
|
-
|
|
9754
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9755
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9756
|
-
in the Software without restriction, including without limitation the rights
|
|
9757
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9758
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9759
|
-
furnished to do so, subject to the following conditions:
|
|
9760
|
-
|
|
9761
|
-
The above copyright notice and this permission notice shall be included in all
|
|
9762
|
-
copies or substantial portions of the Software.
|
|
9763
|
-
|
|
9764
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
9765
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
9766
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
9767
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
9768
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
9769
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
9770
|
-
SOFTWARE.
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
9738
|
### 9117d922e6671255
|
|
9774
9739
|
|
|
9775
9740
|
Packaged as: LICENSE-MIT
|
|
@@ -10033,38 +9998,6 @@ Applies to:
|
|
|
10033
9998
|
THE SOFTWARE.
|
|
10034
9999
|
|
|
10035
10000
|
|
|
10036
|
-
### 979d35e1d1572891
|
|
10037
|
-
|
|
10038
|
-
Packaged as: LICENSE
|
|
10039
|
-
|
|
10040
|
-
Applies to:
|
|
10041
|
-
|
|
10042
|
-
- cargo:rmp-serde@1.3.1
|
|
10043
|
-
- cargo:rmp@0.8.15
|
|
10044
|
-
|
|
10045
|
-
MIT License
|
|
10046
|
-
|
|
10047
|
-
Copyright (c) 2017 Evgeny Safronov
|
|
10048
|
-
|
|
10049
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10050
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
10051
|
-
in the Software without restriction, including without limitation the rights
|
|
10052
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10053
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10054
|
-
furnished to do so, subject to the following conditions:
|
|
10055
|
-
|
|
10056
|
-
The above copyright notice and this permission notice shall be included in all
|
|
10057
|
-
copies or substantial portions of the Software.
|
|
10058
|
-
|
|
10059
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
10060
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
10061
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
10062
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
10063
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
10064
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
10065
|
-
SOFTWARE.
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
10001
|
### 98181e7249d0c017
|
|
10069
10002
|
|
|
10070
10003
|
Packaged as: LICENSE-MIT
|
|
@@ -11372,7 +11305,6 @@ Applies to:
|
|
|
11372
11305
|
- cargo:ghash@0.5.1
|
|
11373
11306
|
- cargo:hash2curve@0.14.0
|
|
11374
11307
|
- cargo:hash2curve@0.14.0-rc.12
|
|
11375
|
-
- cargo:hex-literal@0.4.1
|
|
11376
11308
|
- cargo:hkdf@0.12.4
|
|
11377
11309
|
- cargo:hkdf@0.13.0
|
|
11378
11310
|
- cargo:hmac@0.12.1
|
|
@@ -15147,42 +15079,6 @@ Applies to:
|
|
|
15147
15079
|
DEALINGS IN THE SOFTWARE.
|
|
15148
15080
|
|
|
15149
15081
|
|
|
15150
|
-
### fbe7b9b51878efdf
|
|
15151
|
-
|
|
15152
|
-
Packaged as: LICENSE-MIT
|
|
15153
|
-
|
|
15154
|
-
Applies to:
|
|
15155
|
-
|
|
15156
|
-
- cargo:hex-literal@0.4.1
|
|
15157
|
-
|
|
15158
|
-
Copyright (c) 2018 Artyom Pavlov
|
|
15159
|
-
Copyright (c) 2018 The RustCrypto Project Developers
|
|
15160
|
-
|
|
15161
|
-
Permission is hereby granted, free of charge, to any
|
|
15162
|
-
person obtaining a copy of this software and associated
|
|
15163
|
-
documentation files (the "Software"), to deal in the
|
|
15164
|
-
Software without restriction, including without
|
|
15165
|
-
limitation the rights to use, copy, modify, merge,
|
|
15166
|
-
publish, distribute, sublicense, and/or sell copies of
|
|
15167
|
-
the Software, and to permit persons to whom the Software
|
|
15168
|
-
is furnished to do so, subject to the following
|
|
15169
|
-
conditions:
|
|
15170
|
-
|
|
15171
|
-
The above copyright notice and this permission notice
|
|
15172
|
-
shall be included in all copies or substantial portions
|
|
15173
|
-
of the Software.
|
|
15174
|
-
|
|
15175
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
15176
|
-
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
15177
|
-
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
15178
|
-
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
15179
|
-
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
15180
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
15181
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
15182
|
-
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
15183
|
-
DEALINGS IN THE SOFTWARE.
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
15082
|
### fd80a26fbb3f644a
|
|
15187
15083
|
|
|
15188
15084
|
Packaged as: LICENSE-MIT.md
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3cc408d97f9589145a26282262beee98f19671404d60cfe9373dbe147ef10de6
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { parseMpcMaterialActivationRef, parseWalletAuthMethodId } from "../shared-ts/src/utils/domainIds.js";
|
|
2
|
-
import { sha256HexUtf8 } from "../shared-ts/src/utils/digests.js";
|
|
3
|
-
import { createServerAllocatedWalletId } from "../shared-ts/src/utils/registrationIntent.js";
|
|
4
2
|
import { isObject } from "../shared-ts/src/utils/validation.js";
|
|
5
|
-
import {
|
|
6
|
-
import { parseLinkedDeviceApprovalResultV1 } from "../shared-ts/src/device-linking/parsers.js";
|
|
3
|
+
import { sha256HexUtf8 } from "../shared-ts/src/utils/digests.js";
|
|
7
4
|
import { WalletSessionStatusReadScope } from "../core/rpcClients/relayer/walletSessionAuthorizationStatus.js";
|
|
8
5
|
import { RegistrationEventPhase, UnlockEventPhase, createRegistrationFlowEvent, createUnlockFlowEvent } from "../core/types/sdkSentEvents.js";
|
|
9
6
|
import { readNearProvisioningState } from "../core/signingEngine/flows/registration/nearProvisioningRegistry.js";
|
|
7
|
+
import { createServerAllocatedWalletId } from "../shared-ts/src/utils/registrationIds.js";
|
|
10
8
|
import { nearAccountBindingFromRaw } from "../shared-ts/src/utils/walletCapabilityBindings.js";
|
|
11
9
|
import { resolvePrimaryNearRpcUrl } from "../core/config/chains.js";
|
|
12
10
|
import { configuredThresholdEcdsaChainTargets, nearAccountRefFromAccountId, thresholdEcdsaChainTargetFromRequest, thresholdEcdsaChainTargetsEqual, toWalletId, walletSessionRefFromSession } from "../core/signingEngine/interfaces/ecdsaChainTarget.js";
|
|
13
11
|
import { parseExactEcdsaSigningLaneIdentity, parseExactEd25519ExportMaterialIdentity } from "../core/signingEngine/session/identity/exactSigningLaneIdentity.js";
|
|
14
12
|
import { isRegistrationBenchmarkDiagnosticsEnabled } from "../core/signingEngine/walletCustody/ceremonyDriver.js";
|
|
13
|
+
import { isEmailOtpWalletAuthAuthority, parseWalletAuthAuthorityRef } from "../shared-ts/src/utils/walletAuthAuthority.js";
|
|
14
|
+
import { parseLinkedDeviceApprovalResultV1 } from "../shared-ts/src/device-linking/parsers.js";
|
|
15
15
|
import "../shared-ts/src/device-linking/index.js";
|
|
16
16
|
import { isUserCancellationError, toError } from "../shared-ts/src/utils/errors.js";
|
|
17
17
|
import { cloneAuthenticatorOptions } from "../shared-ts/src/utils/authenticatorOptions.js";
|
|
18
18
|
import { walletSessionAuthorizations } from "../core/indexedDB/seamsWalletDB/walletSessionAuthorizationStore.js";
|
|
19
19
|
import { IndexedDBManager } from "../core/indexedDB/index.js";
|
|
20
20
|
import { IndexedDbEcdsaCapabilityManifestStore } from "../core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestStore.js";
|
|
21
|
+
import { resolveLinkedEcdsaHolderRuntimeV1 } from "../core/signingEngine/session/material/linkedEcdsaHolderRuntime.js";
|
|
21
22
|
import { MinimalNearClient } from "../core/rpcClients/near/NearClient.js";
|
|
22
23
|
import { resolveAppearanceTheme, resolveThemePalette } from "../core/config/configHelpers.js";
|
|
23
24
|
import { buildConfigsFromEnv } from "../core/config/defaultConfigs.js";
|
|
24
25
|
import { activateEmailOtpWalletAfterUnlock, persistVerifiedEmailOtpAuthorityAfterUnlock, walletAuthAuthorityRefForVerifiedEmailOtpUnlock } from "./operations/authMethods/emailOtp/walletActivation.js";
|
|
25
26
|
import { __isWalletIframeHostMode } from "../core/browser/walletIframe/host-mode.js";
|
|
26
|
-
import {
|
|
27
|
+
import { readUnlockedEd25519ExportRootLinkingCapabilityV1, walletCustodyCeremonyTransportFromWorkerContextV1 } from "../core/signingEngine/walletCustody/unlockedEd25519ExportRootCapability.js";
|
|
27
28
|
import { resolveAmbiguousEcdsaActivationForSelectedAuthMethod } from "./assembly/browserSigningSurfaceAssembly.js";
|
|
28
29
|
import { BrowserSigningSurface } from "./signingSurface/BrowserSigningSurface.js";
|
|
29
30
|
import { WALLET_IFRAME_TRANSPORT_TIMING_LABEL } from "./operations/registration/registrationTiming.js";
|
|
@@ -41,19 +42,20 @@ import { parseWalletIframeExactSessionIdentity } from "./walletIframe/shared/exa
|
|
|
41
42
|
import { resolveBrowserWorkerWarmupPolicy } from "./assembly/browserWorkerWarmupPolicy.js";
|
|
42
43
|
import { configureBrowserIndexedDB } from "./assembly/configureBrowserIndexedDB.js";
|
|
43
44
|
import { createBrowserHostPlatformRuntime, createBrowserSigningRuntime } from "./assembly/createBrowserSigningRuntime.js";
|
|
45
|
+
import { scheduleRestoredSessionPresignaturePrefills } from "./walletIframe/host/restoredSessionPresignaturePrefill.js";
|
|
44
46
|
import { createBrowserSigningStores } from "./assembly/createBrowserSigningStores.js";
|
|
45
47
|
import { initializeBrowserSigningRuntime } from "./assembly/initializeBrowserSigningRuntime.js";
|
|
46
48
|
import { assertWalletRuntimePostconditions } from "../core/signingEngine/session/postconditions/runtimePostconditions.js";
|
|
47
49
|
import { resolveExactLinkedEmailOtpAuthority, resolveLinkedDeviceEmailOtpAuthoritySelection, unlockLinkedDeviceEmailOtpWallet } from "./operations/auth/login.js";
|
|
48
|
-
import { getWalletSessionDomain } from "./operations/auth/walletAuth.js";
|
|
50
|
+
import { getWalletSessionDomain, prefillRouterAbEcdsaDerivationPresignaturePoolDomain } from "./operations/auth/walletAuth.js";
|
|
49
51
|
import { LINKED_DEVICE_SESSION_HTTP_BASE_PATH_V1 } from "./operations/devices/deviceLinkingHttpTransport.js";
|
|
50
52
|
import { createWalletIframeLinkedDeviceManagementPortV1 } from "./publicApi/devices.js";
|
|
51
53
|
import { resolveConfiguredChainTarget } from "./publicApi/chainTargets.js";
|
|
52
54
|
import { buildNearWalletRegistrationSignerSetSelection, resolvePasskeyRegistrationAccountProvisioning } from "./operations/registration/registrationSignerSet.js";
|
|
53
55
|
import { requireTempoFeeTokenPreferenceSigningRequest } from "../core/signingEngine/chains/tempo/feeToken.js";
|
|
54
56
|
import { createPublicApi } from "./publicApi/createPublicApi.js";
|
|
55
|
-
import { createWalletHostCompositionV1 } from "./operations/devices/walletHostComposition.js";
|
|
56
57
|
import { createWalletHostOwnerAuthoritiesV1 } from "./operations/devices/walletHostOwnerAuthority.js";
|
|
58
|
+
import { createWalletHostCompositionV1 } from "./operations/devices/walletHostComposition.js";
|
|
57
59
|
import { createDeviceLinkingEcdsaSourceContributionMetadataReaderV1, createDeviceLinkingEd25519SourceContributionPortV1, createDeviceLinkingSourceContributionPortV1 } from "../core/signingEngine/workerManager/deviceLinkingSourceContribution.js";
|
|
58
60
|
import { beginGoogleEmailOtpWalletAuth } from "./operations/authMethods/emailOtp/googleEmailOtpWalletAuthFlow.js";
|
|
59
61
|
import { acknowledgeWalletRecoveryBackup, readWalletRecoveryCodeStatus, requestWalletCustodyEmailOtpChallenge } from "../core/rpcClients/relayer/walletRecoveryRotate.js";
|
|
@@ -404,21 +406,31 @@ function createWalletHostOwnerApprovalUpdatesV1(args) {
|
|
|
404
406
|
};
|
|
405
407
|
}
|
|
406
408
|
function createWalletHostEcdsaSourceContributionMetadataReaderV1(args) {
|
|
407
|
-
return createDeviceLinkingEcdsaSourceContributionMetadataReaderV1({
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
409
|
+
return createDeviceLinkingEcdsaSourceContributionMetadataReaderV1({
|
|
410
|
+
readActiveEcdsaCapabilityManifestV1: async ({ materialActivation }) => {
|
|
411
|
+
const authentication = args.signingEngine.readWalletAuthenticationState();
|
|
412
|
+
if (authentication.kind !== "authenticated") throw new Error("ECDSA source metadata requires an authenticated wallet");
|
|
413
|
+
let lookup = await ecdsaCapabilityManifestStore.lookupByMaterialActivation({
|
|
414
|
+
walletId: authentication.walletId,
|
|
415
|
+
materialActivation
|
|
416
|
+
});
|
|
417
|
+
if (lookup.kind === "ambiguous_authority") lookup = await resolveAmbiguousEcdsaActivationForSelectedAuthMethod({
|
|
418
|
+
walletId: authentication.walletId,
|
|
419
|
+
materialActivation,
|
|
420
|
+
authorities: lookup.authorities
|
|
421
|
+
});
|
|
422
|
+
if (lookup.kind !== "active") throw new Error(`ECDSA source metadata manifest is ${lookup.kind}`);
|
|
423
|
+
return lookup.manifest;
|
|
424
|
+
},
|
|
425
|
+
readLinkedEcdsaHolderV1: ({ materialActivation }) => {
|
|
426
|
+
const authentication = args.signingEngine.readWalletAuthenticationState();
|
|
427
|
+
if (authentication.kind !== "authenticated") return null;
|
|
428
|
+
return resolveLinkedEcdsaHolderRuntimeV1({
|
|
429
|
+
walletId: authentication.walletId,
|
|
430
|
+
materialActivation
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
});
|
|
422
434
|
}
|
|
423
435
|
function createWalletHostDeviceDomainConstructionV1(args) {
|
|
424
436
|
const relayerUrl = String(args.configs.network.relayer?.url || "").trim();
|
|
@@ -429,7 +441,7 @@ function createWalletHostDeviceDomainConstructionV1(args) {
|
|
|
429
441
|
walletSessions: walletSessionAuthorizations,
|
|
430
442
|
resolveSelectedWalletAuthority: IndexedDBManager.resolveSelectedWalletAuthority.bind(IndexedDBManager),
|
|
431
443
|
readWalletAuthenticationState: args.signingEngine.readWalletAuthenticationState.bind(args.signingEngine),
|
|
432
|
-
readUnlockedEd25519ExportRootCapabilityV1:
|
|
444
|
+
readUnlockedEd25519ExportRootCapabilityV1: readUnlockedEd25519ExportRootLinkingCapabilityV1
|
|
433
445
|
});
|
|
434
446
|
return {
|
|
435
447
|
platform,
|
|
@@ -609,6 +621,14 @@ var SeamsWeb = class {
|
|
|
609
621
|
async getWalletIframeExactSessionState() {
|
|
610
622
|
return await this.walletIframe.getExactSessionState();
|
|
611
623
|
}
|
|
624
|
+
/** @internal One wallet-host restore owns all configured-chain prefills. */
|
|
625
|
+
async prefillRestoredWalletSession(state) {
|
|
626
|
+
await scheduleRestoredSessionPresignaturePrefills({
|
|
627
|
+
state,
|
|
628
|
+
chainTargets: this.configuredChainTargets(),
|
|
629
|
+
prefill: prefillRouterAbEcdsaDerivationPresignaturePoolDomain.bind(null, this.getWalletAuthDeps())
|
|
630
|
+
});
|
|
631
|
+
}
|
|
612
632
|
async openHostedAuthMenu(request, anchorElement) {
|
|
613
633
|
return await this.walletIframe.openHostedAuthMenu(request, anchorElement);
|
|
614
634
|
}
|
|
@@ -957,76 +977,6 @@ var SeamsWeb = class {
|
|
|
957
977
|
error: { message: input.error.message }
|
|
958
978
|
});
|
|
959
979
|
}
|
|
960
|
-
emitEmailOtpRegistrationWorkerProgress(onEvent, args) {
|
|
961
|
-
const base = {
|
|
962
|
-
flowId: args.flowId,
|
|
963
|
-
walletId: args.walletId,
|
|
964
|
-
authMethod: "email_otp",
|
|
965
|
-
...args.challengeId ? { requestId: args.challengeId } : {}
|
|
966
|
-
};
|
|
967
|
-
switch (args.progress.code) {
|
|
968
|
-
case "otp.verify.succeeded":
|
|
969
|
-
this.emitEmailOtpRegistrationEvent(onEvent, {
|
|
970
|
-
...base,
|
|
971
|
-
phase: RegistrationEventPhase.STEP_04_OTP_VERIFY_SUCCEEDED,
|
|
972
|
-
status: "succeeded",
|
|
973
|
-
interaction: {
|
|
974
|
-
kind: "otp_input",
|
|
975
|
-
overlay: "hide"
|
|
976
|
-
}
|
|
977
|
-
});
|
|
978
|
-
return RegistrationEventPhase.STEP_04_OTP_VERIFY_SUCCEEDED;
|
|
979
|
-
case "signer.email_otp.enroll.started":
|
|
980
|
-
this.emitEmailOtpRegistrationEvent(onEvent, {
|
|
981
|
-
...base,
|
|
982
|
-
phase: RegistrationEventPhase.STEP_09_EMAIL_OTP_SIGNER_ENROLL_STARTED,
|
|
983
|
-
status: "running"
|
|
984
|
-
});
|
|
985
|
-
return RegistrationEventPhase.STEP_09_EMAIL_OTP_SIGNER_ENROLL_STARTED;
|
|
986
|
-
case "signer.email_otp.enroll.succeeded":
|
|
987
|
-
this.emitEmailOtpRegistrationEvent(onEvent, {
|
|
988
|
-
...base,
|
|
989
|
-
phase: RegistrationEventPhase.STEP_09_EMAIL_OTP_SIGNER_ENROLL_SUCCEEDED,
|
|
990
|
-
status: "succeeded"
|
|
991
|
-
});
|
|
992
|
-
return RegistrationEventPhase.STEP_09_EMAIL_OTP_SIGNER_ENROLL_SUCCEEDED;
|
|
993
|
-
case "signer.ecdsa.bootstrap.started":
|
|
994
|
-
this.emitEmailOtpRegistrationEvent(onEvent, {
|
|
995
|
-
...base,
|
|
996
|
-
phase: RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_STARTED,
|
|
997
|
-
status: "running",
|
|
998
|
-
data: { chainTarget: args.chainTarget }
|
|
999
|
-
});
|
|
1000
|
-
return RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_STARTED;
|
|
1001
|
-
case "signer.ecdsa.bootstrap.prepared":
|
|
1002
|
-
this.emitEmailOtpRegistrationEvent(onEvent, {
|
|
1003
|
-
...base,
|
|
1004
|
-
phase: RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_STARTED,
|
|
1005
|
-
status: "running",
|
|
1006
|
-
message: "Coordinating EVM signing session",
|
|
1007
|
-
data: { chainTarget: args.chainTarget }
|
|
1008
|
-
});
|
|
1009
|
-
return RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_STARTED;
|
|
1010
|
-
case "signer.ecdsa.bootstrap.responded":
|
|
1011
|
-
this.emitEmailOtpRegistrationEvent(onEvent, {
|
|
1012
|
-
...base,
|
|
1013
|
-
phase: RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_STARTED,
|
|
1014
|
-
status: "running",
|
|
1015
|
-
message: "Finalizing EVM signing session",
|
|
1016
|
-
data: { chainTarget: args.chainTarget }
|
|
1017
|
-
});
|
|
1018
|
-
return RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_STARTED;
|
|
1019
|
-
case "signer.ecdsa.bootstrap.succeeded":
|
|
1020
|
-
this.emitEmailOtpRegistrationEvent(onEvent, {
|
|
1021
|
-
...base,
|
|
1022
|
-
phase: RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_SUCCEEDED,
|
|
1023
|
-
status: "succeeded",
|
|
1024
|
-
data: { chainTarget: args.chainTarget }
|
|
1025
|
-
});
|
|
1026
|
-
return RegistrationEventPhase.STEP_10_ECDSA_SIGNER_PROVISION_SUCCEEDED;
|
|
1027
|
-
default: return null;
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
980
|
emitEmailOtpUnlockWorkerProgress(onEvent, args) {
|
|
1031
981
|
const chainLabel = args.chainTarget.kind === "tempo" ? "Tempo" : "EVM";
|
|
1032
982
|
const base = {
|
|
@@ -1663,7 +1613,6 @@ var SeamsWeb = class {
|
|
|
1663
1613
|
this.emitEmailOtpUnlockEvent(args.onEvent, input);
|
|
1664
1614
|
};
|
|
1665
1615
|
let timingStartedAtMs = nowMs();
|
|
1666
|
-
String(args.relayUrl || this.configs.network.relayer.url).trim();
|
|
1667
1616
|
const emailHashHex = await this.emailOtpEmailHashHex(args.emailOtpAuthorityEmail || "");
|
|
1668
1617
|
recordEmailOtpUnlockTiming(unlockTiming.timings, "emailHashLookupMs", timingStartedAtMs);
|
|
1669
1618
|
timingStartedAtMs = nowMs();
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { mpcMaterialActivationRefsEqual } from "../../shared-ts/src/utils/domainIds.js";
|
|
2
|
-
import { isEmailOtpWalletAuthAuthority, isPasskeyWalletAuthAuthority, walletAuthAuthorityRef } from "../../shared-ts/src/utils/walletAuthAuthority.js";
|
|
3
2
|
import { WalletSessionStatusReadScope } from "../../core/rpcClients/relayer/walletSessionAuthorizationStatus.js";
|
|
4
3
|
import { WALLET_AUTH_METHODS } from "../../shared-ts/src/utils/signerDomain.js";
|
|
5
4
|
import { configuredThresholdEcdsaChainTargets, thresholdEcdsaChainTargetKey, toWalletId } from "../../core/signingEngine/interfaces/ecdsaChainTarget.js";
|
|
6
5
|
import { readEmailOtpProviderSubjectForWalletV1 } from "../../core/signingEngine/threshold/ed25519/yaoPublicCapabilityReferences.js";
|
|
6
|
+
import { isEmailOtpWalletAuthAuthority, isPasskeyWalletAuthAuthority, walletAuthAuthorityRef } from "../../shared-ts/src/utils/walletAuthAuthority.js";
|
|
7
7
|
import { walletSessionAuthorizations } from "../../core/indexedDB/seamsWalletDB/walletSessionAuthorizationStore.js";
|
|
8
8
|
import { IndexedDBManager } from "../../core/indexedDB/index.js";
|
|
9
9
|
import { IndexedDbEcdsaCapabilityManifestStore } from "../../core/indexedDB/seamsWalletDB/ecdsaCapabilityManifestStore.js";
|
|
10
|
+
import { emitSigningSessionFlowTrace } from "../../core/signingEngine/session/operationState/trace.js";
|
|
10
11
|
import { withThresholdEd25519CommitQueue } from "../../core/signingEngine/threshold/ed25519/commitQueue.js";
|
|
11
12
|
import { buildActiveNearEd25519WalletSessionAuthorization } from "../../core/signingEngine/session/material/nearEd25519YaoSigningPreparation.js";
|
|
12
13
|
import { listExactSealedSessionsForWallet } from "../../core/signingEngine/session/persistence/sealedSessionStore.js";
|
|
@@ -51,7 +52,7 @@ async function noWalletPasskeyAuthenticator() {
|
|
|
51
52
|
return null;
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
|
-
*
|
|
55
|
+
* The active wallet auth-method store is the one source that resolves
|
|
55
56
|
* an authority reference to its full authority. Sealed-session restores and
|
|
56
57
|
* loose authenticator lists are history and hints; matching against them let
|
|
57
58
|
* a stale or sibling credential answer for the active authority.
|
|
@@ -226,14 +227,22 @@ async function readBrowserExactNearEd25519WalletSessionAuthorization(relayerUrlI
|
|
|
226
227
|
const authorizationNowMs = Date.now();
|
|
227
228
|
if (status.authorization.expiresAtMs <= authorizationNowMs) return { kind: "expired" };
|
|
228
229
|
if (status.walletSessionId !== exactRead.operationCredential.walletSessionId || status.quotaId !== exactRead.record.quotaId || status.expiresAtMs !== status.authorization.expiresAtMs || !walletSessionImmutableIdentityMatches(status.authorization, exactRead.record) || !walletSessionMatchesSelectedAuthority(status.authorization, currentSelected)) return { kind: "corrupt" };
|
|
230
|
+
let replaced;
|
|
229
231
|
try {
|
|
230
|
-
await
|
|
232
|
+
replaced = await IndexedDBManager.replaceExactActiveWalletSessionFromStatus({
|
|
231
233
|
active: status.authorization,
|
|
232
234
|
operationCredential: exactRead.operationCredential
|
|
233
235
|
});
|
|
234
236
|
} catch {
|
|
235
237
|
return { kind: "persistence_unavailable" };
|
|
236
238
|
}
|
|
239
|
+
if (replaced.kind === "superseded") {
|
|
240
|
+
emitSigningSessionFlowTrace("near", {
|
|
241
|
+
event: "wallet_session_status_superseded",
|
|
242
|
+
walletSessionId: exactRead.operationCredential.walletSessionId
|
|
243
|
+
});
|
|
244
|
+
return { kind: "unavailable" };
|
|
245
|
+
}
|
|
237
246
|
let selectedFactorAuthority;
|
|
238
247
|
try {
|
|
239
248
|
selectedFactorAuthority = await resolveBrowserSelectedFactorAuthority(currentSelected);
|
|
@@ -420,8 +429,9 @@ async function resolveBrowserEcdsaPreprocessingCapability(args, input, statusRea
|
|
|
420
429
|
kind: "inactive",
|
|
421
430
|
reason: "Exact Wallet Session authorization is expired"
|
|
422
431
|
};
|
|
432
|
+
let replaced;
|
|
423
433
|
try {
|
|
424
|
-
await
|
|
434
|
+
replaced = await IndexedDBManager.replaceExactActiveWalletSessionFromStatus({
|
|
425
435
|
active: status.authorization,
|
|
426
436
|
operationCredential: exactAuthorization.operationCredential
|
|
427
437
|
});
|
|
@@ -431,6 +441,16 @@ async function resolveBrowserEcdsaPreprocessingCapability(args, input, statusRea
|
|
|
431
441
|
reason: "Exact Wallet Session promotion reconciliation could not be persisted"
|
|
432
442
|
};
|
|
433
443
|
}
|
|
444
|
+
if (replaced.kind === "superseded") {
|
|
445
|
+
emitSigningSessionFlowTrace("evm-family", {
|
|
446
|
+
event: "wallet_session_status_superseded",
|
|
447
|
+
walletSessionId: exactAuthorization.operationCredential.walletSessionId
|
|
448
|
+
});
|
|
449
|
+
return {
|
|
450
|
+
kind: "inactive",
|
|
451
|
+
reason: "Exact Wallet Session status was superseded by a newer wallet authority"
|
|
452
|
+
};
|
|
453
|
+
}
|
|
434
454
|
const authorizationResolution = await buildBrowserEcdsaPreprocessingCapability({
|
|
435
455
|
context: args,
|
|
436
456
|
walletId,
|
|
@@ -511,7 +531,7 @@ async function resolveAmbiguousEcdsaActivationForSelectedAuthMethod(input) {
|
|
|
511
531
|
authority: chosen
|
|
512
532
|
});
|
|
513
533
|
}
|
|
514
|
-
async function resolveBrowserCanonicalEcdsaSigningCapability(
|
|
534
|
+
async function resolveBrowserCanonicalEcdsaSigningCapability(_args, input) {
|
|
515
535
|
const walletId = toWalletId(input.walletId);
|
|
516
536
|
const subjects = await ecdsaCapabilityManifestStore.listActiveWalletCapabilitySubjects(walletId);
|
|
517
537
|
if (subjects.kind !== "resolved") throw new Error(`ECDSA capability subjects are ${subjects.kind}`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IndexedDbEd25519YaoPublicCapabilityReferenceStore } from "../../core/signingEngine/threshold/ed25519/yaoPublicCapabilityReferences.js";
|
|
2
2
|
import { createIndexedDBNonceLaneCoordinationStore } from "../../core/indexedDB/nonceLaneCoordinationStore.js";
|
|
3
|
-
import { acquireSigningSessionRestoreLease,
|
|
3
|
+
import { acquireSigningSessionRestoreLease, listEcdsaSealedSessionsForWallet, listExactSealedSessionsForWallet, readExactSealedSession, releaseSigningSessionRestoreLease, updateExactSealedSessionPolicy, writeExactSealedSession } from "../../core/signingEngine/session/persistence/sealedSessionStore.js";
|
|
4
4
|
//#region src/SeamsWeb/assembly/createBrowserSigningStores.ts
|
|
5
5
|
function createBrowserSigningStores(indexedDB) {
|
|
6
6
|
return {
|
|
@@ -28,7 +28,6 @@ function createBrowserSigningStores(indexedDB) {
|
|
|
28
28
|
listEcdsaSealedSessionsForWallet,
|
|
29
29
|
acquireSigningSessionRestoreLease,
|
|
30
30
|
releaseSigningSessionRestoreLease,
|
|
31
|
-
deleteDurableSealedSessionRecord,
|
|
32
31
|
updateExactSealedSessionPolicy
|
|
33
32
|
},
|
|
34
33
|
ed25519YaoPublicCapabilityReferences: new IndexedDbEd25519YaoPublicCapabilityReferenceStore(indexedDB)
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
import { mpcMaterialActivationRefsEqual, parseThresholdEcdsaSessionId, parseThresholdEd25519SessionId, parseWalletId } from "../../../shared-ts/src/utils/domainIds.js";
|
|
2
2
|
import { parseMpcWalletSigningQuotaId, parseWalletSessionAuthorizationId, parseWalletSessionId, parseWalletSessionMintId } from "../../../shared-ts/src/authorization/capabilityKinds.js";
|
|
3
|
-
import {
|
|
3
|
+
import { joinNormalizedUrl } from "../../../shared-ts/src/utils/normalize.js";
|
|
4
4
|
import { base58Encode } from "../../../shared-ts/src/utils/base58.js";
|
|
5
5
|
import { deriveImplicitNearAccountIdFromEd25519PublicKey } from "../../../shared-ts/src/utils/near.js";
|
|
6
|
-
import { nearEd25519SigningKeyIdFromString } from "../../../shared-ts/src/utils/registrationIntent.js";
|
|
7
|
-
import { sameRouterAbMpcMaterialActivationRef } from "../../../shared-ts/src/utils/routerAbNormalSigningIdentity.js";
|
|
8
|
-
import { ROUTER_AB_ED25519_YAO_WARM_RECOVERY_BOOTSTRAP_PATH_V1, parseRouterAbEd25519YaoWarmRecoveryBootstrapRequestV1 } from "../../../shared-ts/src/utils/routerAbEd25519Yao.js";
|
|
9
|
-
import { joinNormalizedUrl } from "../../../shared-ts/src/utils/normalize.js";
|
|
10
6
|
import { isObject } from "../../../shared-ts/src/utils/validation.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { sameRouterAbEcdsaDerivationPublicCapabilityV1, sameRouterAbEcdsaDerivationPublicIdentityV1, sameRouterAbEcdsaRegistrationActivationReceiptV1, sameRouterAbServerIdentityV1 } from "../../../shared-ts/src/utils/routerAbEcdsaDerivation.js";
|
|
14
|
-
import { parseWalletSessionOperationCredentialV1 } from "../../../shared-ts/src/device-linking/parsers.js";
|
|
7
|
+
import { base64UrlDecode, base64UrlEncode } from "../../../shared-ts/src/utils/base64.js";
|
|
8
|
+
import { parseWalletSessionOperationCredentialV1 } from "../../../shared-ts/src/device-linking/activeWalletSession.js";
|
|
15
9
|
import { WalletSessionStatusReadScope } from "../../../core/rpcClients/relayer/walletSessionAuthorizationStatus.js";
|
|
16
10
|
import { parseRouterAbEd25519NormalSigningState } from "../../../shared-ts/src/utils/signingSessionSeal.js";
|
|
17
11
|
import { toAccountId } from "../../../core/types/accountIds.js";
|
|
18
12
|
import { SIGNER_AUTH_METHODS } from "../../../shared-ts/src/utils/signerDomain.js";
|
|
19
13
|
import { UnlockEventPhase, createUnlockFlowEvent } from "../../../core/types/sdkSentEvents.js";
|
|
14
|
+
import { nearEd25519SigningKeyIdFromString } from "../../../shared-ts/src/utils/registrationIds.js";
|
|
20
15
|
import { buildEmailOtpWalletAuthMethodBinding, buildPasskeyAuthScope, buildPasskeyWalletAuthMethodBinding, buildWalletIdentity, parseRpId } from "../../../shared-ts/src/utils/walletCapabilityBindings.js";
|
|
21
16
|
import { thresholdEcdsaChainTargetKey } from "../../../core/signingEngine/interfaces/ecdsaChainTarget.js";
|
|
17
|
+
import { normalizeRuntimePolicyScope } from "../../../shared-ts/src/threshold/signingRootScope.js";
|
|
22
18
|
import { buildBaseEvmFamilyEcdsaKeyIdentity, buildEvmFamilyEcdsaSessionLanePolicy, deriveEvmFamilySigningKeySlotId, evmFamilyEcdsaWalletKeyToIdentity, resolveThresholdSigningRootBindingFromRuntimePolicyScope, toEvmFamilyEcdsaKeyHandle, toRpId } from "../../../core/signingEngine/session/identity/evmFamilyEcdsaIdentity.js";
|
|
23
19
|
import { exactEd25519SigningLaneIdentity, nearEd25519SignerBindingFromBoundaryFields } from "../../../core/signingEngine/session/identity/exactSigningLaneIdentity.js";
|
|
24
20
|
import { secureRandomId } from "../../../shared-ts/src/utils/secureRandomId.js";
|
|
@@ -26,8 +22,12 @@ import { DEFAULT_UNLOCK_REMAINING_USES, resolveWalletUnlockSessionUsesFromReques
|
|
|
26
22
|
import { parseSignerSlot } from "../../../shared-ts/src/utils/signerSlot.js";
|
|
27
23
|
import { IndexedDbEd25519YaoPublicCapabilityReferenceStore, publishEd25519YaoPublicCapabilityReferenceAndLane } from "../../../core/signingEngine/threshold/ed25519/yaoPublicCapabilityReferences.js";
|
|
28
24
|
import { isWalletCustodySeedBinding } from "../../../shared-ts/src/passkey-custody/custodySecretBinding.js";
|
|
25
|
+
import { sameRouterAbMpcMaterialActivationRef } from "../../../shared-ts/src/utils/routerAbNormalSigningIdentity.js";
|
|
26
|
+
import { ROUTER_AB_ED25519_YAO_WARM_RECOVERY_BOOTSTRAP_PATH_V1, parseRouterAbEd25519YaoWarmRecoveryBootstrapRequestV1 } from "../../../shared-ts/src/utils/routerAbEd25519Yao.js";
|
|
29
27
|
import { ROUTER_AB_ED25519_YAO_ACTIVE_CLIENT_KIND_V1, RouterAbEd25519YaoClientV1 } from "../../../core/signingEngine/threshold/ed25519/yaoClient.js";
|
|
28
|
+
import { buildPasskeyWalletAuthAuthority, parseEmailOtpWalletAuthAuthority, parseWalletAuthAuthorityRef, walletAuthAuthorityRef } from "../../../shared-ts/src/utils/walletAuthAuthority.js";
|
|
30
29
|
import { destroyLinkedDeviceEcdsaHolderMaterialWasm, reconcileCanonicalEcdsaActivationWasm, storeLinkedDeviceEcdsaHolderMaterialWasm } from "../../../core/signingEngine/threshold/crypto/ecdsaDerivationClientWasm.js";
|
|
30
|
+
import { sameRouterAbEcdsaDerivationPublicCapabilityV1, sameRouterAbEcdsaDerivationPublicIdentityV1, sameRouterAbEcdsaRegistrationActivationReceiptV1, sameRouterAbServerIdentityV1 } from "../../../shared-ts/src/utils/routerAbEcdsaDerivation.js";
|
|
31
31
|
import { WALLET_CUSTODY_ED25519_MATERIAL_KEY_KIND } from "../../../core/indexedDB/walletCustodyEd25519MaterialRecord.js";
|
|
32
32
|
import "../../../shared-ts/src/device-linking/index.js";
|
|
33
33
|
import { openWalletAuthorityLinkedSignerMaterialV1 } from "../../../core/indexedDB/linkedAuthoritySignerMaterial.js";
|
|
@@ -60,6 +60,8 @@ import { verifyPasskeyWalletUnlock } from "../../../core/rpcClients/near/rpcCall
|
|
|
60
60
|
import { passkeyCredentialIdB64uFromAuthentication, passkeyPrfFirstB64uFromCredential } from "../authMethods/passkey/ecdsaBootstrap.js";
|
|
61
61
|
import { scheduleEcdsaSessionPresignaturePrefill } from "./scheduleEcdsaSessionPresignaturePrefill.js";
|
|
62
62
|
import { resolveManagedRuntimeScopeBootstrap } from "../../../core/config/managedRuntimeScope.js";
|
|
63
|
+
import { exactPasskeyWalletAuthAuthorityRefForCredential, exactPasskeyWalletAuthMethodForCredential } from "../authMethods/passkey/exactPasskeyAuthority.js";
|
|
64
|
+
import { scheduleLinkedDevicePresignaturePrefill } from "./scheduleLinkedDevicePresignaturePrefill.js";
|
|
63
65
|
import { createRouterAbNormalSigningPolicy } from "../session/thresholdWarmSessionBootstrap.js";
|
|
64
66
|
import { assertWalletRuntimePostconditions } from "../../../core/signingEngine/session/postconditions/runtimePostconditions.js";
|
|
65
67
|
import { buildConfiguredTargetKeyCompletion, collectConfiguredTargetThresholdEcdsaWarmKeys, configuredTargetThresholdEcdsaWarmKey, mergeCanonicalThresholdEcdsaWarmSessionContexts, parseActiveEcdsaSignerRecordForUnlock, planUnlockEcdsaWarmup, requireCompleteConfiguredTargetKeyContext } from "../../../core/signingEngine/session/passkey/unlockEcdsaWarmupPlanner.js";
|
|
@@ -276,27 +278,6 @@ function walletAuthMethodBindingFromRecord(record) {
|
|
|
276
278
|
default: return null;
|
|
277
279
|
}
|
|
278
280
|
}
|
|
279
|
-
async function exactPasskeyWalletAuthMethodForCredential(args) {
|
|
280
|
-
const matches = (await IndexedDBManager.listWalletAuthMethodsV2ForWallet(String(args.walletId))).filter((record) => record.kind === "passkey" && record.status === "active" && record.walletId === args.walletId && String(record.rpId) === args.rpId && String(record.credentialIdB64u) === args.credentialIdB64u);
|
|
281
|
-
const [record] = matches;
|
|
282
|
-
if (matches.length !== 1 || !record) throw new Error("[login] passkey authority requires one exact active V2 auth method");
|
|
283
|
-
return record;
|
|
284
|
-
}
|
|
285
|
-
async function exactPasskeyWalletAuthAuthorityRefForCredential(args) {
|
|
286
|
-
const record = await exactPasskeyWalletAuthMethodForCredential(args);
|
|
287
|
-
return await walletAuthAuthorityRef({ authority: {
|
|
288
|
-
walletId: record.walletId,
|
|
289
|
-
factor: {
|
|
290
|
-
kind: "passkey",
|
|
291
|
-
credentialIdB64u: record.credentialIdB64u
|
|
292
|
-
},
|
|
293
|
-
verifier: {
|
|
294
|
-
kind: "webauthn",
|
|
295
|
-
rpId: record.rpId
|
|
296
|
-
},
|
|
297
|
-
bindingId: record.walletAuthMethodId
|
|
298
|
-
} });
|
|
299
|
-
}
|
|
300
281
|
function walletAuthAuthorityForSelectedPasskeyMethod(record) {
|
|
301
282
|
return {
|
|
302
283
|
walletId: record.walletId,
|
|
@@ -1344,12 +1325,21 @@ async function activateLinkedDeviceSignerRuntimesAfterLink(args) {
|
|
|
1344
1325
|
...providerIdentity ? { providerIdentity } : {}
|
|
1345
1326
|
});
|
|
1346
1327
|
const ecdsaMaterial = linkedDeviceEcdsaMaterial(openedMaterials);
|
|
1347
|
-
if (ecdsaMaterial)
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1328
|
+
if (ecdsaMaterial) {
|
|
1329
|
+
const { runtime } = await activateLinkedDeviceEcdsaHolderRuntime({
|
|
1330
|
+
context: args.context,
|
|
1331
|
+
selection,
|
|
1332
|
+
factorAuthority,
|
|
1333
|
+
material: ecdsaMaterial
|
|
1334
|
+
});
|
|
1335
|
+
scheduleLinkedDevicePresignaturePrefill({
|
|
1336
|
+
runtime,
|
|
1337
|
+
operationCredential: args.operationCredential,
|
|
1338
|
+
expiresAtMs: args.walletSession.expiresAtMs,
|
|
1339
|
+
relayerUrl,
|
|
1340
|
+
workerCtx: args.context.signingEngine.getSignerWorkerContext()
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1353
1343
|
const ed25519Material = linkedDeviceEd25519Material(openedMaterials);
|
|
1354
1344
|
if (ed25519Material) {
|
|
1355
1345
|
const session = await linkedDeviceEd25519SessionAfterLink({
|
|
@@ -1377,7 +1367,7 @@ async function activateLinkedDeviceSignerRuntimesAfterLink(args) {
|
|
|
1377
1367
|
walletSessionId: String(args.operationCredential.walletSessionId),
|
|
1378
1368
|
expiresAtMs: args.walletSession.expiresAtMs
|
|
1379
1369
|
});
|
|
1380
|
-
else if (isWalletCustodySeedBinding(selection.exportRoot.envelope.binding)) await establishUnlockedWalletEd25519ExportRootCapabilityV1(walletCustodyCeremonyTransportFromWorkerContextV1(args.context.signingEngine.getSignerWorkerContext()), {
|
|
1370
|
+
else if (isWalletCustodySeedBinding(selection.exportRoot.envelope.binding) || selection.exportRoot.envelope.binding.kind === "ed25519_yao_client_root_v1") await establishUnlockedWalletEd25519ExportRootCapabilityV1(walletCustodyCeremonyTransportFromWorkerContextV1(args.context.signingEngine.getSignerWorkerContext()), {
|
|
1381
1371
|
existingEnvelope: selection.exportRoot.envelope,
|
|
1382
1372
|
existingFactorSecret: args.factorSecret32,
|
|
1383
1373
|
walletId: String(selection.walletId),
|
|
@@ -1593,7 +1583,7 @@ function pendingNearRegistrationMatchesAuthority(selection, activation, pending)
|
|
|
1593
1583
|
return pending.operation === "near_provisioning" && pending.phase === "joined" && pending.signerPlanKind === "near_ed25519_and_evm_family_ecdsa" && pending.walletId === selection.walletId && pending.walletAuthMethodId === selection.authMethod.walletAuthMethodId && mpcMaterialActivationRefsEqual(pending.localMaterial.ed25519.metadata.materialActivation, activation);
|
|
1594
1584
|
}
|
|
1595
1585
|
/**
|
|
1596
|
-
*
|
|
1586
|
+
* Install the Ed25519 runtime an owner authority's unlock just built.
|
|
1597
1587
|
*
|
|
1598
1588
|
* Everything is checked against the authority and method that were selected,
|
|
1599
1589
|
* before the handle is used: a session naming a different method, or a
|
|
@@ -1826,7 +1816,7 @@ async function unlockLinkedDeviceEmailOtpWallet(args) {
|
|
|
1826
1816
|
factorSecret32?.fill(0);
|
|
1827
1817
|
}
|
|
1828
1818
|
}
|
|
1829
|
-
async function unlockInternal(context, subjectSet, options,
|
|
1819
|
+
async function unlockInternal(context, subjectSet, options, _completion) {
|
|
1830
1820
|
const { onEvent, onError, afterCall } = options || {};
|
|
1831
1821
|
const { signingEngine } = context;
|
|
1832
1822
|
const walletUnlockSelection = resolveLoginWalletUnlockSelectionForSubjectSet({
|
|
@@ -1975,10 +1965,6 @@ async function unlockInternal(context, subjectSet, options, completion) {
|
|
|
1975
1965
|
identity: walletIdentity,
|
|
1976
1966
|
context: storedCanonicalEcdsaContext
|
|
1977
1967
|
});
|
|
1978
|
-
buildConfiguredTargetKeyCompletion({
|
|
1979
|
-
context: storedCanonicalEcdsaContext,
|
|
1980
|
-
configuredTargets: warmupInput.selectedEcdsaTargets
|
|
1981
|
-
});
|
|
1982
1968
|
const canFirstBootstrapThresholdEcdsa = Boolean(managedRuntimeScopeBootstrap);
|
|
1983
1969
|
const warmupPlan = resolveThresholdLoginWarmupPlan({
|
|
1984
1970
|
selection: warmupInput.selection,
|