@sip-protocol/sdk 0.6.14 → 0.6.15

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.
@@ -1,4 +1,4 @@
1
- export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, B as BrowserNoirProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, p as MobileBrowser, q as MobileDeviceInfo, M as MobilePlatform, r as MobileWASMCompatibility, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, f as checkMobileWASMCompatibility, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, c as detectMobileBrowser, d as detectMobilePlatform, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, j as getBrowserVersion, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, e as getMobileDeviceInfo, k as getOSVersion, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, l as isTablet, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, m as supportsTouch, o as supportsWASMBulkMemory, n as supportsWASMSimd, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-CLgrUxac.mjs';
1
+ export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, B as BrowserNoirProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, p as MobileBrowser, q as MobileDeviceInfo, M as MobilePlatform, r as MobileWASMCompatibility, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, f as checkMobileWASMCompatibility, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, c as detectMobileBrowser, d as detectMobilePlatform, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, j as getBrowserVersion, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, e as getMobileDeviceInfo, k as getOSVersion, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, l as isTablet, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, m as supportsTouch, o as supportsWASMBulkMemory, n as supportsWASMSimd, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-DXxpjdTW.mjs';
2
2
  export { Asset, AuditLogEntry, AuditScope, AuditorRegistration, AuditorViewingKey, BatchPaymentRecipient, BatchPaymentRequest, ChainId, Commitment, ComplianceConfig, ComplianceReport, ComplianceRole, CreateBatchProposalParams, CreateComplianceConfigParams, CreateIntentParams, CreatePaymentParams, CreatePaymentProposalParams, CreatePrivateOwnershipParams, CreateTreasuryParams, DefuseAssetId, DisclosedTransaction, DisclosureRequest, FulfillmentCommitment, FulfillmentProof, FulfillmentRequest, FulfillmentResult, FulfillmentStatus, GenerateReportParams, Hash, HexString, WalletAdapter as IWalletAdapter, IntentStatus, NATIVE_TOKENS, OneClickConfig, OneClickDepositMode, OneClickErrorCode, OneClickQuoteRequest, OneClickQuoteResponse, OneClickStatusResponse, OneClickSwapStatus, OneClickSwapType, OwnershipProof, OwnershipVerification, PaymentPurpose, PaymentReceipt, PaymentStatus, PaymentStatusType, PrivacyLevel, PrivateNFTOwnership, PrivateWalletAdapter, ProposalSignature, ProposalStatus, ProposalStatusType, ProposalType, ProveOwnershipParams, Quote, RegisterAuditorParams, ReportData, ReportFormat, ReportStatus, ReportStatusType, ReportType, SIPSolver, SIP_VERSION, ShieldedIntent, ShieldedPayment, Signature, SignedTransaction, Solver, SolverCapabilities, SolverEvent, SolverEventListener, SolverQuote, SolverVisibleIntent, StablecoinSymbol, StealthAddress, StealthAddressRecovery, StealthMetaAddress, SwapRoute, SwapRouteStep, TrackedIntent, TrackedPayment, TransactionReceipt, TreasuryBalance, TreasuryConfig, TreasuryMember, TreasuryProposal, TreasuryRole, TreasuryTransaction, UnsignedTransaction, ViewingKey, WalletAccountChangedEvent, WalletAdapterFactory, WalletChainChangedEvent, WalletConnectEvent, WalletConnectionState, WalletDisconnectEvent, WalletErrorCode, WalletErrorEvent, WalletEvent, WalletEventHandler, WalletEventType, WalletInfo, WalletRegistryEntry, WalletShieldedSendParams, WalletShieldedSendResult, ZKProof, ZcashAccountAddress, ZcashAccountBalance, ZcashAddressInfo, ZcashAddressType, ZcashBlock, ZcashBlockHeader, ZcashBlockchainInfo, ZcashConfig, ZcashErrorCode, ZcashNetwork, ZcashNetworkInfo, ZcashNewAccount, ZcashOperation, ZcashOperationError, ZcashOperationStatus, ZcashOperationTxResult, ZcashPool, ZcashPoolBalance, ZcashPrivacyPolicy, ZcashReceiverType, ZcashSendRecipient, ZcashShieldedSendParams, ZcashUnspentNote, isPrivate, supportsViewingKey } from '@sip-protocol/types';
3
3
  import { F as FundingProofParams, V as ValidityProofParams, a as FulfillmentProofParams, P as ProofResult } from './noir-DKfEzWy9.mjs';
4
4
  export { N as NoirProviderConfig, O as OracleAttestation, d as ProofFramework, b as ProofGenerationError, c as ProofProvider } from './noir-DKfEzWy9.mjs';
