@zkp2p/sdk 0.12.2-rc.4 → 0.14.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, 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-D9um2feo.mjs';
2
- export { dD as AccessPolicyOperations, dE as AccessPolicyUnsupportedError, am as ActionCallback, aQ as ApiDeposit, aX as ApiIntentStatus, bv as AttestationServiceSellerCredentialProbeResponse, ak as AuthorizationTokenProvider, dA as BatchResult, ax as BestByPlatformResponseObject, bw as BuyerTeePaymentParams, bx as BuyerTeePaymentProofInput, by as BuyerTeeSessionMaterial, a3 as CancelIntentMethodParams, aw as CancelIntentParams, bd as CashAppCredentialUploadInput, b6 as CashAppSessionMaterial, aq as CreateDepositConversionRate, ap as CreateDepositParams, bz as CuratorSellerCredentialStatusResponse, bA as CuratorSellerVerifyResponse, cU as Currency, c$ as CurrencyData, da as DISPUTE_PROTECTION_POLICY_ABI, dz as DelegationDepositTarget, dx as DelegationRoute, dy as DelegationState, dk as Deposit, dm as DepositCurrency, bT as DepositIntentStatistics, aT as DepositStatus, aR as DepositVerifier, aS as DepositVerifierCurrency, bQ as DepositVerifierData, dj as DepositView, aa as DisputeAttestationConfig, co as DisputeProtectionIntentPage, cp as DisputeProtectionIntentPageParams, ab as DisputeProtectionReadinessOptions, ac as DisputeProtectionReadinessResult, aM as FiatResponse, bu as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, au as FulfillIntentParams, ay as GetBestByPlatformResponse, az as GetBestByPlatformResponseObject, aU as GetDepositByIdRequest, aV as GetDepositByIdResponse, b0 as GetIntentByHashRequest, b1 as GetIntentByHashResponse, a_ as GetIntentsByDepositRequest, a$ as GetIntentsByDepositResponse, aD as GetNearbyQuote, aE as GetNearbySuggestions, aY as GetOwnerIntentsRequest, aZ as GetOwnerIntentsResponse, aA as GetPlatformQuote, aF as GetQuoteResponse, aG as GetQuoteResponseObject, aH as GetQuoteSingleResponse, bF as GetSellerCredentialStatusParams, bJ as IdentityAttestationActionType, bK as IdentityAttestationOutput, bL as IdentityAttestationOutputFor, bM as IdentityAttestationParams, cq as IndexedDisputeProtectionIntent, cr as IndexedPage, cs as IndexedPageAsOf, ct as IndexedRiskWindow, cu as IndexedStakeActivity, cv as IndexedStakeLock, cw as IndexedStakingRowFreshness, cx as IndexedStakingState, cy as IndexedStakingStateParams, cz as IndexedTakerAuthorization, cA as IndexedTakerStakeAuthorization, bZ as IndexerClient, cO as IndexerDeploymentEnv, c5 as IndexerDeposit, cm as IndexerDepositDailySnapshot, cF as IndexerDepositFilter, cl as IndexerDepositFundActivity, cn as IndexerDepositFundActivityType, cI as IndexerDepositOrderDirection, cH as IndexerDepositOrderField, cG as IndexerDepositPagination, c8 as IndexerDepositPaymentMethod, b$ as IndexerDepositService, cR as IndexerFulfillmentAndPaymentResponse, cP as IndexerFulfillmentRecord, c6 as IndexerIntentFulfilled, c7 as IndexerIntentFulfillmentAmounts, ca as IndexerIntentStatus, ce as IndexerManagerAggregateStats, cg as IndexerManagerDailySnapshot, cf as IndexerManagerStats, cj as IndexerManualRateUpdate, c9 as IndexerMethodCurrency, ck as IndexerOracleConfigUpdate, cQ as IndexerPaymentVerifiedRecord, cb as IndexerRateManager, cd as IndexerRateManagerDelegation, cL as IndexerRateManagerDelegationPagination, ci as IndexerRateManagerDetail, cJ as IndexerRateManagerFilter, ch as IndexerRateManagerListItem, cN as IndexerRateManagerOrderDirection, cM as IndexerRateManagerOrderField, cK as IndexerRateManagerPagination, cc as IndexerRateManagerRate, c0 as IndexerRateManagerService, c3 as IndexerStakingService, aW as Intent, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote, ag as IntentGuardianWriteFunction, ah as IntentGuardianWriteParams, dp as IntentView, bN as MakerIdentityAttestationRequestBody, bO as MakerIdentityPlatform, aO as NearbyQuote, aP as NearbySuggestions, d9 as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bP as OnchainCurrency, dq as OnchainIntent, bS as OrderStats, bX as OrderbookEntry, bY as OrderbookTableRow, cS as PAYMENT_PLATFORMS, bb as PayPalGoogleOAuthSellerCredentialUploadBody, dl as PaymentMethodData, cT as PaymentPlatformType, aB as PlatformQuote, bR as PreparedTransaction, aL as QuoteFeesResponse, aK as QuoteIntentResponse, aC as QuotePreference, aI as QuoteResponseObject, aJ as QuoteSingleResponse, ar as Range, ad as ReadDisputeAttestationConfigParams, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, dn as ReferralFee, Y as ReferralReadOptions, an as ReferralRedemption, ao as ReferralSignatureBody, _ as ReferralSignatureOptions, b2 as RegisterPayeeDetailsRequest, b3 as RegisterPayeeDetailsResponse, bB as RegisteredSellerCredentialPlatform, bD as RegisteredUploadSellerCredentialParams, av as ReleaseFundsToPayerParams, dc as RuntimeEnv, db as STAKE_VAULT_ABI, bs as SellerAttestationOutput, bg as SellerCiphertextBundle, bl as SellerCredentialBundleUpload, bt as SellerCredentialProbeResponse, bn as SellerCredentialStatus, bm as SellerCredentialStatusValue, bf as SellerCredentialUploadInputByPlatform, br as SellerPaymentTypedDataValue, b4 as SellerPlatform, bk as SellerProbeInput, bh as SellerSignedCiphertextBundle, bp as SellerTypedDataField, bq as SellerTypedDataSpec, bj as SellerVerifyInput, bi as SellerVerifyIntentDetails, bo as SellerVerifyProxyBody, dC as SendBatchFn, dB as SendTransactionFn, a1 as SignalIntentMethodParams, at as SignalIntentParams, a0 as SignalIntentReferralFee, cB as StakeActivityPageParams, bV as StakeEnvironment, cC as StakeLockPageParams, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, cD as StakingEntityIds, cE as TakerStakeAuthorizationPageParams, bW as TakerStakeBalances, al as TimeoutConfig, aN as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bH as UploadGoogleOAuthSellerCredentialParams, bG as UploadPayPalGoogleOAuthSellerCredentialParams, bE as UploadSellerCredentialOptions, bC as UploadSellerCredentialParams, bU as UsdcAmount, de as V2ContractAbis, dd as V2ContractAddresses, bc as VenmoCredentialUploadInput, b5 as VenmoSessionMaterial, bI as VerifySellerPaymentParams, be as WiseCredentialUploadInput, b8 as WiseProfileInfo, ba as WiseProfileNotFound, b9 as WiseProfileSelectionRequired, b7 as WiseSessionMaterial, as as WithdrawDepositParams, dr as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, c2 as buildStakingEntityIds, dw as classifyDelegationState, aj as classifyIntentGuardianError, c1 as compareEventCursorIdsByRecency, cV as currencyInfo, b_ as defaultIndexerEndpoint, dh as enrichPvDepositView, di as enrichPvIntentView, c4 as fetchIndexerFulfillmentAndPayment, d0 as getContracts, cY as getCurrencyCodeFromHash, cX as getCurrencyInfoFromCountryCode, cW as getCurrencyInfoFromHash, dv as getDelegationRoute, d6 as getDisputeProtectionPolicyContract, d8 as getGatingServiceAddress, d1 as getIntentGuardianContract, d5 as getOrchestratorV3Contract, d7 as getPaymentMethodsCatalog, d3 as getRateManagerContracts, d4 as getStakeVaultContract, d2 as hasIntentGuardian, cZ as isSupportedCurrencyHash, ds as isZeroRateManagerId, c_ as mapConversionRatesToOnchainMinRate, dt as normalizeRateManagerId, du as normalizeRegistry, df as parseDepositView, dg as parseIntentView, a9 as readDisputeAttestationConfig } from './vaultUtils-D9um2feo.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-Llr7Gh2R.mjs';
2
+ export { dE as AccessPolicyOperations, dF as AccessPolicyUnsupportedError, am as ActionCallback, aR as ApiDeposit, aY as ApiIntentStatus, bw as AttestationServiceSellerCredentialProbeResponse, ak as AuthorizationTokenProvider, dB as BatchResult, ax as BestByPlatformResponseObject, bx as BuyerTeePaymentParams, by as BuyerTeePaymentProofInput, bz as BuyerTeeSessionMaterial, a3 as CancelIntentMethodParams, aw as CancelIntentParams, be as CashAppCredentialUploadInput, b7 as CashAppSessionMaterial, aq as CreateDepositConversionRate, ap as CreateDepositParams, bA as CuratorSellerCredentialStatusResponse, bB as CuratorSellerVerifyResponse, cV as Currency, d0 as CurrencyData, db as DISPUTE_PROTECTION_POLICY_ABI, dA as DelegationDepositTarget, dy as DelegationRoute, dz as DelegationState, dl as Deposit, dn as DepositCurrency, bU as DepositIntentStatistics, aU as DepositStatus, aS as DepositVerifier, aT as DepositVerifierCurrency, bR as DepositVerifierData, dk as DepositView, aa as DisputeAttestationConfig, cp as DisputeProtectionIntentPage, cq as DisputeProtectionIntentPageParams, ab as DisputeProtectionReadinessOptions, ac as DisputeProtectionReadinessResult, aN as FiatResponse, bv as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, au as FulfillIntentParams, ay as GetBestByPlatformResponse, az as GetBestByPlatformResponseObject, aV as GetDepositByIdRequest, aW as GetDepositByIdResponse, b1 as GetIntentByHashRequest, b2 as GetIntentByHashResponse, a$ as GetIntentsByDepositRequest, b0 as GetIntentsByDepositResponse, aD as GetNearbyQuote, aE as GetNearbySuggestions, aZ as GetOwnerIntentsRequest, a_ as GetOwnerIntentsResponse, aA as GetPlatformQuote, aF as GetQuoteResponse, aG as GetQuoteResponseObject, aH as GetQuoteSingleResponse, bG as GetSellerCredentialStatusParams, bK as IdentityAttestationActionType, bL as IdentityAttestationOutput, bM as IdentityAttestationOutputFor, bN as IdentityAttestationParams, cr as IndexedDisputeProtectionIntent, cs as IndexedPage, ct as IndexedPageAsOf, cu as IndexedRiskWindow, cv as IndexedStakeActivity, cw as IndexedStakeLock, cx as IndexedStakingRowFreshness, cy as IndexedStakingState, cz as IndexedStakingStateParams, cA as IndexedTakerAuthorization, cB as IndexedTakerStakeAuthorization, b_ as IndexerClient, cP as IndexerDeploymentEnv, c6 as IndexerDeposit, cn as IndexerDepositDailySnapshot, cG as IndexerDepositFilter, cm as IndexerDepositFundActivity, co as IndexerDepositFundActivityType, cJ as IndexerDepositOrderDirection, cI as IndexerDepositOrderField, cH as IndexerDepositPagination, c9 as IndexerDepositPaymentMethod, c0 as IndexerDepositService, cS as IndexerFulfillmentAndPaymentResponse, cQ as IndexerFulfillmentRecord, c7 as IndexerIntentFulfilled, c8 as IndexerIntentFulfillmentAmounts, cb as IndexerIntentStatus, cf as IndexerManagerAggregateStats, ch as IndexerManagerDailySnapshot, cg as IndexerManagerStats, ck as IndexerManualRateUpdate, ca as IndexerMethodCurrency, cl as IndexerOracleConfigUpdate, cR as IndexerPaymentVerifiedRecord, cc as IndexerRateManager, ce as IndexerRateManagerDelegation, cM as IndexerRateManagerDelegationPagination, cj as IndexerRateManagerDetail, cK as IndexerRateManagerFilter, ci as IndexerRateManagerListItem, cO as IndexerRateManagerOrderDirection, cN as IndexerRateManagerOrderField, cL as IndexerRateManagerPagination, cd as IndexerRateManagerRate, c1 as IndexerRateManagerService, c4 as IndexerStakingService, aX as Intent, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote, ag as IntentGuardianWriteFunction, ah as IntentGuardianWriteParams, dq as IntentView, bO as MakerIdentityAttestationRequestBody, bP as MakerIdentityPlatform, aP as NearbyQuote, aQ as NearbySuggestions, da as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bQ as OnchainCurrency, dr as OnchainIntent, bT as OrderStats, bY as OrderbookEntry, bZ as OrderbookTableRow, cT as PAYMENT_PLATFORMS, bc as PayPalGoogleOAuthSellerCredentialUploadBody, dm as PaymentMethodData, cU as PaymentPlatformType, aB as PlatformQuote, bS as PreparedTransaction, aM as QuoteFeesResponse, aL as QuoteIntentResponse, aJ as QuoteMakerIdentity, aC as QuotePreference, aI as QuoteResponseObject, aK as QuoteSingleResponse, ar as Range, ad as ReadDisputeAttestationConfigParams, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, dp as ReferralFee, Y as ReferralReadOptions, an as ReferralRedemption, ao as ReferralSignatureBody, _ as ReferralSignatureOptions, b3 as RegisterPayeeDetailsRequest, b4 as RegisterPayeeDetailsResponse, bC as RegisteredSellerCredentialPlatform, bE as RegisteredUploadSellerCredentialParams, av as ReleaseFundsToPayerParams, dd as RuntimeEnv, dc as STAKE_VAULT_ABI, bt as SellerAttestationOutput, bh as SellerCiphertextBundle, bm as SellerCredentialBundleUpload, bu as SellerCredentialProbeResponse, bo as SellerCredentialStatus, bn as SellerCredentialStatusValue, bg as SellerCredentialUploadInputByPlatform, bs as SellerPaymentTypedDataValue, b5 as SellerPlatform, bl as SellerProbeInput, bi as SellerSignedCiphertextBundle, bq as SellerTypedDataField, br as SellerTypedDataSpec, bk as SellerVerifyInput, bj as SellerVerifyIntentDetails, bp as SellerVerifyProxyBody, dD as SendBatchFn, dC as SendTransactionFn, a1 as SignalIntentMethodParams, at as SignalIntentParams, a0 as SignalIntentReferralFee, cC as StakeActivityPageParams, bW as StakeEnvironment, cD as StakeLockPageParams, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, cE as StakingEntityIds, cF as TakerStakeAuthorizationPageParams, bX as TakerStakeBalances, al as TimeoutConfig, aO as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bI as UploadGoogleOAuthSellerCredentialParams, bH as UploadPayPalGoogleOAuthSellerCredentialParams, bF as UploadSellerCredentialOptions, bD as UploadSellerCredentialParams, bV as UsdcAmount, df as V2ContractAbis, de as V2ContractAddresses, bd as VenmoCredentialUploadInput, b6 as VenmoSessionMaterial, bJ as VerifySellerPaymentParams, bf as WiseCredentialUploadInput, b9 as WiseProfileInfo, bb as WiseProfileNotFound, ba as WiseProfileSelectionRequired, b8 as WiseSessionMaterial, as as WithdrawDepositParams, ds as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, c3 as buildStakingEntityIds, dx as classifyDelegationState, aj as classifyIntentGuardianError, c2 as compareEventCursorIdsByRecency, cW as currencyInfo, b$ as defaultIndexerEndpoint, di as enrichPvDepositView, dj as enrichPvIntentView, c5 as fetchIndexerFulfillmentAndPayment, d1 as getContracts, cZ as getCurrencyCodeFromHash, cY as getCurrencyInfoFromCountryCode, cX as getCurrencyInfoFromHash, dw as getDelegationRoute, d7 as getDisputeProtectionPolicyContract, d9 as getGatingServiceAddress, d2 as getIntentGuardianContract, d6 as getOrchestratorV3Contract, d8 as getPaymentMethodsCatalog, d4 as getRateManagerContracts, d5 as getStakeVaultContract, d3 as hasIntentGuardian, c_ as isSupportedCurrencyHash, dt as isZeroRateManagerId, c$ as mapConversionRatesToOnchainMinRate, du as normalizeRateManagerId, dv as normalizeRegistry, dg as parseDepositView, dh as parseIntentView, a9 as readDisputeAttestationConfig } from './vaultUtils-Llr7Gh2R.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, 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-D9um2feo.js';
2
- export { dD as AccessPolicyOperations, dE as AccessPolicyUnsupportedError, am as ActionCallback, aQ as ApiDeposit, aX as ApiIntentStatus, bv as AttestationServiceSellerCredentialProbeResponse, ak as AuthorizationTokenProvider, dA as BatchResult, ax as BestByPlatformResponseObject, bw as BuyerTeePaymentParams, bx as BuyerTeePaymentProofInput, by as BuyerTeeSessionMaterial, a3 as CancelIntentMethodParams, aw as CancelIntentParams, bd as CashAppCredentialUploadInput, b6 as CashAppSessionMaterial, aq as CreateDepositConversionRate, ap as CreateDepositParams, bz as CuratorSellerCredentialStatusResponse, bA as CuratorSellerVerifyResponse, cU as Currency, c$ as CurrencyData, da as DISPUTE_PROTECTION_POLICY_ABI, dz as DelegationDepositTarget, dx as DelegationRoute, dy as DelegationState, dk as Deposit, dm as DepositCurrency, bT as DepositIntentStatistics, aT as DepositStatus, aR as DepositVerifier, aS as DepositVerifierCurrency, bQ as DepositVerifierData, dj as DepositView, aa as DisputeAttestationConfig, co as DisputeProtectionIntentPage, cp as DisputeProtectionIntentPageParams, ab as DisputeProtectionReadinessOptions, ac as DisputeProtectionReadinessResult, aM as FiatResponse, bu as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, au as FulfillIntentParams, ay as GetBestByPlatformResponse, az as GetBestByPlatformResponseObject, aU as GetDepositByIdRequest, aV as GetDepositByIdResponse, b0 as GetIntentByHashRequest, b1 as GetIntentByHashResponse, a_ as GetIntentsByDepositRequest, a$ as GetIntentsByDepositResponse, aD as GetNearbyQuote, aE as GetNearbySuggestions, aY as GetOwnerIntentsRequest, aZ as GetOwnerIntentsResponse, aA as GetPlatformQuote, aF as GetQuoteResponse, aG as GetQuoteResponseObject, aH as GetQuoteSingleResponse, bF as GetSellerCredentialStatusParams, bJ as IdentityAttestationActionType, bK as IdentityAttestationOutput, bL as IdentityAttestationOutputFor, bM as IdentityAttestationParams, cq as IndexedDisputeProtectionIntent, cr as IndexedPage, cs as IndexedPageAsOf, ct as IndexedRiskWindow, cu as IndexedStakeActivity, cv as IndexedStakeLock, cw as IndexedStakingRowFreshness, cx as IndexedStakingState, cy as IndexedStakingStateParams, cz as IndexedTakerAuthorization, cA as IndexedTakerStakeAuthorization, bZ as IndexerClient, cO as IndexerDeploymentEnv, c5 as IndexerDeposit, cm as IndexerDepositDailySnapshot, cF as IndexerDepositFilter, cl as IndexerDepositFundActivity, cn as IndexerDepositFundActivityType, cI as IndexerDepositOrderDirection, cH as IndexerDepositOrderField, cG as IndexerDepositPagination, c8 as IndexerDepositPaymentMethod, b$ as IndexerDepositService, cR as IndexerFulfillmentAndPaymentResponse, cP as IndexerFulfillmentRecord, c6 as IndexerIntentFulfilled, c7 as IndexerIntentFulfillmentAmounts, ca as IndexerIntentStatus, ce as IndexerManagerAggregateStats, cg as IndexerManagerDailySnapshot, cf as IndexerManagerStats, cj as IndexerManualRateUpdate, c9 as IndexerMethodCurrency, ck as IndexerOracleConfigUpdate, cQ as IndexerPaymentVerifiedRecord, cb as IndexerRateManager, cd as IndexerRateManagerDelegation, cL as IndexerRateManagerDelegationPagination, ci as IndexerRateManagerDetail, cJ as IndexerRateManagerFilter, ch as IndexerRateManagerListItem, cN as IndexerRateManagerOrderDirection, cM as IndexerRateManagerOrderField, cK as IndexerRateManagerPagination, cc as IndexerRateManagerRate, c0 as IndexerRateManagerService, c3 as IndexerStakingService, aW as Intent, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote, ag as IntentGuardianWriteFunction, ah as IntentGuardianWriteParams, dp as IntentView, bN as MakerIdentityAttestationRequestBody, bO as MakerIdentityPlatform, aO as NearbyQuote, aP as NearbySuggestions, d9 as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bP as OnchainCurrency, dq as OnchainIntent, bS as OrderStats, bX as OrderbookEntry, bY as OrderbookTableRow, cS as PAYMENT_PLATFORMS, bb as PayPalGoogleOAuthSellerCredentialUploadBody, dl as PaymentMethodData, cT as PaymentPlatformType, aB as PlatformQuote, bR as PreparedTransaction, aL as QuoteFeesResponse, aK as QuoteIntentResponse, aC as QuotePreference, aI as QuoteResponseObject, aJ as QuoteSingleResponse, ar as Range, ad as ReadDisputeAttestationConfigParams, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, dn as ReferralFee, Y as ReferralReadOptions, an as ReferralRedemption, ao as ReferralSignatureBody, _ as ReferralSignatureOptions, b2 as RegisterPayeeDetailsRequest, b3 as RegisterPayeeDetailsResponse, bB as RegisteredSellerCredentialPlatform, bD as RegisteredUploadSellerCredentialParams, av as ReleaseFundsToPayerParams, dc as RuntimeEnv, db as STAKE_VAULT_ABI, bs as SellerAttestationOutput, bg as SellerCiphertextBundle, bl as SellerCredentialBundleUpload, bt as SellerCredentialProbeResponse, bn as SellerCredentialStatus, bm as SellerCredentialStatusValue, bf as SellerCredentialUploadInputByPlatform, br as SellerPaymentTypedDataValue, b4 as SellerPlatform, bk as SellerProbeInput, bh as SellerSignedCiphertextBundle, bp as SellerTypedDataField, bq as SellerTypedDataSpec, bj as SellerVerifyInput, bi as SellerVerifyIntentDetails, bo as SellerVerifyProxyBody, dC as SendBatchFn, dB as SendTransactionFn, a1 as SignalIntentMethodParams, at as SignalIntentParams, a0 as SignalIntentReferralFee, cB as StakeActivityPageParams, bV as StakeEnvironment, cC as StakeLockPageParams, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, cD as StakingEntityIds, cE as TakerStakeAuthorizationPageParams, bW as TakerStakeBalances, al as TimeoutConfig, aN as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bH as UploadGoogleOAuthSellerCredentialParams, bG as UploadPayPalGoogleOAuthSellerCredentialParams, bE as UploadSellerCredentialOptions, bC as UploadSellerCredentialParams, bU as UsdcAmount, de as V2ContractAbis, dd as V2ContractAddresses, bc as VenmoCredentialUploadInput, b5 as VenmoSessionMaterial, bI as VerifySellerPaymentParams, be as WiseCredentialUploadInput, b8 as WiseProfileInfo, ba as WiseProfileNotFound, b9 as WiseProfileSelectionRequired, b7 as WiseSessionMaterial, as as WithdrawDepositParams, dr as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, c2 as buildStakingEntityIds, dw as classifyDelegationState, aj as classifyIntentGuardianError, c1 as compareEventCursorIdsByRecency, cV as currencyInfo, b_ as defaultIndexerEndpoint, dh as enrichPvDepositView, di as enrichPvIntentView, c4 as fetchIndexerFulfillmentAndPayment, d0 as getContracts, cY as getCurrencyCodeFromHash, cX as getCurrencyInfoFromCountryCode, cW as getCurrencyInfoFromHash, dv as getDelegationRoute, d6 as getDisputeProtectionPolicyContract, d8 as getGatingServiceAddress, d1 as getIntentGuardianContract, d5 as getOrchestratorV3Contract, d7 as getPaymentMethodsCatalog, d3 as getRateManagerContracts, d4 as getStakeVaultContract, d2 as hasIntentGuardian, cZ as isSupportedCurrencyHash, ds as isZeroRateManagerId, c_ as mapConversionRatesToOnchainMinRate, dt as normalizeRateManagerId, du as normalizeRegistry, df as parseDepositView, dg as parseIntentView, a9 as readDisputeAttestationConfig } from './vaultUtils-D9um2feo.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-Llr7Gh2R.js';
2
+ export { dE as AccessPolicyOperations, dF as AccessPolicyUnsupportedError, am as ActionCallback, aR as ApiDeposit, aY as ApiIntentStatus, bw as AttestationServiceSellerCredentialProbeResponse, ak as AuthorizationTokenProvider, dB as BatchResult, ax as BestByPlatformResponseObject, bx as BuyerTeePaymentParams, by as BuyerTeePaymentProofInput, bz as BuyerTeeSessionMaterial, a3 as CancelIntentMethodParams, aw as CancelIntentParams, be as CashAppCredentialUploadInput, b7 as CashAppSessionMaterial, aq as CreateDepositConversionRate, ap as CreateDepositParams, bA as CuratorSellerCredentialStatusResponse, bB as CuratorSellerVerifyResponse, cV as Currency, d0 as CurrencyData, db as DISPUTE_PROTECTION_POLICY_ABI, dA as DelegationDepositTarget, dy as DelegationRoute, dz as DelegationState, dl as Deposit, dn as DepositCurrency, bU as DepositIntentStatistics, aU as DepositStatus, aS as DepositVerifier, aT as DepositVerifierCurrency, bR as DepositVerifierData, dk as DepositView, aa as DisputeAttestationConfig, cp as DisputeProtectionIntentPage, cq as DisputeProtectionIntentPageParams, ab as DisputeProtectionReadinessOptions, ac as DisputeProtectionReadinessResult, aN as FiatResponse, bv as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, au as FulfillIntentParams, ay as GetBestByPlatformResponse, az as GetBestByPlatformResponseObject, aV as GetDepositByIdRequest, aW as GetDepositByIdResponse, b1 as GetIntentByHashRequest, b2 as GetIntentByHashResponse, a$ as GetIntentsByDepositRequest, b0 as GetIntentsByDepositResponse, aD as GetNearbyQuote, aE as GetNearbySuggestions, aZ as GetOwnerIntentsRequest, a_ as GetOwnerIntentsResponse, aA as GetPlatformQuote, aF as GetQuoteResponse, aG as GetQuoteResponseObject, aH as GetQuoteSingleResponse, bG as GetSellerCredentialStatusParams, bK as IdentityAttestationActionType, bL as IdentityAttestationOutput, bM as IdentityAttestationOutputFor, bN as IdentityAttestationParams, cr as IndexedDisputeProtectionIntent, cs as IndexedPage, ct as IndexedPageAsOf, cu as IndexedRiskWindow, cv as IndexedStakeActivity, cw as IndexedStakeLock, cx as IndexedStakingRowFreshness, cy as IndexedStakingState, cz as IndexedStakingStateParams, cA as IndexedTakerAuthorization, cB as IndexedTakerStakeAuthorization, b_ as IndexerClient, cP as IndexerDeploymentEnv, c6 as IndexerDeposit, cn as IndexerDepositDailySnapshot, cG as IndexerDepositFilter, cm as IndexerDepositFundActivity, co as IndexerDepositFundActivityType, cJ as IndexerDepositOrderDirection, cI as IndexerDepositOrderField, cH as IndexerDepositPagination, c9 as IndexerDepositPaymentMethod, c0 as IndexerDepositService, cS as IndexerFulfillmentAndPaymentResponse, cQ as IndexerFulfillmentRecord, c7 as IndexerIntentFulfilled, c8 as IndexerIntentFulfillmentAmounts, cb as IndexerIntentStatus, cf as IndexerManagerAggregateStats, ch as IndexerManagerDailySnapshot, cg as IndexerManagerStats, ck as IndexerManualRateUpdate, ca as IndexerMethodCurrency, cl as IndexerOracleConfigUpdate, cR as IndexerPaymentVerifiedRecord, cc as IndexerRateManager, ce as IndexerRateManagerDelegation, cM as IndexerRateManagerDelegationPagination, cj as IndexerRateManagerDetail, cK as IndexerRateManagerFilter, ci as IndexerRateManagerListItem, cO as IndexerRateManagerOrderDirection, cN as IndexerRateManagerOrderField, cL as IndexerRateManagerPagination, cd as IndexerRateManagerRate, c1 as IndexerRateManagerService, c4 as IndexerStakingService, aX as Intent, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote, ag as IntentGuardianWriteFunction, ah as IntentGuardianWriteParams, dq as IntentView, bO as MakerIdentityAttestationRequestBody, bP as MakerIdentityPlatform, aP as NearbyQuote, aQ as NearbySuggestions, da as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bQ as OnchainCurrency, dr as OnchainIntent, bT as OrderStats, bY as OrderbookEntry, bZ as OrderbookTableRow, cT as PAYMENT_PLATFORMS, bc as PayPalGoogleOAuthSellerCredentialUploadBody, dm as PaymentMethodData, cU as PaymentPlatformType, aB as PlatformQuote, bS as PreparedTransaction, aM as QuoteFeesResponse, aL as QuoteIntentResponse, aJ as QuoteMakerIdentity, aC as QuotePreference, aI as QuoteResponseObject, aK as QuoteSingleResponse, ar as Range, ad as ReadDisputeAttestationConfigParams, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, dp as ReferralFee, Y as ReferralReadOptions, an as ReferralRedemption, ao as ReferralSignatureBody, _ as ReferralSignatureOptions, b3 as RegisterPayeeDetailsRequest, b4 as RegisterPayeeDetailsResponse, bC as RegisteredSellerCredentialPlatform, bE as RegisteredUploadSellerCredentialParams, av as ReleaseFundsToPayerParams, dd as RuntimeEnv, dc as STAKE_VAULT_ABI, bt as SellerAttestationOutput, bh as SellerCiphertextBundle, bm as SellerCredentialBundleUpload, bu as SellerCredentialProbeResponse, bo as SellerCredentialStatus, bn as SellerCredentialStatusValue, bg as SellerCredentialUploadInputByPlatform, bs as SellerPaymentTypedDataValue, b5 as SellerPlatform, bl as SellerProbeInput, bi as SellerSignedCiphertextBundle, bq as SellerTypedDataField, br as SellerTypedDataSpec, bk as SellerVerifyInput, bj as SellerVerifyIntentDetails, bp as SellerVerifyProxyBody, dD as SendBatchFn, dC as SendTransactionFn, a1 as SignalIntentMethodParams, at as SignalIntentParams, a0 as SignalIntentReferralFee, cC as StakeActivityPageParams, bW as StakeEnvironment, cD as StakeLockPageParams, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, cE as StakingEntityIds, cF as TakerStakeAuthorizationPageParams, bX as TakerStakeBalances, al as TimeoutConfig, aO as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bI as UploadGoogleOAuthSellerCredentialParams, bH as UploadPayPalGoogleOAuthSellerCredentialParams, bF as UploadSellerCredentialOptions, bD as UploadSellerCredentialParams, bV as UsdcAmount, df as V2ContractAbis, de as V2ContractAddresses, bd as VenmoCredentialUploadInput, b6 as VenmoSessionMaterial, bJ as VerifySellerPaymentParams, bf as WiseCredentialUploadInput, b9 as WiseProfileInfo, bb as WiseProfileNotFound, ba as WiseProfileSelectionRequired, b8 as WiseSessionMaterial, as as WithdrawDepositParams, ds as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, c3 as buildStakingEntityIds, dx as classifyDelegationState, aj as classifyIntentGuardianError, c2 as compareEventCursorIdsByRecency, cW as currencyInfo, b$ as defaultIndexerEndpoint, di as enrichPvDepositView, dj as enrichPvIntentView, c5 as fetchIndexerFulfillmentAndPayment, d1 as getContracts, cZ as getCurrencyCodeFromHash, cY as getCurrencyInfoFromCountryCode, cX as getCurrencyInfoFromHash, dw as getDelegationRoute, d7 as getDisputeProtectionPolicyContract, d9 as getGatingServiceAddress, d2 as getIntentGuardianContract, d6 as getOrchestratorV3Contract, d8 as getPaymentMethodsCatalog, d4 as getRateManagerContracts, d5 as getStakeVaultContract, d3 as hasIntentGuardian, c_ as isSupportedCurrencyHash, dt as isZeroRateManagerId, c$ as mapConversionRatesToOnchainMinRate, du as normalizeRateManagerId, dv as normalizeRegistry, dg as parseDepositView, dh as parseIntentView, a9 as readDisputeAttestationConfig } from './vaultUtils-Llr7Gh2R.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, 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-6XJOOLD5.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-6XJOOLD5.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-FLST2SE3.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-FLST2SE3.mjs';
7
7
  import { Currency, currencyKeccak256 } from './chunk-ZB22BZLZ.mjs';
