@sip-protocol/sdk 0.7.2 → 0.7.4
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/LICENSE +21 -0
- package/README.md +267 -0
- package/dist/{TransportWebUSB-TQ7WZ4LE.mjs → TransportWebUSB-YQMAGJAJ.mjs} +12 -9
- package/dist/browser.d.mts +10 -4
- package/dist/browser.d.ts +10 -4
- package/dist/browser.js +48874 -18336
- package/dist/browser.mjs +674 -48
- package/dist/chunk-4GRJ5MAW.mjs +152 -0
- package/dist/chunk-5D7A3L3W.mjs +717 -0
- package/dist/chunk-64AYA5F5.mjs +7834 -0
- package/dist/chunk-GMDGB22A.mjs +379 -0
- package/dist/chunk-I534WKN7.mjs +328 -0
- package/dist/chunk-IBZVA5Y7.mjs +1003 -0
- package/dist/chunk-PRRZAWJE.mjs +223 -0
- package/dist/{chunk-UJCSKKID.mjs → chunk-XGB3TDIC.mjs} +13 -1
- package/dist/chunk-YWGJ77A2.mjs +33806 -0
- package/dist/{chunk-6WGN57S2.mjs → chunk-Z3K7W5S3.mjs} +48 -0
- package/dist/constants-LHAAUC2T.mjs +51 -0
- package/dist/dist-2OGQ7FED.mjs +3957 -0
- package/dist/dist-IFHPYLDX.mjs +254 -0
- package/dist/fulfillment_proof-ANHVPKTB.mjs +21 -0
- package/dist/funding_proof-ICFZ5LHY.mjs +21 -0
- package/dist/index-DXh2IGkz.d.ts +24681 -0
- package/dist/index-DeE1ZzA4.d.mts +24681 -0
- package/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +48676 -17318
- package/dist/index.mjs +583 -19
- package/dist/interface-Bf7w1PLW.d.mts +679 -0
- package/dist/interface-Bf7w1PLW.d.ts +679 -0
- package/dist/{noir-DKfEzWy9.d.mts → noir-kzbLVTei.d.mts} +31 -21
- package/dist/{noir-DKfEzWy9.d.ts → noir-kzbLVTei.d.ts} +31 -21
- package/dist/proofs/halo2.d.mts +151 -0
- package/dist/proofs/halo2.d.ts +151 -0
- package/dist/proofs/halo2.js +350 -0
- package/dist/proofs/halo2.mjs +11 -0
- package/dist/proofs/kimchi.d.mts +160 -0
- package/dist/proofs/kimchi.d.ts +160 -0
- package/dist/proofs/kimchi.js +431 -0
- package/dist/proofs/kimchi.mjs +13 -0
- package/dist/proofs/noir.d.mts +1 -1
- package/dist/proofs/noir.d.ts +1 -1
- package/dist/proofs/noir.js +74 -18
- package/dist/proofs/noir.mjs +84 -24
- package/dist/solana-U3MEGU7W.mjs +280 -0
- package/dist/validity_proof-3POXLPNY.mjs +21 -0
- package/package.json +54 -21
- package/src/adapters/index.ts +41 -0
- package/src/adapters/jupiter.ts +571 -0
- package/src/adapters/near-intents.ts +135 -0
- package/src/advisor/advisor.ts +653 -0
- package/src/advisor/index.ts +54 -0
- package/src/advisor/tools.ts +303 -0
- package/src/advisor/types.ts +164 -0
- package/src/chains/ethereum/announcement.ts +536 -0
- package/src/chains/ethereum/bnb-optimizations.ts +474 -0
- package/src/chains/ethereum/commitment.ts +522 -0
- package/src/chains/ethereum/constants.ts +462 -0
- package/src/chains/ethereum/deployment.ts +596 -0
- package/src/chains/ethereum/gas-estimation.ts +538 -0
- package/src/chains/ethereum/index.ts +268 -0
- package/src/chains/ethereum/optimizations.ts +614 -0
- package/src/chains/ethereum/privacy-adapter.ts +855 -0
- package/src/chains/ethereum/registry.ts +584 -0
- package/src/chains/ethereum/rpc.ts +905 -0
- package/src/chains/ethereum/stealth.ts +491 -0
- package/src/chains/ethereum/token.ts +790 -0
- package/src/chains/ethereum/transfer.ts +637 -0
- package/src/chains/ethereum/types.ts +456 -0
- package/src/chains/ethereum/viewing-key.ts +455 -0
- package/src/chains/near/commitment.ts +608 -0
- package/src/chains/near/constants.ts +284 -0
- package/src/chains/near/function-call.ts +871 -0
- package/src/chains/near/history.ts +654 -0
- package/src/chains/near/implicit-account.ts +840 -0
- package/src/chains/near/index.ts +393 -0
- package/src/chains/near/native-transfer.ts +658 -0
- package/src/chains/near/nep141.ts +775 -0
- package/src/chains/near/privacy-adapter.ts +889 -0
- package/src/chains/near/resolver.ts +971 -0
- package/src/chains/near/rpc.ts +1016 -0
- package/src/chains/near/stealth.ts +419 -0
- package/src/chains/near/types.ts +317 -0
- package/src/chains/near/viewing-key.ts +876 -0
- package/src/chains/solana/anchor-transfer.ts +386 -0
- package/src/chains/solana/commitment.ts +577 -0
- package/src/chains/solana/constants.ts +126 -12
- package/src/chains/solana/ephemeral-keys.ts +543 -0
- package/src/chains/solana/index.ts +276 -1
- package/src/chains/solana/key-derivation.ts +418 -0
- package/src/chains/solana/kit-compat.ts +334 -0
- package/src/chains/solana/optimizations.ts +560 -0
- package/src/chains/solana/privacy-adapter.ts +605 -0
- package/src/chains/solana/providers/generic.ts +201 -0
- package/src/chains/solana/providers/helius-enhanced-types.ts +336 -0
- package/src/chains/solana/providers/helius-enhanced.ts +623 -0
- package/src/chains/solana/providers/helius.ts +402 -0
- package/src/chains/solana/providers/index.ts +85 -0
- package/src/chains/solana/providers/interface.ts +221 -0
- package/src/chains/solana/providers/quicknode.ts +409 -0
- package/src/chains/solana/providers/triton.ts +426 -0
- package/src/chains/solana/providers/webhook.ts +790 -0
- package/src/chains/solana/rpc-client.ts +1150 -0
- package/src/chains/solana/scan.ts +170 -73
- package/src/chains/solana/sol-transfer.ts +732 -0
- package/src/chains/solana/spl-transfer.ts +886 -0
- package/src/chains/solana/stealth-scanner.ts +703 -0
- package/src/chains/solana/sunspot-verifier.ts +453 -0
- package/src/chains/solana/transaction-builder.ts +755 -0
- package/src/chains/solana/transfer.ts +74 -5
- package/src/chains/solana/types.ts +77 -7
- package/src/chains/solana/utils.ts +110 -0
- package/src/chains/solana/viewing-key.ts +807 -0
- package/src/compliance/fireblocks.ts +921 -0
- package/src/compliance/index.ts +37 -0
- package/src/compliance/range-sas.ts +956 -0
- package/src/config/endpoints.ts +100 -0
- package/src/crypto.ts +11 -8
- package/src/errors.ts +82 -0
- package/src/evm/erc4337-relayer.ts +830 -0
- package/src/evm/index.ts +47 -0
- package/src/fees/calculator.ts +396 -0
- package/src/fees/index.ts +87 -0
- package/src/fees/near-contract.ts +429 -0
- package/src/fees/types.ts +268 -0
- package/src/index.ts +785 -1
- package/src/intent.ts +6 -3
- package/src/logger.ts +324 -0
- package/src/network/index.ts +80 -0
- package/src/network/proxy.ts +691 -0
- package/src/optimizations/index.ts +541 -0
- package/src/oracle/types.ts +1 -0
- package/src/privacy-backends/arcium-types.ts +727 -0
- package/src/privacy-backends/arcium.ts +719 -0
- package/src/privacy-backends/combined-privacy.ts +866 -0
- package/src/privacy-backends/cspl-token.ts +595 -0
- package/src/privacy-backends/cspl-types.ts +512 -0
- package/src/privacy-backends/cspl.ts +907 -0
- package/src/privacy-backends/health.ts +488 -0
- package/src/privacy-backends/inco-types.ts +323 -0
- package/src/privacy-backends/inco.ts +616 -0
- package/src/privacy-backends/index.ts +336 -0
- package/src/privacy-backends/interface.ts +906 -0
- package/src/privacy-backends/lru-cache.ts +343 -0
- package/src/privacy-backends/magicblock.ts +458 -0
- package/src/privacy-backends/mock.ts +258 -0
- package/src/privacy-backends/privacycash-types.ts +278 -0
- package/src/privacy-backends/privacycash.ts +456 -0
- package/src/privacy-backends/private-swap.ts +570 -0
- package/src/privacy-backends/rate-limiter.ts +683 -0
- package/src/privacy-backends/registry.ts +690 -0
- package/src/privacy-backends/router.ts +626 -0
- package/src/privacy-backends/shadowwire.ts +449 -0
- package/src/privacy-backends/sip-native.ts +256 -0
- package/src/privacy-logger.ts +191 -0
- package/src/production-safety.ts +373 -0
- package/src/proofs/aggregator.ts +1029 -0
- package/src/proofs/browser-composer.ts +1150 -0
- package/src/proofs/browser.ts +113 -25
- package/src/proofs/cache/index.ts +127 -0
- package/src/proofs/cache/interface.ts +545 -0
- package/src/proofs/cache/key-generator.ts +188 -0
- package/src/proofs/cache/lru-cache.ts +481 -0
- package/src/proofs/cache/multi-tier-cache.ts +575 -0
- package/src/proofs/cache/persistent-cache.ts +788 -0
- package/src/proofs/compliance-proof.ts +872 -0
- package/src/proofs/composer/base.ts +923 -0
- package/src/proofs/composer/index.ts +25 -0
- package/src/proofs/composer/interface.ts +518 -0
- package/src/proofs/composer/types.ts +383 -0
- package/src/proofs/converters/halo2.ts +452 -0
- package/src/proofs/converters/index.ts +208 -0
- package/src/proofs/converters/interface.ts +363 -0
- package/src/proofs/converters/kimchi.ts +462 -0
- package/src/proofs/converters/noir.ts +451 -0
- package/src/proofs/fallback.ts +888 -0
- package/src/proofs/halo2.ts +42 -0
- package/src/proofs/index.ts +471 -0
- package/src/proofs/interface.ts +13 -0
- package/src/proofs/kimchi.ts +42 -0
- package/src/proofs/lazy.ts +1004 -0
- package/src/proofs/mock.ts +25 -1
- package/src/proofs/noir.ts +111 -30
- package/src/proofs/orchestrator.ts +960 -0
- package/src/proofs/parallel/concurrency.ts +297 -0
- package/src/proofs/parallel/dependency-graph.ts +602 -0
- package/src/proofs/parallel/executor.ts +420 -0
- package/src/proofs/parallel/index.ts +131 -0
- package/src/proofs/parallel/interface.ts +685 -0
- package/src/proofs/parallel/worker-pool.ts +644 -0
- package/src/proofs/providers/halo2.ts +560 -0
- package/src/proofs/providers/index.ts +34 -0
- package/src/proofs/providers/kimchi.ts +641 -0
- package/src/proofs/validator.ts +881 -0
- package/src/proofs/verifier.ts +867 -0
- package/src/quantum/index.ts +112 -0
- package/src/quantum/winternitz-vault.ts +639 -0
- package/src/quantum/wots.ts +611 -0
- package/src/settlement/backends/direct-chain.ts +1 -0
- package/src/settlement/index.ts +9 -0
- package/src/settlement/router.ts +732 -46
- package/src/solana/index.ts +72 -0
- package/src/solana/jito-relayer.ts +687 -0
- package/src/solana/noir-verifier-types.ts +430 -0
- package/src/solana/noir-verifier.ts +816 -0
- package/src/stealth/address-derivation.ts +193 -0
- package/src/stealth/ed25519.ts +431 -0
- package/src/stealth/index.ts +233 -0
- package/src/stealth/meta-address.ts +221 -0
- package/src/stealth/secp256k1.ts +368 -0
- package/src/stealth/utils.ts +194 -0
- package/src/stealth.ts +50 -1504
- package/src/surveillance/algorithms/address-reuse.ts +143 -0
- package/src/surveillance/algorithms/cluster.ts +247 -0
- package/src/surveillance/algorithms/exchange.ts +295 -0
- package/src/surveillance/algorithms/temporal.ts +337 -0
- package/src/surveillance/analyzer.ts +442 -0
- package/src/surveillance/index.ts +64 -0
- package/src/surveillance/scoring.ts +372 -0
- package/src/surveillance/types.ts +264 -0
- package/src/sync/index.ts +106 -0
- package/src/sync/manager.ts +504 -0
- package/src/sync/mock-provider.ts +318 -0
- package/src/sync/oblivious.ts +625 -0
- package/src/tokens/index.ts +15 -0
- package/src/tokens/registry.ts +301 -0
- package/src/utils/deprecation.ts +94 -0
- package/src/utils/index.ts +9 -0
- package/src/wallet/ethereum/index.ts +68 -0
- package/src/wallet/ethereum/metamask-privacy.ts +420 -0
- package/src/wallet/ethereum/multi-wallet.ts +646 -0
- package/src/wallet/ethereum/privacy-adapter.ts +700 -0
- package/src/wallet/ethereum/types.ts +3 -1
- package/src/wallet/ethereum/walletconnect-adapter.ts +675 -0
- package/src/wallet/hardware/index.ts +10 -0
- package/src/wallet/hardware/ledger-privacy.ts +414 -0
- package/src/wallet/index.ts +71 -0
- package/src/wallet/near/adapter.ts +626 -0
- package/src/wallet/near/index.ts +86 -0
- package/src/wallet/near/meteor-wallet.ts +1153 -0
- package/src/wallet/near/my-near-wallet.ts +790 -0
- package/src/wallet/near/wallet-selector.ts +702 -0
- package/src/wallet/solana/adapter.ts +6 -4
- package/src/wallet/solana/index.ts +13 -0
- package/src/wallet/solana/privacy-adapter.ts +567 -0
- package/src/wallet/sui/types.ts +6 -4
- package/src/zcash/rpc-client.ts +13 -6
- package/dist/chunk-3INS3PR5.mjs +0 -884
- package/dist/chunk-3OVABDRH.mjs +0 -17096
- package/dist/chunk-DLDWZFYC.mjs +0 -1495
- package/dist/chunk-E6SZWREQ.mjs +0 -57
- package/dist/chunk-G33LB27A.mjs +0 -16166
- package/dist/chunk-HGU6HZRC.mjs +0 -231
- package/dist/chunk-L2K34JCU.mjs +0 -1496
- package/dist/chunk-SN4ZDTVW.mjs +0 -16166
- package/dist/constants-VOI7BSLK.mjs +0 -27
- package/dist/index-BYZbDjal.d.ts +0 -11390
- package/dist/index-CHB3KuOB.d.mts +0 -11859
- package/dist/index-CzWPI6Le.d.ts +0 -11859
- package/dist/index-xbWjohNq.d.mts +0 -11390
- package/dist/solana-5EMCTPTS.mjs +0 -46
- package/dist/solana-Q4NAVBTS.mjs +0 -46
package/dist/index.mjs
CHANGED
|
@@ -1,64 +1,161 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ATTESTATION_VERSION,
|
|
3
3
|
AptosStealthService,
|
|
4
|
+
AttestationGatedDisclosure,
|
|
5
|
+
AttestationSchema,
|
|
4
6
|
AuditorKeyDerivation,
|
|
5
7
|
AuditorType,
|
|
8
|
+
BLS12_381_MODULUS,
|
|
9
|
+
BN254_MODULUS,
|
|
10
|
+
BUILTIN_TEMPLATES,
|
|
11
|
+
BaseProofComposer,
|
|
6
12
|
BaseWalletAdapter,
|
|
7
13
|
CHAIN_NUMERIC_IDS,
|
|
8
14
|
CHAIN_PREFIXES,
|
|
15
|
+
CIRCUIT_METADATA,
|
|
16
|
+
COMPLIANCE_CIRCUIT_IDS,
|
|
17
|
+
CSPLClient,
|
|
18
|
+
CSPLTokenService,
|
|
19
|
+
CacheKeyGenerator,
|
|
9
20
|
ComplianceManager,
|
|
21
|
+
ComplianceProofProvider,
|
|
10
22
|
ComplianceReporter,
|
|
23
|
+
ComposedProofStatus,
|
|
24
|
+
CompositionErrorCode,
|
|
25
|
+
CompositionTimeoutError,
|
|
11
26
|
ConditionalDisclosure,
|
|
12
27
|
CosmosStealthService,
|
|
28
|
+
CrossSystemValidator,
|
|
29
|
+
DEFAULT_AGGREGATOR_CONFIG,
|
|
30
|
+
DEFAULT_CHAIN_FEES,
|
|
31
|
+
DEFAULT_COMPOSITION_CONFIG,
|
|
32
|
+
DEFAULT_CONVERSION_OPTIONS,
|
|
33
|
+
DEFAULT_FEE_TIERS,
|
|
34
|
+
DEFAULT_GAS,
|
|
35
|
+
DEFAULT_LRU_CONFIG,
|
|
36
|
+
DEFAULT_MANAGER_CONFIG,
|
|
37
|
+
DEFAULT_MOCK_CONFIG,
|
|
38
|
+
DEFAULT_MULTI_TIER_CONFIG,
|
|
39
|
+
DEFAULT_ORCHESTRATOR_CONFIG,
|
|
40
|
+
DEFAULT_PERSISTENT_CONFIG,
|
|
41
|
+
DEFAULT_PIPELINE_CONFIG,
|
|
42
|
+
DEFAULT_RANGE_API_ENDPOINT,
|
|
43
|
+
DEFAULT_RPC_URLS,
|
|
44
|
+
DEFAULT_SYNC_CONFIG,
|
|
13
45
|
DEFAULT_THRESHOLD,
|
|
14
46
|
DEFAULT_TOTAL_ORACLES,
|
|
47
|
+
DEFAULT_TREASURY,
|
|
48
|
+
DEFAULT_VALIDITY_PERIOD_SECONDS,
|
|
49
|
+
DEFAULT_WARMING_CONFIG,
|
|
15
50
|
DerivationPath,
|
|
51
|
+
ED25519_ORDER,
|
|
16
52
|
EthereumChainId,
|
|
17
53
|
EthereumWalletAdapter,
|
|
54
|
+
FeeCalculator,
|
|
55
|
+
FileCache,
|
|
56
|
+
Halo2ProofConverter,
|
|
18
57
|
HardwareErrorCode,
|
|
19
58
|
HardwareWalletError,
|
|
59
|
+
INITIAL_PROOF_CACHE_STATS,
|
|
60
|
+
IncompatibleSystemsError,
|
|
61
|
+
IndexedDBCache,
|
|
20
62
|
IntentBuilder,
|
|
21
63
|
IntentStatus,
|
|
64
|
+
InvalidProofError,
|
|
65
|
+
JITO_BLOCK_ENGINES,
|
|
66
|
+
JITO_DEFAULTS,
|
|
67
|
+
JITO_TIP_ACCOUNTS,
|
|
68
|
+
JitoRelayer,
|
|
69
|
+
JitoRelayerError,
|
|
70
|
+
JitoRelayerErrorCode,
|
|
71
|
+
KNOWN_EXCHANGES,
|
|
72
|
+
KNOWN_ISSUERS,
|
|
73
|
+
KimchiProofConverter,
|
|
74
|
+
LRUCache,
|
|
22
75
|
LedgerWalletAdapter,
|
|
76
|
+
MAX_COMMITMENT_VALUE,
|
|
77
|
+
MAX_NEAR_AMOUNT,
|
|
78
|
+
MAX_PROOF_SIZE_BYTES,
|
|
79
|
+
MAX_PUBLIC_INPUTS,
|
|
23
80
|
MockEthereumAdapter,
|
|
24
81
|
MockLedgerAdapter,
|
|
82
|
+
MockObliviousSyncProvider,
|
|
25
83
|
MockProofProvider,
|
|
26
84
|
MockSolanaAdapter,
|
|
27
85
|
MockSolver,
|
|
28
86
|
MockTrezorAdapter,
|
|
29
87
|
MockWalletAdapter,
|
|
88
|
+
MultiTierCache,
|
|
30
89
|
NATIVE_TOKENS,
|
|
90
|
+
NEARFeeContract,
|
|
31
91
|
NEARIntentsAdapter,
|
|
32
92
|
NEARIntentsBackend,
|
|
93
|
+
NEAR_EXPLORER_URLS,
|
|
94
|
+
NEAR_FEE_CONTRACTS,
|
|
95
|
+
NEAR_IMPLICIT_ACCOUNT_LENGTH,
|
|
96
|
+
NEAR_RPC_ENDPOINTS,
|
|
97
|
+
NEAR_TOKEN_CONTRACTS,
|
|
98
|
+
NEAR_TOKEN_DECIMALS,
|
|
99
|
+
NoirProofConverter,
|
|
100
|
+
ONE_NEAR,
|
|
101
|
+
ONE_YOCTO,
|
|
33
102
|
ORACLE_DOMAIN,
|
|
103
|
+
ObliviousSyncError,
|
|
104
|
+
ObliviousSyncErrorCode,
|
|
34
105
|
OneClickClient,
|
|
35
106
|
OneClickDepositMode,
|
|
36
107
|
OneClickErrorCode,
|
|
37
108
|
OneClickSwapStatus,
|
|
38
109
|
OneClickSwapType,
|
|
110
|
+
PALLAS_MODULUS,
|
|
39
111
|
PaymentBuilder,
|
|
40
112
|
PaymentStatus,
|
|
113
|
+
PrivacyAdvisorAgent,
|
|
114
|
+
PrivacyBackendRegistry,
|
|
41
115
|
PrivacyLevel,
|
|
116
|
+
PrivacyLogger,
|
|
42
117
|
PrivateNFT,
|
|
43
118
|
PrivateVoting,
|
|
119
|
+
ProductionSafetyError,
|
|
120
|
+
ProofAggregationStrategy,
|
|
121
|
+
ProofAggregator,
|
|
122
|
+
ProofCompositionError,
|
|
123
|
+
ProofConversionError,
|
|
124
|
+
ProofOrchestrator,
|
|
44
125
|
ProposalStatus,
|
|
126
|
+
ProviderNotFoundError,
|
|
45
127
|
ReportStatus,
|
|
46
128
|
SIP,
|
|
129
|
+
SIPNativeBackend,
|
|
130
|
+
SIP_MEMO_PREFIX as SIP_MEMO_PREFIX2,
|
|
47
131
|
SIP_VERSION,
|
|
132
|
+
SOLANA_ZK_PROGRAM_IDS,
|
|
48
133
|
STABLECOIN_ADDRESSES,
|
|
49
134
|
STABLECOIN_DECIMALS,
|
|
50
135
|
STABLECOIN_INFO,
|
|
136
|
+
SUPPORTED_JURISDICTIONS,
|
|
137
|
+
SYSTEM_INFO,
|
|
51
138
|
SealedBidAuction,
|
|
52
139
|
SettlementRegistry,
|
|
53
140
|
SettlementRegistryError,
|
|
54
141
|
SmartRouter,
|
|
142
|
+
SmartRouter2,
|
|
143
|
+
SolanaNoirError,
|
|
144
|
+
SolanaNoirErrorCode,
|
|
145
|
+
SolanaNoirVerifier,
|
|
55
146
|
SolanaSameChainExecutor,
|
|
56
147
|
SolanaWalletAdapter,
|
|
57
148
|
SuiStealthService,
|
|
149
|
+
SurveillanceAnalyzer,
|
|
58
150
|
SwapStatus,
|
|
151
|
+
SyncManager,
|
|
59
152
|
ThresholdViewingKey,
|
|
60
153
|
Treasury,
|
|
61
154
|
TrezorWalletAdapter,
|
|
155
|
+
UnifiedProofConverter,
|
|
156
|
+
UnsupportedVersionError,
|
|
157
|
+
VESTA_MODULUS,
|
|
158
|
+
VerificationPipeline,
|
|
62
159
|
WalletError,
|
|
63
160
|
WalletErrorCode,
|
|
64
161
|
ZcashErrorCode,
|
|
@@ -67,23 +164,57 @@ import {
|
|
|
67
164
|
ZcashRPCError,
|
|
68
165
|
ZcashShieldedService,
|
|
69
166
|
ZcashSwapService,
|
|
70
|
-
|
|
71
|
-
|
|
167
|
+
addBlindingsNEAR,
|
|
168
|
+
addCommitmentsNEAR,
|
|
72
169
|
addOracle,
|
|
170
|
+
analyzeAddressReuse,
|
|
171
|
+
analyzeTemporalPatterns,
|
|
73
172
|
aptosAddressToAuthKey,
|
|
173
|
+
assertNoLocalhost,
|
|
74
174
|
attachProofs,
|
|
75
175
|
base58ToHex,
|
|
176
|
+
bnb_optimizations_exports,
|
|
177
|
+
bpsToPercent,
|
|
76
178
|
bytesToHex,
|
|
179
|
+
cacheKeyGenerator,
|
|
180
|
+
calculateFeeForSwap,
|
|
181
|
+
calculatePrivacyScore,
|
|
182
|
+
calculateSIPComparison,
|
|
77
183
|
checkAptosStealthAddress,
|
|
184
|
+
checkNEARStealthAddress,
|
|
78
185
|
checkSuiStealthAddress,
|
|
79
|
-
|
|
80
|
-
|
|
186
|
+
commitNEAR,
|
|
187
|
+
commitNEP141Token,
|
|
188
|
+
compareCrossChainCosts,
|
|
81
189
|
computeAttestationHash,
|
|
190
|
+
computeNEARViewingKeyHash,
|
|
191
|
+
computeNEARViewingKeyHashFromPrivate,
|
|
82
192
|
computeTweakedKey,
|
|
193
|
+
configureLogger,
|
|
194
|
+
convertFromSIP,
|
|
195
|
+
convertToSIP,
|
|
196
|
+
createAnalyzeWalletTool,
|
|
197
|
+
createAnnouncementMemo as createAnnouncementMemo2,
|
|
198
|
+
createCacheKeyGenerator,
|
|
83
199
|
createCommitment,
|
|
200
|
+
createCrossSystemValidator,
|
|
201
|
+
createDevnetVerifier,
|
|
84
202
|
createEthereumAdapter,
|
|
203
|
+
createExplainTool,
|
|
204
|
+
createFeeCalculator,
|
|
205
|
+
createFileCache,
|
|
206
|
+
createHalo2Converter,
|
|
207
|
+
createIndexedDBCache,
|
|
208
|
+
createJitoRelayer,
|
|
85
209
|
createKeySpendOnlyOutput,
|
|
210
|
+
createKimchiConverter,
|
|
211
|
+
createLRUCache,
|
|
86
212
|
createLedgerAdapter,
|
|
213
|
+
createLogger,
|
|
214
|
+
createMainnetFeeContract,
|
|
215
|
+
createMainnetRelayer,
|
|
216
|
+
createMainnetVerifier,
|
|
217
|
+
createMockAttestation,
|
|
87
218
|
createMockEthereumAdapter,
|
|
88
219
|
createMockEthereumProvider,
|
|
89
220
|
createMockLedgerAdapter,
|
|
@@ -91,22 +222,43 @@ import {
|
|
|
91
222
|
createMockSolanaConnection,
|
|
92
223
|
createMockSolanaProvider,
|
|
93
224
|
createMockSolver,
|
|
225
|
+
createMockSyncProvider,
|
|
94
226
|
createMockTrezorAdapter,
|
|
227
|
+
createMultiTierCache,
|
|
228
|
+
createNEARFeeContract,
|
|
95
229
|
createNEARIntentsAdapter,
|
|
96
230
|
createNEARIntentsBackend,
|
|
231
|
+
createNEARMemoryStorage,
|
|
232
|
+
createNoirConverter,
|
|
97
233
|
createOracleRegistry,
|
|
234
|
+
createPersistentCache,
|
|
235
|
+
createPrivacyAdvisor,
|
|
236
|
+
createPrivacyAdvisorTools,
|
|
237
|
+
createPrivacyLogger,
|
|
98
238
|
createPrivateOwnership,
|
|
99
239
|
createPrivateVoting,
|
|
240
|
+
createProductionConfig,
|
|
100
241
|
createProductionSIP,
|
|
242
|
+
createProofAggregator,
|
|
243
|
+
createProofOrchestrator,
|
|
244
|
+
createQuickScoreTool,
|
|
101
245
|
createSIP,
|
|
246
|
+
createSIPComparisonTool,
|
|
102
247
|
createSameChainExecutor,
|
|
103
248
|
createSealedBidAuction,
|
|
104
249
|
createShieldedIntent,
|
|
105
250
|
createShieldedPayment,
|
|
106
251
|
createSmartRouter,
|
|
107
252
|
createSolanaAdapter,
|
|
253
|
+
createSurveillanceAnalyzer,
|
|
254
|
+
createSyncManager,
|
|
255
|
+
createSyncState,
|
|
108
256
|
createTaprootOutput,
|
|
257
|
+
createTestnetFeeContract,
|
|
258
|
+
createTimeWindowedKey,
|
|
109
259
|
createTrezorAdapter,
|
|
260
|
+
createUnifiedConverter,
|
|
261
|
+
createVerificationPipeline,
|
|
110
262
|
createWalletFactory,
|
|
111
263
|
createZcashClient,
|
|
112
264
|
createZcashNativeBackend,
|
|
@@ -114,46 +266,80 @@ import {
|
|
|
114
266
|
createZcashSwapService,
|
|
115
267
|
decodeTaprootAddress,
|
|
116
268
|
decryptMemo,
|
|
269
|
+
decryptWithNEARViewing,
|
|
117
270
|
decryptWithViewing,
|
|
271
|
+
defaultRegistry,
|
|
118
272
|
deriveAptosStealthPrivateKey,
|
|
273
|
+
deriveNEARChildViewingKey,
|
|
274
|
+
deriveNEARStealthPrivateKey,
|
|
275
|
+
deriveObliviousNullifier,
|
|
119
276
|
deriveOracleId,
|
|
120
277
|
deriveSuiStealthPrivateKey,
|
|
278
|
+
deriveTraditionalNullifier,
|
|
121
279
|
deriveViewingKey,
|
|
122
280
|
deserializeAttestationMessage,
|
|
123
281
|
deserializeIntent,
|
|
124
282
|
deserializePayment,
|
|
283
|
+
detectChainFamily,
|
|
284
|
+
detectClusters,
|
|
125
285
|
detectEthereumWallets,
|
|
286
|
+
detectExchangeExposure,
|
|
126
287
|
detectSolanaWallets,
|
|
127
288
|
ed25519PublicKeyToAptosAddress,
|
|
289
|
+
ed25519PublicKeyToImplicitAccount,
|
|
128
290
|
ed25519PublicKeyToSuiAddress,
|
|
291
|
+
encodeNEARStealthMetaAddress,
|
|
292
|
+
encryptForNEARViewing,
|
|
129
293
|
encryptForViewing,
|
|
294
|
+
estimateComputeUnits,
|
|
295
|
+
estimateFee,
|
|
296
|
+
exportNEARViewingKey,
|
|
297
|
+
exportTransactions,
|
|
130
298
|
featureNotSupportedError,
|
|
299
|
+
fetchAttestation,
|
|
300
|
+
fetchWalletAttestations,
|
|
301
|
+
formatFee,
|
|
131
302
|
formatStablecoinAmount,
|
|
132
303
|
fromHex,
|
|
133
304
|
fromStablecoinUnits,
|
|
305
|
+
fromYoctoNEAR,
|
|
134
306
|
generateAptosStealthAddress,
|
|
135
|
-
|
|
307
|
+
generateBlindingNEAR,
|
|
136
308
|
generateCosmosStealthAddress,
|
|
137
309
|
generateCosmosStealthMetaAddress,
|
|
138
310
|
generateIntentId,
|
|
311
|
+
generateNEARStealthAddress,
|
|
312
|
+
generateNEARStealthMetaAddress,
|
|
313
|
+
generateNEARViewingKeyFromSpending,
|
|
139
314
|
generatePdfReport,
|
|
140
315
|
generateRandomBytes,
|
|
316
|
+
generateRandomNEARViewingKey,
|
|
141
317
|
generateSuiStealthAddress,
|
|
318
|
+
generateSyncRandomness,
|
|
142
319
|
generateViewingKey,
|
|
320
|
+
getAccountExplorerUrl,
|
|
143
321
|
getActiveOracles,
|
|
322
|
+
getAsset,
|
|
144
323
|
getAvailableTransports,
|
|
145
324
|
getBrowserInfo,
|
|
325
|
+
getChainCharacteristics,
|
|
146
326
|
getChainNumericId,
|
|
147
327
|
getChainsForStablecoin,
|
|
328
|
+
getCurrentEpoch,
|
|
148
329
|
getDefaultRpcEndpoint,
|
|
149
330
|
getDerivationPath,
|
|
150
331
|
getEthereumProvider,
|
|
151
|
-
|
|
332
|
+
getExplorerUrl as getExplorerUrl2,
|
|
333
|
+
getGeneratorsNEAR,
|
|
152
334
|
getIntentSummary,
|
|
335
|
+
getLogLevelName,
|
|
336
|
+
getNEARViewingPublicKey,
|
|
337
|
+
getNativeToken,
|
|
153
338
|
getPaymentSummary,
|
|
154
339
|
getPaymentTimeRemaining,
|
|
155
340
|
getPrivacyConfig,
|
|
156
341
|
getPrivacyDescription,
|
|
342
|
+
getProductionUrl,
|
|
157
343
|
getSolanaProvider,
|
|
158
344
|
getStablecoin,
|
|
159
345
|
getStablecoinInfo,
|
|
@@ -161,42 +347,81 @@ import {
|
|
|
161
347
|
getSupportedSameChainChains,
|
|
162
348
|
getSupportedStablecoins,
|
|
163
349
|
getTimeRemaining,
|
|
350
|
+
getTokenByAddress,
|
|
351
|
+
getTokenContract,
|
|
352
|
+
getTokenDecimals,
|
|
353
|
+
getTokensForChain,
|
|
354
|
+
getTransactionByHash,
|
|
355
|
+
getTransactionCount,
|
|
356
|
+
getTransactionHistory,
|
|
357
|
+
getTransactionSummary,
|
|
164
358
|
getXOnlyPublicKey,
|
|
165
359
|
hasEnoughOracles,
|
|
166
360
|
hasRequiredProofs,
|
|
167
361
|
hash,
|
|
168
362
|
hexToBytes,
|
|
169
363
|
hexToNumber,
|
|
364
|
+
implicitAccountToEd25519PublicKey,
|
|
365
|
+
importNEARViewingKey,
|
|
170
366
|
isBrowser,
|
|
171
367
|
isExpired,
|
|
368
|
+
isImplicitAccount,
|
|
369
|
+
isKnownToken,
|
|
370
|
+
isLevelEnabled,
|
|
371
|
+
isLocalhostAllowed,
|
|
372
|
+
isLocalhostUrl,
|
|
373
|
+
isNEARAnnouncementForViewingKey,
|
|
374
|
+
isNamedAccount,
|
|
375
|
+
isNoirCircuitType,
|
|
376
|
+
isNoteInWindow,
|
|
172
377
|
isPaymentExpired,
|
|
173
378
|
isPrivate,
|
|
174
379
|
isPrivateWalletAdapter,
|
|
380
|
+
isProductionEnvironment,
|
|
175
381
|
isSameChainSupported,
|
|
176
382
|
isStablecoin,
|
|
177
383
|
isStablecoinOnChain,
|
|
384
|
+
isSyncRandomnessValid,
|
|
385
|
+
isValidAccountId,
|
|
178
386
|
isValidAptosAddress,
|
|
179
387
|
isValidCosmosAddress,
|
|
388
|
+
isValidSolanaProof,
|
|
180
389
|
isValidSuiAddress,
|
|
181
390
|
isValidTaprootAddress,
|
|
391
|
+
logger,
|
|
392
|
+
maskAmount,
|
|
182
393
|
normalizeAddress,
|
|
183
394
|
normalizeSuiAddress,
|
|
184
395
|
notConnectedError,
|
|
396
|
+
optimizations_exports,
|
|
397
|
+
optimizations_exports2,
|
|
398
|
+
parseAnnouncement as parseAnnouncement2,
|
|
399
|
+
parseNEARStealthMetaAddress,
|
|
400
|
+
percentToBps,
|
|
401
|
+
privacyLogger,
|
|
185
402
|
proveOwnership,
|
|
403
|
+
recommendCheapestChain,
|
|
404
|
+
recommendProfile,
|
|
405
|
+
redactAddress,
|
|
406
|
+
redactSensitiveData,
|
|
407
|
+
redactSignature,
|
|
186
408
|
registerWallet,
|
|
187
409
|
removeOracle,
|
|
188
410
|
schnorrSign,
|
|
189
411
|
schnorrSignHex,
|
|
190
412
|
schnorrVerify,
|
|
191
413
|
schnorrVerifyHex,
|
|
414
|
+
selectOptimalConfig,
|
|
192
415
|
serializeAttestationMessage,
|
|
193
416
|
serializeIntent,
|
|
194
417
|
serializePayment,
|
|
418
|
+
setLogLevel,
|
|
195
419
|
signAttestationMessage,
|
|
420
|
+
silenceLogger,
|
|
196
421
|
solanaPublicKeyToHex,
|
|
197
422
|
stealthKeyToCosmosAddress,
|
|
198
|
-
|
|
199
|
-
|
|
423
|
+
subtractBlindingsNEAR,
|
|
424
|
+
subtractCommitmentsNEAR,
|
|
200
425
|
supportsSharedArrayBuffer,
|
|
201
426
|
supportsViewingKey,
|
|
202
427
|
supportsWebBluetooth,
|
|
@@ -206,40 +431,71 @@ import {
|
|
|
206
431
|
taprootAddress,
|
|
207
432
|
toHex,
|
|
208
433
|
toStablecoinUnits,
|
|
434
|
+
toYoctoNEAR,
|
|
209
435
|
trackIntent,
|
|
210
436
|
trackPayment,
|
|
211
437
|
updateOracleStatus,
|
|
438
|
+
updateSyncState,
|
|
439
|
+
validateNEARStealthAddress,
|
|
440
|
+
validateNEARStealthMetaAddress,
|
|
441
|
+
validateNEARViewingKey,
|
|
442
|
+
validateProductionConfig,
|
|
212
443
|
verifyAttestation,
|
|
444
|
+
verifyAttestationSignature,
|
|
213
445
|
verifyCommitment,
|
|
214
|
-
|
|
446
|
+
verifyNEP141TokenCommitment,
|
|
447
|
+
verifyOpeningNEAR,
|
|
215
448
|
verifyOracleSignature,
|
|
216
449
|
verifyOwnership,
|
|
217
450
|
walletRegistry
|
|
218
|
-
} from "./chunk-
|
|
219
|
-
import {
|
|
220
|
-
ProofGenerationError
|
|
221
|
-
} from "./chunk-HOR7PM3M.mjs";
|
|
451
|
+
} from "./chunk-YWGJ77A2.mjs";
|
|
222
452
|
import {
|
|
453
|
+
DEFAULT_NETWORK_CONFIG,
|
|
454
|
+
DEFAULT_PROXY_TIMEOUT,
|
|
455
|
+
GenericProvider,
|
|
456
|
+
HeliusEnhanced,
|
|
457
|
+
HeliusProvider,
|
|
458
|
+
PROXY_ENV_VAR,
|
|
459
|
+
PROXY_ENV_VARS,
|
|
460
|
+
TOR_CONTROL_PORT,
|
|
461
|
+
TOR_HOST,
|
|
462
|
+
TOR_PORTS,
|
|
463
|
+
addBlindings,
|
|
464
|
+
addCommitments,
|
|
223
465
|
checkEd25519StealthAddress,
|
|
466
|
+
checkProxyAvailability,
|
|
224
467
|
checkStealthAddress,
|
|
225
468
|
claimStealthPayment,
|
|
469
|
+
commit,
|
|
470
|
+
commitZero,
|
|
226
471
|
createAnnouncementMemo,
|
|
472
|
+
createHeliusEnhanced,
|
|
473
|
+
createNetworkPrivacyClient,
|
|
474
|
+
createProvider,
|
|
475
|
+
createProxiedFetch,
|
|
476
|
+
createProxyAgent,
|
|
477
|
+
createWebhookHandler,
|
|
227
478
|
decodeStealthMetaAddress,
|
|
228
479
|
deriveEd25519StealthPrivateKey,
|
|
229
480
|
deriveStealthPrivateKey,
|
|
481
|
+
detectTorPort,
|
|
230
482
|
ed25519PublicKeyToNearAddress,
|
|
231
483
|
ed25519PublicKeyToSolanaAddress,
|
|
232
484
|
encodeStealthMetaAddress,
|
|
233
485
|
estimatePrivateTransferFee,
|
|
486
|
+
generateBlinding,
|
|
234
487
|
generateEd25519StealthAddress,
|
|
235
488
|
generateEd25519StealthMetaAddress,
|
|
236
489
|
generateStealthAddress,
|
|
237
490
|
generateStealthMetaAddress,
|
|
238
491
|
getCurveForChain,
|
|
492
|
+
getGenerators,
|
|
493
|
+
getProxyFromEnv,
|
|
239
494
|
getStealthBalance,
|
|
240
495
|
hasTokenAccount,
|
|
241
496
|
isEd25519Chain,
|
|
242
497
|
isNonNegativeAmount,
|
|
498
|
+
isTorAvailable,
|
|
243
499
|
isValidAmount,
|
|
244
500
|
isValidChainId,
|
|
245
501
|
isValidCompressedPublicKey,
|
|
@@ -256,21 +512,42 @@ import {
|
|
|
256
512
|
isValidStealthMetaAddress,
|
|
257
513
|
nearAddressToEd25519PublicKey,
|
|
258
514
|
parseAnnouncement,
|
|
515
|
+
parseProxyConfig,
|
|
516
|
+
parseStealthAddress,
|
|
517
|
+
processWebhookTransaction,
|
|
259
518
|
publicKeyToEthAddress,
|
|
519
|
+
rotateCircuit,
|
|
260
520
|
scanForPayments,
|
|
261
521
|
secureWipe,
|
|
262
522
|
secureWipeAll,
|
|
263
523
|
sendPrivateSPLTransfer,
|
|
264
524
|
solanaAddressToEd25519PublicKey,
|
|
525
|
+
subtractBlindings,
|
|
526
|
+
subtractCommitments,
|
|
265
527
|
validateAsset,
|
|
266
528
|
validateCreateIntentParams,
|
|
267
529
|
validateIntentInput,
|
|
268
530
|
validateIntentOutput,
|
|
269
531
|
validateScalar,
|
|
270
532
|
validateViewingKey,
|
|
533
|
+
verifyAuthToken,
|
|
534
|
+
verifyOpening,
|
|
535
|
+
verifyWebhookSignature,
|
|
271
536
|
withSecureBuffer,
|
|
272
537
|
withSecureBufferSync
|
|
273
|
-
} from "./chunk-
|
|
538
|
+
} from "./chunk-64AYA5F5.mjs";
|
|
539
|
+
import {
|
|
540
|
+
Halo2Provider,
|
|
541
|
+
KimchiProvider,
|
|
542
|
+
createHalo2Provider,
|
|
543
|
+
createKimchiProvider,
|
|
544
|
+
createMinaMainnetProvider,
|
|
545
|
+
createOrchardProvider,
|
|
546
|
+
createZkAppProvider
|
|
547
|
+
} from "./chunk-5D7A3L3W.mjs";
|
|
548
|
+
import {
|
|
549
|
+
ProofGenerationError
|
|
550
|
+
} from "./chunk-HOR7PM3M.mjs";
|
|
274
551
|
import {
|
|
275
552
|
CryptoError,
|
|
276
553
|
EncryptionNotImplementedError,
|
|
@@ -280,101 +557,221 @@ import {
|
|
|
280
557
|
ProofError,
|
|
281
558
|
ProofNotImplementedError,
|
|
282
559
|
SIPError,
|
|
560
|
+
SecurityError,
|
|
283
561
|
ValidationError,
|
|
284
562
|
getErrorMessage,
|
|
285
563
|
hasErrorCode,
|
|
286
564
|
isSIPError,
|
|
565
|
+
isSecurityError,
|
|
287
566
|
wrapError
|
|
288
|
-
} from "./chunk-
|
|
567
|
+
} from "./chunk-Z3K7W5S3.mjs";
|
|
289
568
|
import {
|
|
569
|
+
ETH_RPC_ENDPOINTS,
|
|
290
570
|
MEMO_PROGRAM_ID,
|
|
291
571
|
SIP_MEMO_PREFIX,
|
|
292
572
|
SOLANA_EXPLORER_URLS,
|
|
293
573
|
SOLANA_RPC_ENDPOINTS,
|
|
574
|
+
SOLANA_RPC_ENDPOINTS2,
|
|
294
575
|
SOLANA_TOKEN_DECIMALS,
|
|
295
576
|
SOLANA_TOKEN_MINTS,
|
|
577
|
+
SUI_RPC_ENDPOINTS,
|
|
578
|
+
ZCASH_RPC_CONFIG,
|
|
296
579
|
getExplorerUrl,
|
|
297
|
-
|
|
580
|
+
getSolanaTokenDecimals,
|
|
298
581
|
getTokenMint
|
|
299
|
-
} from "./chunk-
|
|
300
|
-
import "./chunk-
|
|
582
|
+
} from "./chunk-4GRJ5MAW.mjs";
|
|
583
|
+
import "./chunk-XGB3TDIC.mjs";
|
|
301
584
|
export {
|
|
302
585
|
ATTESTATION_VERSION,
|
|
303
586
|
AptosStealthService,
|
|
587
|
+
AttestationGatedDisclosure,
|
|
588
|
+
AttestationSchema,
|
|
304
589
|
AuditorKeyDerivation,
|
|
305
590
|
AuditorType,
|
|
591
|
+
BLS12_381_MODULUS,
|
|
592
|
+
BN254_MODULUS,
|
|
593
|
+
BUILTIN_TEMPLATES,
|
|
594
|
+
BaseProofComposer,
|
|
306
595
|
BaseWalletAdapter,
|
|
307
596
|
CHAIN_NUMERIC_IDS,
|
|
597
|
+
CIRCUIT_METADATA,
|
|
598
|
+
COMPLIANCE_CIRCUIT_IDS,
|
|
599
|
+
ETH_RPC_ENDPOINTS as CONFIGURABLE_ETH_RPC,
|
|
600
|
+
SOLANA_RPC_ENDPOINTS as CONFIGURABLE_SOLANA_RPC,
|
|
601
|
+
SUI_RPC_ENDPOINTS as CONFIGURABLE_SUI_RPC,
|
|
602
|
+
ZCASH_RPC_CONFIG as CONFIGURABLE_ZCASH_RPC,
|
|
308
603
|
CHAIN_PREFIXES as COSMOS_CHAIN_PREFIXES,
|
|
604
|
+
CSPLClient,
|
|
605
|
+
CSPLTokenService,
|
|
606
|
+
CacheKeyGenerator,
|
|
309
607
|
ComplianceManager,
|
|
608
|
+
ComplianceProofProvider,
|
|
310
609
|
ComplianceReporter,
|
|
610
|
+
ComposedProofStatus,
|
|
611
|
+
CompositionErrorCode,
|
|
612
|
+
CompositionTimeoutError,
|
|
311
613
|
ConditionalDisclosure,
|
|
312
614
|
CosmosStealthService,
|
|
615
|
+
CrossSystemValidator,
|
|
313
616
|
CryptoError,
|
|
617
|
+
DEFAULT_AGGREGATOR_CONFIG,
|
|
618
|
+
DEFAULT_CHAIN_FEES,
|
|
619
|
+
DEFAULT_COMPOSITION_CONFIG,
|
|
620
|
+
DEFAULT_CONVERSION_OPTIONS,
|
|
621
|
+
DEFAULT_FEE_TIERS,
|
|
622
|
+
DEFAULT_LRU_CONFIG,
|
|
623
|
+
DEFAULT_MANAGER_CONFIG,
|
|
624
|
+
DEFAULT_MOCK_CONFIG,
|
|
625
|
+
DEFAULT_MULTI_TIER_CONFIG,
|
|
626
|
+
DEFAULT_NETWORK_CONFIG,
|
|
627
|
+
DEFAULT_ORCHESTRATOR_CONFIG,
|
|
628
|
+
DEFAULT_PERSISTENT_CONFIG,
|
|
629
|
+
DEFAULT_PIPELINE_CONFIG,
|
|
630
|
+
DEFAULT_PROXY_TIMEOUT,
|
|
631
|
+
DEFAULT_RANGE_API_ENDPOINT,
|
|
632
|
+
DEFAULT_RPC_URLS,
|
|
633
|
+
DEFAULT_SYNC_CONFIG,
|
|
314
634
|
DEFAULT_THRESHOLD,
|
|
315
635
|
DEFAULT_TOTAL_ORACLES,
|
|
636
|
+
DEFAULT_TREASURY,
|
|
637
|
+
DEFAULT_VALIDITY_PERIOD_SECONDS,
|
|
638
|
+
DEFAULT_WARMING_CONFIG,
|
|
316
639
|
DerivationPath,
|
|
317
640
|
EncryptionNotImplementedError,
|
|
318
641
|
ErrorCode,
|
|
319
642
|
EthereumChainId,
|
|
320
643
|
EthereumWalletAdapter,
|
|
644
|
+
FeeCalculator,
|
|
645
|
+
FileCache,
|
|
646
|
+
GenericProvider,
|
|
647
|
+
Halo2ProofConverter,
|
|
648
|
+
Halo2Provider,
|
|
321
649
|
HardwareErrorCode,
|
|
322
650
|
HardwareWalletError,
|
|
651
|
+
HeliusEnhanced,
|
|
652
|
+
HeliusProvider,
|
|
653
|
+
INITIAL_PROOF_CACHE_STATS,
|
|
654
|
+
IncompatibleSystemsError,
|
|
655
|
+
IndexedDBCache,
|
|
323
656
|
IntentBuilder,
|
|
324
657
|
IntentError,
|
|
325
658
|
IntentStatus,
|
|
659
|
+
InvalidProofError,
|
|
660
|
+
JITO_BLOCK_ENGINES,
|
|
661
|
+
JITO_DEFAULTS,
|
|
662
|
+
JITO_TIP_ACCOUNTS,
|
|
663
|
+
JitoRelayer,
|
|
664
|
+
JitoRelayerError,
|
|
665
|
+
JitoRelayerErrorCode,
|
|
666
|
+
KNOWN_EXCHANGES,
|
|
667
|
+
KNOWN_ISSUERS,
|
|
668
|
+
KimchiProofConverter,
|
|
669
|
+
KimchiProvider,
|
|
670
|
+
LRUCache,
|
|
326
671
|
LedgerWalletAdapter,
|
|
672
|
+
MAX_NEAR_AMOUNT,
|
|
673
|
+
MAX_PROOF_SIZE_BYTES,
|
|
674
|
+
MAX_PUBLIC_INPUTS,
|
|
327
675
|
MEMO_PROGRAM_ID,
|
|
328
676
|
MockEthereumAdapter,
|
|
329
677
|
MockLedgerAdapter,
|
|
678
|
+
MockObliviousSyncProvider,
|
|
330
679
|
MockProofProvider,
|
|
331
680
|
MockSolanaAdapter,
|
|
332
681
|
MockSolver,
|
|
333
682
|
MockTrezorAdapter,
|
|
334
683
|
MockWalletAdapter,
|
|
684
|
+
MultiTierCache,
|
|
335
685
|
NATIVE_TOKENS,
|
|
686
|
+
NEARFeeContract,
|
|
336
687
|
NEARIntentsAdapter,
|
|
337
688
|
NEARIntentsBackend,
|
|
689
|
+
DEFAULT_GAS as NEAR_DEFAULT_GAS,
|
|
690
|
+
ED25519_ORDER as NEAR_ED25519_ORDER,
|
|
691
|
+
NEAR_EXPLORER_URLS,
|
|
692
|
+
NEAR_FEE_CONTRACTS,
|
|
693
|
+
NEAR_IMPLICIT_ACCOUNT_LENGTH,
|
|
694
|
+
MAX_COMMITMENT_VALUE as NEAR_MAX_COMMITMENT_VALUE,
|
|
695
|
+
NEAR_RPC_ENDPOINTS,
|
|
696
|
+
SIP_MEMO_PREFIX2 as NEAR_SIP_MEMO_PREFIX,
|
|
697
|
+
NEAR_TOKEN_CONTRACTS,
|
|
698
|
+
NEAR_TOKEN_DECIMALS,
|
|
338
699
|
NetworkError,
|
|
700
|
+
NoirProofConverter,
|
|
701
|
+
ONE_NEAR,
|
|
702
|
+
ONE_YOCTO,
|
|
339
703
|
ORACLE_DOMAIN,
|
|
704
|
+
ObliviousSyncError,
|
|
705
|
+
ObliviousSyncErrorCode,
|
|
340
706
|
OneClickClient,
|
|
341
707
|
OneClickDepositMode,
|
|
342
708
|
OneClickErrorCode,
|
|
343
709
|
OneClickSwapStatus,
|
|
344
710
|
OneClickSwapType,
|
|
711
|
+
PALLAS_MODULUS,
|
|
712
|
+
PROXY_ENV_VAR,
|
|
713
|
+
PROXY_ENV_VARS,
|
|
345
714
|
PaymentBuilder,
|
|
346
715
|
PaymentStatus,
|
|
716
|
+
PrivacyAdvisorAgent,
|
|
717
|
+
PrivacyBackendRegistry,
|
|
347
718
|
PrivacyLevel,
|
|
719
|
+
PrivacyLogger,
|
|
720
|
+
SmartRouter2 as PrivacySmartRouter,
|
|
348
721
|
PrivateNFT,
|
|
349
722
|
PrivateVoting,
|
|
723
|
+
ProductionSafetyError,
|
|
724
|
+
ProofAggregationStrategy,
|
|
725
|
+
ProofAggregator,
|
|
726
|
+
ProofCompositionError,
|
|
727
|
+
ProofConversionError,
|
|
350
728
|
ProofError,
|
|
351
729
|
ProofGenerationError,
|
|
352
730
|
ProofNotImplementedError,
|
|
731
|
+
ProofOrchestrator,
|
|
353
732
|
ProposalStatus,
|
|
733
|
+
ProviderNotFoundError,
|
|
354
734
|
ReportStatus,
|
|
355
735
|
SIP,
|
|
356
736
|
SIPError,
|
|
737
|
+
SIPNativeBackend,
|
|
357
738
|
SIP_MEMO_PREFIX,
|
|
358
739
|
SIP_VERSION,
|
|
359
740
|
SOLANA_EXPLORER_URLS,
|
|
360
|
-
SOLANA_RPC_ENDPOINTS,
|
|
741
|
+
SOLANA_RPC_ENDPOINTS2 as SOLANA_RPC_ENDPOINTS,
|
|
361
742
|
SOLANA_TOKEN_DECIMALS,
|
|
362
743
|
SOLANA_TOKEN_MINTS,
|
|
744
|
+
SOLANA_ZK_PROGRAM_IDS,
|
|
363
745
|
STABLECOIN_ADDRESSES,
|
|
364
746
|
STABLECOIN_DECIMALS,
|
|
365
747
|
STABLECOIN_INFO,
|
|
748
|
+
SUPPORTED_JURISDICTIONS,
|
|
749
|
+
SYSTEM_INFO,
|
|
366
750
|
SealedBidAuction,
|
|
751
|
+
SecurityError,
|
|
367
752
|
SettlementRegistry,
|
|
368
753
|
SettlementRegistryError,
|
|
369
754
|
SmartRouter,
|
|
755
|
+
SolanaNoirError,
|
|
756
|
+
SolanaNoirErrorCode,
|
|
757
|
+
SolanaNoirVerifier,
|
|
370
758
|
SolanaSameChainExecutor,
|
|
371
759
|
SolanaWalletAdapter,
|
|
372
760
|
SuiStealthService,
|
|
761
|
+
SurveillanceAnalyzer,
|
|
373
762
|
SwapStatus,
|
|
763
|
+
SyncManager,
|
|
764
|
+
TOR_CONTROL_PORT,
|
|
765
|
+
TOR_HOST,
|
|
766
|
+
TOR_PORTS,
|
|
374
767
|
ThresholdViewingKey,
|
|
375
768
|
Treasury,
|
|
376
769
|
TrezorWalletAdapter,
|
|
770
|
+
UnifiedProofConverter,
|
|
771
|
+
UnsupportedVersionError,
|
|
772
|
+
VESTA_MODULUS,
|
|
377
773
|
ValidationError,
|
|
774
|
+
VerificationPipeline,
|
|
378
775
|
WalletError,
|
|
379
776
|
WalletErrorCode,
|
|
380
777
|
ZcashErrorCode,
|
|
@@ -384,27 +781,69 @@ export {
|
|
|
384
781
|
ZcashShieldedService,
|
|
385
782
|
ZcashSwapService,
|
|
386
783
|
addBlindings,
|
|
784
|
+
addBlindingsNEAR,
|
|
387
785
|
addCommitments,
|
|
786
|
+
addCommitmentsNEAR,
|
|
388
787
|
addOracle,
|
|
788
|
+
analyzeAddressReuse,
|
|
789
|
+
analyzeTemporalPatterns,
|
|
389
790
|
aptosAddressToAuthKey,
|
|
791
|
+
assertNoLocalhost,
|
|
390
792
|
attachProofs,
|
|
391
793
|
base58ToHex,
|
|
794
|
+
bnb_optimizations_exports as bnbOptimizations,
|
|
795
|
+
bpsToPercent,
|
|
392
796
|
bytesToHex as browserBytesToHex,
|
|
393
797
|
hexToBytes as browserHexToBytes,
|
|
798
|
+
cacheKeyGenerator,
|
|
799
|
+
calculateFeeForSwap,
|
|
800
|
+
calculatePrivacyScore,
|
|
801
|
+
calculateSIPComparison,
|
|
394
802
|
checkAptosStealthAddress,
|
|
395
803
|
checkEd25519StealthAddress,
|
|
804
|
+
checkNEARStealthAddress,
|
|
805
|
+
checkProxyAvailability,
|
|
396
806
|
checkStealthAddress,
|
|
397
807
|
checkSuiStealthAddress,
|
|
398
808
|
claimStealthPayment,
|
|
399
809
|
commit,
|
|
810
|
+
commitNEAR,
|
|
811
|
+
commitNEP141Token,
|
|
400
812
|
commitZero,
|
|
813
|
+
compareCrossChainCosts,
|
|
401
814
|
computeAttestationHash,
|
|
815
|
+
computeNEARViewingKeyHash,
|
|
816
|
+
computeNEARViewingKeyHashFromPrivate,
|
|
402
817
|
computeTweakedKey,
|
|
818
|
+
configureLogger,
|
|
819
|
+
convertFromSIP,
|
|
820
|
+
convertToSIP,
|
|
821
|
+
createAnalyzeWalletTool,
|
|
403
822
|
createAnnouncementMemo,
|
|
823
|
+
createCacheKeyGenerator,
|
|
404
824
|
createCommitment,
|
|
825
|
+
createCrossSystemValidator,
|
|
826
|
+
createDevnetVerifier,
|
|
405
827
|
createEthereumAdapter,
|
|
828
|
+
createExplainTool,
|
|
829
|
+
createFeeCalculator,
|
|
830
|
+
createFileCache,
|
|
831
|
+
createHalo2Converter,
|
|
832
|
+
createHalo2Provider,
|
|
833
|
+
createHeliusEnhanced,
|
|
834
|
+
createIndexedDBCache,
|
|
835
|
+
createJitoRelayer,
|
|
406
836
|
createKeySpendOnlyOutput,
|
|
837
|
+
createKimchiConverter,
|
|
838
|
+
createKimchiProvider,
|
|
839
|
+
createLRUCache,
|
|
407
840
|
createLedgerAdapter,
|
|
841
|
+
createLogger,
|
|
842
|
+
createMainnetFeeContract,
|
|
843
|
+
createMainnetRelayer,
|
|
844
|
+
createMainnetVerifier,
|
|
845
|
+
createMinaMainnetProvider,
|
|
846
|
+
createMockAttestation,
|
|
408
847
|
createMockEthereumAdapter,
|
|
409
848
|
createMockEthereumProvider,
|
|
410
849
|
createMockLedgerAdapter,
|
|
@@ -412,84 +851,154 @@ export {
|
|
|
412
851
|
createMockSolanaConnection,
|
|
413
852
|
createMockSolanaProvider,
|
|
414
853
|
createMockSolver,
|
|
854
|
+
createMockSyncProvider,
|
|
415
855
|
createMockTrezorAdapter,
|
|
856
|
+
createMultiTierCache,
|
|
857
|
+
createAnnouncementMemo2 as createNEARAnnouncementMemo,
|
|
858
|
+
createNEARFeeContract,
|
|
416
859
|
createNEARIntentsAdapter,
|
|
417
860
|
createNEARIntentsBackend,
|
|
861
|
+
createNEARMemoryStorage,
|
|
862
|
+
createNetworkPrivacyClient,
|
|
863
|
+
createNoirConverter,
|
|
418
864
|
createOracleRegistry,
|
|
865
|
+
createOrchardProvider,
|
|
866
|
+
createPersistentCache,
|
|
867
|
+
createPrivacyAdvisor,
|
|
868
|
+
createPrivacyAdvisorTools,
|
|
869
|
+
createPrivacyLogger,
|
|
419
870
|
createPrivateOwnership,
|
|
420
871
|
createPrivateVoting,
|
|
872
|
+
createProductionConfig,
|
|
421
873
|
createProductionSIP,
|
|
874
|
+
createProofAggregator,
|
|
875
|
+
createProofOrchestrator,
|
|
876
|
+
createProvider,
|
|
877
|
+
createProxiedFetch,
|
|
878
|
+
createProxyAgent,
|
|
879
|
+
createQuickScoreTool,
|
|
422
880
|
createSIP,
|
|
881
|
+
createSIPComparisonTool,
|
|
423
882
|
createSameChainExecutor,
|
|
424
883
|
createSealedBidAuction,
|
|
425
884
|
createShieldedIntent,
|
|
426
885
|
createShieldedPayment,
|
|
427
886
|
createSmartRouter,
|
|
428
887
|
createSolanaAdapter,
|
|
888
|
+
createSurveillanceAnalyzer,
|
|
889
|
+
createSyncManager,
|
|
890
|
+
createSyncState,
|
|
429
891
|
createTaprootOutput,
|
|
892
|
+
createTestnetFeeContract,
|
|
893
|
+
createTimeWindowedKey,
|
|
430
894
|
createTrezorAdapter,
|
|
895
|
+
createUnifiedConverter,
|
|
896
|
+
createVerificationPipeline,
|
|
431
897
|
createWalletFactory,
|
|
898
|
+
createWebhookHandler,
|
|
432
899
|
createZcashClient,
|
|
433
900
|
createZcashNativeBackend,
|
|
434
901
|
createZcashShieldedService,
|
|
435
902
|
createZcashSwapService,
|
|
903
|
+
createZkAppProvider,
|
|
436
904
|
decodeStealthMetaAddress,
|
|
437
905
|
decodeTaprootAddress,
|
|
438
906
|
decryptMemo,
|
|
907
|
+
decryptWithNEARViewing,
|
|
439
908
|
decryptWithViewing,
|
|
909
|
+
defaultRegistry,
|
|
440
910
|
deriveAptosStealthPrivateKey,
|
|
441
911
|
deriveEd25519StealthPrivateKey,
|
|
912
|
+
deriveNEARChildViewingKey,
|
|
913
|
+
deriveNEARStealthPrivateKey,
|
|
914
|
+
deriveObliviousNullifier,
|
|
442
915
|
deriveOracleId,
|
|
443
916
|
deriveStealthPrivateKey,
|
|
444
917
|
deriveSuiStealthPrivateKey,
|
|
918
|
+
deriveTraditionalNullifier,
|
|
445
919
|
deriveViewingKey,
|
|
446
920
|
deserializeAttestationMessage,
|
|
447
921
|
deserializeIntent,
|
|
448
922
|
deserializePayment,
|
|
923
|
+
detectChainFamily,
|
|
924
|
+
detectClusters,
|
|
449
925
|
detectEthereumWallets,
|
|
926
|
+
detectExchangeExposure,
|
|
450
927
|
detectSolanaWallets,
|
|
928
|
+
detectTorPort,
|
|
451
929
|
ed25519PublicKeyToAptosAddress,
|
|
930
|
+
ed25519PublicKeyToImplicitAccount,
|
|
452
931
|
ed25519PublicKeyToNearAddress,
|
|
453
932
|
ed25519PublicKeyToSolanaAddress,
|
|
454
933
|
ed25519PublicKeyToSuiAddress,
|
|
934
|
+
encodeNEARStealthMetaAddress,
|
|
455
935
|
encodeStealthMetaAddress,
|
|
936
|
+
encryptForNEARViewing,
|
|
456
937
|
encryptForViewing,
|
|
938
|
+
estimateComputeUnits,
|
|
939
|
+
estimateFee,
|
|
457
940
|
estimatePrivateTransferFee,
|
|
941
|
+
optimizations_exports2 as evmOptimizations,
|
|
942
|
+
exportNEARViewingKey,
|
|
943
|
+
exportTransactions,
|
|
458
944
|
featureNotSupportedError,
|
|
945
|
+
fetchAttestation,
|
|
946
|
+
fetchWalletAttestations,
|
|
947
|
+
formatFee,
|
|
459
948
|
formatStablecoinAmount,
|
|
460
949
|
fromHex,
|
|
461
950
|
fromStablecoinUnits,
|
|
951
|
+
fromYoctoNEAR,
|
|
462
952
|
generateAptosStealthAddress,
|
|
463
953
|
generateBlinding,
|
|
954
|
+
generateBlindingNEAR,
|
|
464
955
|
generateCosmosStealthAddress,
|
|
465
956
|
generateCosmosStealthMetaAddress,
|
|
466
957
|
generateEd25519StealthAddress,
|
|
467
958
|
generateEd25519StealthMetaAddress,
|
|
468
959
|
generateIntentId,
|
|
960
|
+
generateNEARStealthAddress,
|
|
961
|
+
generateNEARStealthMetaAddress,
|
|
962
|
+
generateNEARViewingKeyFromSpending,
|
|
469
963
|
generatePdfReport,
|
|
470
964
|
generateRandomBytes,
|
|
965
|
+
generateRandomNEARViewingKey,
|
|
471
966
|
generateStealthAddress,
|
|
472
967
|
generateStealthMetaAddress,
|
|
473
968
|
generateSuiStealthAddress,
|
|
969
|
+
generateSyncRandomness,
|
|
474
970
|
generateViewingKey,
|
|
475
971
|
getActiveOracles,
|
|
972
|
+
getAsset,
|
|
476
973
|
getAvailableTransports,
|
|
477
974
|
getBrowserInfo,
|
|
975
|
+
getChainCharacteristics,
|
|
478
976
|
getChainNumericId,
|
|
479
977
|
getChainsForStablecoin,
|
|
978
|
+
getCurrentEpoch,
|
|
480
979
|
getCurveForChain,
|
|
481
980
|
getDefaultRpcEndpoint,
|
|
482
981
|
getDerivationPath,
|
|
483
982
|
getErrorMessage,
|
|
484
983
|
getEthereumProvider,
|
|
485
984
|
getGenerators,
|
|
985
|
+
getGeneratorsNEAR,
|
|
486
986
|
getIntentSummary,
|
|
987
|
+
getLogLevelName,
|
|
988
|
+
getAccountExplorerUrl as getNEARAccountExplorerUrl,
|
|
989
|
+
getExplorerUrl2 as getNEARExplorerUrl,
|
|
990
|
+
getTokenContract as getNEARTokenContract,
|
|
991
|
+
getNEARViewingPublicKey,
|
|
992
|
+
getNativeToken,
|
|
487
993
|
getPaymentSummary,
|
|
488
994
|
getPaymentTimeRemaining,
|
|
489
995
|
getPrivacyConfig,
|
|
490
996
|
getPrivacyDescription,
|
|
997
|
+
getProductionUrl,
|
|
998
|
+
getProxyFromEnv,
|
|
491
999
|
getExplorerUrl as getSolanaExplorerUrl,
|
|
492
1000
|
getSolanaProvider,
|
|
1001
|
+
getSolanaTokenDecimals,
|
|
493
1002
|
getStablecoin,
|
|
494
1003
|
getStablecoinInfo,
|
|
495
1004
|
getStablecoinsForChain,
|
|
@@ -497,8 +1006,14 @@ export {
|
|
|
497
1006
|
getSupportedSameChainChains,
|
|
498
1007
|
getSupportedStablecoins,
|
|
499
1008
|
getTimeRemaining,
|
|
1009
|
+
getTokenByAddress,
|
|
500
1010
|
getTokenDecimals,
|
|
501
1011
|
getTokenMint,
|
|
1012
|
+
getTokensForChain,
|
|
1013
|
+
getTransactionByHash,
|
|
1014
|
+
getTransactionCount,
|
|
1015
|
+
getTransactionHistory,
|
|
1016
|
+
getTransactionSummary,
|
|
502
1017
|
getXOnlyPublicKey,
|
|
503
1018
|
hasEnoughOracles,
|
|
504
1019
|
hasErrorCode,
|
|
@@ -506,17 +1021,32 @@ export {
|
|
|
506
1021
|
hasTokenAccount,
|
|
507
1022
|
hash,
|
|
508
1023
|
hexToNumber,
|
|
1024
|
+
implicitAccountToEd25519PublicKey,
|
|
1025
|
+
importNEARViewingKey,
|
|
509
1026
|
isBrowser,
|
|
510
1027
|
isEd25519Chain,
|
|
511
1028
|
isExpired,
|
|
1029
|
+
isImplicitAccount,
|
|
1030
|
+
isKnownToken,
|
|
1031
|
+
isLevelEnabled,
|
|
1032
|
+
isLocalhostAllowed,
|
|
1033
|
+
isLocalhostUrl,
|
|
1034
|
+
isNEARAnnouncementForViewingKey,
|
|
1035
|
+
isNamedAccount,
|
|
1036
|
+
isNoirCircuitType,
|
|
512
1037
|
isNonNegativeAmount,
|
|
1038
|
+
isNoteInWindow,
|
|
513
1039
|
isPaymentExpired,
|
|
514
1040
|
isPrivate,
|
|
515
1041
|
isPrivateWalletAdapter,
|
|
1042
|
+
isProductionEnvironment,
|
|
516
1043
|
isSIPError,
|
|
517
1044
|
isSameChainSupported,
|
|
1045
|
+
isSecurityError,
|
|
518
1046
|
isStablecoin,
|
|
519
1047
|
isStablecoinOnChain,
|
|
1048
|
+
isSyncRandomnessValid,
|
|
1049
|
+
isTorAvailable,
|
|
520
1050
|
isValidAmount,
|
|
521
1051
|
isValidAptosAddress,
|
|
522
1052
|
isValidChainId,
|
|
@@ -525,6 +1055,7 @@ export {
|
|
|
525
1055
|
isValidEd25519PublicKey,
|
|
526
1056
|
isValidHex,
|
|
527
1057
|
isValidHexLength,
|
|
1058
|
+
isValidAccountId as isValidNEARAccountId,
|
|
528
1059
|
isValidNearAccountId,
|
|
529
1060
|
isValidNearImplicitAddress,
|
|
530
1061
|
isValidPrivacyLevel,
|
|
@@ -532,18 +1063,34 @@ export {
|
|
|
532
1063
|
isValidScalar,
|
|
533
1064
|
isValidSlippage,
|
|
534
1065
|
isValidSolanaAddress,
|
|
1066
|
+
isValidSolanaProof,
|
|
535
1067
|
isValidStealthMetaAddress,
|
|
536
1068
|
isValidSuiAddress,
|
|
537
1069
|
isValidTaprootAddress,
|
|
1070
|
+
logger,
|
|
1071
|
+
maskAmount,
|
|
538
1072
|
nearAddressToEd25519PublicKey,
|
|
539
1073
|
normalizeAddress,
|
|
540
1074
|
normalizeSuiAddress,
|
|
541
1075
|
notConnectedError,
|
|
542
1076
|
parseAnnouncement,
|
|
1077
|
+
parseAnnouncement2 as parseNEARAnnouncement,
|
|
1078
|
+
parseNEARStealthMetaAddress,
|
|
1079
|
+
parseProxyConfig,
|
|
1080
|
+
parseStealthAddress,
|
|
1081
|
+
percentToBps,
|
|
1082
|
+
privacyLogger,
|
|
1083
|
+
processWebhookTransaction,
|
|
543
1084
|
proveOwnership,
|
|
544
1085
|
publicKeyToEthAddress,
|
|
1086
|
+
recommendCheapestChain,
|
|
1087
|
+
recommendProfile,
|
|
1088
|
+
redactAddress,
|
|
1089
|
+
redactSensitiveData,
|
|
1090
|
+
redactSignature,
|
|
545
1091
|
registerWallet,
|
|
546
1092
|
removeOracle,
|
|
1093
|
+
rotateCircuit,
|
|
547
1094
|
scanForPayments,
|
|
548
1095
|
schnorrSign,
|
|
549
1096
|
schnorrSignHex,
|
|
@@ -551,16 +1098,22 @@ export {
|
|
|
551
1098
|
schnorrVerifyHex,
|
|
552
1099
|
secureWipe,
|
|
553
1100
|
secureWipeAll,
|
|
1101
|
+
selectOptimalConfig,
|
|
554
1102
|
sendPrivateSPLTransfer,
|
|
555
1103
|
serializeAttestationMessage,
|
|
556
1104
|
serializeIntent,
|
|
557
1105
|
serializePayment,
|
|
1106
|
+
setLogLevel,
|
|
558
1107
|
signAttestationMessage,
|
|
1108
|
+
silenceLogger,
|
|
559
1109
|
solanaAddressToEd25519PublicKey,
|
|
1110
|
+
optimizations_exports as solanaOptimizations,
|
|
560
1111
|
solanaPublicKeyToHex,
|
|
561
1112
|
stealthKeyToCosmosAddress,
|
|
562
1113
|
subtractBlindings,
|
|
1114
|
+
subtractBlindingsNEAR,
|
|
563
1115
|
subtractCommitments,
|
|
1116
|
+
subtractCommitmentsNEAR,
|
|
564
1117
|
supportsSharedArrayBuffer,
|
|
565
1118
|
supportsViewingKey,
|
|
566
1119
|
supportsWebBluetooth,
|
|
@@ -570,20 +1123,31 @@ export {
|
|
|
570
1123
|
taprootAddress,
|
|
571
1124
|
toHex,
|
|
572
1125
|
toStablecoinUnits,
|
|
1126
|
+
toYoctoNEAR,
|
|
573
1127
|
trackIntent,
|
|
574
1128
|
trackPayment,
|
|
575
1129
|
updateOracleStatus,
|
|
1130
|
+
updateSyncState,
|
|
576
1131
|
validateAsset,
|
|
577
1132
|
validateCreateIntentParams,
|
|
578
1133
|
validateIntentInput,
|
|
579
1134
|
validateIntentOutput,
|
|
1135
|
+
validateNEARStealthAddress,
|
|
1136
|
+
validateNEARStealthMetaAddress,
|
|
1137
|
+
validateNEARViewingKey,
|
|
1138
|
+
validateProductionConfig,
|
|
580
1139
|
validateScalar,
|
|
581
1140
|
validateViewingKey,
|
|
582
1141
|
verifyAttestation,
|
|
1142
|
+
verifyAttestationSignature,
|
|
1143
|
+
verifyAuthToken,
|
|
583
1144
|
verifyCommitment,
|
|
1145
|
+
verifyNEP141TokenCommitment,
|
|
584
1146
|
verifyOpening,
|
|
1147
|
+
verifyOpeningNEAR,
|
|
585
1148
|
verifyOracleSignature,
|
|
586
1149
|
verifyOwnership,
|
|
1150
|
+
verifyWebhookSignature,
|
|
587
1151
|
walletRegistry,
|
|
588
1152
|
withSecureBuffer,
|
|
589
1153
|
withSecureBufferSync,
|