package/dist/browser.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, B as BrowserNoirProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, p as MobileBrowser, q as MobileDeviceInfo, M as MobilePlatform, r as MobileWASMCompatibility, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, f as checkMobileWASMCompatibility, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, c as detectMobileBrowser, d as detectMobilePlatform, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, j as getBrowserVersion, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, e as getMobileDeviceInfo, k as getOSVersion, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, l as isTablet, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, m as supportsTouch, o as supportsWASMBulkMemory, n as supportsWASMSimd, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-Dm5Sdjkd.js';
1
+ export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, B as BrowserNoirProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, p as MobileBrowser, q as MobileDeviceInfo, M as MobilePlatform, r as MobileWASMCompatibility, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, f as checkMobileWASMCompatibility, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, c as detectMobileBrowser, d as detectMobilePlatform, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, j as getBrowserVersion, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, e as getMobileDeviceInfo, k as getOSVersion, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, l as isTablet, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, m as supportsTouch, o as supportsWASMBulkMemory, n as supportsWASMSimd, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-C3N0yyPg.js';
2
2
  export { Asset, AuditLogEntry, AuditScope, AuditorRegistration, AuditorViewingKey, BatchPaymentRecipient, BatchPaymentRequest, ChainId, Commitment, ComplianceConfig, ComplianceReport, ComplianceRole, CreateBatchProposalParams, CreateComplianceConfigParams, CreateIntentParams, CreatePaymentParams, CreatePaymentProposalParams, CreatePrivateOwnershipParams, CreateTreasuryParams, DefuseAssetId, DisclosedTransaction, DisclosureRequest, FulfillmentCommitment, FulfillmentProof, FulfillmentRequest, FulfillmentResult, FulfillmentStatus, GenerateReportParams, Hash, HexString, WalletAdapter as IWalletAdapter, IntentStatus, NATIVE_TOKENS, OneClickConfig, OneClickDepositMode, OneClickErrorCode, OneClickQuoteRequest, OneClickQuoteResponse, OneClickStatusResponse, OneClickSwapStatus, OneClickSwapType, OwnershipProof, OwnershipVerification, PaymentPurpose, PaymentReceipt, PaymentStatus, PaymentStatusType, PrivacyLevel, PrivateNFTOwnership, PrivateWalletAdapter, ProposalSignature, ProposalStatus, ProposalStatusType, ProposalType, ProveOwnershipParams, Quote, RegisterAuditorParams, ReportData, ReportFormat, ReportStatus, ReportStatusType, ReportType, SIPSolver, SIP_VERSION, ShieldedIntent, ShieldedPayment, Signature, SignedTransaction, Solver, SolverCapabilities, SolverEvent, SolverEventListener, SolverQuote, SolverVisibleIntent, StablecoinSymbol, StealthAddress, StealthAddressRecovery, StealthMetaAddress, SwapRoute, SwapRouteStep, TrackedIntent, TrackedPayment, TransactionReceipt, TreasuryBalance, TreasuryConfig, TreasuryMember, TreasuryProposal, TreasuryRole, TreasuryTransaction, UnsignedTransaction, ViewingKey, WalletAccountChangedEvent, WalletAdapterFactory, WalletChainChangedEvent, WalletConnectEvent, WalletConnectionState, WalletDisconnectEvent, WalletErrorCode, WalletErrorEvent, WalletEvent, WalletEventHandler, WalletEventType, WalletInfo, WalletRegistryEntry, WalletShieldedSendParams, WalletShieldedSendResult, ZKProof, ZcashAccountAddress, ZcashAccountBalance, ZcashAddressInfo, ZcashAddressType, ZcashBlock, ZcashBlockHeader, ZcashBlockchainInfo, ZcashConfig, ZcashErrorCode, ZcashNetwork, ZcashNetworkInfo, ZcashNewAccount, ZcashOperation, ZcashOperationError, ZcashOperationStatus, ZcashOperationTxResult, ZcashPool, ZcashPoolBalance, ZcashPrivacyPolicy, ZcashReceiverType, ZcashSendRecipient, ZcashShieldedSendParams, ZcashUnspentNote, isPrivate, supportsViewingKey } from '@sip-protocol/types';
3
3
  import { F as FundingProofParams, V as ValidityProofParams, a as FulfillmentProofParams, P as ProofResult } from './noir-DKfEzWy9.js';
4
4
  export { N as NoirProviderConfig, O as OracleAttestation, d as ProofFramework, b as ProofGenerationError, c as ProofProvider } from './noir-DKfEzWy9.js';
