@veridex/sdk 1.1.6 → 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.
- package/dist/{EVMClient-CTOtNY8I.d.mts → EVMClient-DqDiFak8.d.mts} +1 -1
- package/dist/auth/prepareAuth.d.mts +5 -4
- package/dist/auth/prepareAuth.js +57 -1415
- package/dist/auth/prepareAuth.js.map +1 -1
- package/dist/auth/prepareAuth.mjs +17 -96
- package/dist/auth/prepareAuth.mjs.map +1 -1
- package/dist/chains/aptos/index.d.mts +1 -1
- package/dist/chains/aptos/index.js +11 -33
- package/dist/chains/aptos/index.js.map +1 -1
- package/dist/chains/aptos/index.mjs +2 -2
- package/dist/chains/avalanche/index.d.mts +2 -2
- package/dist/chains/avalanche/index.js +19 -115
- package/dist/chains/avalanche/index.js.map +1 -1
- package/dist/chains/avalanche/index.mjs +3 -3
- package/dist/chains/evm/index.d.mts +3 -3
- package/dist/chains/evm/index.js +19 -115
- package/dist/chains/evm/index.js.map +1 -1
- package/dist/chains/evm/index.mjs +2 -2
- package/dist/chains/solana/index.d.mts +1 -1
- package/dist/chains/solana/index.js +11 -33
- package/dist/chains/solana/index.js.map +1 -1
- package/dist/chains/solana/index.mjs +2 -2
- package/dist/chains/stacks/index.d.mts +1 -1
- package/dist/chains/stacks/index.js +11 -38
- package/dist/chains/stacks/index.js.map +1 -1
- package/dist/chains/stacks/index.mjs +2 -2
- package/dist/chains/starknet/index.d.mts +36 -2
- package/dist/chains/starknet/index.js +208 -37
- package/dist/chains/starknet/index.js.map +1 -1
- package/dist/chains/starknet/index.mjs +9 -4
- package/dist/chains/sui/index.d.mts +1 -1
- package/dist/chains/sui/index.js +11 -27
- package/dist/chains/sui/index.js.map +1 -1
- package/dist/chains/sui/index.mjs +2 -2
- package/dist/{chunk-ZNIVNPGF.mjs → chunk-3PCAVZUZ.mjs} +173 -37
- package/dist/chunk-3PCAVZUZ.mjs.map +1 -0
- package/dist/{chunk-DQOW3G7M.mjs → chunk-6BINP4RT.mjs} +48 -9
- package/dist/{chunk-DQOW3G7M.mjs.map → chunk-6BINP4RT.mjs.map} +1 -1
- package/dist/{chunk-7KN6Y4GX.mjs → chunk-AK5HWYX4.mjs} +12 -40
- package/dist/chunk-AK5HWYX4.mjs.map +1 -0
- package/dist/{chunk-QVTADARB.mjs → chunk-FPSCAGYS.mjs} +12 -35
- package/dist/chunk-FPSCAGYS.mjs.map +1 -0
- package/dist/{chunk-USVZH4QC.mjs → chunk-H3WRT6Y4.mjs} +20 -117
- package/dist/chunk-H3WRT6Y4.mjs.map +1 -0
- package/dist/{chunk-GXJUY2SC.mjs → chunk-MNH22BM2.mjs} +12 -35
- package/dist/chunk-MNH22BM2.mjs.map +1 -0
- package/dist/chunk-N42LPFPJ.mjs +177 -0
- package/dist/chunk-N42LPFPJ.mjs.map +1 -0
- package/dist/{chunk-D57UJ4L5.mjs → chunk-NKSRF45N.mjs} +12 -29
- package/dist/chunk-NKSRF45N.mjs.map +1 -0
- package/dist/{chunk-2CALEUER.mjs → chunk-SKZLZFE2.mjs} +5 -58
- package/dist/chunk-SKZLZFE2.mjs.map +1 -0
- package/dist/{chunk-NVRAQPSF.mjs → chunk-UF5NWMSQ.mjs} +20 -4
- package/dist/chunk-UF5NWMSQ.mjs.map +1 -0
- package/dist/chunk-WC4X3MAO.mjs +58 -0
- package/dist/chunk-WC4X3MAO.mjs.map +1 -0
- package/dist/{chunk-5FH67KLG.mjs → chunk-XHDOSV2F.mjs} +2 -2
- package/dist/{index-9ercn1sa.d.mts → index-D1nb2JV9.d.mts} +1 -1
- package/dist/index-qyOqd8tx.d.mts +517 -0
- package/dist/index.d.mts +27 -364
- package/dist/index.js +2316 -2473
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +978 -51
- package/dist/index.mjs.map +1 -1
- package/dist/passkey.mjs +2 -1
- package/dist/payload.d.mts +22 -28
- package/dist/payload.js +50 -9
- package/dist/payload.js.map +1 -1
- package/dist/payload.mjs +7 -3
- package/dist/platform/index.d.mts +3 -0
- package/dist/platform/index.js +216 -0
- package/dist/platform/index.js.map +1 -0
- package/dist/platform/index.mjs +21 -0
- package/dist/platform/index.mjs.map +1 -0
- package/dist/{portfolio-W2FQ2G3O.mjs → portfolio-MLP2JIFK.mjs} +2 -3
- package/dist/queries/index.mjs +324 -10
- package/dist/queries/index.mjs.map +1 -1
- package/dist/{types-DQ5dtU9x.d.mts → types-CdlEbixV.d.mts} +11 -1
- package/package.json +7 -1
- package/dist/chunk-2CALEUER.mjs.map +0 -1
- package/dist/chunk-72ZA3OYQ.mjs +0 -20
- package/dist/chunk-72ZA3OYQ.mjs.map +0 -1
- package/dist/chunk-7KN6Y4GX.mjs.map +0 -1
- package/dist/chunk-D57UJ4L5.mjs.map +0 -1
- package/dist/chunk-GXJUY2SC.mjs.map +0 -1
- package/dist/chunk-NVRAQPSF.mjs.map +0 -1
- package/dist/chunk-QVTADARB.mjs.map +0 -1
- package/dist/chunk-USVZH4QC.mjs.map +0 -1
- package/dist/chunk-XDIIFIW6.mjs +0 -330
- package/dist/chunk-XDIIFIW6.mjs.map +0 -1
- package/dist/chunk-ZNIVNPGF.mjs.map +0 -1
- package/dist/chunk-ZXMTPBSP.mjs +0 -857
- package/dist/chunk-ZXMTPBSP.mjs.map +0 -1
- /package/dist/{chunk-5FH67KLG.mjs.map → chunk-XHDOSV2F.mjs.map} +0 -0
- /package/dist/{portfolio-W2FQ2G3O.mjs.map → portfolio-MLP2JIFK.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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
3
|
import { P as PasskeyManager, a as PasskeyCredential$1, W as WebAuthnSignature$1 } from './passkey-fh8bo2w-.mjs';
|
|
4
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
|
-
|
|
9
|
-
export { E as
|
|
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,
|
|
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';
|
|
21
24
|
import '@simplewebauthn/types';
|
|
22
25
|
import '@solana/web3.js';
|
|
23
26
|
import '@aptos-labs/ts-sdk';
|
|
@@ -1529,363 +1532,6 @@ declare function isHubChain(chain: ChainName): boolean;
|
|
|
1529
1532
|
*/
|
|
1530
1533
|
declare function getDefaultHub(network?: NetworkType): ChainConfig$1;
|
|
1531
1534
|
|
|
1532
|
-
/**
|
|
1533
|
-
* Veridex Protocol SDK - Relayer Client
|
|
1534
|
-
*
|
|
1535
|
-
* Client for interacting with the Veridex relayer service.
|
|
1536
|
-
* The relayer automatically submits VAAs to destination chains.
|
|
1537
|
-
*
|
|
1538
|
-
* Features:
|
|
1539
|
-
* - Submit VAA for relay
|
|
1540
|
-
* - Check relay status
|
|
1541
|
-
* - Get supported routes
|
|
1542
|
-
* - Fee estimation
|
|
1543
|
-
*/
|
|
1544
|
-
/**
|
|
1545
|
-
* Relay request status
|
|
1546
|
-
*/
|
|
1547
|
-
type RelayStatus = 'pending' | 'processing' | 'submitted' | 'confirmed' | 'failed';
|
|
1548
|
-
/**
|
|
1549
|
-
* Relay request result
|
|
1550
|
-
*/
|
|
1551
|
-
interface RelayRequest {
|
|
1552
|
-
/** Unique relay request ID */
|
|
1553
|
-
id: string;
|
|
1554
|
-
/** VAA sequence number */
|
|
1555
|
-
sequence: bigint;
|
|
1556
|
-
/** Source chain Wormhole ID */
|
|
1557
|
-
sourceChain: number;
|
|
1558
|
-
/** Destination chain Wormhole ID */
|
|
1559
|
-
destinationChain: number;
|
|
1560
|
-
/** Relay status */
|
|
1561
|
-
status: RelayStatus;
|
|
1562
|
-
/** Source transaction hash */
|
|
1563
|
-
sourceTxHash: string;
|
|
1564
|
-
/** Destination transaction hash (when completed) */
|
|
1565
|
-
destinationTxHash?: string;
|
|
1566
|
-
/** Timestamp when request was created */
|
|
1567
|
-
createdAt: number;
|
|
1568
|
-
/** Timestamp when request was last updated */
|
|
1569
|
-
updatedAt: number;
|
|
1570
|
-
/** Error message if failed */
|
|
1571
|
-
error?: string;
|
|
1572
|
-
/** Gas used on destination chain */
|
|
1573
|
-
gasUsed?: bigint;
|
|
1574
|
-
/** Fee paid */
|
|
1575
|
-
feePaid?: bigint;
|
|
1576
|
-
}
|
|
1577
|
-
/**
|
|
1578
|
-
* Supported route information
|
|
1579
|
-
*/
|
|
1580
|
-
interface RelayRoute {
|
|
1581
|
-
/** Source chain Wormhole ID */
|
|
1582
|
-
sourceChain: number;
|
|
1583
|
-
/** Destination chain Wormhole ID */
|
|
1584
|
-
destinationChain: number;
|
|
1585
|
-
/** Whether the route is active */
|
|
1586
|
-
active: boolean;
|
|
1587
|
-
/** Estimated relay time in seconds */
|
|
1588
|
-
estimatedTimeSeconds: number;
|
|
1589
|
-
/** Base fee in destination chain native token */
|
|
1590
|
-
baseFee: bigint;
|
|
1591
|
-
/** Fee per gas unit */
|
|
1592
|
-
gasPrice: bigint;
|
|
1593
|
-
/** Maximum gas limit */
|
|
1594
|
-
maxGas: bigint;
|
|
1595
|
-
}
|
|
1596
|
-
/**
|
|
1597
|
-
* Relayer service info
|
|
1598
|
-
*/
|
|
1599
|
-
interface RelayerInfo {
|
|
1600
|
-
/** Relayer name/identifier */
|
|
1601
|
-
name: string;
|
|
1602
|
-
/** Relayer version */
|
|
1603
|
-
version: string;
|
|
1604
|
-
/** Supported chains */
|
|
1605
|
-
supportedChains: number[];
|
|
1606
|
-
/** Available routes */
|
|
1607
|
-
routes: RelayRoute[];
|
|
1608
|
-
/** Whether the relayer is online */
|
|
1609
|
-
online: boolean;
|
|
1610
|
-
/** Current queue depth */
|
|
1611
|
-
queueDepth: number;
|
|
1612
|
-
}
|
|
1613
|
-
/**
|
|
1614
|
-
* Request body for submitting a signed action to the relayer (gasless)
|
|
1615
|
-
* Uses full WebAuthn data for authenticateAndDispatch
|
|
1616
|
-
*/
|
|
1617
|
-
interface SubmitSignedActionRequest {
|
|
1618
|
-
/** WebAuthn authenticatorData (hex) */
|
|
1619
|
-
authenticatorData: string;
|
|
1620
|
-
/** WebAuthn clientDataJSON (raw string) */
|
|
1621
|
-
clientDataJSON: string;
|
|
1622
|
-
/** Index of "challenge":"..." in clientDataJSON */
|
|
1623
|
-
challengeIndex: number;
|
|
1624
|
-
/** Index of "type":"..." in clientDataJSON */
|
|
1625
|
-
typeIndex: number;
|
|
1626
|
-
/** P-256 signature r component (hex) */
|
|
1627
|
-
r: string;
|
|
1628
|
-
/** P-256 signature s component (hex) */
|
|
1629
|
-
s: string;
|
|
1630
|
-
/** P-256 public key X coordinate (hex) */
|
|
1631
|
-
publicKeyX: string;
|
|
1632
|
-
/** P-256 public key Y coordinate (hex) */
|
|
1633
|
-
publicKeyY: string;
|
|
1634
|
-
/** Target chain Wormhole ID */
|
|
1635
|
-
targetChain: number;
|
|
1636
|
-
/** Action payload (hex) */
|
|
1637
|
-
actionPayload: string;
|
|
1638
|
-
/** User nonce */
|
|
1639
|
-
nonce: number;
|
|
1640
|
-
}
|
|
1641
|
-
/**
|
|
1642
|
-
* Response from submitting a signed action
|
|
1643
|
-
*/
|
|
1644
|
-
interface SubmitActionResult {
|
|
1645
|
-
/** Whether the submission was successful */
|
|
1646
|
-
success: boolean;
|
|
1647
|
-
/** Transaction hash on Hub chain */
|
|
1648
|
-
txHash?: string;
|
|
1649
|
-
/** Wormhole sequence number */
|
|
1650
|
-
sequence?: string;
|
|
1651
|
-
/** Error message if failed */
|
|
1652
|
-
error?: string;
|
|
1653
|
-
/** Human-readable message */
|
|
1654
|
-
message?: string;
|
|
1655
|
-
}
|
|
1656
|
-
/**
|
|
1657
|
-
* Query submission request (Issue #11/#12)
|
|
1658
|
-
* For optimistic execution via Wormhole Query proofs (~5-7s vs ~120s)
|
|
1659
|
-
*/
|
|
1660
|
-
interface SubmitQueryRequest {
|
|
1661
|
-
/** Target spoke chain Wormhole ID */
|
|
1662
|
-
targetChain: number;
|
|
1663
|
-
/** User's key hash */
|
|
1664
|
-
userKeyHash: string;
|
|
1665
|
-
/** Serialized transaction for spoke chain */
|
|
1666
|
-
serializedTx: string;
|
|
1667
|
-
/** Query proof with Guardian signatures */
|
|
1668
|
-
queryProof: {
|
|
1669
|
-
/** Raw query response bytes */
|
|
1670
|
-
queryResponse: string;
|
|
1671
|
-
/** Guardian signatures */
|
|
1672
|
-
signatures: string;
|
|
1673
|
-
};
|
|
1674
|
-
/** Whether to fallback to VAA if Query fails */
|
|
1675
|
-
fallbackToVaa?: boolean;
|
|
1676
|
-
/** Optional metadata */
|
|
1677
|
-
metadata?: {
|
|
1678
|
-
/** User's preferred execution path */
|
|
1679
|
-
preferredPath?: 'query' | 'vaa';
|
|
1680
|
-
/** Transaction value in USD (for routing decisions) */
|
|
1681
|
-
estimatedValueUSD?: number;
|
|
1682
|
-
};
|
|
1683
|
-
}
|
|
1684
|
-
/**
|
|
1685
|
-
* Query submission result (Issue #11/#12)
|
|
1686
|
-
*/
|
|
1687
|
-
interface SubmitQueryResult {
|
|
1688
|
-
/** Whether submission succeeded */
|
|
1689
|
-
success: boolean;
|
|
1690
|
-
/** Transaction hash on spoke chain */
|
|
1691
|
-
txHash?: string;
|
|
1692
|
-
/** Execution path used */
|
|
1693
|
-
path: 'query' | 'vaa';
|
|
1694
|
-
/** Latency in milliseconds */
|
|
1695
|
-
latencyMs?: number;
|
|
1696
|
-
/** Error message if failed */
|
|
1697
|
-
error?: string;
|
|
1698
|
-
/** Whether fallback to VAA occurred */
|
|
1699
|
-
fellBack?: boolean;
|
|
1700
|
-
}
|
|
1701
|
-
/**
|
|
1702
|
-
* Fee quote for a relay
|
|
1703
|
-
*/
|
|
1704
|
-
interface RelayFeeQuote {
|
|
1705
|
-
/** Source chain Wormhole ID */
|
|
1706
|
-
sourceChain: number;
|
|
1707
|
-
/** Destination chain Wormhole ID */
|
|
1708
|
-
destinationChain: number;
|
|
1709
|
-
/** Estimated fee in source chain native token */
|
|
1710
|
-
feeInSourceToken: bigint;
|
|
1711
|
-
/** Estimated fee in destination chain native token */
|
|
1712
|
-
feeInDestinationToken: bigint;
|
|
1713
|
-
/** Estimated gas on destination */
|
|
1714
|
-
estimatedGas: bigint;
|
|
1715
|
-
/** Quote expiration timestamp */
|
|
1716
|
-
expiresAt: number;
|
|
1717
|
-
/** Quote ID for submission */
|
|
1718
|
-
quoteId: string;
|
|
1719
|
-
}
|
|
1720
|
-
/**
|
|
1721
|
-
* Configuration for RelayerClient
|
|
1722
|
-
*/
|
|
1723
|
-
interface RelayerClientConfig {
|
|
1724
|
-
/** Base URL of the relayer service */
|
|
1725
|
-
baseUrl: string;
|
|
1726
|
-
/** API key for authentication (optional) */
|
|
1727
|
-
apiKey?: string;
|
|
1728
|
-
/** Timeout for requests in ms */
|
|
1729
|
-
timeoutMs?: number;
|
|
1730
|
-
/** Max retries for failed requests */
|
|
1731
|
-
maxRetries?: number;
|
|
1732
|
-
}
|
|
1733
|
-
type RegisteredAppStatus = 'active' | 'suspended' | 'revoked';
|
|
1734
|
-
type RegisteredAppTrustLevel = 'verified' | 'registered' | 'pending';
|
|
1735
|
-
interface RegisteredAppSummary {
|
|
1736
|
-
id: string;
|
|
1737
|
-
name: string;
|
|
1738
|
-
origin: string;
|
|
1739
|
-
trustLevel: RegisteredAppTrustLevel;
|
|
1740
|
-
status: RegisteredAppStatus;
|
|
1741
|
-
requestCount: number;
|
|
1742
|
-
createdAt: number;
|
|
1743
|
-
lastUsedAt?: number;
|
|
1744
|
-
}
|
|
1745
|
-
interface RegisteredAppDetail extends RegisteredAppSummary {
|
|
1746
|
-
description?: string;
|
|
1747
|
-
apiKey?: string;
|
|
1748
|
-
activeSessionCount?: number;
|
|
1749
|
-
}
|
|
1750
|
-
interface RelayerAppSession {
|
|
1751
|
-
id: string;
|
|
1752
|
-
keyHash: string;
|
|
1753
|
-
appOrigin: string;
|
|
1754
|
-
sessionPublicKey: string;
|
|
1755
|
-
permissions: string[];
|
|
1756
|
-
expiresAt: number;
|
|
1757
|
-
createdAt: number;
|
|
1758
|
-
revoked: boolean;
|
|
1759
|
-
active: boolean;
|
|
1760
|
-
}
|
|
1761
|
-
interface CredentialMetadataRecord {
|
|
1762
|
-
credentialId: string;
|
|
1763
|
-
keyHash: string;
|
|
1764
|
-
displayName: string;
|
|
1765
|
-
platformHint: string;
|
|
1766
|
-
backupEligible: boolean | null;
|
|
1767
|
-
backupState: boolean | null;
|
|
1768
|
-
isRoot: boolean;
|
|
1769
|
-
status: 'active' | 'revoked';
|
|
1770
|
-
lastUsedAt: number | null;
|
|
1771
|
-
useCount: number;
|
|
1772
|
-
createdAt: number;
|
|
1773
|
-
updatedAt: number;
|
|
1774
|
-
}
|
|
1775
|
-
/**
|
|
1776
|
-
* Client for the Veridex relayer service
|
|
1777
|
-
*/
|
|
1778
|
-
declare class RelayerClient {
|
|
1779
|
-
private baseUrl;
|
|
1780
|
-
private config;
|
|
1781
|
-
constructor(config: RelayerClientConfig);
|
|
1782
|
-
/**
|
|
1783
|
-
* Submit a VAA for relay to destination chain
|
|
1784
|
-
*/
|
|
1785
|
-
submitRelay(vaaBase64: string, sourceChain: number, destinationChain: number, sourceTxHash: string, sequence: bigint, feeQuoteId?: string): Promise<RelayRequest>;
|
|
1786
|
-
/**
|
|
1787
|
-
* Submit a signed action to the relayer for gasless execution
|
|
1788
|
-
*
|
|
1789
|
-
* This allows users to execute transfers without paying gas themselves.
|
|
1790
|
-
* The relayer will submit the transaction to the Hub chain and pay the gas.
|
|
1791
|
-
* The relayer then automatically relays the VAA to the destination spoke chain.
|
|
1792
|
-
*
|
|
1793
|
-
* @param request - The signed action request with passkey signature
|
|
1794
|
-
* @returns Result including Hub tx hash and Wormhole sequence
|
|
1795
|
-
*/
|
|
1796
|
-
submitSignedAction(request: SubmitSignedActionRequest): Promise<SubmitActionResult>;
|
|
1797
|
-
/**
|
|
1798
|
-
* Submit a Query-based transaction for optimistic execution (Issue #11/#12)
|
|
1799
|
-
*
|
|
1800
|
-
* Uses Wormhole Cross-Chain Queries (CCQ) to achieve ~5-7 second latency
|
|
1801
|
-
* vs ~120+ seconds for traditional VAA flow.
|
|
1802
|
-
*
|
|
1803
|
-
* Flow:
|
|
1804
|
-
* 1. Client fetches Hub state via queryHubState() from SDK
|
|
1805
|
-
* 2. Client constructs and signs transaction
|
|
1806
|
-
* 3. Client submits Query proof + tx to this endpoint
|
|
1807
|
-
* 4. Relayer validates format and submits to spoke chain
|
|
1808
|
-
* 5. Spoke chain verifies Guardian signatures on-chain
|
|
1809
|
-
*
|
|
1810
|
-
* @param request - Query submission with Guardian-signed proof
|
|
1811
|
-
* @returns Result including spoke tx hash and execution path
|
|
1812
|
-
*/
|
|
1813
|
-
submitQuery(request: SubmitQueryRequest): Promise<SubmitQueryResult>;
|
|
1814
|
-
/**
|
|
1815
|
-
* Get relay request status
|
|
1816
|
-
*/
|
|
1817
|
-
getRelayStatus(requestId: string): Promise<RelayRequest>;
|
|
1818
|
-
/**
|
|
1819
|
-
* Get relay status by source transaction hash
|
|
1820
|
-
*/
|
|
1821
|
-
getRelayBySourceTx(sourceTxHash: string): Promise<RelayRequest | null>;
|
|
1822
|
-
/**
|
|
1823
|
-
* Get relay status by sequence number
|
|
1824
|
-
*/
|
|
1825
|
-
getRelayBySequence(sourceChain: number, sequence: bigint): Promise<RelayRequest | null>;
|
|
1826
|
-
/**
|
|
1827
|
-
* Cancel a pending relay request
|
|
1828
|
-
*/
|
|
1829
|
-
cancelRelay(requestId: string): Promise<boolean>;
|
|
1830
|
-
/**
|
|
1831
|
-
* Poll for relay completion
|
|
1832
|
-
*/
|
|
1833
|
-
waitForRelay(requestId: string, timeoutMs?: number, pollingIntervalMs?: number, onProgress?: (status: RelayStatus) => void): Promise<RelayRequest>;
|
|
1834
|
-
/**
|
|
1835
|
-
* Get fee quote for a relay
|
|
1836
|
-
*/
|
|
1837
|
-
getFeeQuote(sourceChain: number, destinationChain: number, estimatedGas?: bigint): Promise<RelayFeeQuote>;
|
|
1838
|
-
/**
|
|
1839
|
-
* Get relayer service info
|
|
1840
|
-
*/
|
|
1841
|
-
getInfo(): Promise<RelayerInfo>;
|
|
1842
|
-
/**
|
|
1843
|
-
* Get supported routes
|
|
1844
|
-
*/
|
|
1845
|
-
getRoutes(): Promise<RelayRoute[]>;
|
|
1846
|
-
/**
|
|
1847
|
-
* Check if a route is supported
|
|
1848
|
-
*/
|
|
1849
|
-
isRouteSupported(sourceChain: number, destinationChain: number): Promise<boolean>;
|
|
1850
|
-
/**
|
|
1851
|
-
* Check relayer health
|
|
1852
|
-
*/
|
|
1853
|
-
healthCheck(): Promise<boolean>;
|
|
1854
|
-
listApps(): Promise<RegisteredAppSummary[]>;
|
|
1855
|
-
getApp(appId: string): Promise<RegisteredAppDetail>;
|
|
1856
|
-
updateAppStatus(appId: string, status: RegisteredAppStatus): Promise<void>;
|
|
1857
|
-
updateAppTrustLevel(appId: string, trustLevel: RegisteredAppTrustLevel): Promise<void>;
|
|
1858
|
-
listAppSessions(appId: string, options?: {
|
|
1859
|
-
includeRevoked?: boolean;
|
|
1860
|
-
}): Promise<RelayerAppSession[]>;
|
|
1861
|
-
revokeAppSessions(appId: string, sessionId?: string): Promise<number>;
|
|
1862
|
-
listCredentialMetadata(keyHash: string): Promise<CredentialMetadataRecord[]>;
|
|
1863
|
-
/**
|
|
1864
|
-
* Get all pending relay requests for a user
|
|
1865
|
-
*/
|
|
1866
|
-
getPendingRelays(userKeyHash: string): Promise<RelayRequest[]>;
|
|
1867
|
-
/**
|
|
1868
|
-
* Get relay history for a user
|
|
1869
|
-
*/
|
|
1870
|
-
getRelayHistory(userKeyHash: string, limit?: number, offset?: number): Promise<RelayRequest[]>;
|
|
1871
|
-
/**
|
|
1872
|
-
* SDK version for telemetry
|
|
1873
|
-
*/
|
|
1874
|
-
private static readonly SDK_VERSION;
|
|
1875
|
-
/**
|
|
1876
|
-
* Make an HTTP request to the relayer
|
|
1877
|
-
*/
|
|
1878
|
-
private fetch;
|
|
1879
|
-
/**
|
|
1880
|
-
* Sleep helper
|
|
1881
|
-
*/
|
|
1882
|
-
private sleep;
|
|
1883
|
-
}
|
|
1884
|
-
/**
|
|
1885
|
-
* Create a RelayerClient instance
|
|
1886
|
-
*/
|
|
1887
|
-
declare function createRelayerClient(config: RelayerClientConfig): RelayerClient;
|
|
1888
|
-
|
|
1889
1535
|
type RecoveryStatusResult$1 = {
|
|
1890
1536
|
isActive: boolean;
|
|
1891
1537
|
newOwnerKeyHash: string;
|
|
@@ -2622,12 +2268,16 @@ interface GasSponsorConfig {
|
|
|
2622
2268
|
* Private key for the sponsor wallet (from env or secure storage)
|
|
2623
2269
|
* This is the fallback when relayer is not available
|
|
2624
2270
|
*/
|
|
2271
|
+
/** @deprecated Raw private keys are disabled by default. Use relayerUrl/PlatformClient. */
|
|
2625
2272
|
sponsorPrivateKey?: string;
|
|
2626
2273
|
/**
|
|
2627
2274
|
* Integrator-provided sponsor key (for platforms using Veridex SDK)
|
|
2628
2275
|
* Takes priority over Veridex default sponsorship
|
|
2629
2276
|
*/
|
|
2277
|
+
/** @deprecated Raw private keys are disabled by default. Use relayerUrl/PlatformClient. */
|
|
2630
2278
|
integratorSponsorKey?: string;
|
|
2279
|
+
/** @deprecated Temporary migration escape hatch. Never enable in browser or production builds. */
|
|
2280
|
+
allowLegacyPrivateKeyFallback?: boolean;
|
|
2631
2281
|
/**
|
|
2632
2282
|
* Relayer API endpoint for remote sponsorship (primary method)
|
|
2633
2283
|
* When available, this takes priority over local wallet sponsorship
|
|
@@ -2761,6 +2411,7 @@ declare class VeridexSDK {
|
|
|
2761
2411
|
private readonly chain;
|
|
2762
2412
|
private readonly relayer?;
|
|
2763
2413
|
private readonly queryApiKey?;
|
|
2414
|
+
private readonly dispatchDestinations;
|
|
2764
2415
|
private readonly testnet;
|
|
2765
2416
|
private readonly sponsorPrivateKey?;
|
|
2766
2417
|
private readonly chainRpcUrls?;
|
|
@@ -2768,6 +2419,7 @@ declare class VeridexSDK {
|
|
|
2768
2419
|
private readonly preparedTransferTtl;
|
|
2769
2420
|
private unifiedIdentity;
|
|
2770
2421
|
constructor(config: VeridexConfig);
|
|
2422
|
+
private getVerifiedDispatchDestination;
|
|
2771
2423
|
getChainConfig(): ChainConfig;
|
|
2772
2424
|
getChainClient(): ChainClient;
|
|
2773
2425
|
/**
|
|
@@ -3476,6 +3128,8 @@ interface SimpleSDKConfig {
|
|
|
3476
3128
|
* Relayer API key (optional)
|
|
3477
3129
|
*/
|
|
3478
3130
|
relayerApiKey?: string;
|
|
3131
|
+
/** Locally pinned v3 destination metadata for gasless dispatch. */
|
|
3132
|
+
dispatchDestinations?: Record<number, DispatchDestinationV3>;
|
|
3479
3133
|
/**
|
|
3480
3134
|
* Sponsor private key for gasless vault creation (optional)
|
|
3481
3135
|
* If not provided, users pay their own gas
|
|
@@ -4013,10 +3667,17 @@ interface CrossOriginSession {
|
|
|
4013
3667
|
serverSessionId?: string;
|
|
4014
3668
|
/** Relayer-issued challenge binding for server session creation */
|
|
4015
3669
|
serverChallengeId?: string;
|
|
3670
|
+
appId?: string;
|
|
3671
|
+
tenantId?: string;
|
|
3672
|
+
environment?: 'test' | 'live';
|
|
3673
|
+
chargeAuthorizationId?: string;
|
|
4016
3674
|
}
|
|
4017
3675
|
/** Server-side session token returned by the relayer */
|
|
4018
3676
|
interface ServerSessionToken {
|
|
4019
3677
|
id: string;
|
|
3678
|
+
appId: string;
|
|
3679
|
+
tenantId: string;
|
|
3680
|
+
environment: 'test' | 'live';
|
|
4020
3681
|
keyHash: string;
|
|
4021
3682
|
appOrigin: string;
|
|
4022
3683
|
permissions: string[];
|
|
@@ -4128,6 +3789,8 @@ declare class CrossOriginAuth {
|
|
|
4128
3789
|
authenticateAndCreateSession(options?: {
|
|
4129
3790
|
permissions?: string[];
|
|
4130
3791
|
expiresInMs?: number;
|
|
3792
|
+
environment?: 'test' | 'live';
|
|
3793
|
+
chargeAuthorizationId?: string;
|
|
4131
3794
|
}): Promise<{
|
|
4132
3795
|
session: CrossOriginSession;
|
|
4133
3796
|
serverSession: ServerSessionToken;
|
|
@@ -5133,4 +4796,4 @@ interface ERC8004ValidationStatus {
|
|
|
5133
4796
|
/** CAIP-2 universal agent identifier format */
|
|
5134
4797
|
type UniversalAgentIdentifier = string;
|
|
5135
4798
|
|
|
5136
|
-
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,
|
|
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 };
|