@zkp2p/sdk 0.16.0-rc.0 → 0.16.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as DisputeVerifyBody, d as AttestationServiceDisputeVerifyResponse, e as SellerCredentialUploadInput, f as SellerCredentialUploadPlatform, g as SellerCredentialAttestationRuntime, h as AttestationServiceSellerCredentialUploadResponse, i as BuyerTeeSessionMaterialEncryptionInput, j as DisputeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, k as CreateReferralCodeRequest, l as ApiAdapterOptions, m as CreateReferralCodeResponse, n as ReferralReadRequest, o as ReferralDashboardResponse, p as ReferralEarningsResponse, q as ReferralCodeLookupResponse, r as RedeemReferralCodeRequest, s as RedeemReferralCodeResponse, t as UpdateReferralCodeRequest, u as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, v as GoogleOAuthSellerCredentialUploadBodyByPlatform, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, w as SellerPlatform, x as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, y as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, z as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, E as PostDepositDetailsResponse, F as GetPayeeDetailsRequest, H as GetPayeeDetailsResponse, J as GetOwnerDepositsRequest, K as GetOwnerDepositsResponse, L as GetDepositBundleParams, N as GetDepositBundleResponse, O as GetOrderbookParams, T as GetOrderbookResponse, W as GetOrderbookTableResponse, X as QuoteRequest, Y as QuoteResponse, Z as CuratorMetadata, _ as CurrencyType, $ as PaymentMethodCatalog, a0 as TxOverrides, a1 as RuntimeEnv$1, a2 as DisputeProtectionIntent, a3 as IndexerAuthTokenProvider, a4 as GetQuoteSingleResponse, a5 as BuyerTeePaymentProofInput, a6 as IntentStatus, a7 as CuratorPayeeDataInput, a8 as PreparedTransaction } from './vaultUtils-DZMTnUHJ.mjs';
2
- export { d_ as AccessPolicyOperations, d$ as AccessPolicyUnsupportedError, aG as ActionCallback, e9 as ActiveDisputeProtectionStack, e0 as AddressGroup, bo as AmazonPayCredentialUploadInput, bp as AmazonPayIdentityAttestationOutput, b8 as ApiDeposit, bf as ApiIntentStatus, bT as AttestationServiceSellerCredentialProbeResponse, aE as AuthorizationTokenProvider, dX as BatchResult, aR as BestByPlatformResponseObject, bU as BuyerTeePaymentParams, bV as BuyerTeeSessionMaterial, ah as CancelIntentMethodParams, aQ as CancelIntentParams, bB as CashAppCredentialUploadInput, br as CashAppSessionMaterial, aA as ContractRouter, aD as ContractRouterConfig, aK as CreateDepositConversionRate, aJ as CreateDepositParams, bW as CuratorSellerVerifyResponse, dg as Currency, dn as CurrencyData, dz as DISPUTE_PROTECTION_POLICY_ABI, em as DISPUTE_PROTECTION_POLICY_V2_ABI, ef as DeferredPayout, eg as DeferredPayoutLog, dW as DelegationDepositTarget, dU as DelegationRoute, dV as DelegationState, dI as Deposit, dK as DepositCurrency, cf as DepositIntentStatistics, bb as DepositStatus, b9 as DepositVerifier, ba as DepositVerifierCurrency, cd as DepositVerifierData, dH as DepositView, ap as DisputeAttestationConfig, cL as DisputeProtectionIntentPage, cM as DisputeProtectionIntentPageParams, e7 as DisputeProtectionIntentStatus, ar as DisputeProtectionReadinessOptions, as as DisputeProtectionReadinessResult, aq as DisputeProtectionVerifiedStack, aB as EscrowContractContext, ai as ExtendIntentMethodParams, b4 as FiatResponse, bS as FulfillIntentAttestationResponse, ag as FulfillIntentMethodParams, aO as FulfillIntentParams, aS as GetBestByPlatformResponse, aT as GetBestByPlatformResponseObject, bc as GetDepositByIdRequest, bd as GetDepositByIdResponse, bk as GetIntentByHashRequest, bl as GetIntentByHashResponse, bi as GetIntentsByDepositRequest, bj as GetIntentsByDepositResponse, aX as GetNearbyQuote, aY as GetNearbySuggestions, bg as GetOwnerIntentsRequest, bh as GetOwnerIntentsResponse, aU as GetPlatformQuote, aZ as GetQuoteResponse, a_ as GetQuoteResponseObject, b$ as GetSellerCredentialStatusParams, e1 as ICloudMailCredentialError, e3 as ICloudMailCredentialErrorReason, e4 as ICloudMailSellerPlatform, c6 as IdentityAttestationActionType, c7 as IdentityAttestationOutput, c8 as IdentityAttestationOutputFor, c9 as IdentityAttestationParams, cN as IndexedDisputeProtectionIntent, cO as IndexedPage, cP as IndexedPageAsOf, cQ as IndexedRiskWindow, cR as IndexedStakeActivity, cT as IndexedStakeLock, cS as IndexedStakeTotals, cU as IndexedStakingRowFreshness, cV as IndexedStakingState, cW as IndexedStakingStateParams, cX as IndexedTakerAuthorization, cY as IndexedTakerStakeAuthorization, cl as IndexerClient, da as IndexerDeploymentEnv, ct as IndexerDeposit, cJ as IndexerDepositDailySnapshot, d1 as IndexerDepositFilter, cI as IndexerDepositFundActivity, cK as IndexerDepositFundActivityType, d4 as IndexerDepositOrderDirection, d3 as IndexerDepositOrderField, d2 as IndexerDepositPagination, cw as IndexerDepositPaymentMethod, cn as IndexerDepositService, dd as IndexerFulfillmentAndPaymentResponse, db as IndexerFulfillmentRecord, cu as IndexerIntentFulfilled, cv as IndexerIntentFulfillmentAmounts, cB as IndexerManagerAggregateStats, cD as IndexerManagerDailySnapshot, cC as IndexerManagerStats, cG as IndexerManualRateUpdate, cx as IndexerMethodCurrency, cH as IndexerOracleConfigUpdate, dc as IndexerPaymentVerifiedRecord, cy as IndexerRateManager, cA as IndexerRateManagerDelegation, d7 as IndexerRateManagerDelegationPagination, cF as IndexerRateManagerDetail, d5 as IndexerRateManagerFilter, cE as IndexerRateManagerListItem, d9 as IndexerRateManagerOrderDirection, d8 as IndexerRateManagerOrderField, d6 as IndexerRateManagerPagination, cz as IndexerRateManagerRate, co as IndexerRateManagerService, cr as IndexerStakingService, be as Intent, ay as IntentGuardianErrorCode, au as IntentGuardianPolicy, av as IntentGuardianQuote, aw as IntentGuardianWriteFunction, ax as IntentGuardianWriteParams, dM as IntentView, ca as MakerIdentityAttestationRequestBody, cb as MakerIdentityPlatform, b6 as NearbyQuote, b7 as NearbySuggestions, dy as ORCHESTRATOR_V3_ABI, el as ORCHESTRATOR_V4_ABI, a9 as OfframpClient, cc as OnchainCurrency, dN as OnchainIntent, aC as OrchestratorContractContext, ce as OrderStats, cj as OrderbookEntry, ck as OrderbookTableRow, de as PAYMENT_PLATFORMS, bw as PayPalGoogleOAuthSellerCredentialUploadBody, bx as PayPalMailboxPayee, dJ as PaymentMethodData, df as PaymentPlatformType, ee as PayoutFulfilment, ea as PayoutState, ed as PayoutStatus, aV as PlatformQuote, b3 as QuoteFeesResponse, b2 as QuoteIntentResponse, b0 as QuoteMakerIdentity, aW as QuotePreference, a$ as QuoteResponseObject, b1 as QuoteSingleResponse, aL as Range, at as ReadDisputeAttestationConfigParams, ad as RedeemReferralCodeSignatureOptions, aa as ReferralBearerWriteOptions, dL as ReferralFee, ab as ReferralReadOptions, aH as ReferralRedemption, aI as ReferralSignatureBody, ac as ReferralSignatureOptions, bm as RegisterPayeeDetailsRequest, bn as RegisterPayeeDetailsResponse, bX as RegisteredSellerCredentialPlatform, bZ as RegisteredUploadSellerCredentialParams, aP as ReleaseFundsToPayerParams, dA as STAKE_VAULT_ABI, ek as STAKE_VAULT_V2_ABI, bQ as SellerAttestationOutput, bE as SellerCiphertextBundle, bJ as SellerCredentialBundleUpload, bR as SellerCredentialProbeResponse, bL as SellerCredentialStatus, bK as SellerCredentialStatusValue, bD as SellerCredentialUploadInputByPlatform, bP as SellerPaymentTypedDataValue, bI as SellerProbeInput, bF as SellerSignedCiphertextBundle, bN as SellerTypedDataField, bO as SellerTypedDataSpec, bH as SellerVerifyInput, bG as SellerVerifyIntentDetails, bM as SellerVerifyProxyBody, dZ as SendBatchFn, dY as SendTransactionFn, af as SignalIntentMethodParams, aN as SignalIntentParams, ae as SignalIntentReferralFee, cZ as StakeActivityPageParams, ch as StakeEnvironment, c_ as StakeLockPageParams, al as StakeVaultState, am as StakeVaultWriteFunction, an as StakeVaultWriteParams, c$ as StakingEntityIds, d0 as TakerStakeAuthorizationPageParams, ci as TakerStakeBalances, aF as TimeoutConfig, b5 as TokenResponse, aj as UpdateReferralCodeSignatureOptions, c3 as UploadGoogleOAuthSellerCredentialParams, e5 as UploadICloudMailSellerCredentialOptions, e6 as UploadICloudMailSellerCredentialParams, c4 as UploadMicrosoftOAuthSellerCredentialParams, c0 as UploadPayPalGoogleOAuthSellerCredentialParams, b_ as UploadSellerCredentialOptions, bY as UploadSellerCredentialParams, c1 as UploadVenmoGoogleOAuthSellerCredentialParams, c2 as UploadXMoneyGoogleOAuthSellerCredentialParams, cg as UsdcAmount, dC as V2ContractAbis, dB as V2ContractAddresses, bA as VenmoCredentialUploadInput, by as VenmoGoogleOAuthSellerCredentialUploadBody, bq as VenmoSessionMaterial, c5 as VerifySellerPaymentParams, bC as WiseCredentialUploadInput, bt as WiseProfileInfo, bv as WiseProfileNotFound, bu as WiseProfileSelectionRequired, bs as WiseSessionMaterial, aM as WithdrawDepositParams, bz as XMoneyGoogleOAuthSellerCredentialUploadBody, dO as ZERO_RATE_MANAGER_ID, a9 as Zkp2pClient, ak as Zkp2pClientOptions, cq as buildStakingEntityIds, dT as classifyDelegationState, az as classifyIntentGuardianError, cp as compareEventCursorIdsByRecency, dh as currencyInfo, cm as defaultIndexerEndpoint, dF as enrichPvDepositView, dG as enrichPvIntentView, cs as fetchIndexerFulfillmentAndPayment, dp as getContracts, dk as getCurrencyCodeFromHash, dj as getCurrencyInfoFromCountryCode, di as getCurrencyInfoFromHash, dS as getDelegationRoute, dv as getDisputeProtectionPolicyContract, ei as getDisputeProtectionPolicyV2Contract, dx as getGatingServiceAddress, dq as getIntentGuardianContract, du as getOrchestratorV3Contract, eh as getOrchestratorV4Contract, dw as getPaymentMethodsCatalog, eb as getPayoutStatuses, ds as getRateManagerContracts, dt as getStakeVaultContract, ej as getStakeVaultV2Contract, dr as hasIntentGuardian, e2 as isMailboxSellerCredentialType, dl as isSupportedCurrencyHash, dP as isZeroRateManagerId, dm as mapConversionRatesToOnchainMinRate, dQ as normalizeRateManagerId, dR as normalizeRegistry, ec as parseDeferredPayoutFromLogs, dD as parseDepositView, e8 as parseDisputeProtectionIntent, dE as parseIntentView, ao as readDisputeAttestationConfig } from './vaultUtils-DZMTnUHJ.mjs';
1
+ import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as DisputeVerifyBody, d as AttestationServiceDisputeVerifyResponse, e as SellerCredentialUploadInput, f as SellerCredentialUploadPlatform, g as SellerCredentialAttestationRuntime, h as AttestationServiceSellerCredentialUploadResponse, i as BuyerTeeSessionMaterialEncryptionInput, j as DisputeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, k as CreateReferralCodeRequest, l as ApiAdapterOptions, m as CreateReferralCodeResponse, n as ReferralReadRequest, o as ReferralDashboardResponse, p as ReferralEarningsResponse, q as ReferralCodeLookupResponse, r as RedeemReferralCodeRequest, s as RedeemReferralCodeResponse, t as UpdateReferralCodeRequest, u as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, v as GoogleOAuthSellerCredentialUploadBodyByPlatform, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, w as SellerPlatform, x as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, y as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, z as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, E as PostDepositDetailsResponse, F as GetPayeeDetailsRequest, H as GetPayeeDetailsResponse, J as GetOwnerDepositsRequest, K as GetOwnerDepositsResponse, L as GetDepositBundleParams, N as GetDepositBundleResponse, O as GetOrderbookParams, T as GetOrderbookResponse, W as GetOrderbookTableResponse, X as QuoteRequest, Y as QuoteResponse, Z as CuratorMetadata, _ as CurrencyType, $ as PaymentMethodCatalog, a0 as TxOverrides, a1 as RuntimeEnv$1, a2 as DisputeProtectionIntent, a3 as PreparedTransaction, a4 as IndexerAuthTokenProvider, a5 as GetQuoteSingleResponse, a6 as BuyerTeePaymentProofInput, a7 as IntentStatus, a8 as CuratorPayeeDataInput } from './vaultUtils-Dc5ez76H.mjs';
2
+ export { d_ as AccessPolicyOperations, d$ as AccessPolicyUnsupportedError, aG as ActionCallback, e9 as ActiveDisputeProtectionStack, e0 as AddressGroup, bo as AmazonPayCredentialUploadInput, bp as AmazonPayIdentityAttestationOutput, b8 as ApiDeposit, bf as ApiIntentStatus, bT as AttestationServiceSellerCredentialProbeResponse, aE as AuthorizationTokenProvider, dX as BatchResult, aR as BestByPlatformResponseObject, bU as BuyerTeePaymentParams, bV as BuyerTeeSessionMaterial, ah as CancelIntentMethodParams, aQ as CancelIntentParams, bB as CashAppCredentialUploadInput, br as CashAppSessionMaterial, aA as ContractRouter, aD as ContractRouterConfig, aK as CreateDepositConversionRate, aJ as CreateDepositParams, bW as CuratorSellerVerifyResponse, dg as Currency, dn as CurrencyData, dz as DISPUTE_PROTECTION_POLICY_ABI, em as DISPUTE_PROTECTION_POLICY_V2_ABI, ef as DeferredPayout, eg as DeferredPayoutLog, dW as DelegationDepositTarget, dU as DelegationRoute, dV as DelegationState, dI as Deposit, dK as DepositCurrency, cf as DepositIntentStatistics, bb as DepositStatus, b9 as DepositVerifier, ba as DepositVerifierCurrency, cd as DepositVerifierData, dH as DepositView, ap as DisputeAttestationConfig, cL as DisputeProtectionIntentPage, cM as DisputeProtectionIntentPageParams, e7 as DisputeProtectionIntentStatus, ar as DisputeProtectionReadinessOptions, as as DisputeProtectionReadinessResult, aq as DisputeProtectionVerifiedStack, aB as EscrowContractContext, ai as ExtendIntentMethodParams, b4 as FiatResponse, bS as FulfillIntentAttestationResponse, ag as FulfillIntentMethodParams, aO as FulfillIntentParams, aS as GetBestByPlatformResponse, aT as GetBestByPlatformResponseObject, bc as GetDepositByIdRequest, bd as GetDepositByIdResponse, bk as GetIntentByHashRequest, bl as GetIntentByHashResponse, bi as GetIntentsByDepositRequest, bj as GetIntentsByDepositResponse, aX as GetNearbyQuote, aY as GetNearbySuggestions, bg as GetOwnerIntentsRequest, bh as GetOwnerIntentsResponse, aU as GetPlatformQuote, aZ as GetQuoteResponse, a_ as GetQuoteResponseObject, b$ as GetSellerCredentialStatusParams, e1 as ICloudMailCredentialError, e3 as ICloudMailCredentialErrorReason, e4 as ICloudMailSellerPlatform, c6 as IdentityAttestationActionType, c7 as IdentityAttestationOutput, c8 as IdentityAttestationOutputFor, c9 as IdentityAttestationParams, cN as IndexedDisputeProtectionIntent, cO as IndexedPage, cP as IndexedPageAsOf, cQ as IndexedRiskWindow, cR as IndexedStakeActivity, cT as IndexedStakeLock, cS as IndexedStakeTotals, cU as IndexedStakingRowFreshness, cV as IndexedStakingState, cW as IndexedStakingStateParams, cX as IndexedTakerAuthorization, cY as IndexedTakerStakeAuthorization, cl as IndexerClient, da as IndexerDeploymentEnv, ct as IndexerDeposit, cJ as IndexerDepositDailySnapshot, d1 as IndexerDepositFilter, cI as IndexerDepositFundActivity, cK as IndexerDepositFundActivityType, d4 as IndexerDepositOrderDirection, d3 as IndexerDepositOrderField, d2 as IndexerDepositPagination, cw as IndexerDepositPaymentMethod, cn as IndexerDepositService, dd as IndexerFulfillmentAndPaymentResponse, db as IndexerFulfillmentRecord, cu as IndexerIntentFulfilled, cv as IndexerIntentFulfillmentAmounts, cB as IndexerManagerAggregateStats, cD as IndexerManagerDailySnapshot, cC as IndexerManagerStats, cG as IndexerManualRateUpdate, cx as IndexerMethodCurrency, cH as IndexerOracleConfigUpdate, dc as IndexerPaymentVerifiedRecord, cy as IndexerRateManager, cA as IndexerRateManagerDelegation, d7 as IndexerRateManagerDelegationPagination, cF as IndexerRateManagerDetail, d5 as IndexerRateManagerFilter, cE as IndexerRateManagerListItem, d9 as IndexerRateManagerOrderDirection, d8 as IndexerRateManagerOrderField, d6 as IndexerRateManagerPagination, cz as IndexerRateManagerRate, co as IndexerRateManagerService, cr as IndexerStakingService, be as Intent, ay as IntentGuardianErrorCode, au as IntentGuardianPolicy, av as IntentGuardianQuote, aw as IntentGuardianWriteFunction, ax as IntentGuardianWriteParams, dM as IntentView, ca as MakerIdentityAttestationRequestBody, cb as MakerIdentityPlatform, b6 as NearbyQuote, b7 as NearbySuggestions, dy as ORCHESTRATOR_V3_ABI, el as ORCHESTRATOR_V4_ABI, a9 as OfframpClient, cc as OnchainCurrency, dN as OnchainIntent, aC as OrchestratorContractContext, ce as OrderStats, cj as OrderbookEntry, ck as OrderbookTableRow, de as PAYMENT_PLATFORMS, bw as PayPalGoogleOAuthSellerCredentialUploadBody, bx as PayPalMailboxPayee, dJ as PaymentMethodData, df as PaymentPlatformType, ee as PayoutFulfilment, ea as PayoutState, ed as PayoutStatus, aV as PlatformQuote, b3 as QuoteFeesResponse, b2 as QuoteIntentResponse, b0 as QuoteMakerIdentity, aW as QuotePreference, a$ as QuoteResponseObject, b1 as QuoteSingleResponse, aL as Range, at as ReadDisputeAttestationConfigParams, ad as RedeemReferralCodeSignatureOptions, aa as ReferralBearerWriteOptions, dL as ReferralFee, ab as ReferralReadOptions, aH as ReferralRedemption, aI as ReferralSignatureBody, ac as ReferralSignatureOptions, bm as RegisterPayeeDetailsRequest, bn as RegisterPayeeDetailsResponse, bX as RegisteredSellerCredentialPlatform, bZ as RegisteredUploadSellerCredentialParams, aP as ReleaseFundsToPayerParams, dA as STAKE_VAULT_ABI, ek as STAKE_VAULT_V2_ABI, bQ as SellerAttestationOutput, bE as SellerCiphertextBundle, bJ as SellerCredentialBundleUpload, bR as SellerCredentialProbeResponse, bL as SellerCredentialStatus, bK as SellerCredentialStatusValue, bD as SellerCredentialUploadInputByPlatform, bP as SellerPaymentTypedDataValue, bI as SellerProbeInput, bF as SellerSignedCiphertextBundle, bN as SellerTypedDataField, bO as SellerTypedDataSpec, bH as SellerVerifyInput, bG as SellerVerifyIntentDetails, bM as SellerVerifyProxyBody, dZ as SendBatchFn, dY as SendTransactionFn, af as SignalIntentMethodParams, aN as SignalIntentParams, ae as SignalIntentReferralFee, cZ as StakeActivityPageParams, ch as StakeEnvironment, c_ as StakeLockPageParams, al as StakeVaultState, am as StakeVaultWriteFunction, an as StakeVaultWriteParams, c$ as StakingEntityIds, d0 as TakerStakeAuthorizationPageParams, ci as TakerStakeBalances, aF as TimeoutConfig, b5 as TokenResponse, aj as UpdateReferralCodeSignatureOptions, c3 as UploadGoogleOAuthSellerCredentialParams, e5 as UploadICloudMailSellerCredentialOptions, e6 as UploadICloudMailSellerCredentialParams, c4 as UploadMicrosoftOAuthSellerCredentialParams, c0 as UploadPayPalGoogleOAuthSellerCredentialParams, b_ as UploadSellerCredentialOptions, bY as UploadSellerCredentialParams, c1 as UploadVenmoGoogleOAuthSellerCredentialParams, c2 as UploadXMoneyGoogleOAuthSellerCredentialParams, cg as UsdcAmount, dC as V2ContractAbis, dB as V2ContractAddresses, bA as VenmoCredentialUploadInput, by as VenmoGoogleOAuthSellerCredentialUploadBody, bq as VenmoSessionMaterial, c5 as VerifySellerPaymentParams, bC as WiseCredentialUploadInput, bt as WiseProfileInfo, bv as WiseProfileNotFound, bu as WiseProfileSelectionRequired, bs as WiseSessionMaterial, aM as WithdrawDepositParams, bz as XMoneyGoogleOAuthSellerCredentialUploadBody, dO as ZERO_RATE_MANAGER_ID, a9 as Zkp2pClient, ak as Zkp2pClientOptions, cq as buildStakingEntityIds, dT as classifyDelegationState, az as classifyIntentGuardianError, cp as compareEventCursorIdsByRecency, dh as currencyInfo, cm as defaultIndexerEndpoint, dF as enrichPvDepositView, dG as enrichPvIntentView, cs as fetchIndexerFulfillmentAndPayment, dp as getContracts, dk as getCurrencyCodeFromHash, dj as getCurrencyInfoFromCountryCode, di as getCurrencyInfoFromHash, dS as getDelegationRoute, dv as getDisputeProtectionPolicyContract, ei as getDisputeProtectionPolicyV2Contract, dx as getGatingServiceAddress, dq as getIntentGuardianContract, du as getOrchestratorV3Contract, eh as getOrchestratorV4Contract, dw as getPaymentMethodsCatalog, eb as getPayoutStatuses, ds as getRateManagerContracts, dt as getStakeVaultContract, ej as getStakeVaultV2Contract, dr as hasIntentGuardian, e2 as isMailboxSellerCredentialType, dl as isSupportedCurrencyHash, dP as isZeroRateManagerId, dm as mapConversionRatesToOnchainMinRate, dQ as normalizeRateManagerId, dR as normalizeRegistry, ec as parseDeferredPayoutFromLogs, dD as parseDepositView, e8 as parseDisputeProtectionIntent, dE as parseIntentView, ao as readDisputeAttestationConfig } from './vaultUtils-Dc5ez76H.mjs';
3
3
  import { DisputePlatform, DisputeActionTypeByPlatform } from '@zkp2p/zkp2p-attestation';
