@veridex/sdk 1.1.5 → 1.1.7

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.
Files changed (102) hide show
  1. package/dist/{EVMClient-Bmy9czkE.d.mts → EVMClient-DqDiFak8.d.mts} +1 -1
  2. package/dist/auth/prepareAuth.d.mts +5 -4
  3. package/dist/auth/prepareAuth.js +143 -1422
  4. package/dist/auth/prepareAuth.js.map +1 -1
  5. package/dist/auth/prepareAuth.mjs +17 -96
  6. package/dist/auth/prepareAuth.mjs.map +1 -1
  7. package/dist/chains/aptos/index.d.mts +1 -1
  8. package/dist/chains/aptos/index.js +11 -33
  9. package/dist/chains/aptos/index.js.map +1 -1
  10. package/dist/chains/aptos/index.mjs +2 -2
  11. package/dist/chains/avalanche/index.d.mts +2 -2
  12. package/dist/chains/avalanche/index.js +19 -115
  13. package/dist/chains/avalanche/index.js.map +1 -1
  14. package/dist/chains/avalanche/index.mjs +3 -3
  15. package/dist/chains/evm/index.d.mts +5 -4
  16. package/dist/chains/evm/index.js +19 -115
  17. package/dist/chains/evm/index.js.map +1 -1
  18. package/dist/chains/evm/index.mjs +2 -2
  19. package/dist/chains/solana/index.d.mts +1 -1
  20. package/dist/chains/solana/index.js +11 -33
  21. package/dist/chains/solana/index.js.map +1 -1
  22. package/dist/chains/solana/index.mjs +2 -2
  23. package/dist/chains/stacks/index.d.mts +1 -1
  24. package/dist/chains/stacks/index.js +11 -38
  25. package/dist/chains/stacks/index.js.map +1 -1
  26. package/dist/chains/stacks/index.mjs +2 -2
  27. package/dist/chains/starknet/index.d.mts +36 -2
  28. package/dist/chains/starknet/index.js +208 -37
  29. package/dist/chains/starknet/index.js.map +1 -1
  30. package/dist/chains/starknet/index.mjs +9 -4
  31. package/dist/chains/stellar/index.d.mts +2 -1
  32. package/dist/chains/sui/index.d.mts +1 -1
  33. package/dist/chains/sui/index.js +11 -27
  34. package/dist/chains/sui/index.js.map +1 -1
  35. package/dist/chains/sui/index.mjs +2 -2
  36. package/dist/{chunk-ZNIVNPGF.mjs → chunk-3PCAVZUZ.mjs} +173 -37
  37. package/dist/chunk-3PCAVZUZ.mjs.map +1 -0
  38. package/dist/{chunk-DQOW3G7M.mjs → chunk-6BINP4RT.mjs} +48 -9
  39. package/dist/{chunk-DQOW3G7M.mjs.map → chunk-6BINP4RT.mjs.map} +1 -1
  40. package/dist/{chunk-7KN6Y4GX.mjs → chunk-AK5HWYX4.mjs} +12 -40
  41. package/dist/chunk-AK5HWYX4.mjs.map +1 -0
  42. package/dist/{chunk-QVTADARB.mjs → chunk-FPSCAGYS.mjs} +12 -35
  43. package/dist/chunk-FPSCAGYS.mjs.map +1 -0
  44. package/dist/{chunk-USVZH4QC.mjs → chunk-H3WRT6Y4.mjs} +20 -117
  45. package/dist/chunk-H3WRT6Y4.mjs.map +1 -0
  46. package/dist/{chunk-GXJUY2SC.mjs → chunk-MNH22BM2.mjs} +12 -35
  47. package/dist/chunk-MNH22BM2.mjs.map +1 -0
  48. package/dist/chunk-N42LPFPJ.mjs +177 -0
  49. package/dist/chunk-N42LPFPJ.mjs.map +1 -0
  50. package/dist/{chunk-D57UJ4L5.mjs → chunk-NKSRF45N.mjs} +12 -29
  51. package/dist/chunk-NKSRF45N.mjs.map +1 -0
  52. package/dist/{chunk-BJH5HJL5.mjs → chunk-SKZLZFE2.mjs} +91 -65
  53. package/dist/chunk-SKZLZFE2.mjs.map +1 -0
  54. package/dist/{chunk-NVRAQPSF.mjs → chunk-UF5NWMSQ.mjs} +20 -4
  55. package/dist/chunk-UF5NWMSQ.mjs.map +1 -0
  56. package/dist/chunk-WC4X3MAO.mjs +58 -0
  57. package/dist/chunk-WC4X3MAO.mjs.map +1 -0
  58. package/dist/{chunk-5FH67KLG.mjs → chunk-XHDOSV2F.mjs} +2 -2
  59. package/dist/{index-CKKUV4J7.d.mts → index-D1nb2JV9.d.mts} +2 -2
  60. package/dist/index-qyOqd8tx.d.mts +517 -0
  61. package/dist/index.d.mts +30 -366
  62. package/dist/index.js +2412 -2486
  63. package/dist/index.js.map +1 -1
  64. package/dist/index.mjs +986 -55
  65. package/dist/index.mjs.map +1 -1
  66. package/dist/passkey-fh8bo2w-.d.mts +241 -0
  67. package/dist/passkey.d.mts +2 -182
  68. package/dist/passkey.js +86 -7
  69. package/dist/passkey.js.map +1 -1
  70. package/dist/passkey.mjs +2 -1
  71. package/dist/payload.d.mts +22 -28
  72. package/dist/payload.js +50 -9
  73. package/dist/payload.js.map +1 -1
  74. package/dist/payload.mjs +7 -3
  75. package/dist/platform/index.d.mts +3 -0
  76. package/dist/platform/index.js +216 -0
  77. package/dist/platform/index.js.map +1 -0
  78. package/dist/platform/index.mjs +21 -0
  79. package/dist/platform/index.mjs.map +1 -0
  80. package/dist/{portfolio-W2FQ2G3O.mjs → portfolio-MLP2JIFK.mjs} +2 -3
  81. package/dist/queries/index.mjs +324 -10
  82. package/dist/queries/index.mjs.map +1 -1
  83. package/dist/{types-DP2CQT8p.d.mts → types-CdlEbixV.d.mts} +12 -1
  84. package/dist/types.d.mts +1 -0
  85. package/dist/types.js.map +1 -1
  86. package/package.json +7 -1
  87. package/dist/chunk-72ZA3OYQ.mjs +0 -20
  88. package/dist/chunk-72ZA3OYQ.mjs.map +0 -1
  89. package/dist/chunk-7KN6Y4GX.mjs.map +0 -1
  90. package/dist/chunk-BJH5HJL5.mjs.map +0 -1
  91. package/dist/chunk-D57UJ4L5.mjs.map +0 -1
  92. package/dist/chunk-GXJUY2SC.mjs.map +0 -1
  93. package/dist/chunk-NVRAQPSF.mjs.map +0 -1
  94. package/dist/chunk-QVTADARB.mjs.map +0 -1
  95. package/dist/chunk-USVZH4QC.mjs.map +0 -1
  96. package/dist/chunk-XDIIFIW6.mjs +0 -330
  97. package/dist/chunk-XDIIFIW6.mjs.map +0 -1
  98. package/dist/chunk-ZNIVNPGF.mjs.map +0 -1
  99. package/dist/chunk-ZXMTPBSP.mjs +0 -857
  100. package/dist/chunk-ZXMTPBSP.mjs.map +0 -1
  101. /package/dist/{chunk-5FH67KLG.mjs.map → chunk-XHDOSV2F.mjs.map} +0 -0
  102. /package/dist/{portfolio-W2FQ2G3O.mjs.map → portfolio-MLP2JIFK.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -1,23 +1,27 @@
1
- import { b as WalletManagerConfig, P as PasskeyCredential, U as UnifiedIdentity, c as ChainAddress, B as BridgeParams, a as ChainConfig, d as VAA, e as VeridexPayload, f as PreparedTransfer, g as PreparedBridge, C as ChainClient, W as WebAuthnSignature, T as TransferParams, E as ExecuteParams, D as DispatchResult, h as VeridexConfig, i as BridgeResult, j as TransferResult, R as ReceiveAddress, k as VaultInfo, V as VaultCreationResult, I as IdentityState, A as AuthorizedKey, l as AddBackupKeyResult, m as RemoveKeyResult } from './types-DP2CQT8p.mjs';
2
- export { s as ActionPayload, p as BridgeAction, r as ConfigAction, n as ConfigParams, w as CrossChainFees, q as ExecuteAction, u as TestResult, v as TransactionHistoryEntry, o as TransferAction, t as VAASignature } from './types-DP2CQT8p.mjs';
3
- import { PasskeyManager, PasskeyCredential as PasskeyCredential$1, WebAuthnSignature as WebAuthnSignature$1 } from './passkey.mjs';
4
- export { PasskeyManagerConfig, VERIDEX_RP_ID, detectRpId, supportsRelatedOrigins } from './passkey.mjs';
1
+ import { c as WalletManagerConfig, P as PasskeyCredential, U as UnifiedIdentity, d as ChainAddress, B as BridgeParams, a as ChainConfig, e as VAA, f as VeridexPayload, g as PreparedTransfer, h as PreparedBridge, C as ChainClient, W as WebAuthnSignature, T as TransferParams, E as ExecuteParams, b as DispatchResult, i as VeridexConfig, j as BridgeResult, k as TransferResult, R as ReceiveAddress, l as VaultInfo, V as VaultCreationResult, I as IdentityState, A as AuthorizedKey, m as AddBackupKeyResult, n as RemoveKeyResult, D as DispatchDestinationV3 } from './types-CdlEbixV.mjs';
2
+ export { t as ActionPayload, q as BridgeAction, s as ConfigAction, o as ConfigParams, x as CrossChainFees, r as ExecuteAction, v as TestResult, w as TransactionHistoryEntry, p as TransferAction, u as VAASignature } from './types-CdlEbixV.mjs';
3
+ import { P as PasskeyManager, a as PasskeyCredential$1, W as WebAuthnSignature$1 } from './passkey-fh8bo2w-.mjs';
4
+ export { C as CredentialAssurance, c as CredentialAssuranceLevel, b as PasskeyManagerConfig, V as VERIDEX_RP_ID, d as detectRpId, s as supportsRelatedOrigins } from './passkey-fh8bo2w-.mjs';
5
5
  import { ethers } from 'ethers';
6
6
  import { BridgeParams as BridgeParams$1, ChainConfig as ChainConfig$1, SessionKey } from './types.mjs';
7
7
  export { AddGuardianResult, ApproveRecoveryResult, CancelRecoveryResult, ExecuteRecoveryResult, ExecutionPath, GuardianConfig, InitiateRecoveryResult, QueryProof, QuerySubmissionResult, RecoveryStatus, RegisterSessionParams, RemoveGuardianResult, RevokeSessionParams, SessionValidationResult, SetupGuardiansResult } from './types.mjs';
8
- export { E as EVMHubClientAdapter, H as HubClient, S as SessionManager } from './index-CKKUV4J7.mjs';
9
- export { E as EVMClient, a as EVMClientConfig } from './EVMClient-Bmy9czkE.mjs';
8
+ import { R as RelayerClient, C as CredentialMetadataRecord, a as RegisteredAppSummary, b as RegisteredAppDetail, c as RegisteredAppStatus, d as RegisteredAppTrustLevel, e as RelayerAppSession } from './index-qyOqd8tx.mjs';
9
+ export { G as GatewayConfigData, g as GatewayConfigResource, P as PlatformClient, h as PlatformClientConfig, E as PlatformExecutionAttempt, f as PlatformExecutionRecord, i as PlatformReconciliationIssue, o as RelayFeeQuote, l as RelayRequest, m as RelayRoute, k as RelayStatus, p as RelayerClientConfig, n as RelayerInfo, S as SponsorshipFeeLeg, r as SubmitActionResult, s as SubmitQueryRequest, t as SubmitQueryResult, q as SubmitSignedActionRequest, j as createRelayerClient } from './index-qyOqd8tx.mjs';
10
+ export { CHARGE_AUTHORIZATION_SIGNATURE_DOMAIN, ChargeAuthorization, Environment as PlatformEnvironment, PlatformEvent, SponsorshipQuote, UnsignedChargeAuthorization, chargeAuthorizationPayer, chargeAuthorizationSigningPayload, createChargeAuthorization, verifyChargeAuthorizationSignature } from '@veridex/platform-events';
11
+ export { E as EVMHubClientAdapter, H as HubClient, S as SessionManager } from './index-D1nb2JV9.mjs';
12
+ export { E as EVMClient, a as EVMClientConfig } from './EVMClient-DqDiFak8.mjs';
10
13
  export { SolanaClient, SolanaClientConfig } from './chains/solana/index.mjs';
11
14
  export { AptosClient, AptosClientConfig } from './chains/aptos/index.mjs';
12
15
  export { SuiClient, SuiClientConfig } from './chains/sui/index.mjs';
13
- export { StarknetClient, StarknetClientConfig } from './chains/starknet/index.mjs';
16
+ export { StarknetClient, StarknetClientConfig, StarknetSessionTransferContext, StarknetSessionTransferParams, StarknetSessionTransferSignature, buildStarknetSessionTransferChallenge, signStarknetSessionTransfer } from './chains/starknet/index.mjs';
14
17
  export { FtPostCondition, NftPostCondition, PostConditionComparison, STACKS_ACTION_TYPES, StacksClient, StacksClientConfig, PostCondition as StacksPostCondition, StxPostCondition, buildSbtcWithdrawalPostConditions, buildExecutePostConditions as buildStacksExecutePostConditions, buildStxDepositPostConditions, buildStxWithdrawalPostConditions, getContractPrincipal as getStacksContractPrincipal, getStacksExplorerAddressUrl, getStacksExplorerTxUrl, getNetworkFromAddress as getStacksNetworkFromAddress, isContractPrincipal as isStacksContractPrincipal, isValidContractName as isValidStacksContractName, isValidStacksPrincipal, isValidStandardPrincipal as isValidStacksStandardPrincipal, parseContractPrincipal as parseStacksContractPrincipal, buildExecuteHash as stacksBuildExecuteHash, buildRegistrationHash as stacksBuildRegistrationHash, buildRevocationHash as stacksBuildRevocationHash, buildSessionRegistrationHash as stacksBuildSessionRegistrationHash, buildWithdrawalHash as stacksBuildWithdrawalHash, compressPublicKey as stacksCompressPublicKey, computeKeyHash as stacksComputeKeyHash, computeKeyHashFromCoords as stacksComputeKeyHashFromCoords, derToCompactSignature as stacksDerToCompactSignature, rsToCompactSignature as stacksRsToCompactSignature, validatePostConditions as validateStacksPostConditions } from './chains/stacks/index.mjs';
15
18
  import { S as SessionStorage, a as SessionKey$1 } from './types-C564CfsE.mjs';
16
19
  export { A as ActionParams, b as SessionConfig, i as SessionError, h as SessionErrorCode, e as SessionEvent, f as SessionEventCallback, d as SessionManagerConfig, c as SessionSignature, g as SessionSignedAction } from './types-C564CfsE.mjs';
17
20
  export { CONSISTENCY_LEVELS, FetchVAAOptions, GUARDIAN_CONFIG, WaitForSignaturesOptions, emitterToEvmAddress, encodeVAAForSolana, encodeVAAToBytes, evmAddressToBytes32, fetchVAA, fetchVAAByTxHash, fetchVAAByTxHashFallback, getSequenceFromTxReceipt, getWormholeCoreBridge, getWormholeRelayer, getWormholeTokenBridge, hasQuorum, normalizeEmitterAddress, parseVAA, parseVAABytes, parseVeridexPayload, supportsRelayer, validateEmitter, waitForGuardianSignatures } from './wormhole.mjs';
18
21
  export { ACTION_BRIDGE, ACTION_CONFIG, ACTION_EXECUTE, ACTION_TRANSFER, ACTION_TYPES, HUB_ABI, MAINNET_CHAINS, PROTOCOL_VERSION, TESTNET_CHAINS, VAULT_ABI, VAULT_FACTORY_ABI, WORMHOLE_API, WORMHOLE_CHAIN_IDS, WORMHOLE_CHAIN_IDS_FLAT } from './constants.mjs';
19
22
  export { base64URLDecode, base64URLEncode, computeKeyHash, encodeSignatureForSolidity, getAddressExplorerUrl, getChainByEvmId, getChainByWormholeId, getTxExplorerUrl, isEvmChain, isValidBytes32, isValidEvmAddress, isValidWormholeChainId, parseDERSignature, retryWithBackoff } from './utils.mjs';
20
- export { buildChallenge, buildGaslessChallenge, createGaslessMessageHash, createMessageHash, decodeActionPayload, decodeBridgeAction, decodeExecuteAction, decodeTransferAction, encodeAptosTransferAction, encodeBridgeAction, encodeConfigAction, encodeExecuteAction, encodeSolanaTransferAction, encodeSuiTransferAction, encodeTransferAction, encodeVeridexPayload, formatAmount, generateNonce, padTo32Bytes, parseAmount, solanaAddressToBytes32, trimTo20Bytes } from './payload.mjs';
23
+ export { CanonicalChallengeV1, GaslessChallengeV1, HUB_NONCE_DOMAIN, TIER_T2_AUTHORITATIVE, buildCanonicalChallenge, buildChallenge, buildGaslessChallenge, createMessageHash, decodeActionPayload, decodeBridgeAction, decodeExecuteAction, decodeTransferAction, encodeAptosTransferAction, encodeBridgeAction, encodeConfigAction, encodeExecuteAction, encodeSolanaTransferAction, encodeSuiTransferAction, encodeTransferAction, encodeVeridexPayload, formatAmount, generateNonce, padTo32Bytes, parseAmount, solanaAddressToBytes32, trimTo20Bytes } from './payload.mjs';
24
+ import '@simplewebauthn/types';
21
25
  import '@solana/web3.js';
22
26
  import '@aptos-labs/ts-sdk';
23
27
  import '@mysten/sui/client';
@@ -1528,363 +1532,6 @@ declare function isHubChain(chain: ChainName): boolean;
1528
1532
  */
1529
1533
  declare function getDefaultHub(network?: NetworkType): ChainConfig$1;
1530
1534
 
1531
- /**
1532
- * Veridex Protocol SDK - Relayer Client
1533
- *
1534
- * Client for interacting with the Veridex relayer service.
1535
- * The relayer automatically submits VAAs to destination chains.
1536
- *
1537
- * Features:
1538
- * - Submit VAA for relay
1539
- * - Check relay status
1540
- * - Get supported routes
1541
- * - Fee estimation
1542
- */
1543
- /**
1544
- * Relay request status
1545
- */
1546
- type RelayStatus = 'pending' | 'processing' | 'submitted' | 'confirmed' | 'failed';
1547
- /**
1548
- * Relay request result
1549
- */
1550
- interface RelayRequest {
1551
- /** Unique relay request ID */
1552
- id: string;
1553
- /** VAA sequence number */
1554
- sequence: bigint;
1555
- /** Source chain Wormhole ID */
1556
- sourceChain: number;
1557
- /** Destination chain Wormhole ID */
1558
- destinationChain: number;
1559
- /** Relay status */
1560
- status: RelayStatus;
1561
- /** Source transaction hash */
1562
- sourceTxHash: string;
1563
- /** Destination transaction hash (when completed) */
1564
- destinationTxHash?: string;
1565
- /** Timestamp when request was created */
1566
- createdAt: number;
1567
- /** Timestamp when request was last updated */
1568
- updatedAt: number;
1569
- /** Error message if failed */
1570
- error?: string;
1571
- /** Gas used on destination chain */
1572
- gasUsed?: bigint;
1573
- /** Fee paid */
1574
- feePaid?: bigint;
1575
- }
1576
- /**
1577
- * Supported route information
1578
- */
1579
- interface RelayRoute {
1580
- /** Source chain Wormhole ID */
1581
- sourceChain: number;
1582
- /** Destination chain Wormhole ID */
1583
- destinationChain: number;
1584
- /** Whether the route is active */
1585
- active: boolean;
1586
- /** Estimated relay time in seconds */
1587
- estimatedTimeSeconds: number;
1588
- /** Base fee in destination chain native token */
1589
- baseFee: bigint;
1590
- /** Fee per gas unit */
1591
- gasPrice: bigint;
1592
- /** Maximum gas limit */
1593
- maxGas: bigint;
1594
- }
1595
- /**
1596
- * Relayer service info
1597
- */
1598
- interface RelayerInfo {
1599
- /** Relayer name/identifier */
1600
- name: string;
1601
- /** Relayer version */
1602
- version: string;
1603
- /** Supported chains */
1604
- supportedChains: number[];
1605
- /** Available routes */
1606
- routes: RelayRoute[];
1607
- /** Whether the relayer is online */
1608
- online: boolean;
1609
- /** Current queue depth */
1610
- queueDepth: number;
1611
- }
1612
- /**
1613
- * Request body for submitting a signed action to the relayer (gasless)
1614
- * Uses full WebAuthn data for authenticateAndDispatch
1615
- */
1616
- interface SubmitSignedActionRequest {
1617
- /** WebAuthn authenticatorData (hex) */
1618
- authenticatorData: string;
1619
- /** WebAuthn clientDataJSON (raw string) */
1620
- clientDataJSON: string;
1621
- /** Index of "challenge":"..." in clientDataJSON */
1622
- challengeIndex: number;
1623
- /** Index of "type":"..." in clientDataJSON */
1624
- typeIndex: number;
1625
- /** P-256 signature r component (hex) */
1626
- r: string;
1627
- /** P-256 signature s component (hex) */
1628
- s: string;
1629
- /** P-256 public key X coordinate (hex) */
1630
- publicKeyX: string;
1631
- /** P-256 public key Y coordinate (hex) */
1632
- publicKeyY: string;
1633
- /** Target chain Wormhole ID */
1634
- targetChain: number;
1635
- /** Action payload (hex) */
1636
- actionPayload: string;
1637
- /** User nonce */
1638
- nonce: number;
1639
- }
1640
- /**
1641
- * Response from submitting a signed action
1642
- */
1643
- interface SubmitActionResult {
1644
- /** Whether the submission was successful */
1645
- success: boolean;
1646
- /** Transaction hash on Hub chain */
1647
- txHash?: string;
1648
- /** Wormhole sequence number */
1649
- sequence?: string;
1650
- /** Error message if failed */
1651
- error?: string;
1652
- /** Human-readable message */
1653
- message?: string;
1654
- }
1655
- /**
1656
- * Query submission request (Issue #11/#12)
1657
- * For optimistic execution via Wormhole Query proofs (~5-7s vs ~120s)
1658
- */
1659
- interface SubmitQueryRequest {
1660
- /** Target spoke chain Wormhole ID */
1661
- targetChain: number;
1662
- /** User's key hash */
1663
- userKeyHash: string;
1664
- /** Serialized transaction for spoke chain */
1665
- serializedTx: string;
1666
- /** Query proof with Guardian signatures */
1667
- queryProof: {
1668
- /** Raw query response bytes */
1669
- queryResponse: string;
1670
- /** Guardian signatures */
1671
- signatures: string;
1672
- };
1673
- /** Whether to fallback to VAA if Query fails */
1674
- fallbackToVaa?: boolean;
1675
- /** Optional metadata */
1676
- metadata?: {
1677
- /** User's preferred execution path */
1678
- preferredPath?: 'query' | 'vaa';
1679
- /** Transaction value in USD (for routing decisions) */
1680
- estimatedValueUSD?: number;
1681
- };
1682
- }
1683
- /**
1684
- * Query submission result (Issue #11/#12)
1685
- */
1686
- interface SubmitQueryResult {
1687
- /** Whether submission succeeded */
1688
- success: boolean;
1689
- /** Transaction hash on spoke chain */
1690
- txHash?: string;
1691
- /** Execution path used */
1692
- path: 'query' | 'vaa';
1693
- /** Latency in milliseconds */
1694
- latencyMs?: number;
1695
- /** Error message if failed */
1696
- error?: string;
1697
- /** Whether fallback to VAA occurred */
1698
- fellBack?: boolean;
1699
- }
1700
- /**
1701
- * Fee quote for a relay
1702
- */
1703
- interface RelayFeeQuote {
1704
- /** Source chain Wormhole ID */
1705
- sourceChain: number;
1706
- /** Destination chain Wormhole ID */
1707
- destinationChain: number;
1708
- /** Estimated fee in source chain native token */
1709
- feeInSourceToken: bigint;
1710
- /** Estimated fee in destination chain native token */
1711
- feeInDestinationToken: bigint;
1712
- /** Estimated gas on destination */
1713
- estimatedGas: bigint;
1714
- /** Quote expiration timestamp */
1715
- expiresAt: number;
1716
- /** Quote ID for submission */
1717
- quoteId: string;
1718
- }
1719
- /**
1720
- * Configuration for RelayerClient
1721
- */
1722
- interface RelayerClientConfig {
1723
- /** Base URL of the relayer service */
1724
- baseUrl: string;
1725
- /** API key for authentication (optional) */
1726
- apiKey?: string;
1727
- /** Timeout for requests in ms */
1728
- timeoutMs?: number;
1729
- /** Max retries for failed requests */
1730
- maxRetries?: number;
1731
- }
1732
- type RegisteredAppStatus = 'active' | 'suspended' | 'revoked';
1733
- type RegisteredAppTrustLevel = 'verified' | 'registered' | 'pending';
1734
- interface RegisteredAppSummary {
1735
- id: string;
1736
- name: string;
1737
- origin: string;
1738
- trustLevel: RegisteredAppTrustLevel;
1739
- status: RegisteredAppStatus;
1740
- requestCount: number;
1741
- createdAt: number;
1742
- lastUsedAt?: number;
1743
- }
1744
- interface RegisteredAppDetail extends RegisteredAppSummary {
1745
- description?: string;
1746
- apiKey?: string;
1747
- activeSessionCount?: number;
1748
- }
1749
- interface RelayerAppSession {
1750
- id: string;
1751
- keyHash: string;
1752
- appOrigin: string;
1753
- sessionPublicKey: string;
1754
- permissions: string[];
1755
- expiresAt: number;
1756
- createdAt: number;
1757
- revoked: boolean;
1758
- active: boolean;
1759
- }
1760
- interface CredentialMetadataRecord {
1761
- credentialId: string;
1762
- keyHash: string;
1763
- displayName: string;
1764
- platformHint: string;
1765
- backupEligible: boolean | null;
1766
- backupState: boolean | null;
1767
- isRoot: boolean;
1768
- status: 'active' | 'revoked';
1769
- lastUsedAt: number | null;
1770
- useCount: number;
1771
- createdAt: number;
1772
- updatedAt: number;
1773
- }
1774
- /**
1775
- * Client for the Veridex relayer service
1776
- */
1777
- declare class RelayerClient {
1778
- private baseUrl;
1779
- private config;
1780
- constructor(config: RelayerClientConfig);
1781
- /**
1782
- * Submit a VAA for relay to destination chain
1783
- */
1784
- submitRelay(vaaBase64: string, sourceChain: number, destinationChain: number, sourceTxHash: string, sequence: bigint, feeQuoteId?: string): Promise<RelayRequest>;
1785
- /**
1786
- * Submit a signed action to the relayer for gasless execution
1787
- *
1788
- * This allows users to execute transfers without paying gas themselves.
1789
- * The relayer will submit the transaction to the Hub chain and pay the gas.
1790
- * The relayer then automatically relays the VAA to the destination spoke chain.
1791
- *
1792
- * @param request - The signed action request with passkey signature
1793
- * @returns Result including Hub tx hash and Wormhole sequence
1794
- */
1795
- submitSignedAction(request: SubmitSignedActionRequest): Promise<SubmitActionResult>;
1796
- /**
1797
- * Submit a Query-based transaction for optimistic execution (Issue #11/#12)
1798
- *
1799
- * Uses Wormhole Cross-Chain Queries (CCQ) to achieve ~5-7 second latency
1800
- * vs ~120+ seconds for traditional VAA flow.
1801
- *
1802
- * Flow:
1803
- * 1. Client fetches Hub state via queryHubState() from SDK
1804
- * 2. Client constructs and signs transaction
1805
- * 3. Client submits Query proof + tx to this endpoint
1806
- * 4. Relayer validates format and submits to spoke chain
1807
- * 5. Spoke chain verifies Guardian signatures on-chain
1808
- *
1809
- * @param request - Query submission with Guardian-signed proof
1810
- * @returns Result including spoke tx hash and execution path
1811
- */
1812
- submitQuery(request: SubmitQueryRequest): Promise<SubmitQueryResult>;
1813
- /**
1814
- * Get relay request status
1815
- */
1816
- getRelayStatus(requestId: string): Promise<RelayRequest>;
1817
- /**
1818
- * Get relay status by source transaction hash
1819
- */
1820
- getRelayBySourceTx(sourceTxHash: string): Promise<RelayRequest | null>;
1821
- /**
1822
- * Get relay status by sequence number
1823
- */
1824
- getRelayBySequence(sourceChain: number, sequence: bigint): Promise<RelayRequest | null>;
1825
- /**
1826
- * Cancel a pending relay request
1827
- */
1828
- cancelRelay(requestId: string): Promise<boolean>;
1829
- /**
1830
- * Poll for relay completion
1831
- */
1832
- waitForRelay(requestId: string, timeoutMs?: number, pollingIntervalMs?: number, onProgress?: (status: RelayStatus) => void): Promise<RelayRequest>;
1833
- /**
1834
- * Get fee quote for a relay
1835
- */
1836
- getFeeQuote(sourceChain: number, destinationChain: number, estimatedGas?: bigint): Promise<RelayFeeQuote>;
1837
- /**
1838
- * Get relayer service info
1839
- */
1840
- getInfo(): Promise<RelayerInfo>;
1841
- /**
1842
- * Get supported routes
1843
- */
1844
- getRoutes(): Promise<RelayRoute[]>;
1845
- /**
1846
- * Check if a route is supported
1847
- */
1848
- isRouteSupported(sourceChain: number, destinationChain: number): Promise<boolean>;
1849
- /**
1850
- * Check relayer health
1851
- */
1852
- healthCheck(): Promise<boolean>;
1853
- listApps(): Promise<RegisteredAppSummary[]>;
1854
- getApp(appId: string): Promise<RegisteredAppDetail>;
1855
- updateAppStatus(appId: string, status: RegisteredAppStatus): Promise<void>;
1856
- updateAppTrustLevel(appId: string, trustLevel: RegisteredAppTrustLevel): Promise<void>;
1857
- listAppSessions(appId: string, options?: {
1858
- includeRevoked?: boolean;
1859
- }): Promise<RelayerAppSession[]>;
1860
- revokeAppSessions(appId: string, sessionId?: string): Promise<number>;
1861
- listCredentialMetadata(keyHash: string): Promise<CredentialMetadataRecord[]>;
1862
- /**
1863
- * Get all pending relay requests for a user
1864
- */
1865
- getPendingRelays(userKeyHash: string): Promise<RelayRequest[]>;
1866
- /**
1867
- * Get relay history for a user
1868
- */
1869
- getRelayHistory(userKeyHash: string, limit?: number, offset?: number): Promise<RelayRequest[]>;
1870
- /**
1871
- * SDK version for telemetry
1872
- */
1873
- private static readonly SDK_VERSION;
1874
- /**
1875
- * Make an HTTP request to the relayer
1876
- */
1877
- private fetch;
1878
- /**
1879
- * Sleep helper
1880
- */
1881
- private sleep;
1882
- }
1883
- /**
1884
- * Create a RelayerClient instance
1885
- */
1886
- declare function createRelayerClient(config: RelayerClientConfig): RelayerClient;
1887
-
1888
1535
  type RecoveryStatusResult$1 = {
1889
1536
  isActive: boolean;
1890
1537
  newOwnerKeyHash: string;
@@ -2621,12 +2268,16 @@ interface GasSponsorConfig {
2621
2268
  * Private key for the sponsor wallet (from env or secure storage)
2622
2269
  * This is the fallback when relayer is not available
2623
2270
  */
2271
+ /** @deprecated Raw private keys are disabled by default. Use relayerUrl/PlatformClient. */
2624
2272
  sponsorPrivateKey?: string;
2625
2273
  /**
2626
2274
  * Integrator-provided sponsor key (for platforms using Veridex SDK)
2627
2275
  * Takes priority over Veridex default sponsorship
2628
2276
  */
2277
+ /** @deprecated Raw private keys are disabled by default. Use relayerUrl/PlatformClient. */
2629
2278
  integratorSponsorKey?: string;
2279
+ /** @deprecated Temporary migration escape hatch. Never enable in browser or production builds. */
2280
+ allowLegacyPrivateKeyFallback?: boolean;
2630
2281
  /**
2631
2282
  * Relayer API endpoint for remote sponsorship (primary method)
2632
2283
  * When available, this takes priority over local wallet sponsorship
@@ -2760,6 +2411,7 @@ declare class VeridexSDK {
2760
2411
  private readonly chain;
2761
2412
  private readonly relayer?;
2762
2413
  private readonly queryApiKey?;
2414
+ private readonly dispatchDestinations;
2763
2415
  private readonly testnet;
2764
2416
  private readonly sponsorPrivateKey?;
2765
2417
  private readonly chainRpcUrls?;
@@ -2767,6 +2419,7 @@ declare class VeridexSDK {
2767
2419
  private readonly preparedTransferTtl;
2768
2420
  private unifiedIdentity;
2769
2421
  constructor(config: VeridexConfig);
2422
+ private getVerifiedDispatchDestination;
2770
2423
  getChainConfig(): ChainConfig;
2771
2424
  getChainClient(): ChainClient;
2772
2425
  /**
@@ -3475,6 +3128,8 @@ interface SimpleSDKConfig {
3475
3128
  * Relayer API key (optional)
3476
3129
  */
3477
3130
  relayerApiKey?: string;
3131
+ /** Locally pinned v3 destination metadata for gasless dispatch. */
3132
+ dispatchDestinations?: Record<number, DispatchDestinationV3>;
3478
3133
  /**
3479
3134
  * Sponsor private key for gasless vault creation (optional)
3480
3135
  * If not provided, users pay their own gas
@@ -4012,10 +3667,17 @@ interface CrossOriginSession {
4012
3667
  serverSessionId?: string;
4013
3668
  /** Relayer-issued challenge binding for server session creation */
4014
3669
  serverChallengeId?: string;
3670
+ appId?: string;
3671
+ tenantId?: string;
3672
+ environment?: 'test' | 'live';
3673
+ chargeAuthorizationId?: string;
4015
3674
  }
4016
3675
  /** Server-side session token returned by the relayer */
4017
3676
  interface ServerSessionToken {
4018
3677
  id: string;
3678
+ appId: string;
3679
+ tenantId: string;
3680
+ environment: 'test' | 'live';
4019
3681
  keyHash: string;
4020
3682
  appOrigin: string;
4021
3683
  permissions: string[];
@@ -4127,6 +3789,8 @@ declare class CrossOriginAuth {
4127
3789
  authenticateAndCreateSession(options?: {
4128
3790
  permissions?: string[];
4129
3791
  expiresInMs?: number;
3792
+ environment?: 'test' | 'live';
3793
+ chargeAuthorizationId?: string;
4130
3794
  }): Promise<{
4131
3795
  session: CrossOriginSession;
4132
3796
  serverSession: ServerSessionToken;
@@ -5132,4 +4796,4 @@ interface ERC8004ValidationStatus {
5132
4796
  /** CAIP-2 universal agent identifier format */
5133
4797
  type UniversalAgentIdentifier = string;
5134
4798
 
5135
- export { ARBITRUM_SEPOLIA_TOKENS, AUTH_MESSAGE_TYPES, AccountManager, type AccountManagerConfig, type ActionDetails, type ActionDisplayType, AddBackupKeyResult, type AddCredentialOptions, type AddGuardianParams, type ApproveProposalParams, type ApproveProposalResult, type ApproveRecoveryParams, type AuthPortalMessage, type AuthStrategy, AuthorizedKey, BASE_SEPOLIA_TOKENS, type BalanceChangeCallback, type BalanceChangeEvent, type BalanceErrorCallback, type BalanceEventType, BalanceManager, type BalanceManagerConfig, BalanceWatcher, type BalanceWatcherOptions, type BatchLifecycleCallback, type BatchLifecycleEvent, type BatchSpendingLimitRequest, type BatchSpendingLimitResult, type BatchTransferRequest, type BatchTransferResult, type BatchVaultRequest, type BatchVaultResult, type BridgeDetails, BridgeParams, BridgeResult, type BrowserCapabilities, CHAIN_CAPABILITIES, CHAIN_DISPLAY_INFO, CHAIN_NAMES, CHAIN_PRESETS, CONFIG_TYPE, type CancelProposalParams, type CancelRecoveryParams, ChainAddress, type ChainAddressConfig, type ChainCapabilities, type ChainCapabilityTier, ChainClient, ChainConfig, type ChainDeploymentConfig, ChainDetector, type ChainDetectorConfig, type ChainDisplay, type ChainName, type ChainTokenList, type ConfigDetails, type ConfigurePolicyParams, type CreateProposalParams, type CreateProposalResult, CredentialManager, type CredentialMetadata, type CredentialMetadataRecord, type CrossChainConfig, CrossChainManager, type CrossChainProgress, type CrossChainProgressCallback, type CrossChainResult, type CrossChainStatus, CrossOriginAuth, type CrossOriginAuthConfig, type CrossOriginSession, DEFAULT_AUTH_PORTAL_URL, DEFAULT_PROPOSAL_TTL, DEFAULT_PROTECTED_ACTION_MASK, DEFAULT_REFRESH_BUFFER, DEFAULT_RELAYER_URL, DEFAULT_SESSION_DURATION, type DailySpendingSummary, DispatchResult, type DurationDisplay, type ERC8004AgentRegistration, type ERC8004FeedbackEntry, type ERC8004FeedbackSummary, type ERC8004MetadataEntry, type ERC8004ValidationStatus, ERC8004_CHAINS, ERC8004_MAINNET_IDENTITY, ERC8004_MAINNET_REPUTATION, ERC8004_TESTNET_IDENTITY, ERC8004_TESTNET_REPUTATION, ERROR_MESSAGES, ERROR_RANGES, ETHEREUM_SEPOLIA_TOKENS, EVM_ZERO_ADDRESS, EnterpriseManager, type EnterpriseManagerConfig, type EnterpriseSDKConfig, type ExecuteDetails, ExecuteParams, type ExecuteProposalParams, type ExecuteProposalResult, type ExecuteRecoveryParams, type FeatureFlags, type FormattedSpendingLimits, GasSponsor, type GasSponsorConfig, type GuardiansResult, IDENTITY_REGISTRY_ABI, IDENTITY_REGISTRY_READ_ABI, IdentityState, IndexedDBSessionStorage, type InitiateRecoveryParams, InjectedWalletAdapter, type InjectedWalletAdapterConfig, type InjectedWalletConnection, type KeyPair, LIMIT_PRESETS, type LimitCheckResult, type LimitPreset, type LimitViolationSuggestion, type LimitViolationType, LocalStorageSessionStorage, MAX_SESSION_DURATION, MIN_SESSION_DURATION, MONAD_TESTNET_TOKENS, type ManagedCredential, type MultiChainVaultResult, type MultisigCapableChainClient, MultisigManager, type MultisigManagerConfig, type MultisigPolicy, NATIVE_TOKEN_ADDRESS, type NativeBalanceCapable, type NetworkType, OPTIMISM_SEPOLIA_TOKENS, PROTECTED_ACTION, PasskeyCredential$1 as PasskeyCredential, PasskeyManager, type PlatformCapabilityMatrix, type PlatformHint, type PolicyViolationCode, PolicyViolationError, type PortabilityOverview, type PortfolioBalance, PreparedBridge, PreparedTransfer, type ProposalActionSummary, type ProposalState, REPUTATION_REGISTRY_ABI, REPUTATION_REGISTRY_READ_ABI, ReceiveAddress, type RecipientDisplay, type RecoveryCapableChainClient, RecoveryManager, type RecoveryManagerConfig, type RecoveryOverview, type RecoveryReadiness, type RecoveryStatusResult, type RegisteredAppDetail, type RegisteredAppStatus, type RegisteredAppSummary, type RegisteredAppTrustLevel, type RelayFeeQuote, type RelayRequest, type RelayRoute, type RelayStatus, type RelayerAppSession, RelayerClient, type RelayerClientConfig, type RelayerInfo, type RemoveGuardianParams, RemoveKeyResult, type RiskLevel, type RiskWarning, type RiskWarningType, type ServerSessionToken, SessionKey, SessionStorage, type SetDailyLimitParams, type SetTransactionLimitParams, type SetupGuardiansParams, type SimpleSDKConfig, type SessionConfig as SimpleSessionConfig, type SpendingLimitChangedEvent, type SpendingLimitConfig, type SpendingLimitEventCallback, type SpendingLimits, SpendingLimitsManager, type SpendingLimitsManagerConfig, type SpendingTransaction, type SponsoredVaultResult, type SponsorshipSource, type SubmitActionResult, type SubmitQueryRequest, type SubmitQueryResult, type SubmitSignedActionRequest, TOKEN_REGISTRY, type TokenBalance, type TokenBalanceChange, type TokenDisplay, type TokenInfo$1 as TokenInfo, type TrackerConfig, type TransactionAuditEntry, type TransactionCallback, TransactionParser, type TransactionParserConfig, type TransactionProposal, type TransactionState, type TransactionStatus, type TransactionSummary, TransactionTracker, type TransferDetails, TransferParams, TransferResult, VeridexErrorCode as UnifiedErrorCode, UnifiedIdentity, type UniversalAgentIdentifier, type Unsubscribe, VAA, VALIDATION_REGISTRY_ABI, VERIDEX_ERRORS, VaultCreationResult, VaultInfo, type VaultOverview, VeridexConfig, VeridexError, type VeridexErrorCode$1 as VeridexErrorCode, VeridexPayload, VeridexSDK, type WalletEvent, type WalletEventCallback, WalletManager, WalletManagerConfig, WebAuthnSignature$1 as WebAuthnSignature, buildCapabilityMatrix, calculatePercentage, computeSessionKeyHash, configureDefaultRpcUrls, createAuditEntry, createChainClient, createChainDetector, createCrossOriginAuth, createEnterpriseSDK, createGasSponsor, createHubSDK, createInjectedWalletAdapter, createMainnetSDK, createRelayerClient, createSDK, createSessionSDK, createSessionStorage, createSpendingLimitsManager, createTestnetSDK, createTransactionParser, crossChainManager, decrypt, VeridexSDK as default, deriveEncryptionKey, detectCapabilities, detectPlatform, encrypt, formatDuration, formatLargeAmount, formatTransactionState, generateSecp256k1KeyPair, getAllTokens, getAuthStrategy, getChainConfig, getChainDisplay, getChainName, getChainPreset, getConfigTypeName, getDefaultHub, getERC8004Addresses, getEffectivePrimaryHub, getErrorCategory, getErrorMessage, getExplorerUrl, getFeatureFlags, getHubChains, getRpcUrlOverride, getSuggestedAction, getSupportedChainIds, getSupportedChains, getTokenByAddress, getTokenBySymbol, getTokenList, hashAction, isAbiError, isChainSupported, isCoreError, isERC8004Chain, isHubChain, isMultiHubEnabled, isNativeToken, isQueryError, isQueryExecutionError, isQueryParsingError, isRetryableError, logTransactionSummary, normalizeError, parseVeridexError, resetFeatureFlags, sendAuthError, sendAuthResponse, setFeatureFlags, signWithSessionKey, validateChainCapability, validateFederatedOrigin, validateMetaMaskInteropClaim, validateNoKeyExtraction, validateSessionConfig, validateSessionCreationPolicy, verifySessionSignature };
4799
+ export { ARBITRUM_SEPOLIA_TOKENS, AUTH_MESSAGE_TYPES, AccountManager, type AccountManagerConfig, type ActionDetails, type ActionDisplayType, AddBackupKeyResult, type AddCredentialOptions, type AddGuardianParams, type ApproveProposalParams, type ApproveProposalResult, type ApproveRecoveryParams, type AuthPortalMessage, type AuthStrategy, AuthorizedKey, BASE_SEPOLIA_TOKENS, type BalanceChangeCallback, type BalanceChangeEvent, type BalanceErrorCallback, type BalanceEventType, BalanceManager, type BalanceManagerConfig, BalanceWatcher, type BalanceWatcherOptions, type BatchLifecycleCallback, type BatchLifecycleEvent, type BatchSpendingLimitRequest, type BatchSpendingLimitResult, type BatchTransferRequest, type BatchTransferResult, type BatchVaultRequest, type BatchVaultResult, type BridgeDetails, BridgeParams, BridgeResult, type BrowserCapabilities, CHAIN_CAPABILITIES, CHAIN_DISPLAY_INFO, CHAIN_NAMES, CHAIN_PRESETS, CONFIG_TYPE, type CancelProposalParams, type CancelRecoveryParams, ChainAddress, type ChainAddressConfig, type ChainCapabilities, type ChainCapabilityTier, ChainClient, ChainConfig, type ChainDeploymentConfig, ChainDetector, type ChainDetectorConfig, type ChainDisplay, type ChainName, type ChainTokenList, type ConfigDetails, type ConfigurePolicyParams, type CreateProposalParams, type CreateProposalResult, CredentialManager, type CredentialMetadata, CredentialMetadataRecord, type CrossChainConfig, CrossChainManager, type CrossChainProgress, type CrossChainProgressCallback, type CrossChainResult, type CrossChainStatus, CrossOriginAuth, type CrossOriginAuthConfig, type CrossOriginSession, DEFAULT_AUTH_PORTAL_URL, DEFAULT_PROPOSAL_TTL, DEFAULT_PROTECTED_ACTION_MASK, DEFAULT_REFRESH_BUFFER, DEFAULT_RELAYER_URL, DEFAULT_SESSION_DURATION, type DailySpendingSummary, DispatchDestinationV3, DispatchResult, type DurationDisplay, type ERC8004AgentRegistration, type ERC8004FeedbackEntry, type ERC8004FeedbackSummary, type ERC8004MetadataEntry, type ERC8004ValidationStatus, ERC8004_CHAINS, ERC8004_MAINNET_IDENTITY, ERC8004_MAINNET_REPUTATION, ERC8004_TESTNET_IDENTITY, ERC8004_TESTNET_REPUTATION, ERROR_MESSAGES, ERROR_RANGES, ETHEREUM_SEPOLIA_TOKENS, EVM_ZERO_ADDRESS, EnterpriseManager, type EnterpriseManagerConfig, type EnterpriseSDKConfig, type ExecuteDetails, ExecuteParams, type ExecuteProposalParams, type ExecuteProposalResult, type ExecuteRecoveryParams, type FeatureFlags, type FormattedSpendingLimits, GasSponsor, type GasSponsorConfig, type GuardiansResult, IDENTITY_REGISTRY_ABI, IDENTITY_REGISTRY_READ_ABI, IdentityState, IndexedDBSessionStorage, type InitiateRecoveryParams, InjectedWalletAdapter, type InjectedWalletAdapterConfig, type InjectedWalletConnection, type KeyPair, LIMIT_PRESETS, type LimitCheckResult, type LimitPreset, type LimitViolationSuggestion, type LimitViolationType, LocalStorageSessionStorage, MAX_SESSION_DURATION, MIN_SESSION_DURATION, MONAD_TESTNET_TOKENS, type ManagedCredential, type MultiChainVaultResult, type MultisigCapableChainClient, MultisigManager, type MultisigManagerConfig, type MultisigPolicy, NATIVE_TOKEN_ADDRESS, type NativeBalanceCapable, type NetworkType, OPTIMISM_SEPOLIA_TOKENS, PROTECTED_ACTION, PasskeyCredential$1 as PasskeyCredential, PasskeyManager, type PlatformCapabilityMatrix, type PlatformHint, type PolicyViolationCode, PolicyViolationError, type PortabilityOverview, type PortfolioBalance, PreparedBridge, PreparedTransfer, type ProposalActionSummary, type ProposalState, REPUTATION_REGISTRY_ABI, REPUTATION_REGISTRY_READ_ABI, ReceiveAddress, type RecipientDisplay, type RecoveryCapableChainClient, RecoveryManager, type RecoveryManagerConfig, type RecoveryOverview, type RecoveryReadiness, type RecoveryStatusResult, RegisteredAppDetail, RegisteredAppStatus, RegisteredAppSummary, RegisteredAppTrustLevel, RelayerAppSession, RelayerClient, type RemoveGuardianParams, RemoveKeyResult, type RiskLevel, type RiskWarning, type RiskWarningType, type ServerSessionToken, SessionKey, SessionStorage, type SetDailyLimitParams, type SetTransactionLimitParams, type SetupGuardiansParams, type SimpleSDKConfig, type SessionConfig as SimpleSessionConfig, type SpendingLimitChangedEvent, type SpendingLimitConfig, type SpendingLimitEventCallback, type SpendingLimits, SpendingLimitsManager, type SpendingLimitsManagerConfig, type SpendingTransaction, type SponsoredVaultResult, type SponsorshipSource, TOKEN_REGISTRY, type TokenBalance, type TokenBalanceChange, type TokenDisplay, type TokenInfo$1 as TokenInfo, type TrackerConfig, type TransactionAuditEntry, type TransactionCallback, TransactionParser, type TransactionParserConfig, type TransactionProposal, type TransactionState, type TransactionStatus, type TransactionSummary, TransactionTracker, type TransferDetails, TransferParams, TransferResult, VeridexErrorCode as UnifiedErrorCode, UnifiedIdentity, type UniversalAgentIdentifier, type Unsubscribe, VAA, VALIDATION_REGISTRY_ABI, VERIDEX_ERRORS, VaultCreationResult, VaultInfo, type VaultOverview, VeridexConfig, VeridexError, type VeridexErrorCode$1 as VeridexErrorCode, VeridexPayload, VeridexSDK, type WalletEvent, type WalletEventCallback, WalletManager, WalletManagerConfig, WebAuthnSignature$1 as WebAuthnSignature, buildCapabilityMatrix, calculatePercentage, computeSessionKeyHash, configureDefaultRpcUrls, createAuditEntry, createChainClient, createChainDetector, createCrossOriginAuth, createEnterpriseSDK, createGasSponsor, createHubSDK, createInjectedWalletAdapter, createMainnetSDK, createSDK, createSessionSDK, createSessionStorage, createSpendingLimitsManager, createTestnetSDK, createTransactionParser, crossChainManager, decrypt, VeridexSDK as default, deriveEncryptionKey, detectCapabilities, detectPlatform, encrypt, formatDuration, formatLargeAmount, formatTransactionState, generateSecp256k1KeyPair, getAllTokens, getAuthStrategy, getChainConfig, getChainDisplay, getChainName, getChainPreset, getConfigTypeName, getDefaultHub, getERC8004Addresses, getEffectivePrimaryHub, getErrorCategory, getErrorMessage, getExplorerUrl, getFeatureFlags, getHubChains, getRpcUrlOverride, getSuggestedAction, getSupportedChainIds, getSupportedChains, getTokenByAddress, getTokenBySymbol, getTokenList, hashAction, isAbiError, isChainSupported, isCoreError, isERC8004Chain, isHubChain, isMultiHubEnabled, isNativeToken, isQueryError, isQueryExecutionError, isQueryParsingError, isRetryableError, logTransactionSummary, normalizeError, parseVeridexError, resetFeatureFlags, sendAuthError, sendAuthResponse, setFeatureFlags, signWithSessionKey, validateChainCapability, validateFederatedOrigin, validateMetaMaskInteropClaim, validateNoKeyExtraction, validateSessionConfig, validateSessionCreationPolicy, verifySessionSignature };