package/dist/browser.js CHANGED
@@ -21682,7 +21682,8 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
21682
21682
  pubKeyX = Array.from(params.senderPublicKey.x);
21683
21683
  pubKeyY = Array.from(params.senderPublicKey.y);
21684
21684
  } else {
21685
- const coords = this.getPublicKeyCoordinates(params.senderSecret);
21685
+ const senderSecretBytes = this.ensureUint8Array(params.senderSecret);
21686
+ const coords = this.getPublicKeyCoordinates(senderSecretBytes);
21686
21687
  pubKeyX = coords.x;
21687
21688
  pubKeyY = coords.y;
21688
21689
  }
@@ -21969,10 +21970,11 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
21969
21970
  return result.toString(16).padStart(64, "0");
21970
21971
  }
21971
21972
  bytesToField(bytes) {
21973
+ const arr = this.ensureUint8Array(bytes);
21972
21974
  let result = 0n;
21973
- const len = Math.min(bytes.length, 31);
21975
+ const len = Math.min(arr.length, 31);
21974
21976
  for (let i = 0; i < len; i++) {
21975
- result = result * 256n + BigInt(bytes[i]);
21977
+ result = result * 256n + BigInt(arr[i]);
21976
21978
  }
21977
21979
  return `0x${result.toString(16)}`;
21978
21980
  }
@@ -21985,6 +21987,17 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
21985
21987
  }
21986
21988
  return bytes;
21987
21989
  }
21990
+ /**
21991
+ * Ensure input is a proper Uint8Array (handles serialization from bundlers)
21992
+ * When Uint8Array passes through Next.js/bundlers, it can become {0: x, 1: y, ...}
21993
+ */
21994
+ ensureUint8Array(input) {
21995
+ if (input instanceof Uint8Array) {
21996
+ return input;
21997
+ }
21998
+ const values = Object.values(input).map(Number);
21999
+ return new Uint8Array(values);
22000
+ }
21988
22001
  hexToField(hex) {
21989
22002
  const h = hex.startsWith("0x") ? hex.slice(2) : hex;
21990
22003
  return h.padStart(64, "0");
package/dist/browser.mjs CHANGED
@@ -695,7 +695,8 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
695
695
  pubKeyX = Array.from(params.senderPublicKey.x);
696
696
  pubKeyY = Array.from(params.senderPublicKey.y);
697
697
  } else {
698
- const coords = this.getPublicKeyCoordinates(params.senderSecret);
698
+ const senderSecretBytes = this.ensureUint8Array(params.senderSecret);
699
+ const coords = this.getPublicKeyCoordinates(senderSecretBytes);
699
700
  pubKeyX = coords.x;
700
701
  pubKeyY = coords.y;
701
702
  }
@@ -982,10 +983,11 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
982
983
  return result.toString(16).padStart(64, "0");
983
984
  }
984
985
  bytesToField(bytes) {
986
+ const arr = this.ensureUint8Array(bytes);
985
987
  let result = 0n;
986
- const len = Math.min(bytes.length, 31);
988
+ const len = Math.min(arr.length, 31);
987
989
  for (let i = 0; i < len; i++) {
988
- result = result * 256n + BigInt(bytes[i]);
990
+ result = result * 256n + BigInt(arr[i]);
989
991
  }
990
992
  return `0x${result.toString(16)}`;
991
993
  }
@@ -998,6 +1000,17 @@ var BrowserNoirProvider = class _BrowserNoirProvider {
998
1000
  }
999
1001
  return bytes;
1000
1002
  }