4
4
  export { DisputeActionTypeByPlatform, DisputeAttestationOutput, DisputeAttestationOutputFor, DisputeDetails, DisputePlatform, IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VenmoEmailBuyerTeeParams, VenmoEmailBuyerTeeSessionMaterial, VenmoNonPaymentDisputeParams, VenmoNonPaymentDisputeSessionMaterial, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient, verifyDisputeAttestation } from '@zkp2p/zkp2p-attestation';
5
5
  import { Hash, Address, Hex, WalletClient, PublicClient, Transport, Log } from 'viem';
@@ -1082,6 +1082,121 @@ declare function mayRequireDisputeProtection({ paymentMethod, depositToken, stak
1082
1082
  whitelistEnabled: boolean;
1083
1083
  }): boolean;
1084
1084
 
1085
+ interface SellSourceAsset {
1086
+ chainId: number;
1087
+ address: string;
1088
+ symbol: string;
1089
+ decimals: number;
1090
+ name?: string;
1091
+ isNative?: boolean;
1092
+ }
1093
+ interface SellSourceChain {
1094
+ id: number;
1095
+ name: string;
1096
+ displayName: string;
1097
+ disabled: boolean;
1098
+ depositEnabled: boolean;
1099
+ blockProductionLagging: boolean;
1100
+ vmType?: string;
1101
+ tokens: SellSourceAsset[];
1102
+ }
1103
+ interface SellSourceCapabilities {
1104
+ destination: SellSourceAsset;
1105
+ chains: SellSourceChain[];
1106
+ source: 'relay';
1107
+ asOf: number;
1108
+ }
1109
+ /** A token in Relay's `/chains` response. */
1110
+ interface RelayChainToken {
1111
+ address: string;
1112
+ symbol: string;
1113
+ decimals: number;
1114
+ name?: string;
1115
+ metadata?: {
1116
+ isNative?: boolean;
1117
+ };
1118
+ }
1119
+ /** The fields of a Relay `/chains` entry that source discovery reads. */
1120
+ interface RelayChain {
1121
+ id: number;
1122
+ name: string;
1123
+ displayName: string;
1124
+ disabled?: boolean;
1125
+ depositEnabled?: boolean;
1126
+ blockProductionLagging?: boolean;
1127
+ vmType?: string;
1128
+ currency: RelayChainToken;
1129
+ featuredTokens?: RelayChainToken[];
1130
+ erc20Currencies?: RelayChainToken[];
1131
+ solverCurrencies?: RelayChainToken[];
1132
+ }
1133
+ /** Relay's `/quote/v2` response, plus the request that produced it (credentials removed). */
1134
+ interface RelayQuoteResponse {
1135
+ steps: {
1136
+ requestId?: string;
1137
+ items: {
1138
+ data?: unknown;
1139
+ }[];
1140
+ }[];
1141
+ details?: unknown;
1142
+ fees?: unknown;
1143
+ request?: {
1144
+ url: string;
1145
+ method: 'post';
1146
+ data: Record<string, unknown>;
1147
+ };
1148
+ [key: string]: unknown;
1149
+ }
1150
+ interface RelayOptions {
1151
+ /** Relay API origin; defaults to {@link RELAY_API_URL}. */
1152
+ apiUrl?: string;
1153
+ /** Sent as `x-api-key` to Relay's own API origins only. */
1154
+ apiKey?: string;
1155
+ /** Relay `referrer`; defaults to `peer-cash`, the code Peer sales already use. */
1156
+ source?: string;
1157
+ /** Use this chain list instead of fetching Relay's `/chains`. */
1158
+ chains?: RelayChain[];
1159
+ fetch?: typeof fetch;
1160
+ }
1161
+ interface RelaySourceInput {
1162
+ chainId: number;
1163
+ currency: string;
1164
+ }
1165
+ interface RelayQuoteInput {
1166
+ user: string;
1167
+ /** Interpreted according to `tradeType`; defaults to exact source input. */
1168
+ amount: bigint;
1169
+ source: RelaySourceInput;
1170
+ recipient?: string;
1171
+ tradeType?: 'EXACT_INPUT' | 'EXACT_OUTPUT' | 'EXPECTED_OUTPUT';
1172
+ }
1173
+ interface RelayQuote {
1174
+ requestId?: string;
1175
+ source: SellSourceAsset;
1176
+ destination: SellSourceAsset;
1177
+ /** Source amount Relay expects the route to consume. */
1178
+ inputAmount: bigint;
1179
+ /** Conservative Base USDC output (Relay minimum output when supplied). */
1180
+ outputAmount: bigint;
1181
+ rate?: number;
1182
+ timeEstimateSeconds?: number;
1183
+ fees?: unknown;
1184
+ txs: PreparedTransaction[];
1185
+ raw: RelayQuoteResponse;
1186
+ }
1187
+ interface RelayStatus {
1188
+ requestId: string;
1189
+ status: 'refund' | 'waiting' | 'depositing' | 'failure' | 'pending' | 'submitted' | 'success';
1190
+ details?: string;
1191
+ inTxHashes: string[];
1192
+ txHashes: string[];
1193
+ updatedAt?: number;
1194
+ originChainId?: number;
1195
+ destinationChainId?: number;
1196
+ quoteCreatedAt?: number;
1197
+ raw: unknown;
1198
+ }
1199
+
1085
1200
  interface PeerOptions {
1086
1201
  /** `'production' | 'preproduction' | 'staging'` - selects contracts, curator, and indexer. */
1087
1202
  environment: RuntimeEnv$1;
@@ -1114,6 +1229,8 @@ interface PeerOptions {
1114
1229
  };
1115
1230
  /** Analytics-only ERC-8021 attribution code(s) appended to every sale transaction. */
1116
1231
  referrer?: string | string[];
1232
+ /** Relay API settings for `peer.sell` source routing. */
1233
+ relay?: RelayOptions;
1117
1234
  /**
1118
1235
  * Returns a Privy access token for the buyer's Peer account. `peer.buy()`
1119
1236
  * forwards it to Curator's intent signing, and `peer.buy.payment()` needs
@@ -1198,6 +1315,13 @@ interface PeerBuy {
1198
1315
  complete(input: BuyCompleteInput, opts: BuySignerOptions): Promise<{
1199
1316
  txHash: Hash;
1200
1317
  }>;
1318
+ /**
1319
+ * Cancel an open intent the buyer can't pay, so the seller's USDC returns to
1320
+ * the deposit now instead of at expiry. The signer must own the intent.
1321
+ */
1322
+ cancel(intentHash: Hash, opts: BuySignerOptions): Promise<{
1323
+ txHash: Hash;
1324
+ }>;
1201
1325
  }
