@zkp2p/sdk 0.12.1 → 0.12.2-rc.1

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.
Files changed (36) hide show
  1. package/README.md +96 -24
  2. package/dist/build-metadata.json +22 -0
  3. package/dist/{chunk-GHQK65J2.mjs → chunk-3J4FPMPW.mjs} +2 -2
  4. package/dist/{chunk-GHQK65J2.mjs.map → chunk-3J4FPMPW.mjs.map} +1 -1
  5. package/dist/chunk-NCX4BO7G.mjs +12 -0
  6. package/dist/chunk-NCX4BO7G.mjs.map +1 -0
  7. package/dist/{chunk-DZQOCRT4.mjs → chunk-QVEW2DTE.mjs} +373 -373
  8. package/dist/{chunk-DZQOCRT4.mjs.map → chunk-QVEW2DTE.mjs.map} +1 -1
  9. package/dist/{chunk-FCOH36IX.mjs → chunk-YA67SM3A.mjs} +2 -2
  10. package/dist/{chunk-FCOH36IX.mjs.map → chunk-YA67SM3A.mjs.map} +1 -1
  11. package/dist/{chunk-ZFBH4HD7.mjs → chunk-ZB22BZLZ.mjs} +2 -2
  12. package/dist/{chunk-ZFBH4HD7.mjs.map → chunk-ZB22BZLZ.mjs.map} +1 -1
  13. package/dist/{currency-MARF3D2J.mjs → currency-XA62DCJH.mjs} +4 -4
  14. package/dist/{currency-MARF3D2J.mjs.map → currency-XA62DCJH.mjs.map} +1 -1
  15. package/dist/index.cjs +2263 -561
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.mts +34 -9
  18. package/dist/index.d.ts +34 -9
  19. package/dist/index.mjs +1638 -105
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/protocolViewerParsers-KB2FTOE6.mjs +5 -0
  22. package/dist/{protocolViewerParsers-WK2QPJH7.mjs.map → protocolViewerParsers-KB2FTOE6.mjs.map} +1 -1
  23. package/dist/react.cjs +41 -0
  24. package/dist/react.cjs.map +1 -1
  25. package/dist/react.d.mts +15 -3
  26. package/dist/react.d.ts +15 -3
  27. package/dist/react.mjs +44 -4
  28. package/dist/react.mjs.map +1 -1
  29. package/dist/{timeout-YLP3WHZF.mjs → timeout-7UJ6HZ4K.mjs} +4 -4
  30. package/dist/{timeout-YLP3WHZF.mjs.map → timeout-7UJ6HZ4K.mjs.map} +1 -1
  31. package/dist/{vaultUtils-Bc9KwywX.d.mts → vaultUtils-Dla_eG15.d.mts} +206 -43
  32. package/dist/{vaultUtils-Bc9KwywX.d.ts → vaultUtils-Dla_eG15.d.ts} +206 -43
  33. package/package.json +23 -22
  34. package/dist/chunk-J5LGTIGS.mjs +0 -9
  35. package/dist/chunk-J5LGTIGS.mjs.map +0 -1
  36. package/dist/protocolViewerParsers-WK2QPJH7.mjs +0 -5
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 SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Bc9KwywX.mjs';
2
- export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-Bc9KwywX.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 SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Dla_eG15.mjs';
2
+ export { dG as AccessPolicyDiff, dy as AccessPolicyOperations, dH as AccessPolicyOrdering, dI as AccessPolicyPlan, dJ as AccessPolicyPlanStep, dK as AccessPolicyState, dz as AccessPolicyUnsupportedError, dL as AccessPolicyViolation, aj as ActionCallback, aN as ApiDeposit, aU as ApiIntentStatus, bs as AttestationServiceSellerCredentialProbeResponse, ah as AuthorizationTokenProvider, dv as BatchResult, au as BestByPlatformResponseObject, bt as BuyerTeePaymentParams, bu as BuyerTeePaymentProofInput, bv as BuyerTeeSessionMaterial, a3 as CancelIntentMethodParams, at as CancelIntentParams, ba as CashAppCredentialUploadInput, b3 as CashAppSessionMaterial, an as CreateDepositConversionRate, am as CreateDepositParams, bw as CuratorSellerCredentialStatusResponse, bx as CuratorSellerVerifyResponse, cP as Currency, cW as CurrencyData, d5 as DISPUTE_PROTECTION_POLICY_ABI, du as DelegationDepositTarget, ds as DelegationRoute, dt as DelegationState, df as Deposit, dh as DepositCurrency, bQ as DepositIntentStatistics, aQ as DepositStatus, aO as DepositVerifier, aP as DepositVerifierCurrency, bN as DepositVerifierData, de as DepositView, cl as DisputeProtectionIntentPage, cm as DisputeProtectionIntentPageParams, a9 as DisputeProtectionReadinessOptions, aa as DisputeProtectionReadinessResult, aJ as FiatResponse, br as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ar as FulfillIntentParams, av as GetBestByPlatformResponse, aw as GetBestByPlatformResponseObject, aR as GetDepositByIdRequest, aS as GetDepositByIdResponse, aZ as GetIntentByHashRequest, a_ as GetIntentByHashResponse, aX as GetIntentsByDepositRequest, aY as GetIntentsByDepositResponse, aA as GetNearbyQuote, aB as GetNearbySuggestions, aV as GetOwnerIntentsRequest, aW as GetOwnerIntentsResponse, ax as GetPlatformQuote, aC as GetQuoteResponse, aD as GetQuoteResponseObject, aE as GetQuoteSingleResponse, bC as GetSellerCredentialStatusParams, bG as IdentityAttestationActionType, bH as IdentityAttestationOutput, bI as IdentityAttestationOutputFor, bJ as IdentityAttestationParams, cn as IndexedDisputeProtectionIntent, co as IndexedPage, cp as IndexedPageAsOf, cq as IndexedRiskWindow, cr as IndexedStakeActivity, cs as IndexedStakeLock, ct as IndexedStakingRowFreshness, cu as IndexedStakingState, cv as IndexedStakingStateParams, cw as IndexedTakerAuthorization, bW as IndexerClient, cJ as IndexerDeploymentEnv, c2 as IndexerDeposit, cj as IndexerDepositDailySnapshot, cA as IndexerDepositFilter, ci as IndexerDepositFundActivity, ck as IndexerDepositFundActivityType, cD as IndexerDepositOrderDirection, cC as IndexerDepositOrderField, cB as IndexerDepositPagination, c5 as IndexerDepositPaymentMethod, bY as IndexerDepositService, cM as IndexerFulfillmentAndPaymentResponse, cK as IndexerFulfillmentRecord, c3 as IndexerIntentFulfilled, c4 as IndexerIntentFulfillmentAmounts, c7 as IndexerIntentStatus, cb as IndexerManagerAggregateStats, cd as IndexerManagerDailySnapshot, cc as IndexerManagerStats, cg as IndexerManualRateUpdate, c6 as IndexerMethodCurrency, ch as IndexerOracleConfigUpdate, cL as IndexerPaymentVerifiedRecord, c8 as IndexerRateManager, ca as IndexerRateManagerDelegation, cG as IndexerRateManagerDelegationPagination, cf as IndexerRateManagerDetail, cE as IndexerRateManagerFilter, ce as IndexerRateManagerListItem, cI as IndexerRateManagerOrderDirection, cH as IndexerRateManagerOrderField, cF as IndexerRateManagerPagination, c9 as IndexerRateManagerRate, bZ as IndexerRateManagerService, c0 as IndexerStakingService, aT as Intent, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote, ad as IntentGuardianWriteFunction, ae as IntentGuardianWriteParams, dj as IntentView, dB as MAX_ADDRESSES_PER_CALL, dA as MAX_GROUPS_PER_DEPOSIT, dC as MAX_WHITELISTED_ADDRESSES, bK as MakerIdentityAttestationRequestBody, bL as MakerIdentityPlatform, aL as NearbyQuote, aM as NearbySuggestions, d4 as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bM as OnchainCurrency, dk as OnchainIntent, bP as OrderStats, bU as OrderbookEntry, bV as OrderbookTableRow, cN as PAYMENT_PLATFORMS, b8 as PayPalGoogleOAuthSellerCredentialUploadBody, dg as PaymentMethodData, cO as PaymentPlatformType, ay as PlatformQuote, bO as PreparedTransaction, aI as QuoteFeesResponse, aH as QuoteIntentResponse, az as QuotePreference, aF as QuoteResponseObject, aG as QuoteSingleResponse, ao as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, di as ReferralFee, Y as ReferralReadOptions, ak as ReferralRedemption, al as ReferralSignatureBody, _ as ReferralSignatureOptions, a$ as RegisterPayeeDetailsRequest, b0 as RegisterPayeeDetailsResponse, by as RegisteredSellerCredentialPlatform, bA as RegisteredUploadSellerCredentialParams, as as ReleaseFundsToPayerParams, d7 as RuntimeEnv, d6 as STAKE_VAULT_ABI, bp as SellerAttestationOutput, bd as SellerCiphertextBundle, bi as SellerCredentialBundleUpload, bq as SellerCredentialProbeResponse, bk as SellerCredentialStatus, bj as SellerCredentialStatusValue, bc as SellerCredentialUploadInputByPlatform, bo as SellerPaymentTypedDataValue, b1 as SellerPlatform, bh as SellerProbeInput, be as SellerSignedCiphertextBundle, bm as SellerTypedDataField, bn as SellerTypedDataSpec, bg as SellerVerifyInput, bf as SellerVerifyIntentDetails, bl as SellerVerifyProxyBody, dx as SendBatchFn, dw as SendTransactionFn, a1 as SignalIntentMethodParams, aq as SignalIntentParams, a0 as SignalIntentReferralFee, cx as StakeActivityPageParams, bS as StakeEnvironment, cy as StakeLockPageParams, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, cz as StakingEntityIds, bT as TakerStakeBalances, ai as TimeoutConfig, aK as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bE as UploadGoogleOAuthSellerCredentialParams, bD as UploadPayPalGoogleOAuthSellerCredentialParams, bB as UploadSellerCredentialOptions, bz as UploadSellerCredentialParams, bR as UsdcAmount, d9 as V2ContractAbis, d8 as V2ContractAddresses, b9 as VenmoCredentialUploadInput, b2 as VenmoSessionMaterial, bF as VerifySellerPaymentParams, bb as WiseCredentialUploadInput, b5 as WiseProfileInfo, b7 as WiseProfileNotFound, b6 as WiseProfileSelectionRequired, b4 as WiseSessionMaterial, ap as WithdrawDepositParams, dl as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, b$ as buildStakingEntityIds, dr as classifyDelegationState, ag as classifyIntentGuardianError, b_ as compareEventCursorIdsByRecency, cQ as currencyInfo, bX as defaultIndexerEndpoint, dD as diffAccessPolicy, dc as enrichPvDepositView, dd as enrichPvIntentView, c1 as fetchIndexerFulfillmentAndPayment, cX as getContracts, cT as getCurrencyCodeFromHash, cS as getCurrencyInfoFromCountryCode, cR as getCurrencyInfoFromHash, dq as getDelegationRoute, d1 as getDisputeProtectionPolicyContract, d3 as getGatingServiceAddress, cY as getIntentGuardianContract, d0 as getOrchestratorV3Contract, d2 as getPaymentMethodsCatalog, c_ as getRateManagerContracts, c$ as getStakeVaultContract, cZ as hasIntentGuardian, cU as isSupportedCurrencyHash, dm as isZeroRateManagerId, cV as mapConversionRatesToOnchainMinRate, dE as normalizeAccessPolicyState, dn as normalizeRateManagerId, dp as normalizeRegistry, da as parseDepositView, db as parseIntentView, dF as planAccessPolicyUpdate } from './vaultUtils-Dla_eG15.mjs';
3
3
  import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  export { IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient } from '@zkp2p/zkp2p-attestation';