1003
+ /**
1004
+ * Ensure input is a proper Uint8Array (handles serialization from bundlers)
1005
+ * When Uint8Array passes through Next.js/bundlers, it can become {0: x, 1: y, ...}
1006
+ */
1007
+ ensureUint8Array(input) {
1008
+ if (input instanceof Uint8Array) {
1009
+ return input;
1010
+ }
1011
+ const values = Object.values(input).map(Number);
1012
+ return new Uint8Array(values);
1013
+ }
1001
1014
  hexToField(hex) {
1002
1015
  const h = hex.startsWith("0x") ? hex.slice(2) : hex;
1003
1016
  return h.padStart(64, "0");
@@ -772,6 +772,11 @@ declare class BrowserNoirProvider implements ProofProvider {
772
772
  private assetIdToField;
773
773
  private bytesToField;
774
774
  private bigintToBytes;
775
+ /**
776
+ * Ensure input is a proper Uint8Array (handles serialization from bundlers)
777
+ * When Uint8Array passes through Next.js/bundlers, it can become {0: x, 1: y, ...}
778
+ */
779
+ private ensureUint8Array;
775
780
  private hexToField;
776
781
  private fieldToBytes32;
777
782
  private computeSenderCommitment;
@@ -772,6 +772,11 @@ declare class BrowserNoirProvider implements ProofProvider {
772
772
  private assetIdToField;
773
773
  private bytesToField;
774
774
  private bigintToBytes;
775
+ /**
776
+ * Ensure input is a proper Uint8Array (handles serialization from bundlers)
777
+ * When Uint8Array passes through Next.js/bundlers, it can become {0: x, 1: y, ...}
778
+ */
779
+ private ensureUint8Array;
775
780
  private hexToField;
776
781
  private fieldToBytes32;
777
782
  private computeSenderCommitment;
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-CLgrUxac.mjs';
1
+ export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-DXxpjdTW.mjs';
2
2
  export { Asset, AuditLogEntry, AuditScope, AuditorRegistration, AuditorViewingKey, BatchPaymentRecipient, BatchPaymentRequest, ChainId, Commitment, ComplianceConfig, ComplianceReport, ComplianceRole, CreateBatchProposalParams, CreateComplianceConfigParams, CreateIntentParams, CreatePaymentParams, CreatePaymentProposalParams, CreatePrivateOwnershipParams, CreateTreasuryParams, DefuseAssetId, DisclosedTransaction, DisclosureRequest, FulfillmentCommitment, FulfillmentProof, FulfillmentRequest, FulfillmentResult, FulfillmentStatus, GenerateReportParams, Hash, HexString, WalletAdapter as IWalletAdapter, IntentStatus, NATIVE_TOKENS, OneClickConfig, OneClickDepositMode, OneClickErrorCode, OneClickQuoteRequest, OneClickQuoteResponse, OneClickStatusResponse, OneClickSwapStatus, OneClickSwapType, OwnershipProof, OwnershipVerification, PaymentPurpose, PaymentReceipt, PaymentStatus, PaymentStatusType, PrivacyLevel, PrivateNFTOwnership, PrivateWalletAdapter, ProposalSignature, ProposalStatus, ProposalStatusType, ProposalType, ProveOwnershipParams, Quote, RegisterAuditorParams, ReportData, ReportFormat, ReportStatus, ReportStatusType, ReportType, SIPSolver, SIP_VERSION, ShieldedIntent, ShieldedPayment, Signature, SignedTransaction, Solver, SolverCapabilities, SolverEvent, SolverEventListener, SolverQuote, SolverVisibleIntent, StablecoinSymbol, StealthAddress, StealthAddressRecovery, StealthMetaAddress, SwapRoute, SwapRouteStep, TrackedIntent, TrackedPayment, TransactionReceipt, TreasuryBalance, TreasuryConfig, TreasuryMember, TreasuryProposal, TreasuryRole, TreasuryTransaction, UnsignedTransaction, ViewingKey, WalletAccountChangedEvent, WalletAdapterFactory, WalletChainChangedEvent, WalletConnectEvent, WalletConnectionState, WalletDisconnectEvent, WalletErrorCode, WalletErrorEvent, WalletEvent, WalletEventHandler, WalletEventType, WalletInfo, WalletRegistryEntry, WalletShieldedSendParams, WalletShieldedSendResult, ZKProof, ZcashAccountAddress, ZcashAccountBalance, ZcashAddressInfo, ZcashAddressType, ZcashBlock, ZcashBlockHeader, ZcashBlockchainInfo, ZcashConfig, ZcashErrorCode, ZcashNetwork, ZcashNetworkInfo, ZcashNewAccount, ZcashOperation, ZcashOperationError, ZcashOperationStatus, ZcashOperationTxResult, ZcashPool, ZcashPoolBalance, ZcashPrivacyPolicy, ZcashReceiverType, ZcashSendRecipient, ZcashShieldedSendParams, ZcashUnspentNote, isPrivate, supportsViewingKey } from '@sip-protocol/types';
3
3
  export { a as FulfillmentProofParams, F as FundingProofParams, N as NoirProviderConfig, O as OracleAttestation, d as ProofFramework, b as ProofGenerationError, c as ProofProvider, P as ProofResult, V as ValidityProofParams } from './noir-DKfEzWy9.mjs';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-Dm5Sdjkd.js';
1
+ export { bH as ATTESTATION_VERSION, az as AptosStealthResult, al as AptosStealthService, bT as AttestationRequest, bU as AttestationResult, dB as AuditReport, dx as AuditorKeyDerivation, dy as AuditorType, cf as BackendCapabilities, e7 as BaseWalletAdapter, dX as BidReceipt, d2 as BitcoinNetwork, cP as BridgeProvider, t as BrowserNoirProviderConfig, bK as CHAIN_NUMERIC_IDS, aG as COSMOS_CHAIN_PREFIXES, dM as CSVExport, e2 as CastVoteParams, b8 as CommitmentPoint, dt as ComplianceManager, du as ComplianceReporter, dw as ConditionalDisclosure, aH as CosmosChainId, aI as CosmosStealthResult, aB as CosmosStealthService, dY as CreateBidParams, $ as CreateIntentOptions, dq as CreatePaymentOptions, C as CryptoError, bI as DEFAULT_THRESHOLD, bJ as DEFAULT_TOTAL_ORACLES, dC as DecryptedTransaction, eF as DerivationPath, dP as DeriveMultipleParams, dO as DeriveViewingKeyParams, dN as DerivedViewingKey, f6 as EIP1193ConnectInfo, f5 as EIP1193Event, f3 as EIP1193Provider, f7 as EIP1193ProviderRpcError, f4 as EIP1193RequestArguments, f8 as EIP712Domain, f9 as EIP712TypeDefinition, fb as EIP712TypedData, fa as EIP712Types, e0 as EncryptedVote, w as EncryptionNotImplementedError, E as ErrorCode, fh as EthereumAdapterConfig, eC as EthereumChainId, fi as EthereumChainIdType, ff as EthereumChainMetadata, fe as EthereumTokenMetadata, fd as EthereumTransactionReceipt, fc as EthereumTransactionRequest, eq as EthereumWalletAdapter, fg as EthereumWalletName, dE as ExportForRegulatorParams, cG as ExportedViewingKey, dI as FATFExport, dJ as FATFTransaction, dK as FINCENExport, dL as FINCENTransaction, co as FindBestRouteParams, dA as GenerateAuditReportParams, fw as HardwareAccount, fn as HardwareConnectionStatus, fp as HardwareDeviceInfo, eD as HardwareErrorCode, fy as HardwareErrorCodeType, fu as HardwareEthereumTx, ft as HardwareSignRequest, fv as HardwareSignature, fx as HardwareTransport, fq as HardwareWalletConfig, eE as HardwareWalletError, fk as HardwareWalletType, L as IntentBuilder, I as IntentError, dH as Jurisdiction, fr as LedgerConfig, fl as LedgerModel, eL as LedgerWalletAdapter, es as MockEthereumAdapter, fj as MockEthereumAdapterConfig, fz as MockHardwareConfig, eP as MockLedgerAdapter, br as MockProofProvider, ei as MockSolanaAdapter, f2 as MockSolanaAdapterConfig, c1 as MockSolver, c3 as MockSolverConfig, eQ as MockTrezorAdapter, e8 as MockWalletAdapter, bX as NEARIntentsAdapter, c0 as NEARIntentsAdapterConfig, cp as NEARIntentsBackend, N as NetworkError, bG as ORACLE_DOMAIN, bW as OneClickClient, bO as OracleAttestationMessage, bL as OracleId, bN as OracleInfo, bR as OracleRegistry, bS as OracleRegistryConfig, bP as OracleSignature, bM as OracleStatus, d3 as PaymentBuilder, dD as PdfExportOptions, b7 as PedersenCommitment, b_ as PreparedSwap, cQ as PriceFeed, aP as PrivacyConfig, e3 as PrivateNFT, d_ as PrivateVoting, K as ProductionQuote, u as ProofError, v as ProofNotImplementedError, P as ProofProgressCallback, cn as QuoteComparison, cE as ReceivedNote, dF as RegulatoryExport, dG as RegulatoryFormat, e1 as RevealedVote, cj as Route, cm as RouteWithQuote, F as SIP, J as SIPConfig, S as SIPError, dd as STABLECOIN_ADDRESSES, de as STABLECOIN_DECIMALS, dc as STABLECOIN_INFO, dW as SealedBid, dU as SealedBidAuction, D as SerializedError, cg as SettlementBackend, ch as SettlementBackendFactory, c7 as SettlementBackendName, ci as SettlementBackendRegistry, c9 as SettlementQuote, c8 as SettlementQuoteParams, c5 as SettlementRegistry, c6 as SettlementRegistryError, cc as SettlementSwapParams, cd as SettlementSwapResult, ca as SettlementSwapRoute, cb as SettlementSwapRouteStep, cF as ShieldedBalance, cC as ShieldedSendParams, cD as ShieldedSendResult, bQ as SignedOracleAttestation, ck as SmartRouter, eZ as SolanaAdapterConfig, eY as SolanaCluster, e_ as SolanaConnection, eT as SolanaPublicKey, e$ as SolanaSendOptions, f1 as SolanaSignature, eU as SolanaTransaction, f0 as SolanaUnsignedTransaction, eV as SolanaVersionedTransaction, eg as SolanaWalletAdapter, eX as SolanaWalletName, eW as SolanaWalletProvider, dr as StablecoinInfo, ak as StealthCurve, aA as SuiStealthResult, as as SuiStealthService, bZ as SwapRequest, b$ as SwapResult, c4 as SwapStatus, ce as SwapStatusResponse, d1 as TapScript, d0 as TaprootOutput, dQ as ThresholdShares, dz as ThresholdViewingKey, dT as TimeLockParams, dR as TimeLockResult, aQ as TransactionData, fo as TransportType, ds as Treasury, fs as TrezorConfig, fm as TrezorModel, eN as TrezorWalletAdapter, dS as UnlockResult, V as ValidationError, bV as VerificationResult, dZ as VerifyBidParams, W as WalletAdapter, e9 as WalletError, cr as ZcashNativeBackend, ct as ZcashNativeBackendConfig, cL as ZcashQuote, cK as ZcashQuoteParams, cu as ZcashRPCClient, cv as ZcashRPCError, cx as ZcashShieldedService, cB as ZcashShieldedServiceConfig, cM as ZcashSwapParams, cN as ZcashSwapResult, cz as ZcashSwapService, cH as ZcashSwapServiceConfig, cI as ZcashSwapSourceChain, cJ as ZcashSwapSourceToken, cO as ZcashSwapStatus, b3 as addBlindings, b1 as addCommitments, bx as addOracle, aq as aptosAddressToAuthKey, Q as attachProofs, ep as base58ToHex, b as browserBytesToHex, h as browserHexToBytes, ao as checkAptosStealthAddress, ac as checkEd25519StealthAddress, a3 as checkStealthAddress, av as checkSuiStealthAddress, a_ as commit, b0 as commitZero, bE as computeAttestationHash, cW as computeTweakedKey, aR as createCommitment, er as createEthereumAdapter, cY as createKeySpendOnlyOutput, eM as createLedgerAdapter, et as createMockEthereumAdapter, eu as createMockEthereumProvider, eR as createMockLedgerAdapter, ej as createMockSolanaAdapter, el as createMockSolanaConnection, ek as createMockSolanaProvider, c2 as createMockSolver, eS as createMockTrezorAdapter, bY as createNEARIntentsAdapter, cq as createNEARIntentsBackend, bw as createOracleRegistry, e4 as createPrivateOwnership, d$ as createPrivateVoting, H as createProductionSIP, G as createSIP, dV as createSealedBidAuction, O as createShieldedIntent, d4 as createShieldedPayment, cl as createSmartRouter, eh as createSolanaAdapter, cX as createTaprootOutput, eO as createTrezorAdapter, ee as createWalletFactory, cw as createZcashClient, cs as createZcashNativeBackend, cy as createZcashShieldedService, cA as createZcashSwapService, a5 as decodeStealthMetaAddress, c_ as decodeTaprootAddress, d5 as decryptMemo, aN as decryptWithViewing, an as deriveAptosStealthPrivateKey, ab as deriveEd25519StealthPrivateKey, bv as deriveOracleId, a2 as deriveStealthPrivateKey, au as deriveSuiStealthPrivateKey, aL as deriveViewingKey, bD as deserializeAttestationMessage, Z as deserializeIntent, da as deserializePayment, ew as detectEthereumWallets, en as detectSolanaWallets, ap as ed25519PublicKeyToAptosAddress, ag as ed25519PublicKeyToNearAddress, ad as ed25519PublicKeyToSolanaAddress, aw as ed25519PublicKeyToSuiAddress, a4 as encodeStealthMetaAddress, aM as encryptForViewing, eb as featureNotSupportedError, dp as formatStablecoinAmount, ey as fromHex, dn as fromStablecoinUnits, am as generateAptosStealthAddress, b6 as generateBlinding, aD as generateCosmosStealthAddress, aC as generateCosmosStealthMetaAddress, aa as generateEd25519StealthAddress, a9 as generateEd25519StealthMetaAddress, aT as generateIntentId, dv as generatePdfReport, aV as generateRandomBytes, a1 as generateStealthAddress, a0 as generateStealthMetaAddress, at as generateSuiStealthAddress, aK as generateViewingKey, bA as getActiveOracles, eK as getAvailableTransports, g as getBrowserInfo, bF as getChainNumericId, dl as getChainsForStablecoin, a8 as getCurveForChain, eB as getDefaultRpcEndpoint, eG as getDerivationPath, A as getErrorMessage, ev as getEthereumProvider, b5 as getGenerators, _ as getIntentSummary, db as getPaymentSummary, d8 as getPaymentTimeRemaining, aJ as getPrivacyConfig, aO as getPrivacyDescription, em as getSolanaProvider, df as getStablecoin, di as getStablecoinInfo, dg as getStablecoinsForChain, dj as getSupportedStablecoins, X as getTimeRemaining, cV as getXOnlyPublicKey, bB as hasEnoughOracles, y as hasErrorCode, R as hasRequiredProofs, aU as hash, ez as hexToNumber, i as isBrowser, a7 as isEd25519Chain, U as isExpired, be as isNonNegativeAmount, d7 as isPaymentExpired, ef as isPrivateWalletAdapter, x as isSIPError, dh as isStablecoin, dk as isStablecoinOnChain, bd as isValidAmount, ar as isValidAptosAddress, b9 as isValidChainId, bh as isValidCompressedPublicKey, aF as isValidCosmosAddress, bi as isValidEd25519PublicKey, bb as isValidHex, bc as isValidHexLength, aj as isValidNearAccountId, ai as isValidNearImplicitAddress, ba as isValidPrivacyLevel, bj as isValidPrivateKey, bk as isValidScalar, bf as isValidSlippage, af as isValidSolanaAddress, bg as isValidStealthMetaAddress, ay as isValidSuiAddress, c$ as isValidTaprootAddress, ah as nearAddressToEd25519PublicKey, eA as normalizeAddress, ax as normalizeSuiAddress, ea as notConnectedError, e5 as proveOwnership, a6 as publicKeyToEthAddress, ed as registerWallet, by as removeOracle, cR as schnorrSign, cT as schnorrSignHex, cS as schnorrVerify, cU as schnorrVerifyHex, aW as secureWipe, aX as secureWipeAll, bC as serializeAttestationMessage, Y as serializeIntent, d9 as serializePayment, bu as signAttestationMessage, ae as solanaAddressToEd25519PublicKey, eo as solanaPublicKeyToHex, aE as stealthKeyToCosmosAddress, b4 as subtractBlindings, b2 as subtractCommitments, a as supportsSharedArrayBuffer, eJ as supportsWebBluetooth, eI as supportsWebHID, eH as supportsWebUSB, s as supportsWebWorkers, cZ as taprootAddress, ex as toHex, dm as toStablecoinUnits, T as trackIntent, d6 as trackPayment, bz as updateOracleStatus, bm as validateAsset, bl as validateCreateIntentParams, bn as validateIntentInput, bo as validateIntentOutput, bq as validateScalar, bp as validateViewingKey, bs as verifyAttestation, aS as verifyCommitment, a$ as verifyOpening, bt as verifyOracleSignature, e6 as verifyOwnership, ec as walletRegistry, aY as withSecureBuffer, aZ as withSecureBufferSync, z as wrapError } from './index-C3N0yyPg.js';
2
2
  export { Asset, AuditLogEntry, AuditScope, AuditorRegistration, AuditorViewingKey, BatchPaymentRecipient, BatchPaymentRequest, ChainId, Commitment, ComplianceConfig, ComplianceReport, ComplianceRole, CreateBatchProposalParams, CreateComplianceConfigParams, CreateIntentParams, CreatePaymentParams, CreatePaymentProposalParams, CreatePrivateOwnershipParams, CreateTreasuryParams, DefuseAssetId, DisclosedTransaction, DisclosureRequest, FulfillmentCommitment, FulfillmentProof, FulfillmentRequest, FulfillmentResult, FulfillmentStatus, GenerateReportParams, Hash, HexString, WalletAdapter as IWalletAdapter, IntentStatus, NATIVE_TOKENS, OneClickConfig, OneClickDepositMode, OneClickErrorCode, OneClickQuoteRequest, OneClickQuoteResponse, OneClickStatusResponse, OneClickSwapStatus, OneClickSwapType, OwnershipProof, OwnershipVerification, PaymentPurpose, PaymentReceipt, PaymentStatus, PaymentStatusType, PrivacyLevel, PrivateNFTOwnership, PrivateWalletAdapter, ProposalSignature, ProposalStatus, ProposalStatusType, ProposalType, ProveOwnershipParams, Quote, RegisterAuditorParams, ReportData, ReportFormat, ReportStatus, ReportStatusType, ReportType, SIPSolver, SIP_VERSION, ShieldedIntent, ShieldedPayment, Signature, SignedTransaction, Solver, SolverCapabilities, SolverEvent, SolverEventListener, SolverQuote, SolverVisibleIntent, StablecoinSymbol, StealthAddress, StealthAddressRecovery, StealthMetaAddress, SwapRoute, SwapRouteStep, TrackedIntent, TrackedPayment, TransactionReceipt, TreasuryBalance, TreasuryConfig, TreasuryMember, TreasuryProposal, TreasuryRole, TreasuryTransaction, UnsignedTransaction, ViewingKey, WalletAccountChangedEvent, WalletAdapterFactory, WalletChainChangedEvent, WalletConnectEvent, WalletConnectionState, WalletDisconnectEvent, WalletErrorCode, WalletErrorEvent, WalletEvent, WalletEventHandler, WalletEventType, WalletInfo, WalletRegistryEntry, WalletShieldedSendParams, WalletShieldedSendResult, ZKProof, ZcashAccountAddress, ZcashAccountBalance, ZcashAddressInfo, ZcashAddressType, ZcashBlock, ZcashBlockHeader, ZcashBlockchainInfo, ZcashConfig, ZcashErrorCode, ZcashNetwork, ZcashNetworkInfo, ZcashNewAccount, ZcashOperation, ZcashOperationError, ZcashOperationStatus, ZcashOperationTxResult, ZcashPool, ZcashPoolBalance, ZcashPrivacyPolicy, ZcashReceiverType, ZcashSendRecipient, ZcashShieldedSendParams, ZcashUnspentNote, isPrivate, supportsViewingKey } from '@sip-protocol/types';
3
3
  export { a as FulfillmentProofParams, F as FundingProofParams, N as NoirProviderConfig, O as OracleAttestation, d as ProofFramework, b as ProofGenerationError, c as ProofProvider, P as ProofResult, V as ValidityProofParams } from './noir-DKfEzWy9.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sip-protocol/sdk",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "description": "Core SDK for Shielded Intents Protocol - Privacy layer for cross-chain transactions",
5
5
  "author": "SIP Protocol <hello@sip-protocol.org>",
6
6
  "homepage": "https://sip-protocol.org",
@@ -682,7 +682,9 @@ export class BrowserNoirProvider implements ProofProvider {
682
682
  pubKeyX = Array.from(params.senderPublicKey.x)
683
683
  pubKeyY = Array.from(params.senderPublicKey.y)
684
684
  } else {
685
- const coords = this.getPublicKeyCoordinates(params.senderSecret)
685
+ // Ensure senderSecret is a proper Uint8Array (handles bundler serialization)
686
+ const senderSecretBytes = this.ensureUint8Array(params.senderSecret)
687
+ const coords = this.getPublicKeyCoordinates(senderSecretBytes)
686
688
  pubKeyX = coords.x
687
689
  pubKeyY = coords.y
688
690
  }
@@ -1029,11 +1031,13 @@ export class BrowserNoirProvider implements ProofProvider {
1029
1031
  return result.toString(16).padStart(64, '0')
1030
1032
  }
1031
1033
 
1032
- private bytesToField(bytes: Uint8Array): string {
1034
+ private bytesToField(bytes: Uint8Array | ArrayLike<number>): string {
1035
+ // Ensure we have a proper Uint8Array (handles bundler serialization)
1036
+ const arr = this.ensureUint8Array(bytes)
1033
1037
  let result = 0n
1034
- const len = Math.min(bytes.length, 31)
1038
+ const len = Math.min(arr.length, 31)
1035
1039
  for (let i = 0; i < len; i++) {
1036
- result = result * 256n + BigInt(bytes[i])
1040
+ result = result * 256n + BigInt(arr[i])
1037
1041
  }
1038
1042
  // Return hex format with 0x prefix to match other field inputs
1039
1043
  return `0x${result.toString(16)}`
@@ -1049,6 +1053,19 @@ export class BrowserNoirProvider implements ProofProvider {
1049
1053
  return bytes
1050
1054
  }
1051
1055
 
1056
+ /**
1057
+ * Ensure input is a proper Uint8Array (handles serialization from bundlers)
1058
+ * When Uint8Array passes through Next.js/bundlers, it can become {0: x, 1: y, ...}
1059
+ */
1060
+ private ensureUint8Array(input: Uint8Array | ArrayLike<number>): Uint8Array {
1061
+ if (input instanceof Uint8Array) {
1062
+ return input
1063
+ }
1064
+ // Handle serialized Uint8Array (object with numeric keys)
1065
+ const values = Object.values(input).map(Number)
1066
+ return new Uint8Array(values)
1067
+ }
1068
+
1052
1069
  private hexToField(hex: string): string {
1053
1070
  const h = hex.startsWith('0x') ? hex.slice(2) : hex
1054
1071
  return h.padStart(64, '0')