1202
1326
 
1203
1327
  /**
@@ -1604,6 +1728,12 @@ interface PeerSell {
1604
1728
  finalizePrepared(receipt: PreparedSellReceipt): SellResult;
1605
1729
  /** Platforms, currencies, pricing semantics, amount bounds and payee hints. No network. */
1606
1730
  capabilities(): SellCapabilities;
1731
+ /** Relay source chains and tokens that can route into Base USDC. */
1732
+ sourceCapabilities(): Promise<SellSourceCapabilities>;
1733
+ /** Quote a Relay route from a source asset into Base USDC; unsigned transactions included. */
1734
+ quoteSource(input: RelayQuoteInput): Promise<RelayQuote>;
1735
+ /** Track a Relay route by its request id. */
1736
+ relayStatus(requestId: string): Promise<RelayStatus>;
1607
1737
  /** Oracle market-rate estimate: currency + amount only. No payee, no side effects. */
1608
1738
  estimate(input: EstimateInput, options?: EstimateOptions): Promise<SellEstimate>;
1609
1739
  /** 30-day demand and first-fill speed keyed by `platform:currency`. */
@@ -1644,7 +1774,7 @@ declare function createPeer(options: PeerOptions): Peer;
1644
1774
  * `code`, whether it is `retryable`, and a `remediation` sentence so agents
1645
1775
  * can self-drive recovery.
1646
1776
  */