@@ -64,6 +64,31 @@ interface EscrowIntentView {
64
64
  deposit: EscrowDepositView;
65
65
  }
66
66
 
67
+ type SdkBuildMetadata = {
68
+ readonly schemaVersion: 1;
69
+ readonly source: {
70
+ readonly repository: 'zkp2p/zkp2p-clients';
71
+ readonly commitSha: string;
72
+ readonly kind: 'development' | 'github';
73
+ readonly distributable: boolean;
74
+ };
75
+ readonly sdkPackageVersion: string;
76
+ readonly contractsPackageVersion: string;
77
+ readonly indexerSchemaPackageVersion: string;
78
+ readonly activeDisputeStack: {
79
+ readonly base: {
80
+ readonly version: 1;
81
+ readonly selectionHash: string;
82
+ };
83
+ readonly baseStaging: {
84
+ readonly version: 1;
85
+ readonly selectionHash: string;
86
+ };
87
+ };
88
+ };
89
+ /** Immutable source and protocol identity embedded in the built SDK artifact. */
90
+ declare const SDK_BUILD_METADATA: SdkBuildMetadata;
91
+
67
92
  declare const isValidReferrerFeeRecipient: (value: string) => value is `0x${string}`;
68
93
  declare const isValidReferrerFeeBps: (value: number) => boolean;
