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