1647
- type PeerErrorCode = 'ORACLE_UNSUPPORTED_CURRENCY' | 'ORACLE_READ_FAILED' | 'UNSUPPORTED_PLATFORM' | 'UNSUPPORTED_PLATFORM_CURRENCY' | 'AMOUNT_BELOW_MINIMUM' | 'INVALID_INTENT_AMOUNT_RANGE' | 'INVALID_PAYOUT_CURRENCIES' | 'INVALID_PAYOUT_PLATFORMS' | 'INVALID_REFERRAL_CODE' | 'INVALID_BRAND' | 'ACTIVE_INTENT_BLOCKS_WITHDRAWAL' | 'NOTHING_TO_WITHDRAW' | 'INSUFFICIENT_AVAILABLE_FUNDS' | 'INSUFFICIENT_TOKEN_BALANCE' | 'ORDER_NOT_ACTIVE' | 'INVALID_DEPOSIT_ID' | 'ESCROW_PAUSED' | 'INDEXER_UNAVAILABLE' | 'ORDER_NOT_FOUND' | 'PAYEE_REGISTRATION_FAILED' | 'PAYEE_VERIFICATION_REQUIRED' | 'PAYEE_NOT_FOUND' | 'DEPOSIT_RESOLUTION_FAILED' | 'ALLOWANCE_NOT_VISIBLE' | 'SIGNER_REQUIRED' | 'SIGNER_CHAIN_MISMATCH' | 'SIGNER_CHAIN_UNAVAILABLE' | 'WATCH_TIMEOUT' | 'TRANSACTION_REJECTED' | 'TRANSACTION_FAILED' | 'TRANSACTION_SUBMISSION_UNKNOWN' | 'TRANSACTION_STATUS_UNKNOWN' | 'QUOTE_EXPIRED' | 'INTENT_RESOLUTION_FAILED' | 'AUTHORIZATION_REQUIRED' | 'PAYEE_UNAVAILABLE' | 'NO_QUOTES' | 'TRANSACTION_PREPARATION_FAILED';
1777
+ type PeerErrorCode = 'ORACLE_UNSUPPORTED_CURRENCY' | 'ORACLE_READ_FAILED' | 'UNSUPPORTED_PLATFORM' | 'UNSUPPORTED_PLATFORM_CURRENCY' | 'AMOUNT_BELOW_MINIMUM' | 'INVALID_INTENT_AMOUNT_RANGE' | 'INVALID_PAYOUT_CURRENCIES' | 'INVALID_PAYOUT_PLATFORMS' | 'INVALID_REFERRAL_CODE' | 'INVALID_BRAND' | 'ACTIVE_INTENT_BLOCKS_WITHDRAWAL' | 'NOTHING_TO_WITHDRAW' | 'INSUFFICIENT_AVAILABLE_FUNDS' | 'INSUFFICIENT_TOKEN_BALANCE' | 'ORDER_NOT_ACTIVE' | 'INVALID_DEPOSIT_ID' | 'ESCROW_PAUSED' | 'INDEXER_UNAVAILABLE' | 'ORDER_NOT_FOUND' | 'PAYEE_REGISTRATION_FAILED' | 'PAYEE_VERIFICATION_REQUIRED' | 'PAYEE_NOT_FOUND' | 'SOURCE_CAPABILITIES_FAILED' | 'SOURCE_QUOTE_FAILED' | 'SOURCE_STATUS_FAILED' | 'DEPOSIT_RESOLUTION_FAILED' | 'ALLOWANCE_NOT_VISIBLE' | 'SIGNER_REQUIRED' | 'SIGNER_CHAIN_MISMATCH' | 'SIGNER_CHAIN_UNAVAILABLE' | 'WATCH_TIMEOUT' | 'TRANSACTION_REJECTED' | 'TRANSACTION_FAILED' | 'TRANSACTION_SUBMISSION_UNKNOWN' | 'TRANSACTION_STATUS_UNKNOWN' | 'QUOTE_EXPIRED' | 'INTENT_RESOLUTION_FAILED' | 'AUTHORIZATION_REQUIRED' | 'PAYEE_UNAVAILABLE' | 'NO_QUOTES' | 'TRANSACTION_PREPARATION_FAILED';
1648
1778
  interface PeerErrorShape {
1649
1779
  code: PeerErrorCode;
1650
1780
  message: string;
@@ -1692,4 +1822,4 @@ declare function usdc(amount: number | string): bigint;
1692
1822
  /** Format USDC base units back to a decimal string (no trailing zeros). */
1693
1823
  declare function formatUsdc(amount: bigint): string;
1694
1824
 
1695
- export { APIError, ApiAdapterOptions, AttestationServiceDisputeVerifyResponse, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, type BuyCompleteInput, type BuyOffer, type BuyPayment, type BuyQuoteInput, type BuyResult, type BuySignerOptions, BuyerTeePaymentProofInput, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialStatusResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, DISPUTE_WINDOW_POLICY, DisputeProtectionIntent, type DisputeProtectionIntentLookup, DisputeSessionMaterialEncryptionInput, DisputeVerifyBody, type DisputeWindowPaymentMethod, ErrorCode, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetQuoteSingleResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, IntentStatus as IndexerIntentStatus, type IntegerLike, type LogLevel, MIN_SELL_AMOUNT, MicrosoftOAuthSellerCredentialUploadBodyByPlatform, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorV4Intent, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type Peer, type PeerAuthenticateParams, type PeerBuy, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, PeerError, type PeerErrorCode, type PeerErrorRecovery, type PeerErrorShape, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerOptions, type PeerSarCredentialCapture, type PeerSell, PolicyGeneration, PostDepositDetailsRequest, PostDepositDetailsResponse, type PreparedSellReceipt, PreparedTransaction, type ProtectionV2, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, RECOMMENDED_MIN_SELL_AMOUNT, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RiskMode, RuntimeEnv$1 as RuntimeEnv, SDK_BUILD_METADATA, SELL_ATTRIBUTION_CODE, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, type SdkBuildMetadata, type SellBuyerProfile, type SellCapabilities, type SellCorridorPricing, type SellEstimate, type EstimateInput as SellEstimateInput, type EstimateOptions as SellEstimateOptions, type SellFill, type SellFillEta, type SellFillStats, type SellInput, type SellLeg, type SellMultiCurrencyLeg, type SellNextAction, type SellOrder, type SellOrderState, type SellOrdersOptions, type SellPairFillStats, type SellPayeeInput, type SellPayoutInfo, type SellPayoutPricing, type SellPlatformCapability, type SellPrepareResult, type SellPreparedPlan, type SellPreparedStep, type SellPreparedStepKind, type SellReceiveLeg, type SellResult, type SellTopUpResult, type SellWatchOptions, type SellWithdrawOptions, type SellWithdrawResult, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, SellerPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SignerOptions, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, type VenmoGmailAppearance, VenmoGmailConnectError, type VenmoGmailConnectResult, type VenmoGmailPopupOptions, XMoneyConnectError, type XMoneyConnectOptions, type XMoneyConnectResult, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetSellerCredentialStatus, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadMicrosoftOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, apiVerifyDispute, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createEncryptedDisputeSessionMaterial, createPeer, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, findDisputeProtectionIntent, formatUsdc, getAmazonPaySellerIdentity, getAttributionDataSuffix, getDefaultDisputeWindow, getPeerExtensionState, getSpreadOracleConfig, getVenmoGmailConnectUrl, getXMoneyConnectUrl, isPeerError, isPeerExtensionAvailable, isUserRejectedError, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, mayRequireDisputeProtection, normalizeReferralCode, openPeerExtensionInstallPage, openVenmoGmailConnect, openXMoneyConnect, parseReferrerFeeConfig, parseVenmoGmailAppearance, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, toSellBrandAttributionCode, toSellReferralAttributionCode, usdc, validateOracleFeedsOnChain };
1825
+ export { APIError, ApiAdapterOptions, AttestationServiceDisputeVerifyResponse, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, type BuyCompleteInput, type BuyOffer, type BuyPayment, type BuyQuoteInput, type BuyResult, type BuySignerOptions, BuyerTeePaymentProofInput, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialStatusResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, DISPUTE_WINDOW_POLICY, DisputeProtectionIntent, type DisputeProtectionIntentLookup, DisputeSessionMaterialEncryptionInput, DisputeVerifyBody, type DisputeWindowPaymentMethod, ErrorCode, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetQuoteSingleResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, IntentStatus as IndexerIntentStatus, type IntegerLike, type LogLevel, MIN_SELL_AMOUNT, MicrosoftOAuthSellerCredentialUploadBodyByPlatform, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorV4Intent, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type Peer, type PeerAuthenticateParams, type PeerBuy, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, PeerError, type PeerErrorCode, type PeerErrorRecovery, type PeerErrorShape, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerOptions, type PeerSarCredentialCapture, type PeerSell, PolicyGeneration, PostDepositDetailsRequest, PostDepositDetailsResponse, type PreparedSellReceipt, PreparedTransaction, type ProtectionV2, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, RECOMMENDED_MIN_SELL_AMOUNT, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RelayChain, type RelayChainToken, type RelayOptions, type RelayQuote, type RelayQuoteInput, type RelayQuoteResponse, type RelaySourceInput, type RelayStatus, type RiskMode, RuntimeEnv$1 as RuntimeEnv, SDK_BUILD_METADATA, SELL_ATTRIBUTION_CODE, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, type SdkBuildMetadata, type SellBuyerProfile, type SellCapabilities, type SellCorridorPricing, type SellEstimate, type EstimateInput as SellEstimateInput, type EstimateOptions as SellEstimateOptions, type SellFill, type SellFillEta, type SellFillStats, type SellInput, type SellLeg, type SellMultiCurrencyLeg, type SellNextAction, type SellOrder, type SellOrderState, type SellOrdersOptions, type SellPairFillStats, type SellPayeeInput, type SellPayoutInfo, type SellPayoutPricing, type SellPlatformCapability, type SellPrepareResult, type SellPreparedPlan, type SellPreparedStep, type SellPreparedStepKind, type SellReceiveLeg, type SellResult, type SellSourceAsset, type SellSourceCapabilities, type SellSourceChain, type SellTopUpResult, type SellWatchOptions, type SellWithdrawOptions, type SellWithdrawResult, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, SellerPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SignerOptions, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, type VenmoGmailAppearance, VenmoGmailConnectError, type VenmoGmailConnectResult, type VenmoGmailPopupOptions, XMoneyConnectError, type XMoneyConnectOptions, type XMoneyConnectResult, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetSellerCredentialStatus, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadMicrosoftOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, apiVerifyDispute, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createEncryptedDisputeSessionMaterial, createPeer, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, findDisputeProtectionIntent, formatUsdc, getAmazonPaySellerIdentity, getAttributionDataSuffix, getDefaultDisputeWindow, getPeerExtensionState, getSpreadOracleConfig, getVenmoGmailConnectUrl, getXMoneyConnectUrl, isPeerError, isPeerExtensionAvailable, isUserRejectedError, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, mayRequireDisputeProtection, normalizeReferralCode, openPeerExtensionInstallPage, openVenmoGmailConnect, openXMoneyConnect, parseReferrerFeeConfig, parseVenmoGmailAppearance, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, toSellBrandAttributionCode, toSellReferralAttributionCode, usdc, validateOracleFeedsOnChain };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as DisputeVerifyBody, d as AttestationServiceDisputeVerifyResponse, e as SellerCredentialUploadInput, f as SellerCredentialUploadPlatform, g as SellerCredentialAttestationRuntime, h as AttestationServiceSellerCredentialUploadResponse, i as BuyerTeeSessionMaterialEncryptionInput, j as DisputeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, k as CreateReferralCodeRequest, l as ApiAdapterOptions, m as CreateReferralCodeResponse, n as ReferralReadRequest, o as ReferralDashboardResponse, p as ReferralEarningsResponse, q as ReferralCodeLookupResponse, r as RedeemReferralCodeRequest, s as RedeemReferralCodeResponse, t as UpdateReferralCodeRequest, u as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, v as GoogleOAuthSellerCredentialUploadBodyByPlatform, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, w as SellerPlatform, x as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, y as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, z as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, E as PostDepositDetailsResponse, F as GetPayeeDetailsRequest, H as GetPayeeDetailsResponse, J as GetOwnerDepositsRequest, K as GetOwnerDepositsResponse, L as GetDepositBundleParams, N as GetDepositBundleResponse, O as GetOrderbookParams, T as GetOrderbookResponse, W as GetOrderbookTableResponse, X as QuoteRequest, Y as QuoteResponse, Z as CuratorMetadata, _ as CurrencyType, $ as PaymentMethodCatalog, a0 as TxOverrides, a1 as RuntimeEnv$1, a2 as DisputeProtectionIntent, a3 as IndexerAuthTokenProvider, a4 as GetQuoteSingleResponse, a5 as BuyerTeePaymentProofInput, a6 as IntentStatus, a7 as CuratorPayeeDataInput, a8 as PreparedTransaction } from './vaultUtils-DZMTnUHJ.js';
2
- export { d_ as AccessPolicyOperations, d$ as AccessPolicyUnsupportedError, aG as ActionCallback, e9 as ActiveDisputeProtectionStack, e0 as AddressGroup, bo as AmazonPayCredentialUploadInput, bp as AmazonPayIdentityAttestationOutput, b8 as ApiDeposit, bf as ApiIntentStatus, bT as AttestationServiceSellerCredentialProbeResponse, aE as AuthorizationTokenProvider, dX as BatchResult, aR as BestByPlatformResponseObject, bU as BuyerTeePaymentParams, bV as BuyerTeeSessionMaterial, ah as CancelIntentMethodParams, aQ as CancelIntentParams, bB as CashAppCredentialUploadInput, br as CashAppSessionMaterial, aA as ContractRouter, aD as ContractRouterConfig, aK as CreateDepositConversionRate, aJ as CreateDepositParams, bW as CuratorSellerVerifyResponse, dg as Currency, dn as CurrencyData, dz as DISPUTE_PROTECTION_POLICY_ABI, em as DISPUTE_PROTECTION_POLICY_V2_ABI, ef as DeferredPayout, eg as DeferredPayoutLog, dW as DelegationDepositTarget, dU as DelegationRoute, dV as DelegationState, dI as Deposit, dK as DepositCurrency, cf as DepositIntentStatistics, bb as DepositStatus, b9 as DepositVerifier, ba as DepositVerifierCurrency, cd as DepositVerifierData, dH as DepositView, ap as DisputeAttestationConfig, cL as DisputeProtectionIntentPage, cM as DisputeProtectionIntentPageParams, e7 as DisputeProtectionIntentStatus, ar as DisputeProtectionReadinessOptions, as as DisputeProtectionReadinessResult, aq as DisputeProtectionVerifiedStack, aB as EscrowContractContext, ai as ExtendIntentMethodParams, b4 as FiatResponse, bS as FulfillIntentAttestationResponse, ag as FulfillIntentMethodParams, aO as FulfillIntentParams, aS as GetBestByPlatformResponse, aT as GetBestByPlatformResponseObject, bc as GetDepositByIdRequest, bd as GetDepositByIdResponse, bk as GetIntentByHashRequest, bl as GetIntentByHashResponse, bi as GetIntentsByDepositRequest, bj as GetIntentsByDepositResponse, aX as GetNearbyQuote, aY as GetNearbySuggestions, bg as GetOwnerIntentsRequest, bh as GetOwnerIntentsResponse, aU as GetPlatformQuote, aZ as GetQuoteResponse, a_ as GetQuoteResponseObject, b$ as GetSellerCredentialStatusParams, e1 as ICloudMailCredentialError, e3 as ICloudMailCredentialErrorReason, e4 as ICloudMailSellerPlatform, c6 as IdentityAttestationActionType, c7 as IdentityAttestationOutput, c8 as IdentityAttestationOutputFor, c9 as IdentityAttestationParams, cN as IndexedDisputeProtectionIntent, cO as IndexedPage, cP as IndexedPageAsOf, cQ as IndexedRiskWindow, cR as IndexedStakeActivity, cT as IndexedStakeLock, cS as IndexedStakeTotals, cU as IndexedStakingRowFreshness, cV as IndexedStakingState, cW as IndexedStakingStateParams, cX as IndexedTakerAuthorization, cY as IndexedTakerStakeAuthorization, cl as IndexerClient, da as IndexerDeploymentEnv, ct as IndexerDeposit, cJ as IndexerDepositDailySnapshot, d1 as IndexerDepositFilter, cI as IndexerDepositFundActivity, cK as IndexerDepositFundActivityType, d4 as IndexerDepositOrderDirection, d3 as IndexerDepositOrderField, d2 as IndexerDepositPagination, cw as IndexerDepositPaymentMethod, cn as IndexerDepositService, dd as IndexerFulfillmentAndPaymentResponse, db as IndexerFulfillmentRecord, cu as IndexerIntentFulfilled, cv as IndexerIntentFulfillmentAmounts, cB as IndexerManagerAggregateStats, cD as IndexerManagerDailySnapshot, cC as IndexerManagerStats, cG as IndexerManualRateUpdate, cx as IndexerMethodCurrency, cH as IndexerOracleConfigUpdate, dc as IndexerPaymentVerifiedRecord, cy as IndexerRateManager, cA as IndexerRateManagerDelegation, d7 as IndexerRateManagerDelegationPagination, cF as IndexerRateManagerDetail, d5 as IndexerRateManagerFilter, cE as IndexerRateManagerListItem, d9 as IndexerRateManagerOrderDirection, d8 as IndexerRateManagerOrderField, d6 as IndexerRateManagerPagination, cz as IndexerRateManagerRate, co as IndexerRateManagerService, cr as IndexerStakingService, be as Intent, ay as IntentGuardianErrorCode, au as IntentGuardianPolicy, av as IntentGuardianQuote, aw as IntentGuardianWriteFunction, ax as IntentGuardianWriteParams, dM as IntentView, ca as MakerIdentityAttestationRequestBody, cb as MakerIdentityPlatform, b6 as NearbyQuote, b7 as NearbySuggestions, dy as ORCHESTRATOR_V3_ABI, el as ORCHESTRATOR_V4_ABI, a9 as OfframpClient, cc as OnchainCurrency, dN as OnchainIntent, aC as OrchestratorContractContext, ce as OrderStats, cj as OrderbookEntry, ck as OrderbookTableRow, de as PAYMENT_PLATFORMS, bw as PayPalGoogleOAuthSellerCredentialUploadBody, bx as PayPalMailboxPayee, dJ as PaymentMethodData, df as PaymentPlatformType, ee as PayoutFulfilment, ea as PayoutState, ed as PayoutStatus, aV as PlatformQuote, b3 as QuoteFeesResponse, b2 as QuoteIntentResponse, b0 as QuoteMakerIdentity, aW as QuotePreference, a$ as QuoteResponseObject, b1 as QuoteSingleResponse, aL as Range, at as ReadDisputeAttestationConfigParams, ad as RedeemReferralCodeSignatureOptions, aa as ReferralBearerWriteOptions, dL as ReferralFee, ab as ReferralReadOptions, aH as ReferralRedemption, aI as ReferralSignatureBody, ac as ReferralSignatureOptions, bm as RegisterPayeeDetailsRequest, bn as RegisterPayeeDetailsResponse, bX as RegisteredSellerCredentialPlatform, bZ as RegisteredUploadSellerCredentialParams, aP as ReleaseFundsToPayerParams, dA as STAKE_VAULT_ABI, ek as STAKE_VAULT_V2_ABI, bQ as SellerAttestationOutput, bE as SellerCiphertextBundle, bJ as SellerCredentialBundleUpload, bR as SellerCredentialProbeResponse, bL as SellerCredentialStatus, bK as SellerCredentialStatusValue, bD as SellerCredentialUploadInputByPlatform, bP as SellerPaymentTypedDataValue, bI as SellerProbeInput, bF as SellerSignedCiphertextBundle, bN as SellerTypedDataField, bO as SellerTypedDataSpec, bH as SellerVerifyInput, bG as SellerVerifyIntentDetails, bM as SellerVerifyProxyBody, dZ as SendBatchFn, dY as SendTransactionFn, af as SignalIntentMethodParams, aN as SignalIntentParams, ae as SignalIntentReferralFee, cZ as StakeActivityPageParams, ch as StakeEnvironment, c_ as StakeLockPageParams, al as StakeVaultState, am as StakeVaultWriteFunction, an as StakeVaultWriteParams, c$ as StakingEntityIds, d0 as TakerStakeAuthorizationPageParams, ci as TakerStakeBalances, aF as TimeoutConfig, b5 as TokenResponse, aj as UpdateReferralCodeSignatureOptions, c3 as UploadGoogleOAuthSellerCredentialParams, e5 as UploadICloudMailSellerCredentialOptions, e6 as UploadICloudMailSellerCredentialParams, c4 as UploadMicrosoftOAuthSellerCredentialParams, c0 as UploadPayPalGoogleOAuthSellerCredentialParams, b_ as UploadSellerCredentialOptions, bY as UploadSellerCredentialParams, c1 as UploadVenmoGoogleOAuthSellerCredentialParams, c2 as UploadXMoneyGoogleOAuthSellerCredentialParams, cg as UsdcAmount, dC as V2ContractAbis, dB as V2ContractAddresses, bA as VenmoCredentialUploadInput, by as VenmoGoogleOAuthSellerCredentialUploadBody, bq as VenmoSessionMaterial, c5 as VerifySellerPaymentParams, bC as WiseCredentialUploadInput, bt as WiseProfileInfo, bv as WiseProfileNotFound, bu as WiseProfileSelectionRequired, bs as WiseSessionMaterial, aM as WithdrawDepositParams, bz as XMoneyGoogleOAuthSellerCredentialUploadBody, dO as ZERO_RATE_MANAGER_ID, a9 as Zkp2pClient, ak as Zkp2pClientOptions, cq as buildStakingEntityIds, dT as classifyDelegationState, az as classifyIntentGuardianError, cp as compareEventCursorIdsByRecency, dh as currencyInfo, cm as defaultIndexerEndpoint, dF as enrichPvDepositView, dG as enrichPvIntentView, cs as fetchIndexerFulfillmentAndPayment, dp as getContracts, dk as getCurrencyCodeFromHash, dj as getCurrencyInfoFromCountryCode, di as getCurrencyInfoFromHash, dS as getDelegationRoute, dv as getDisputeProtectionPolicyContract, ei as getDisputeProtectionPolicyV2Contract, dx as getGatingServiceAddress, dq as getIntentGuardianContract, du as getOrchestratorV3Contract, eh as getOrchestratorV4Contract, dw as getPaymentMethodsCatalog, eb as getPayoutStatuses, ds as getRateManagerContracts, dt as getStakeVaultContract, ej as getStakeVaultV2Contract, dr as hasIntentGuardian, e2 as isMailboxSellerCredentialType, dl as isSupportedCurrencyHash, dP as isZeroRateManagerId, dm as mapConversionRatesToOnchainMinRate, dQ as normalizeRateManagerId, dR as normalizeRegistry, ec as parseDeferredPayoutFromLogs, dD as parseDepositView, e8 as parseDisputeProtectionIntent, dE as parseIntentView, ao as readDisputeAttestationConfig } from './vaultUtils-DZMTnUHJ.js';
1
+ import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as DisputeVerifyBody, d as AttestationServiceDisputeVerifyResponse, e as SellerCredentialUploadInput, f as SellerCredentialUploadPlatform, g as SellerCredentialAttestationRuntime, h as AttestationServiceSellerCredentialUploadResponse, i as BuyerTeeSessionMaterialEncryptionInput, j as DisputeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, k as CreateReferralCodeRequest, l as ApiAdapterOptions, m as CreateReferralCodeResponse, n as ReferralReadRequest, o as ReferralDashboardResponse, p as ReferralEarningsResponse, q as ReferralCodeLookupResponse, r as RedeemReferralCodeRequest, s as RedeemReferralCodeResponse, t as UpdateReferralCodeRequest, u as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, v as GoogleOAuthSellerCredentialUploadBodyByPlatform, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, w as SellerPlatform, x as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, y as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, z as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, E as PostDepositDetailsResponse, F as GetPayeeDetailsRequest, H as GetPayeeDetailsResponse, J as GetOwnerDepositsRequest, K as GetOwnerDepositsResponse, L as GetDepositBundleParams, N as GetDepositBundleResponse, O as GetOrderbookParams, T as GetOrderbookResponse, W as GetOrderbookTableResponse, X as QuoteRequest, Y as QuoteResponse, Z as CuratorMetadata, _ as CurrencyType, $ as PaymentMethodCatalog, a0 as TxOverrides, a1 as RuntimeEnv$1, a2 as DisputeProtectionIntent, a3 as PreparedTransaction, a4 as IndexerAuthTokenProvider, a5 as GetQuoteSingleResponse, a6 as BuyerTeePaymentProofInput, a7 as IntentStatus, a8 as CuratorPayeeDataInput } from './vaultUtils-Dc5ez76H.js';
2
+ export { d_ as AccessPolicyOperations, d$ as AccessPolicyUnsupportedError, aG as ActionCallback, e9 as ActiveDisputeProtectionStack, e0 as AddressGroup, bo as AmazonPayCredentialUploadInput, bp as AmazonPayIdentityAttestationOutput, b8 as ApiDeposit, bf as ApiIntentStatus, bT as AttestationServiceSellerCredentialProbeResponse, aE as AuthorizationTokenProvider, dX as BatchResult, aR as BestByPlatformResponseObject, bU as BuyerTeePaymentParams, bV as BuyerTeeSessionMaterial, ah as CancelIntentMethodParams, aQ as CancelIntentParams, bB as CashAppCredentialUploadInput, br as CashAppSessionMaterial, aA as ContractRouter, aD as ContractRouterConfig, aK as CreateDepositConversionRate, aJ as CreateDepositParams, bW as CuratorSellerVerifyResponse, dg as Currency, dn as CurrencyData, dz as DISPUTE_PROTECTION_POLICY_ABI, em as DISPUTE_PROTECTION_POLICY_V2_ABI, ef as DeferredPayout, eg as DeferredPayoutLog, dW as DelegationDepositTarget, dU as DelegationRoute, dV as DelegationState, dI as Deposit, dK as DepositCurrency, cf as DepositIntentStatistics, bb as DepositStatus, b9 as DepositVerifier, ba as DepositVerifierCurrency, cd as DepositVerifierData, dH as DepositView, ap as DisputeAttestationConfig, cL as DisputeProtectionIntentPage, cM as DisputeProtectionIntentPageParams, e7 as DisputeProtectionIntentStatus, ar as DisputeProtectionReadinessOptions, as as DisputeProtectionReadinessResult, aq as DisputeProtectionVerifiedStack, aB as EscrowContractContext, ai as ExtendIntentMethodParams, b4 as FiatResponse, bS as FulfillIntentAttestationResponse, ag as FulfillIntentMethodParams, aO as FulfillIntentParams, aS as GetBestByPlatformResponse, aT as GetBestByPlatformResponseObject, bc as GetDepositByIdRequest, bd as GetDepositByIdResponse, bk as GetIntentByHashRequest, bl as GetIntentByHashResponse, bi as GetIntentsByDepositRequest, bj as GetIntentsByDepositResponse, aX as GetNearbyQuote, aY as GetNearbySuggestions, bg as GetOwnerIntentsRequest, bh as GetOwnerIntentsResponse, aU as GetPlatformQuote, aZ as GetQuoteResponse, a_ as GetQuoteResponseObject, b$ as GetSellerCredentialStatusParams, e1 as ICloudMailCredentialError, e3 as ICloudMailCredentialErrorReason, e4 as ICloudMailSellerPlatform, c6 as IdentityAttestationActionType, c7 as IdentityAttestationOutput, c8 as IdentityAttestationOutputFor, c9 as IdentityAttestationParams, cN as IndexedDisputeProtectionIntent, cO as IndexedPage, cP as IndexedPageAsOf, cQ as IndexedRiskWindow, cR as IndexedStakeActivity, cT as IndexedStakeLock, cS as IndexedStakeTotals, cU as IndexedStakingRowFreshness, cV as IndexedStakingState, cW as IndexedStakingStateParams, cX as IndexedTakerAuthorization, cY as IndexedTakerStakeAuthorization, cl as IndexerClient, da as IndexerDeploymentEnv, ct as IndexerDeposit, cJ as IndexerDepositDailySnapshot, d1 as IndexerDepositFilter, cI as IndexerDepositFundActivity, cK as IndexerDepositFundActivityType, d4 as IndexerDepositOrderDirection, d3 as IndexerDepositOrderField, d2 as IndexerDepositPagination, cw as IndexerDepositPaymentMethod, cn as IndexerDepositService, dd as IndexerFulfillmentAndPaymentResponse, db as IndexerFulfillmentRecord, cu as IndexerIntentFulfilled, cv as IndexerIntentFulfillmentAmounts, cB as IndexerManagerAggregateStats, cD as IndexerManagerDailySnapshot, cC as IndexerManagerStats, cG as IndexerManualRateUpdate, cx as IndexerMethodCurrency, cH as IndexerOracleConfigUpdate, dc as IndexerPaymentVerifiedRecord, cy as IndexerRateManager, cA as IndexerRateManagerDelegation, d7 as IndexerRateManagerDelegationPagination, cF as IndexerRateManagerDetail, d5 as IndexerRateManagerFilter, cE as IndexerRateManagerListItem, d9 as IndexerRateManagerOrderDirection, d8 as IndexerRateManagerOrderField, d6 as IndexerRateManagerPagination, cz as IndexerRateManagerRate, co as IndexerRateManagerService, cr as IndexerStakingService, be as Intent, ay as IntentGuardianErrorCode, au as IntentGuardianPolicy, av as IntentGuardianQuote, aw as IntentGuardianWriteFunction, ax as IntentGuardianWriteParams, dM as IntentView, ca as MakerIdentityAttestationRequestBody, cb as MakerIdentityPlatform, b6 as NearbyQuote, b7 as NearbySuggestions, dy as ORCHESTRATOR_V3_ABI, el as ORCHESTRATOR_V4_ABI, a9 as OfframpClient, cc as OnchainCurrency, dN as OnchainIntent, aC as OrchestratorContractContext, ce as OrderStats, cj as OrderbookEntry, ck as OrderbookTableRow, de as PAYMENT_PLATFORMS, bw as PayPalGoogleOAuthSellerCredentialUploadBody, bx as PayPalMailboxPayee, dJ as PaymentMethodData, df as PaymentPlatformType, ee as PayoutFulfilment, ea as PayoutState, ed as PayoutStatus, aV as PlatformQuote, b3 as QuoteFeesResponse, b2 as QuoteIntentResponse, b0 as QuoteMakerIdentity, aW as QuotePreference, a$ as QuoteResponseObject, b1 as QuoteSingleResponse, aL as Range, at as ReadDisputeAttestationConfigParams, ad as RedeemReferralCodeSignatureOptions, aa as ReferralBearerWriteOptions, dL as ReferralFee, ab as ReferralReadOptions, aH as ReferralRedemption, aI as ReferralSignatureBody, ac as ReferralSignatureOptions, bm as RegisterPayeeDetailsRequest, bn as RegisterPayeeDetailsResponse, bX as RegisteredSellerCredentialPlatform, bZ as RegisteredUploadSellerCredentialParams, aP as ReleaseFundsToPayerParams, dA as STAKE_VAULT_ABI, ek as STAKE_VAULT_V2_ABI, bQ as SellerAttestationOutput, bE as SellerCiphertextBundle, bJ as SellerCredentialBundleUpload, bR as SellerCredentialProbeResponse, bL as SellerCredentialStatus, bK as SellerCredentialStatusValue, bD as SellerCredentialUploadInputByPlatform, bP as SellerPaymentTypedDataValue, bI as SellerProbeInput, bF as SellerSignedCiphertextBundle, bN as SellerTypedDataField, bO as SellerTypedDataSpec, bH as SellerVerifyInput, bG as SellerVerifyIntentDetails, bM as SellerVerifyProxyBody, dZ as SendBatchFn, dY as SendTransactionFn, af as SignalIntentMethodParams, aN as SignalIntentParams, ae as SignalIntentReferralFee, cZ as StakeActivityPageParams, ch as StakeEnvironment, c_ as StakeLockPageParams, al as StakeVaultState, am as StakeVaultWriteFunction, an as StakeVaultWriteParams, c$ as StakingEntityIds, d0 as TakerStakeAuthorizationPageParams, ci as TakerStakeBalances, aF as TimeoutConfig, b5 as TokenResponse, aj as UpdateReferralCodeSignatureOptions, c3 as UploadGoogleOAuthSellerCredentialParams, e5 as UploadICloudMailSellerCredentialOptions, e6 as UploadICloudMailSellerCredentialParams, c4 as UploadMicrosoftOAuthSellerCredentialParams, c0 as UploadPayPalGoogleOAuthSellerCredentialParams, b_ as UploadSellerCredentialOptions, bY as UploadSellerCredentialParams, c1 as UploadVenmoGoogleOAuthSellerCredentialParams, c2 as UploadXMoneyGoogleOAuthSellerCredentialParams, cg as UsdcAmount, dC as V2ContractAbis, dB as V2ContractAddresses, bA as VenmoCredentialUploadInput, by as VenmoGoogleOAuthSellerCredentialUploadBody, bq as VenmoSessionMaterial, c5 as VerifySellerPaymentParams, bC as WiseCredentialUploadInput, bt as WiseProfileInfo, bv as WiseProfileNotFound, bu as WiseProfileSelectionRequired, bs as WiseSessionMaterial, aM as WithdrawDepositParams, bz as XMoneyGoogleOAuthSellerCredentialUploadBody, dO as ZERO_RATE_MANAGER_ID, a9 as Zkp2pClient, ak as Zkp2pClientOptions, cq as buildStakingEntityIds, dT as classifyDelegationState, az as classifyIntentGuardianError, cp as compareEventCursorIdsByRecency, dh as currencyInfo, cm as defaultIndexerEndpoint, dF as enrichPvDepositView, dG as enrichPvIntentView, cs as fetchIndexerFulfillmentAndPayment, dp as getContracts, dk as getCurrencyCodeFromHash, dj as getCurrencyInfoFromCountryCode, di as getCurrencyInfoFromHash, dS as getDelegationRoute, dv as getDisputeProtectionPolicyContract, ei as getDisputeProtectionPolicyV2Contract, dx as getGatingServiceAddress, dq as getIntentGuardianContract, du as getOrchestratorV3Contract, eh as getOrchestratorV4Contract, dw as getPaymentMethodsCatalog, eb as getPayoutStatuses, ds as getRateManagerContracts, dt as getStakeVaultContract, ej as getStakeVaultV2Contract, dr as hasIntentGuardian, e2 as isMailboxSellerCredentialType, dl as isSupportedCurrencyHash, dP as isZeroRateManagerId, dm as mapConversionRatesToOnchainMinRate, dQ as normalizeRateManagerId, dR as normalizeRegistry, ec as parseDeferredPayoutFromLogs, dD as parseDepositView, e8 as parseDisputeProtectionIntent, dE as parseIntentView, ao as readDisputeAttestationConfig } from './vaultUtils-Dc5ez76H.js';
3
3
  import { DisputePlatform, DisputeActionTypeByPlatform } from '@zkp2p/zkp2p-attestation';