69
94
  declare const assertValidReferrerFeeConfig: (config: ReferrerFeeConfig | undefined, context: "getQuote" | "getQuotesBestByPlatform" | "signalIntent") => ReferrerFeeConfig | undefined;
@@ -707,7 +732,7 @@ declare function resolvePaymentMethodHashFromCatalog(processorName: string, cata
707
732
  declare function resolvePaymentMethodNameFromHash(hash: string, catalog: PaymentMethodCatalog): string | undefined;
708
733
 
709
734
  /**
710
- * Exact client-side counterparts of the ChargebackPolicy admission rules.
735
+ * Exact client-side counterparts of the DisputeProtectionPolicy admission rules.
711
736
  *
712
737
  * Kept inside the public SDK so its generated declarations and runtime remain
713
738
  * self-contained for external consumers. The deployed policy (contracts-v2
@@ -725,16 +750,16 @@ type IntegerLike = bigint | number | string | {
725
750
  type RiskMode = 'UNBONDED' | 'STAKE_BACKED';
726
751
  declare const RISK_BPS_DENOMINATOR = 10000n;
727
752
  /** Full-gross coverage required at admission; zero when the method is unbonded. */
728
- declare function calculateRequiredCoverage(amount: IntegerLike, chargebackable: boolean): bigint;
729
- /** Maximum chargebackable intent amount that can use existing stake. */
753
+ declare function calculateRequiredCoverage(amount: IntegerLike, disputeProtected: boolean): bigint;
754
+ /** Maximum dispute-protected intent amount that can use existing stake. */
730
755
  declare function calculateStakeBackedCapacity(freeStake: IntegerLike): bigint;
731
756
  /**
732
- * Exact admission mode under the ChargebackPolicy. `chargebackable` means the
757
+ * Exact admission mode under the DisputeProtectionPolicy. `disputeProtected` means the
733
758
  * payment method carries a non-zero risk window; the policy additionally
734
- * requires the deposit to have chargebacks enabled and admissions unpaused,
759
+ * requires the deposit to have dispute protection enabled and admissions unpaused,
735
760
  * both of which reject the intent outright rather than changing its mode.
736
761
  */
737
- declare function selectRiskMode(amount: IntegerLike, freeStake: IntegerLike, chargebackable: boolean): RiskMode;
762
+ declare function selectRiskMode(amount: IntegerLike, freeStake: IntegerLike, disputeProtected: boolean): RiskMode;
738
763
 
739
764
  /**
740
765
  * Ensure a value is 32 bytes hex (0x + 64 nibbles). If ascii, keccak256 by default when hash=true.
@@ -924,4 +949,4 @@ declare class ContractError extends ZKP2PError {
924
949
  constructor(message: string, details?: unknown);
925
950
  }
926
951
 
927
- export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type IntegerLike, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RiskMode, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
952
+ export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type IntegerLike, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RiskMode, SDK_BUILD_METADATA, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, type SdkBuildMetadata, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, 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 SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Bc9KwywX.js';
2
- export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-Bc9KwywX.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 SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Dla_eG15.js';
2
+ export { dG as AccessPolicyDiff, dy as AccessPolicyOperations, dH as AccessPolicyOrdering, dI as AccessPolicyPlan, dJ as AccessPolicyPlanStep, dK as AccessPolicyState, dz as AccessPolicyUnsupportedError, dL as AccessPolicyViolation, aj as ActionCallback, aN as ApiDeposit, aU as ApiIntentStatus, bs as AttestationServiceSellerCredentialProbeResponse, ah as AuthorizationTokenProvider, dv as BatchResult, au as BestByPlatformResponseObject, bt as BuyerTeePaymentParams, bu as BuyerTeePaymentProofInput, bv as BuyerTeeSessionMaterial, a3 as CancelIntentMethodParams, at as CancelIntentParams, ba as CashAppCredentialUploadInput, b3 as CashAppSessionMaterial, an as CreateDepositConversionRate, am as CreateDepositParams, bw as CuratorSellerCredentialStatusResponse, bx as CuratorSellerVerifyResponse, cP as Currency, cW as CurrencyData, d5 as DISPUTE_PROTECTION_POLICY_ABI, du as DelegationDepositTarget, ds as DelegationRoute, dt as DelegationState, df as Deposit, dh as DepositCurrency, bQ as DepositIntentStatistics, aQ as DepositStatus, aO as DepositVerifier, aP as DepositVerifierCurrency, bN as DepositVerifierData, de as DepositView, cl as DisputeProtectionIntentPage, cm as DisputeProtectionIntentPageParams, a9 as DisputeProtectionReadinessOptions, aa as DisputeProtectionReadinessResult, aJ as FiatResponse, br as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ar as FulfillIntentParams, av as GetBestByPlatformResponse, aw as GetBestByPlatformResponseObject, aR as GetDepositByIdRequest, aS as GetDepositByIdResponse, aZ as GetIntentByHashRequest, a_ as GetIntentByHashResponse, aX as GetIntentsByDepositRequest, aY as GetIntentsByDepositResponse, aA as GetNearbyQuote, aB as GetNearbySuggestions, aV as GetOwnerIntentsRequest, aW as GetOwnerIntentsResponse, ax as GetPlatformQuote, aC as GetQuoteResponse, aD as GetQuoteResponseObject, aE as GetQuoteSingleResponse, bC as GetSellerCredentialStatusParams, bG as IdentityAttestationActionType, bH as IdentityAttestationOutput, bI as IdentityAttestationOutputFor, bJ as IdentityAttestationParams, cn as IndexedDisputeProtectionIntent, co as IndexedPage, cp as IndexedPageAsOf, cq as IndexedRiskWindow, cr as IndexedStakeActivity, cs as IndexedStakeLock, ct as IndexedStakingRowFreshness, cu as IndexedStakingState, cv as IndexedStakingStateParams, cw as IndexedTakerAuthorization, bW as IndexerClient, cJ as IndexerDeploymentEnv, c2 as IndexerDeposit, cj as IndexerDepositDailySnapshot, cA as IndexerDepositFilter, ci as IndexerDepositFundActivity, ck as IndexerDepositFundActivityType, cD as IndexerDepositOrderDirection, cC as IndexerDepositOrderField, cB as IndexerDepositPagination, c5 as IndexerDepositPaymentMethod, bY as IndexerDepositService, cM as IndexerFulfillmentAndPaymentResponse, cK as IndexerFulfillmentRecord, c3 as IndexerIntentFulfilled, c4 as IndexerIntentFulfillmentAmounts, c7 as IndexerIntentStatus, cb as IndexerManagerAggregateStats, cd as IndexerManagerDailySnapshot, cc as IndexerManagerStats, cg as IndexerManualRateUpdate, c6 as IndexerMethodCurrency, ch as IndexerOracleConfigUpdate, cL as IndexerPaymentVerifiedRecord, c8 as IndexerRateManager, ca as IndexerRateManagerDelegation, cG as IndexerRateManagerDelegationPagination, cf as IndexerRateManagerDetail, cE as IndexerRateManagerFilter, ce as IndexerRateManagerListItem, cI as IndexerRateManagerOrderDirection, cH as IndexerRateManagerOrderField, cF as IndexerRateManagerPagination, c9 as IndexerRateManagerRate, bZ as IndexerRateManagerService, c0 as IndexerStakingService, aT as Intent, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote, ad as IntentGuardianWriteFunction, ae as IntentGuardianWriteParams, dj as IntentView, dB as MAX_ADDRESSES_PER_CALL, dA as MAX_GROUPS_PER_DEPOSIT, dC as MAX_WHITELISTED_ADDRESSES, bK as MakerIdentityAttestationRequestBody, bL as MakerIdentityPlatform, aL as NearbyQuote, aM as NearbySuggestions, d4 as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bM as OnchainCurrency, dk as OnchainIntent, bP as OrderStats, bU as OrderbookEntry, bV as OrderbookTableRow, cN as PAYMENT_PLATFORMS, b8 as PayPalGoogleOAuthSellerCredentialUploadBody, dg as PaymentMethodData, cO as PaymentPlatformType, ay as PlatformQuote, bO as PreparedTransaction, aI as QuoteFeesResponse, aH as QuoteIntentResponse, az as QuotePreference, aF as QuoteResponseObject, aG as QuoteSingleResponse, ao as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, di as ReferralFee, Y as ReferralReadOptions, ak as ReferralRedemption, al as ReferralSignatureBody, _ as ReferralSignatureOptions, a$ as RegisterPayeeDetailsRequest, b0 as RegisterPayeeDetailsResponse, by as RegisteredSellerCredentialPlatform, bA as RegisteredUploadSellerCredentialParams, as as ReleaseFundsToPayerParams, d7 as RuntimeEnv, d6 as STAKE_VAULT_ABI, bp as SellerAttestationOutput, bd as SellerCiphertextBundle, bi as SellerCredentialBundleUpload, bq as SellerCredentialProbeResponse, bk as SellerCredentialStatus, bj as SellerCredentialStatusValue, bc as SellerCredentialUploadInputByPlatform, bo as SellerPaymentTypedDataValue, b1 as SellerPlatform, bh as SellerProbeInput, be as SellerSignedCiphertextBundle, bm as SellerTypedDataField, bn as SellerTypedDataSpec, bg as SellerVerifyInput, bf as SellerVerifyIntentDetails, bl as SellerVerifyProxyBody, dx as SendBatchFn, dw as SendTransactionFn, a1 as SignalIntentMethodParams, aq as SignalIntentParams, a0 as SignalIntentReferralFee, cx as StakeActivityPageParams, bS as StakeEnvironment, cy as StakeLockPageParams, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, cz as StakingEntityIds, bT as TakerStakeBalances, ai as TimeoutConfig, aK as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bE as UploadGoogleOAuthSellerCredentialParams, bD as UploadPayPalGoogleOAuthSellerCredentialParams, bB as UploadSellerCredentialOptions, bz as UploadSellerCredentialParams, bR as UsdcAmount, d9 as V2ContractAbis, d8 as V2ContractAddresses, b9 as VenmoCredentialUploadInput, b2 as VenmoSessionMaterial, bF as VerifySellerPaymentParams, bb as WiseCredentialUploadInput, b5 as WiseProfileInfo, b7 as WiseProfileNotFound, b6 as WiseProfileSelectionRequired, b4 as WiseSessionMaterial, ap as WithdrawDepositParams, dl as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, b$ as buildStakingEntityIds, dr as classifyDelegationState, ag as classifyIntentGuardianError, b_ as compareEventCursorIdsByRecency, cQ as currencyInfo, bX as defaultIndexerEndpoint, dD as diffAccessPolicy, dc as enrichPvDepositView, dd as enrichPvIntentView, c1 as fetchIndexerFulfillmentAndPayment, cX as getContracts, cT as getCurrencyCodeFromHash, cS as getCurrencyInfoFromCountryCode, cR as getCurrencyInfoFromHash, dq as getDelegationRoute, d1 as getDisputeProtectionPolicyContract, d3 as getGatingServiceAddress, cY as getIntentGuardianContract, d0 as getOrchestratorV3Contract, d2 as getPaymentMethodsCatalog, c_ as getRateManagerContracts, c$ as getStakeVaultContract, cZ as hasIntentGuardian, cU as isSupportedCurrencyHash, dm as isZeroRateManagerId, cV as mapConversionRatesToOnchainMinRate, dE as normalizeAccessPolicyState, dn as normalizeRateManagerId, dp as normalizeRegistry, da as parseDepositView, db as parseIntentView, dF as planAccessPolicyUpdate } from './vaultUtils-Dla_eG15.js';
3
3
  import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  export { IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient } from '@zkp2p/zkp2p-attestation';
@@ -64,6 +64,31 @@ interface EscrowIntentView {
64
64
  deposit: EscrowDepositView;
65
65
  }
66
66
 
67
+ type SdkBuildMetadata = {
68
+ readonly schemaVersion: 1;
69
+ readonly source: {
70
+ readonly repository: 'zkp2p/zkp2p-clients';
71
+ readonly commitSha: string;
72
+ readonly kind: 'development' | 'github';
73
+ readonly distributable: boolean;
74
+ };
75
+ readonly sdkPackageVersion: string;
76
+ readonly contractsPackageVersion: string;
77
+ readonly indexerSchemaPackageVersion: string;
78
+ readonly activeDisputeStack: {
79
+ readonly base: {
80
+ readonly version: 1;
81
+ readonly selectionHash: string;
82
+ };
83
+ readonly baseStaging: {
84
+ readonly version: 1;
85
+ readonly selectionHash: string;
86
+ };
87
+ };
88
+ };
89
+ /** Immutable source and protocol identity embedded in the built SDK artifact. */
90
+ declare const SDK_BUILD_METADATA: SdkBuildMetadata;
91
+
67
92
  declare const isValidReferrerFeeRecipient: (value: string) => value is `0x${string}`;
68
93
  declare const isValidReferrerFeeBps: (value: number) => boolean;
69
94
  declare const assertValidReferrerFeeConfig: (config: ReferrerFeeConfig | undefined, context: "getQuote" | "getQuotesBestByPlatform" | "signalIntent") => ReferrerFeeConfig | undefined;
@@ -707,7 +732,7 @@ declare function resolvePaymentMethodHashFromCatalog(processorName: string, cata
707
732
  declare function resolvePaymentMethodNameFromHash(hash: string, catalog: PaymentMethodCatalog): string | undefined;
708
733
 
709
734
  /**
710
- * Exact client-side counterparts of the ChargebackPolicy admission rules.
735
+ * Exact client-side counterparts of the DisputeProtectionPolicy admission rules.
711
736
  *
712
737
  * Kept inside the public SDK so its generated declarations and runtime remain
713
738
  * self-contained for external consumers. The deployed policy (contracts-v2
@@ -725,16 +750,16 @@ type IntegerLike = bigint | number | string | {
725
750
  type RiskMode = 'UNBONDED' | 'STAKE_BACKED';
726
751
  declare const RISK_BPS_DENOMINATOR = 10000n;
727
752
  /** Full-gross coverage required at admission; zero when the method is unbonded. */
728
- declare function calculateRequiredCoverage(amount: IntegerLike, chargebackable: boolean): bigint;
729
- /** Maximum chargebackable intent amount that can use existing stake. */
753
+ declare function calculateRequiredCoverage(amount: IntegerLike, disputeProtected: boolean): bigint;
754
+ /** Maximum dispute-protected intent amount that can use existing stake. */
730
755
  declare function calculateStakeBackedCapacity(freeStake: IntegerLike): bigint;
731
756
  /**
732
- * Exact admission mode under the ChargebackPolicy. `chargebackable` means the
757
+ * Exact admission mode under the DisputeProtectionPolicy. `disputeProtected` means the
733
758
  * payment method carries a non-zero risk window; the policy additionally
734
- * requires the deposit to have chargebacks enabled and admissions unpaused,
759
+ * requires the deposit to have dispute protection enabled and admissions unpaused,
735
760
  * both of which reject the intent outright rather than changing its mode.
736
761
  */
737
- declare function selectRiskMode(amount: IntegerLike, freeStake: IntegerLike, chargebackable: boolean): RiskMode;
762
+ declare function selectRiskMode(amount: IntegerLike, freeStake: IntegerLike, disputeProtected: boolean): RiskMode;
738
763
 
739
764
  /**
740
765
  * Ensure a value is 32 bytes hex (0x + 64 nibbles). If ascii, keccak256 by default when hash=true.
@@ -924,4 +949,4 @@ declare class ContractError extends ZKP2PError {
924
949
  constructor(message: string, details?: unknown);
925
950
  }
926
951
 
927
- export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type IntegerLike, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RiskMode, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
952
+ export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type IntegerLike, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuoteRequest, QuoteResponse, QuotesBestByPlatformRequest, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, type RiskMode, SDK_BUILD_METADATA, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, type SdkBuildMetadata, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SignIntentApiOptions, type SignIntentV3ReferralFee, type SignIntentV3Request, type SignIntentV3ResponseObject, type SignIntentV3Result, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, calculateRequiredCoverage, calculateStakeBackedCapacity, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, selectRiskMode, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };