@zkp2p/sdk 0.14.7 → 0.14.8-rc.0

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 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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-C8yL2H-O.mjs';
2
- export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, dN as ICloudMailCredentialError, dP as ICloudMailCredentialErrorReason, dQ as ICloudMailSellerPlatform, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, dR as UploadICloudMailSellerCredentialOptions, dS as UploadICloudMailSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, dO as isMailboxSellerCredentialType, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-C8yL2H-O.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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-BStoKLo3.mjs';
2
+ export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, dQ as AttestICloudMailSellerCredentialContext, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, dO as ICloudMailCredentialError, dR as ICloudMailCredentialErrorReason, dS as ICloudMailSellerPlatform, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, dT as UploadICloudMailSellerCredentialOptions, dU as UploadICloudMailSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, dN as attestICloudMailSellerCredential, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, dP as isMailboxSellerCredentialType, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-BStoKLo3.mjs';
3
3
  import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  export { DisputeActionTypeByPlatform, DisputeAttestationOutput, DisputeAttestationOutputFor, DisputeDetails, DisputePlatform, IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient, verifyDisputeAttestation } from '@zkp2p/zkp2p-attestation';
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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-C8yL2H-O.js';
2
- export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, dN as ICloudMailCredentialError, dP as ICloudMailCredentialErrorReason, dQ as ICloudMailSellerPlatform, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, dR as UploadICloudMailSellerCredentialOptions, dS as UploadICloudMailSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, dO as isMailboxSellerCredentialType, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-C8yL2H-O.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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-BStoKLo3.js';
2
+ export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, dQ as AttestICloudMailSellerCredentialContext, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, dO as ICloudMailCredentialError, dR as ICloudMailCredentialErrorReason, dS as ICloudMailSellerPlatform, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, dT as UploadICloudMailSellerCredentialOptions, dU as UploadICloudMailSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, dN as attestICloudMailSellerCredential, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, dP as isMailboxSellerCredentialType, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-BStoKLo3.js';
3
3
  import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  export { DisputeActionTypeByPlatform, DisputeAttestationOutput, DisputeAttestationOutputFor, DisputeDetails, DisputePlatform, IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient, verifyDisputeAttestation } from '@zkp2p/zkp2p-attestation';
package/dist/index.mjs CHANGED
@@ -2,11 +2,11 @@ import { IntentGuardianOperations } from './chunk-YA67SM3A.mjs';
2
2
  export { ZERO_RATE_MANAGER_ID, classifyDelegationState, classifyIntentGuardianError, getDelegationRoute, isZeroRateManagerId, normalizeRateManagerId, normalizeRegistry } from './chunk-YA67SM3A.mjs';
3
3
  import { NetworkError, ValidationError, ContractError, APIError } from './chunk-3J4FPMPW.mjs';
4
4
  export { APIError, ContractError, ErrorCode, NetworkError, ValidationError, ZKP2PError } from './chunk-3J4FPMPW.mjs';