4
4
  export { DisputeActionTypeByPlatform, DisputeAttestationOutput, DisputeAttestationOutputFor, DisputeDetails, DisputePlatform, IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VenmoEmailBuyerTeeParams, VenmoEmailBuyerTeeSessionMaterial, VenmoNonPaymentDisputeParams, VenmoNonPaymentDisputeSessionMaterial, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient, verifyDisputeAttestation } from '@zkp2p/zkp2p-attestation';
5
5
  import { Hash, Address, Hex, WalletClient, PublicClient, Transport, Log } from 'viem';
@@ -1082,6 +1082,121 @@ declare function mayRequireDisputeProtection({ paymentMethod, depositToken, stak
1082
1082
  whitelistEnabled: boolean;
1083
1083
  }): boolean;
1084
1084
 
1085
+ interface SellSourceAsset {
1086
+ chainId: number;
1087
+ address: string;
1088
+ symbol: string;
1089
+ decimals: number;
1090
+ name?: string;
1091
+ isNative?: boolean;
1092
+ }
1093
+ interface SellSourceChain {
1094
+ id: number;
1095
+ name: string;
1096
+ displayName: string;
1097
+ disabled: boolean;
1098
+ depositEnabled: boolean;
1099
+ blockProductionLagging: boolean;
1100
+ vmType?: string;
1101
+ tokens: SellSourceAsset[];
1102
+ }
1103
+ interface SellSourceCapabilities {
1104
+ destination: SellSourceAsset;
1105
+ chains: SellSourceChain[];
1106
+ source: 'relay';
1107
+ asOf: number;
1108
+ }
1109
+ /** A token in Relay's `/chains` response. */
1110
+ interface RelayChainToken {
1111
+ address: string;
1112
+ symbol: string;
1113
+ decimals: number;
1114
+ name?: string;
1115
+ metadata?: {
1116
+ isNative?: boolean;
1117
+ };
1118
+ }
1119
+ /** The fields of a Relay `/chains` entry that source discovery reads. */
1120
+ interface RelayChain {
1121
+ id: number;
1122
+ name: string;
1123
+ displayName: string;
1124
+ disabled?: boolean;
1125
+ depositEnabled?: boolean;
1126
+ blockProductionLagging?: boolean;
1127
+ vmType?: string;
1128
+ currency: RelayChainToken;
1129
+ featuredTokens?: RelayChainToken[];
1130
+ erc20Currencies?: RelayChainToken[];
1131
+ solverCurrencies?: RelayChainToken[];
1132
+ }
1133
+ /** Relay's `/quote/v2` response, plus the request that produced it (credentials removed). */
1134
+ interface RelayQuoteResponse {
1135
+ steps: {
1136
+ requestId?: string;
1137
+ items: {
1138
+ data?: unknown;
1139
+ }[];
1140
+ }[];
1141
+ details?: unknown;
1142
+ fees?: unknown;
1143
+ request?: {
1144
+ url: string;
1145
+ method: 'post';
1146
+ data: Record<string, unknown>;
1147
+ };
1148
+ [key: string]: unknown;
1149
+ }
1150
+ interface RelayOptions {
1151
+ /** Relay API origin; defaults to {@link RELAY_API_URL}. */
1152
+ apiUrl?: string;
1153
+ /** Sent as `x-api-key` to Relay's own API origins only. */
1154
+ apiKey?: string;
1155
+ /** Relay `referrer`; defaults to `peer-cash`, the code Peer sales already use. */
1156
+ source?: string;
1157
+ /** Use this chain list instead of fetching Relay's `/chains`. */
1158
+ chains?: RelayChain[];
1159
+ fetch?: typeof fetch;
1160
+ }
1161
+ interface RelaySourceInput {
1162
+ chainId: number;
1163
+ currency: string;
1164
+ }
1165
+ interface RelayQuoteInput {
1166
+ user: string;
1167
+ /** Interpreted according to `tradeType`; defaults to exact source input. */
1168
+ amount: bigint;
1169
+ source: RelaySourceInput;
1170
+ recipient?: string;
1171
+ tradeType?: 'EXACT_INPUT' | 'EXACT_OUTPUT' | 'EXPECTED_OUTPUT';
1172
+ }
1173
+ interface RelayQuote {
1174
+ requestId?: string;
1175
+ source: SellSourceAsset;
1176
+ destination: SellSourceAsset;
1177
+ /** Source amount Relay expects the route to consume. */
1178
+ inputAmount: bigint;
1179
+ /** Conservative Base USDC output (Relay minimum output when supplied). */
1180
+ outputAmount: bigint;
1181
+ rate?: number;
1182
+ timeEstimateSeconds?: number;
1183
+ fees?: unknown;
1184
+ txs: PreparedTransaction[];
1185
+ raw: RelayQuoteResponse;
1186
+ }
1187
+ interface RelayStatus {
1188
+ requestId: string;
1189
+ status: 'refund' | 'waiting' | 'depositing' | 'failure' | 'pending' | 'submitted' | 'success';
1190
+ details?: string;
1191
+ inTxHashes: string[];
1192
+ txHashes: string[];
1193
+ updatedAt?: number;
1194
+ originChainId?: number;
1195
+ destinationChainId?: number;
1196
+ quoteCreatedAt?: number;
1197
+ raw: unknown;
1198
+ }
1199
+
1085
1200
  interface PeerOptions {
1086
1201
  /** `'production' | 'preproduction' | 'staging'` - selects contracts, curator, and indexer. */
1087
1202
  environment: RuntimeEnv$1;
@@ -1114,6 +1229,8 @@ interface PeerOptions {
1114
1229
  };
1115
1230
  /** Analytics-only ERC-8021 attribution code(s) appended to every sale transaction. */
1116
1231
  referrer?: string | string[];
1232
+ /** Relay API settings for `peer.sell` source routing. */
1233
+ relay?: RelayOptions;
1117
1234
  /**
1118
1235
  * Returns a Privy access token for the buyer's Peer account. `peer.buy()`
1119
1236
  * forwards it to Curator's intent signing, and `peer.buy.payment()` needs
@@ -1198,6 +1315,13 @@ interface PeerBuy {
1198
1315
  complete(input: BuyCompleteInput, opts: BuySignerOptions): Promise<{
1199
1316
  txHash: Hash;
1200
1317
  }>;
1318
+ /**
1319
+ * Cancel an open intent the buyer can't pay, so the seller's USDC returns to
1320
+ * the deposit now instead of at expiry. The signer must own the intent.
1321
+ */
1322
+ cancel(intentHash: Hash, opts: BuySignerOptions): Promise<{
1323
+ txHash: Hash;
1324
+ }>;
1201
1325
  }