8
8
  export { Currency, currencyInfo, getCurrencyCodeFromHash, getCurrencyInfoFromCountryCode, getCurrencyInfoFromHash, isSupportedCurrencyHash, mapConversionRatesToOnchainMinRate } from './chunk-ZB22BZLZ.mjs';
9
- import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-ALXVPWTM.mjs';
9
+ import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-GUGMFD2K.mjs';
10
10
  import { keccak256, concatHex, encodeFunctionData, encodeAbiParameters, createPublicClient, http, isAddress, zeroAddress, formatUnits } from 'viem';
11
11
  import { hardhat, base } from 'viem/chains';
12
12
  import { createEncryptedBuyerTeeSessionMaterial as createEncryptedBuyerTeeSessionMaterial$1, createEncryptedSellerCredentialUpload } from '@zkp2p/zkp2p-attestation';
@@ -357,7 +357,7 @@ async function withRetry(fn, maxRetries = 3, delayMs = 1e3, timeoutMs, shouldRet
357
357
  for (let i = 0; i < maxRetries; i++) {
358
358
  try {
359
359
  if (timeoutMs) {
360
- const { withTimeout } = await import('./timeout-EL45PCAU.mjs');
360
+ const { withTimeout } = await import('./timeout-L2TGXQRR.mjs');
361
361
  return await withTimeout(fn(), timeoutMs, `Operation timed out after ${timeoutMs}ms`);
362
362
  }
363
363
  return await fn();
@@ -1909,7 +1909,7 @@ var ProtocolViewerReader = class {
1909
1909
  if (inputCount === null) {
1910
1910
  throw new Error("Configured ProtocolViewer ABI does not expose getDeposit");
1911
1911
  }
1912
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-CB3CJ2TB.mjs');
1912
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-CDX3MKBZ.mjs');
1913
1913
  if (inputCount >= 3) {
1914
1914
  return tryContexts(
1915
1915
  protocolViewerContexts,
@@ -1995,7 +1995,7 @@ var ProtocolViewerReader = class {
1995
1995
  return Promise.all(ids.map((id) => this.config.host.getPvDepositById(id)));
1996
1996
  }
1997
1997
  const bn = ids.map((id) => typeof id === "bigint" ? id : parseRawDepositId(id));
1998
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-CB3CJ2TB.mjs');
1998
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-CDX3MKBZ.mjs');
1999
1999
  if (inputCount >= 2) {
2000
2000
  const requests = ids.map((id, index) => ({
2001
2001
  index,
@@ -2100,7 +2100,7 @@ var ProtocolViewerReader = class {
2100
2100
  if (!protocolViewerAddress || !protocolViewerAbi || inputCount === null) {
2101
2101
  return this.config.host.getPvAccountDepositsFromIndexer(owner);
2102
2102
  }
2103
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-CB3CJ2TB.mjs');
2103
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-CDX3MKBZ.mjs');
2104
2104
  const { address, abi } = this.config.host.requireProtocolViewer();
2105
2105
  if (inputCount >= 2) {
2106
2106
  const readAndFilter = async (raw2) => {
@@ -2171,7 +2171,7 @@ var ProtocolViewerReader = class {
2171
2171
  if (protocolViewerEntries.length === 0) {
2172
2172
  throw new Error("ProtocolViewer not available for this network");
2173
2173
  }
2174
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-CB3CJ2TB.mjs');
2174
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-CDX3MKBZ.mjs');
2175
2175
  const intentsByHash = /* @__PURE__ */ new Map();
2176
2176
  let attemptedRead = false;
2177
2177
  let hadSuccessfulRead = false;
@@ -2279,7 +2279,7 @@ var ProtocolViewerReader = class {
2279
2279
  if (protocolViewerEntries.length === 0) {
2280
2280
  throw new Error("ProtocolViewer not available for this network");
2281
2281
  }
2282
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-CB3CJ2TB.mjs');
2282
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-CDX3MKBZ.mjs');
2283
2283
  let lastError;
2284
2284
  for (const pvEntry of protocolViewerEntries) {
2285
2285
  const inputCount = this.pvEntryFunctionInputCount(pvEntry, "getIntent");
@@ -8842,7 +8842,12 @@ var applyReferrerFeeDisplayFieldsToQuote = (quote, referrerFeeConfig, decimals)
8842
8842
  { signalIntentAmount }
8843
8843
  );
8844
8844
  if (!adjusted) {
8845
- return quote;
8845
+ return {
8846
+ ...quote,
8847
+ referrerFeeAmount: quote.referrerFeeAmount ?? void 0,
8848
+ referrerFeeAmountFormatted: quote.referrerFeeAmountFormatted ?? void 0,
8849
+ referrerFeeBps: quote.referrerFeeBps ?? void 0
8850
+ };
8846
8851
  }
8847
8852
  return {
8848
8853
  ...quote,
@@ -8951,12 +8956,7 @@ function isObjectRecord(value) {
8951
8956
  }
8952
8957
  return true;
8953
8958
  }
8954
- function normalizeTelegramUsername(value) {
8955
- if (typeof value !== "string") return null;
8956
- const normalized = value.trim();
8957
- return normalized.length > 0 ? normalized : null;
8958
- }
8959
- function extractLegacyQuotePayeeData(depositData) {
8959
+ function extractLegacyPayeeDataInput(depositData) {
8960
8960
  if (!depositData || typeof depositData !== "object" || Array.isArray(depositData)) {
8961
8961
  return void 0;
8962
8962
  }
@@ -8975,17 +8975,26 @@ function extractLegacyQuotePayeeData(depositData) {
8975
8975
  metadata: metadataEntries.length > 0 ? Object.fromEntries(metadataEntries) : null
8976
8976
  };
8977
8977
  }
8978
- function normalizeQuotePayeeData(maker) {
8979
- const legacy = extractLegacyQuotePayeeData(maker?.depositData);
8980
- const offchainId = typeof maker?.offchainId === "string" && maker.offchainId.trim().length > 0 ? maker.offchainId : legacy?.offchainId;
8981
- if (!offchainId) {
8978
+ function readQuoteMakerIdentity(quote) {
8979
+ if (typeof quote.maker?.offchainId !== "string") {
8982
8980
  return void 0;
8983
8981
  }
8984
- return {
8985
- offchainId,
8986
- telegramUsername: normalizeTelegramUsername(maker?.telegramUsername) ?? legacy?.telegramUsername ?? null,
8987
- metadata: isObjectRecord(maker?.metadata) ? maker.metadata : legacy?.metadata ?? null
8988
- };
8982
+ const offchainId = quote.maker.offchainId.trim();
8983
+ return offchainId.length > 0 ? { offchainId } : void 0;
8984
+ }
8985
+ function warnDroppedQuoteWithoutMakerIdentity(method, quote) {
8986
+ console.warn(`[zkp2p/sdk] ${method}: dropping quote without maker.offchainId`, {
8987
+ depositId: quote.intent?.depositId,
8988
+ processorName: quote.intent?.processorName
8989
+ });
8990
+ }
8991
+ function withQuotePayeeData(method, quote) {
8992
+ const payeeData = readQuoteMakerIdentity(quote);
8993
+ if (!payeeData) {
8994
+ warnDroppedQuoteWithoutMakerIdentity(method, quote);
8995
+ return void 0;
8996
+ }
8997
+ return { ...quote, maker: payeeData, payeeData };
8989
8998
  }
8990
8999
  function isActiveQuotePaymentMethod(quote) {
8991
9000
  if (!quote?.intent || typeof quote.intent.processorName !== "string" || typeof quote.paymentMethod !== "string") {
@@ -8993,6 +9002,19 @@ function isActiveQuotePaymentMethod(quote) {
8993
9002
  }
8994
9003
  return matchesQuotePaymentMethod(quote.intent.processorName, quote.paymentMethod);
8995
9004
  }
9005
+ function enrichActiveQuotes(quotes) {
9006
+ return quotes.map((quote) => {
9007
+ if (!isActiveQuotePaymentMethod(quote)) return void 0;
9008
+ return withQuotePayeeData("getQuote", quote);
9009
+ }).filter((quote) => quote !== void 0);
9010
+ }
9011
+ function enrichNearbySuggestions(suggestions) {
9012
+ return suggestions.map((suggestion) => {
9013
+ if (!isActiveQuotePaymentMethod(suggestion.quote)) return void 0;
9014
+ const quote = withQuotePayeeData("getQuote", suggestion.quote);
9015
+ return quote ? { ...suggestion, quote } : void 0;
9016
+ }).filter((suggestion) => suggestion !== void 0);
9017
+ }
8996
9018
  function normalizePayeeDataInputItem(raw) {
8997
9019
  if (!raw || typeof raw !== "object" || Array.isArray(raw)) {
8998
9020
  return null;
@@ -9001,7 +9023,7 @@ function normalizePayeeDataInputItem(raw) {
9001
9023
  if (typeof candidate.offchainId === "string" && candidate.offchainId.trim().length > 0) {
9002
9024
  return candidate;
9003
9025
  }
9004
- const legacy = extractLegacyQuotePayeeData(raw);
9026
+ const legacy = extractLegacyPayeeDataInput(raw);
9005
9027
  if (!legacy) {
9006
9028
  return null;
9007
9029
  }
@@ -11447,7 +11469,7 @@ var Zkp2pClient = class {
11447
11469
  }
11448
11470
  }
11449
11471
  });
11450
- const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-KBPBKLN2.mjs');
11472
+ const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-HMJXK46S.mjs');
11451
11473
  currencies = mapConversionRatesToOnchainMinRate2(
11452
11474
  params.conversionRates,
11453
11475
  paymentMethods.length
@@ -11590,7 +11612,8 @@ var Zkp2pClient = class {
11590
11612
  * > use it to see how their deposits appear to takers.
11591
11613
  *
11592
11614
  * Returns available quotes from liquidity providers matching the request
11593
- * criteria. When authenticated, the API returns payee details in each quote.
11615
+ * criteria. Quotes carry `payeeData.offchainId` derived from the curator v3
11616
+ * `maker` identity; quotes without it are dropped.
11594
11617
  *
11595
11618
  * @param req - Quote request parameters
11596
11619
  * @param req.paymentPlatforms - Payment platforms to search (e.g., ['wise', 'revolut'])
@@ -11645,31 +11668,26 @@ var Zkp2pClient = class {
11645
11668
  timeoutMs,
11646
11669
  headers: this.apiHeaders
11647
11670
  });
11648
- const quotes = (quote?.responseObject?.quotes ?? []).filter(isActiveQuotePaymentMethod);
11649
- quote.responseObject.quotes = quotes;
11650
- if (quote.responseObject.nearbySuggestions) {
11651
- quote.responseObject.nearbySuggestions = {
11652
- below: quote.responseObject.nearbySuggestions.below.filter(
11653
- (suggestion) => isActiveQuotePaymentMethod(suggestion.quote)
11654
- ),
11655
- above: quote.responseObject.nearbySuggestions.above.filter(
11656
- (suggestion) => isActiveQuotePaymentMethod(suggestion.quote)
11657
- )
11658
- };
11659
- }
11660
- for (const q of quotes) {
11661
- const payeeData = normalizeQuotePayeeData(q.maker);
11662
- if (payeeData) {
11663
- q.payeeData = payeeData;
11671
+ const quotes = enrichActiveQuotes(quote.responseObject.quotes);
11672
+ const enrichedQuote = {
11673
+ ...quote,
11674
+ responseObject: {
11675
+ ...quote.responseObject,
11676
+ quotes,
11677
+ nearbySuggestions: quote.responseObject.nearbySuggestions ? {
11678
+ below: enrichNearbySuggestions(quote.responseObject.nearbySuggestions.below),
11679
+ above: enrichNearbySuggestions(quote.responseObject.nearbySuggestions.above)
11680
+ } : void 0
11664
11681
  }
11665
- }
11666
- return appendReferrerFeeDisplayFields(quote, referrerFeeConfig);
11682
+ };
11683
+ return appendReferrerFeeDisplayFields(enrichedQuote, referrerFeeConfig);
11667
11684
  }
11668
11685
  /**
11669
11686
  * **Supporting Method** - Fetches the best available quote per supported payment platform.
11670
11687
  *
11671
- * Returns one quote per platform when available. The API returns payee details
11672
- * in each platform's best quote when available.
11688
+ * Returns one quote per platform when available. Best quotes carry
11689
+ * `payeeData.offchainId` derived from the curator v3 `maker` identity; best
11690
+ * quotes without it are dropped.
11673
11691
  *
11674
11692
  * @param req - Best-by-platform quote request parameters
11675
11693
  * @param opts - Optional overrides for API URL and timeout
@@ -11697,25 +11715,23 @@ var Zkp2pClient = class {
11697
11715
  timeoutMs,
11698
11716
  headers: this.apiHeaders
11699
11717
  });
11700
- const enrichedQuote = quote ? {
11718
+ const platformQuotes = quote.responseObject.platformQuotes.filter((platformQuote) => {
11719
+ const platform = platformQuote.platform.trim().toLowerCase();
11720
+ if (!METHOD_NAME_TO_HASH[platform]) return false;
11721
+ return !platformQuote.bestQuote || platform === platformQuote.bestQuote.intent.processorName.trim().toLowerCase() && isActiveQuotePaymentMethod(platformQuote.bestQuote);
11722
+ }).flatMap((platformQuote) => {
11723
+ const bestQuote = platformQuote.bestQuote;
11724
+ if (!bestQuote) return [{ ...platformQuote, bestQuote: void 0 }];
11725
+ const enrichedBestQuote = withQuotePayeeData("getQuotesBestByPlatform", bestQuote);
11726
+ return enrichedBestQuote ? [{ ...platformQuote, bestQuote: enrichedBestQuote }] : [];
11727
+ });
11728
+ const enrichedQuote = {
11701
11729
  ...quote,
11702
11730
  responseObject: {
11703
11731
  ...quote.responseObject,
11704
- platformQuotes: (quote.responseObject?.platformQuotes ?? []).filter((platformQuote) => {
11705
- const platform = platformQuote.platform.trim().toLowerCase();
11706
- if (!METHOD_NAME_TO_HASH[platform]) return false;
11707
- return !platformQuote.bestQuote || platform === platformQuote.bestQuote.intent.processorName.trim().toLowerCase() && isActiveQuotePaymentMethod(platformQuote.bestQuote);
11708
- }).map((platformQuote) => {
11709
- const bestQuote = platformQuote?.bestQuote;
11710
- const payeeData = normalizeQuotePayeeData(bestQuote?.maker);
11711
- if (!bestQuote || !payeeData) return platformQuote;
11712
- return {
11713
- ...platformQuote,
11714
- bestQuote: { ...bestQuote, payeeData }
11715
- };
11716
- })
11732
+ platformQuotes
11717
11733
  }
11718
- } : quote;
11734
+ };
11719
11735
  return appendReferrerFeeDisplayFieldsToBestByPlatform(enrichedQuote, referrerFeeConfig);
11720
11736
  }
11721
11737
  /**