5
- import { OrchestratorRegistry_default, DISPUTE_PROTECTION_POLICY_ABI, DisputeProtectionPolicy_default, METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, MultiAttestationVerifier_default, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash, OrchestratorV3_default, DisputeNullifierRegistry_default, DisputeVerifier_default, WhitelistPolicy_default, StakeVault_default, IntentLifecycleHookV1_default } from './chunk-ANDZNB7X.mjs';
6
- export { DISPUTE_PROTECTION_POLICY_ABI2 as DISPUTE_PROTECTION_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getContracts, getDisputeProtectionPolicyContract, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-ANDZNB7X.mjs';
5
+ import { OrchestratorRegistry_default, DISPUTE_PROTECTION_POLICY_ABI, DisputeProtectionPolicy_default, METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, MultiAttestationVerifier_default, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash, OrchestratorV3_default, DisputeNullifierRegistry_default, DisputeVerifier_default, WhitelistPolicy_default, StakeVault_default, IntentLifecycleHookV1_default } from './chunk-7MZINJ6Z.mjs';
6
+ export { DISPUTE_PROTECTION_POLICY_ABI2 as DISPUTE_PROTECTION_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getContracts, getDisputeProtectionPolicyContract, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-7MZINJ6Z.mjs';
7
7
  import { Currency, currencyKeccak256 } from './chunk-WDEEWFEU.mjs';
8
8
  export { Currency, currencyInfo, getCurrencyCodeFromHash, getCurrencyInfoFromCountryCode, getCurrencyInfoFromHash, isSupportedCurrencyHash, mapConversionRatesToOnchainMinRate } from './chunk-WDEEWFEU.mjs';
9
- import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-SWQCAVQR.mjs';
9
+ import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-KQT4XYPO.mjs';
10
10
  import { keccak256, concatHex, encodeFunctionData, encodeAbiParameters, createPublicClient, http, parseEventLogs, isAddressEqual, isAddress, zeroAddress, formatUnits } from 'viem';
11
11
  import { hardhat, base } from 'viem/chains';
12
12
  import { hashUtf8, createNitroAttestationClient, verifySellerCredentialBundle, NitroAttestationError, createEncryptedBuyerTeeSessionMaterial as createEncryptedBuyerTeeSessionMaterial$1, createEncryptedSellerCredentialUpload } from '@zkp2p/zkp2p-attestation';
@@ -978,7 +978,7 @@ async function withRetry(fn, maxRetries = 3, delayMs = 1e3, timeoutMs, shouldRet
978
978
  for (let i = 0; i < maxRetries; i++) {
979
979
  try {
980
980
  if (timeoutMs) {
981
- const { withTimeout } = await import('./timeout-7GUR6QN3.mjs');
981
+ const { withTimeout } = await import('./timeout-XMYRXVUQ.mjs');
982
982
  return await withTimeout(fn(), timeoutMs, `Operation timed out after ${timeoutMs}ms`);
983
983
  }
984
984
  return await fn();
@@ -2597,7 +2597,7 @@ var ProtocolViewerReader = class {
2597
2597
  if (inputCount === null) {
2598
2598
  throw new Error("Configured ProtocolViewer ABI does not expose getDeposit");
2599
2599
  }
2600
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-N5RU4PRR.mjs');
2600
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-SVYPQCPC.mjs');
2601
2601
  if (inputCount >= 3) {
2602
2602
  return tryContexts(
2603
2603
  protocolViewerContexts,
@@ -2683,7 +2683,7 @@ var ProtocolViewerReader = class {
2683
2683
  return Promise.all(ids.map((id) => this.config.host.getPvDepositById(id)));
2684
2684
  }
2685
2685
  const bn = ids.map((id) => typeof id === "bigint" ? id : parseRawDepositId(id));
2686
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-N5RU4PRR.mjs');
2686
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-SVYPQCPC.mjs');
2687
2687
  if (inputCount >= 2) {
2688
2688
  const requests = ids.map((id, index) => ({
2689
2689
  index,
@@ -2788,7 +2788,7 @@ var ProtocolViewerReader = class {
2788
2788
  if (!protocolViewerAddress || !protocolViewerAbi || inputCount === null) {
2789
2789
  return this.config.host.getPvAccountDepositsFromIndexer(owner);
2790
2790
  }
2791
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-N5RU4PRR.mjs');
2791
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-SVYPQCPC.mjs');
2792
2792
  const { address, abi } = this.config.host.requireProtocolViewer();
2793
2793
  if (inputCount >= 2) {
2794
2794
  const readAndFilter = async (raw2) => {
@@ -2859,7 +2859,7 @@ var ProtocolViewerReader = class {
2859
2859
  if (protocolViewerEntries.length === 0) {
2860
2860
  throw new Error("ProtocolViewer not available for this network");
2861
2861
  }
2862
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-N5RU4PRR.mjs');
2862
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-SVYPQCPC.mjs');
2863
2863
  const intentsByHash = /* @__PURE__ */ new Map();
2864
2864
  let attemptedRead = false;
2865
2865
  let hadSuccessfulRead = false;
@@ -2967,7 +2967,7 @@ var ProtocolViewerReader = class {
2967
2967
  if (protocolViewerEntries.length === 0) {
2968
2968
  throw new Error("ProtocolViewer not available for this network");
2969
2969
  }
2970
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-N5RU4PRR.mjs');
2970
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-SVYPQCPC.mjs');
2971
2971
  let lastError;
2972
2972
  for (const pvEntry of protocolViewerEntries) {
2973
2973
  const inputCount = this.pvEntryFunctionInputCount(pvEntry, "getIntent");
@@ -9122,7 +9122,7 @@ function resolveAttestorEnvironment(attestationServiceUrl) {
9122
9122
  }
9123
9123
  return environment;
9124
9124
  }
9125
- async function uploadICloudMailSellerCredential(params, context) {
9125
+ async function attestICloudMailSellerCredential(params, context) {
9126
9126
  const { appSpecificPassword, platform } = params;
9127
9127
  const mailboxEmail = params.mailboxEmail.trim().toLowerCase();
9128
9128
  if (!mailboxEmail) throw new ValidationError("mailboxEmail is required", "mailboxEmail");
@@ -9185,33 +9185,39 @@ async function uploadICloudMailSellerCredential(params, context) {
9185
9185
  `Attestor returned credential type ${bundle.credentialType}`
9186
9186
  );
9187
9187
  }
9188
- let stored;
9189
- try {
9190
- const response = await apiUploadSellerCredential(
9191
- platform,
9192
- payeeDetails,
9193
- bundle,
9194
- context.baseApiUrl,
9195
- context.timeoutMs,
9196
- context.authorizationToken,
9197
- // Send once: a 429 or lost response returns to the user, who retries.
9198
- 1
9199
- );
9200
- stored = response.success ? response.responseObject : null;
9201
- } catch (error) {
9202
- throw toCuratorError(error, mailboxEmail);
9203
- }
9204
- if (stored?.status !== "active" || stored.credentialType !== "icloud_mail" || stored.platform !== platform || stored.payeeIdHash.toLowerCase() !== payeeDetails) {
9205
- throw new ICloudMailCredentialError(
9206
- "store_failed",
9207
- "Curator did not store an active iCloud credential"
9208
- );
9209
- }
9210
- return stored;
9188
+ return bundle;
9211
9189
  } finally {
9212
9190
  mailboxesInFlight.delete(mailboxEmail);
9213
9191
  }
9214
9192
  }
9193
+ async function uploadICloudMailSellerCredential(params, context) {
9194
+ const bundle = await attestICloudMailSellerCredential(params, context);
9195
+ const { platform } = params;
9196
+ const payeeDetails = params.payeeDetails.toLowerCase();
9197
+ let stored;
9198
+ try {
9199
+ const response = await apiUploadSellerCredential(
9200
+ platform,
9201
+ payeeDetails,
9202
+ bundle,
9203
+ context.baseApiUrl,
9204
+ context.timeoutMs,
9205
+ context.authorizationToken,
9206
+ // Send once: a 429 or lost response returns to the user, who retries.
9207
+ 1
9208
+ );
9209
+ stored = response.success ? response.responseObject : null;
9210
+ } catch (error) {
9211
+ throw toCuratorError(error, params.mailboxEmail.trim().toLowerCase());
9212
+ }
9213
+ if (stored?.status !== "active" || stored.credentialType !== "icloud_mail" || stored.platform !== platform || stored.payeeIdHash.toLowerCase() !== payeeDetails) {
9214
+ throw new ICloudMailCredentialError(
9215
+ "store_failed",
9216
+ "Curator did not store an active iCloud credential"
9217
+ );
9218
+ }
9219
+ return stored;
9220
+ }
9215
9221
 
9216
9222
  // src/sellerCredentials.ts
9217
9223
  function normalizeBaseApiUrl(value) {
@@ -12024,7 +12030,7 @@ var Zkp2pClient = class {
12024
12030
  }
12025
12031
  }
12026
12032
  });
12027
- const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-7YDW5OGY.mjs');
12033
+ const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-45EYG6OA.mjs');
12028
12034
  currencies = mapConversionRatesToOnchainMinRate2(
12029
12035
  params.conversionRates,
12030
12036
  paymentMethods.length
@@ -12506,18 +12512,34 @@ var Zkp2pClient = class {
12506
12512
  * delay. The attestor defaults to the one paired with `baseApiUrl`.
12507
12513
  */
12508
12514
  async uploadICloudMailSellerCredential(params, opts) {
12515
+ return uploadICloudMailSellerCredential(params, {
12516
+ ...this.iCloudMailAttestContext(opts),
12517
+ authorizationToken: await this.resolveAuthorizationToken()
12518
+ });
12519
+ }
12520
+ /**
12521
+ * Run the checks, enclave upload and bundle verification of
12522
+ * `uploadICloudMailSellerCredential` and return the verified bundle without
12523
+ * storing it, for callers that store it through another Curator route. Needs
12524
+ * no Curator session; Venmo still fetches the maker's account ID from
12525
+ * `baseApiUrl`. Rejects with the same `ICloudMailCredentialError` reasons,
12526
+ * mailbox lock and rate-limit delay.
12527
+ */
12528
+ async attestICloudMailSellerCredential(params, opts) {
12529
+ return attestICloudMailSellerCredential(params, this.iCloudMailAttestContext(opts));
12530
+ }
12531
+ iCloudMailAttestContext(opts) {
12509
12532
  const baseApiUrl = this.stripTrailingSlash(
12510
12533
  opts?.baseApiUrl ?? this.baseApiUrl ?? DEFAULT_BASE_API_URL
12511
12534
  );
12512
- return uploadICloudMailSellerCredential(params, {
12535
+ return {
12513
12536
  attestationServiceUrl: this.stripTrailingSlash(
12514
12537
  opts?.attestationServiceUrl ?? this.defaultAttestationServiceForBaseApiUrl(baseApiUrl)
12515
12538
  ),
12516
12539
  attestationRuntime: opts?.attestationRuntime,
12517
12540
  baseApiUrl,
12518
- timeoutMs: this.apiTimeoutMs,
12519
- authorizationToken: await this.resolveAuthorizationToken()
12520
- });
12541
+ timeoutMs: this.apiTimeoutMs
12542
+ };
12521
12543
  }
12522
12544
  /**
12523
12545
  * Status is a coarse curator-owned signal (`active` / `inactive` / `missing`) and intentionally
@@ -12946,6 +12968,6 @@ function openVenmoGmailConnect(options) {
12946
12968
  });
12947
12969
  }
12948
12970
 
12949
- export { AccessPolicyOperations, AccessPolicyUnsupportedError, BASE_BUILDER_CODE, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractRouter, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ICloudMailCredentialError, IndexerClient, IndexerDepositService, IndexerRateManagerService, IndexerStakingService, Zkp2pClient as OfframpClient, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, SDK_BUILD_METADATA, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, TOKEN_METADATA, VenmoGmailConnectError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, Zkp2pClient, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetSellerCredentialStatus, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadMicrosoftOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, assertValidReferrerFeeConfig, buildStakingEntityIds, calculateRequiredCoverage, calculateStakeBackedCapacity, compareEventCursorIdsByRecency, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, defaultIndexerEndpoint, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, fetchFulfillmentAndPayment as fetchIndexerFulfillmentAndPayment, getAmazonPaySellerIdentity, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, getVenmoGmailConnectUrl, isMailboxSellerCredentialType, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, openVenmoGmailConnect, parseReferrerFeeConfig, parseVenmoGmailAppearance, peerExtensionSdk, readDisputeAttestationConfig, referrerFeeConfigToPreciseUnits, selectRiskMode, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
12971
+ export { AccessPolicyOperations, AccessPolicyUnsupportedError, BASE_BUILDER_CODE, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractRouter, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ICloudMailCredentialError, IndexerClient, IndexerDepositService, IndexerRateManagerService, IndexerStakingService, Zkp2pClient as OfframpClient, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RISK_BPS_DENOMINATOR, SDK_BUILD_METADATA, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, TOKEN_METADATA, VenmoGmailConnectError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, Zkp2pClient, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuote, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetSellerCredentialStatus, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiSignIntentV3, apiSignIntentV3Raw, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadMicrosoftOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, assertValidReferrerFeeConfig, attestICloudMailSellerCredential, buildStakingEntityIds, calculateRequiredCoverage, calculateStakeBackedCapacity, compareEventCursorIdsByRecency, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, defaultIndexerEndpoint, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, fetchFulfillmentAndPayment as fetchIndexerFulfillmentAndPayment, getAmazonPaySellerIdentity, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, getVenmoGmailConnectUrl, isMailboxSellerCredentialType, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, openVenmoGmailConnect, parseReferrerFeeConfig, parseVenmoGmailAppearance, peerExtensionSdk, readDisputeAttestationConfig, referrerFeeConfigToPreciseUnits, selectRiskMode, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
12950
12972
  //# sourceMappingURL=index.mjs.map
12951
12973
  //# sourceMappingURL=index.mjs.map