1202
1326
 
1203
1327
  /**
@@ -1604,6 +1728,12 @@ interface PeerSell {
1604
1728
  finalizePrepared(receipt: PreparedSellReceipt): SellResult;
1605
1729
  /** Platforms, currencies, pricing semantics, amount bounds and payee hints. No network. */
1606
1730
  capabilities(): SellCapabilities;
1731
+ /** Relay source chains and tokens that can route into Base USDC. */
1732
+ sourceCapabilities(): Promise<SellSourceCapabilities>;
1733
+ /** Quote a Relay route from a source asset into Base USDC; unsigned transactions included. */
1734
+ quoteSource(input: RelayQuoteInput): Promise<RelayQuote>;
1735
+ /** Track a Relay route by its request id. */
1736
+ relayStatus(requestId: string): Promise<RelayStatus>;
1607
1737
  /** Oracle market-rate estimate: currency + amount only. No payee, no side effects. */
1608
1738
  estimate(input: EstimateInput, options?: EstimateOptions): Promise<SellEstimate>;
1609
1739
  /** 30-day demand and first-fill speed keyed by `platform:currency`. */
@@ -1644,7 +1774,7 @@ declare function createPeer(options: PeerOptions): Peer;
1644
1774
  * `code`, whether it is `retryable`, and a `remediation` sentence so agents
1645
1775
  * can self-drive recovery.
1646
1776
  */
1647
- type PeerErrorCode = 'ORACLE_UNSUPPORTED_CURRENCY' | 'ORACLE_READ_FAILED' | 'UNSUPPORTED_PLATFORM' | 'UNSUPPORTED_PLATFORM_CURRENCY' | 'AMOUNT_BELOW_MINIMUM' | 'INVALID_INTENT_AMOUNT_RANGE' | 'INVALID_PAYOUT_CURRENCIES' | 'INVALID_PAYOUT_PLATFORMS' | 'INVALID_REFERRAL_CODE' | 'INVALID_BRAND' | 'ACTIVE_INTENT_BLOCKS_WITHDRAWAL' | 'NOTHING_TO_WITHDRAW' | 'INSUFFICIENT_AVAILABLE_FUNDS' | 'INSUFFICIENT_TOKEN_BALANCE' | 'ORDER_NOT_ACTIVE' | 'INVALID_DEPOSIT_ID' | 'ESCROW_PAUSED' | 'INDEXER_UNAVAILABLE' | 'ORDER_NOT_FOUND' | 'PAYEE_REGISTRATION_FAILED' | 'PAYEE_VERIFICATION_REQUIRED' | 'PAYEE_NOT_FOUND' | 'DEPOSIT_RESOLUTION_FAILED' | 'ALLOWANCE_NOT_VISIBLE' | 'SIGNER_REQUIRED' | 'SIGNER_CHAIN_MISMATCH' | 'SIGNER_CHAIN_UNAVAILABLE' | 'WATCH_TIMEOUT' | 'TRANSACTION_REJECTED' | 'TRANSACTION_FAILED' | 'TRANSACTION_SUBMISSION_UNKNOWN' | 'TRANSACTION_STATUS_UNKNOWN' | 'QUOTE_EXPIRED' | 'INTENT_RESOLUTION_FAILED' | 'AUTHORIZATION_REQUIRED' | 'PAYEE_UNAVAILABLE' | 'NO_QUOTES' | 'TRANSACTION_PREPARATION_FAILED';
1777
+ type PeerErrorCode = 'ORACLE_UNSUPPORTED_CURRENCY' | 'ORACLE_READ_FAILED' | 'UNSUPPORTED_PLATFORM' | 'UNSUPPORTED_PLATFORM_CURRENCY' | 'AMOUNT_BELOW_MINIMUM' | 'INVALID_INTENT_AMOUNT_RANGE' | 'INVALID_PAYOUT_CURRENCIES' | 'INVALID_PAYOUT_PLATFORMS' | 'INVALID_REFERRAL_CODE' | 'INVALID_BRAND' | 'ACTIVE_INTENT_BLOCKS_WITHDRAWAL' | 'NOTHING_TO_WITHDRAW' | 'INSUFFICIENT_AVAILABLE_FUNDS' | 'INSUFFICIENT_TOKEN_BALANCE' | 'ORDER_NOT_ACTIVE' | 'INVALID_DEPOSIT_ID' | 'ESCROW_PAUSED' | 'INDEXER_UNAVAILABLE' | 'ORDER_NOT_FOUND' | 'PAYEE_REGISTRATION_FAILED' | 'PAYEE_VERIFICATION_REQUIRED' | 'PAYEE_NOT_FOUND' | 'SOURCE_CAPABILITIES_FAILED' | 'SOURCE_QUOTE_FAILED' | 'SOURCE_STATUS_FAILED' | 'DEPOSIT_RESOLUTION_FAILED' | 'ALLOWANCE_NOT_VISIBLE' | 'SIGNER_REQUIRED' | 'SIGNER_CHAIN_MISMATCH' | 'SIGNER_CHAIN_UNAVAILABLE' | 'WATCH_TIMEOUT' | 'TRANSACTION_REJECTED' | 'TRANSACTION_FAILED' | 'TRANSACTION_SUBMISSION_UNKNOWN' | 'TRANSACTION_STATUS_UNKNOWN' | 'QUOTE_EXPIRED' | 'INTENT_RESOLUTION_FAILED' | 'AUTHORIZATION_REQUIRED' | 'PAYEE_UNAVAILABLE' | 'NO_QUOTES' | 'TRANSACTION_PREPARATION_FAILED';
1648
1778
  interface PeerErrorShape {
1649
1779
  code: PeerErrorCode;
1650
1780
  message: string;
@@ -1692,4 +1822,4 @@ declare function usdc(amount: number | string): bigint;
1692
1822
  /** Format USDC base units back to a decimal string (no trailing zeros). */
1693
1823
  declare function formatUsdc(amount: bigint): string;
1694
1824
 
1695
- export { APIError, ApiAdapterOptions, AttestationServiceDisputeVerifyResponse, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, type BuyCompleteInput, type BuyOffer, type BuyPayment, type BuyQuoteInput, type BuyResult, type BuySignerOptions, BuyerTeePaymentProofInput, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialStatusResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, DISPUTE_WINDOW_POLICY, DisputeProtectionIntent, type DisputeProtectionIntentLookup, DisputeSessionMaterialEncryptionInput, DisputeVerifyBody, type DisputeWindowPaymentMethod, ErrorCode, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetQuoteSingleResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, IntentStatus as IndexerIntentStatus, type IntegerLike, type LogLevel, MIN_SELL_AMOUNT, MicrosoftOAuthSellerCredentialUploadBodyByPlatform, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorV4Intent, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type Peer, type PeerAuthenticateParams, type PeerBuy, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, PeerError, type PeerErrorCode, type PeerErrorRecovery, type PeerErrorShape, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerOptions, type PeerSarCredentialCapture, type PeerSell, PolicyGeneration, PostDepositDetailsRequest, PostDepositDetailsResponse, type PreparedSellReceipt, PreparedTransaction, type ProtectionV2, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, RECOMMENDED_MIN_SELL_AMOUNT, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RiskMode, RuntimeEnv$1 as RuntimeEnv, SDK_BUILD_METADATA, SELL_ATTRIBUTION_CODE, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, type SdkBuildMetadata, type SellBuyerProfile, type SellCapabilities, type SellCorridorPricing, type SellEstimate, type EstimateInput as SellEstimateInput, type EstimateOptions as SellEstimateOptions, type SellFill, type SellFillEta, type SellFillStats, type SellInput, type SellLeg, type SellMultiCurrencyLeg, type SellNextAction, type SellOrder, type SellOrderState, type SellOrdersOptions, type SellPairFillStats, type SellPayeeInput, type SellPayoutInfo, type SellPayoutPricing, type SellPlatformCapability, type SellPrepareResult, type SellPreparedPlan, type SellPreparedStep, type SellPreparedStepKind, type SellReceiveLeg, type SellResult, type SellTopUpResult, type SellWatchOptions, type SellWithdrawOptions, type SellWithdrawResult, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, SellerPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SignerOptions, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, type VenmoGmailAppearance, VenmoGmailConnectError, type VenmoGmailConnectResult, type VenmoGmailPopupOptions, XMoneyConnectError, type XMoneyConnectOptions, type XMoneyConnectResult, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetSellerCredentialStatus, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadMicrosoftOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, apiVerifyDispute, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createEncryptedDisputeSessionMaterial, createPeer, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, findDisputeProtectionIntent, formatUsdc, getAmazonPaySellerIdentity, getAttributionDataSuffix, getDefaultDisputeWindow, getPeerExtensionState, getSpreadOracleConfig, getVenmoGmailConnectUrl, getXMoneyConnectUrl, isPeerError, isPeerExtensionAvailable, isUserRejectedError, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, mayRequireDisputeProtection, normalizeReferralCode, openPeerExtensionInstallPage, openVenmoGmailConnect, openXMoneyConnect, parseReferrerFeeConfig, parseVenmoGmailAppearance, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, toSellBrandAttributionCode, toSellReferralAttributionCode, usdc, validateOracleFeedsOnChain };
1825
+ export { APIError, ApiAdapterOptions, AttestationServiceDisputeVerifyResponse, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, type BuyCompleteInput, type BuyOffer, type BuyPayment, type BuyQuoteInput, type BuyResult, type BuySignerOptions, BuyerTeePaymentProofInput, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialStatusResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, DISPUTE_WINDOW_POLICY, DisputeProtectionIntent, type DisputeProtectionIntentLookup, DisputeSessionMaterialEncryptionInput, DisputeVerifyBody, type DisputeWindowPaymentMethod, ErrorCode, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetQuoteSingleResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, IntentStatus as IndexerIntentStatus, type IntegerLike, type LogLevel, MIN_SELL_AMOUNT, MicrosoftOAuthSellerCredentialUploadBodyByPlatform, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorV4Intent, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type Peer, type PeerAuthenticateParams, type PeerBuy, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, PeerError, type PeerErrorCode, type PeerErrorRecovery, type PeerErrorShape, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerOptions, type PeerSarCredentialCapture, type PeerSell, PolicyGeneration, PostDepositDetailsRequest, PostDepositDetailsResponse, type PreparedSellReceipt, PreparedTransaction, type ProtectionV2, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, RECOMMENDED_MIN_SELL_AMOUNT, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RelayChain, type RelayChainToken, type RelayOptions, type RelayQuote, type RelayQuoteInput, type RelayQuoteResponse, type RelaySourceInput, type RelayStatus, type RiskMode, RuntimeEnv$1 as RuntimeEnv, SDK_BUILD_METADATA, SELL_ATTRIBUTION_CODE, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, type SdkBuildMetadata, type SellBuyerProfile, type SellCapabilities, type SellCorridorPricing, type SellEstimate, type EstimateInput as SellEstimateInput, type EstimateOptions as SellEstimateOptions, type SellFill, type SellFillEta, type SellFillStats, type SellInput, type SellLeg, type SellMultiCurrencyLeg, type SellNextAction, type SellOrder, type SellOrderState, type SellOrdersOptions, type SellPairFillStats, type SellPayeeInput, type SellPayoutInfo, type SellPayoutPricing, type SellPlatformCapability, type SellPrepareResult, type SellPreparedPlan, type SellPreparedStep, type SellPreparedStepKind, type SellReceiveLeg, type SellResult, type SellSourceAsset, type SellSourceCapabilities, type SellSourceChain, type SellTopUpResult, type SellWatchOptions, type SellWithdrawOptions, type SellWithdrawResult, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, SellerPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SignerOptions, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, type VenmoGmailAppearance, VenmoGmailConnectError, type VenmoGmailConnectResult, type VenmoGmailPopupOptions, XMoneyConnectError, type XMoneyConnectOptions, type XMoneyConnectResult, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetSellerCredentialStatus, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadMicrosoftOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, apiVerifyDispute, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createEncryptedDisputeSessionMaterial, createPeer, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, findDisputeProtectionIntent, formatUsdc, getAmazonPaySellerIdentity, getAttributionDataSuffix, getDefaultDisputeWindow, getPeerExtensionState, getSpreadOracleConfig, getVenmoGmailConnectUrl, getXMoneyConnectUrl, isPeerError, isPeerExtensionAvailable, isUserRejectedError, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, mayRequireDisputeProtection, normalizeReferralCode, openPeerExtensionInstallPage, openVenmoGmailConnect, openXMoneyConnect, parseReferrerFeeConfig, parseVenmoGmailAppearance, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, toSellBrandAttributionCode, toSellReferralAttributionCode, usdc, validateOracleFeedsOnChain };