@zkp2p/sdk 0.14.5-rc.2 → 0.14.5

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-DWShBZsH.mjs';
2
- export { dK as AccessPolicyOperations, dL as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dH 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, c$ as Currency, d6 as CurrencyData, dh as DISPUTE_PROTECTION_POLICY_ABI, dG as DelegationDepositTarget, dE as DelegationRoute, dF as DelegationState, ds as Deposit, du as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, dr 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, 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, cC as IndexedStakeLock, cD as IndexedStakingRowFreshness, cE as IndexedStakingState, cF as IndexedStakingStateParams, cG as IndexedTakerAuthorization, cH as IndexedTakerStakeAuthorization, c4 as IndexerClient, cV as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cM as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cP as IndexerDepositOrderDirection, cO as IndexerDepositOrderField, cN as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cY as IndexerFulfillmentAndPaymentResponse, cW 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, cX as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cS as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cQ as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cU as IndexerRateManagerOrderDirection, cT as IndexerRateManagerOrderField, cR 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, dw as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dg as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dx as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, cZ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, dt 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, dv 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, dj as RuntimeEnv, di 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, dJ as SendBatchFn, dI as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cI as StakeActivityPageParams, c0 as StakeEnvironment, cJ as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cK as StakingEntityIds, cL as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dl as V2ContractAbis, dk 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, dy as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dD as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d0 as currencyInfo, c5 as defaultIndexerEndpoint, dp as enrichPvDepositView, dq as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d7 as getContracts, d3 as getCurrencyCodeFromHash, d2 as getCurrencyInfoFromCountryCode, d1 as getCurrencyInfoFromHash, dC as getDelegationRoute, dd as getDisputeProtectionPolicyContract, df as getGatingServiceAddress, d8 as getIntentGuardianContract, dc as getOrchestratorV3Contract, de as getPaymentMethodsCatalog, da as getRateManagerContracts, db as getStakeVaultContract, d9 as hasIntentGuardian, d4 as isSupportedCurrencyHash, dz as isZeroRateManagerId, d5 as mapConversionRatesToOnchainMinRate, dA as normalizeRateManagerId, dB as normalizeRegistry, dm as parseDepositView, dn as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-DWShBZsH.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-CGxOY369.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, 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, 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, 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-CGxOY369.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-DWShBZsH.js';
2
- export { dK as AccessPolicyOperations, dL as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dH 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, c$ as Currency, d6 as CurrencyData, dh as DISPUTE_PROTECTION_POLICY_ABI, dG as DelegationDepositTarget, dE as DelegationRoute, dF as DelegationState, ds as Deposit, du as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, dr 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, 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, cC as IndexedStakeLock, cD as IndexedStakingRowFreshness, cE as IndexedStakingState, cF as IndexedStakingStateParams, cG as IndexedTakerAuthorization, cH as IndexedTakerStakeAuthorization, c4 as IndexerClient, cV as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cM as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cP as IndexerDepositOrderDirection, cO as IndexerDepositOrderField, cN as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cY as IndexerFulfillmentAndPaymentResponse, cW 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, cX as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cS as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cQ as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cU as IndexerRateManagerOrderDirection, cT as IndexerRateManagerOrderField, cR 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, dw as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dg as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dx as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, cZ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, dt 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, dv 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, dj as RuntimeEnv, di 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, dJ as SendBatchFn, dI as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cI as StakeActivityPageParams, c0 as StakeEnvironment, cJ as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cK as StakingEntityIds, cL as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dl as V2ContractAbis, dk 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, dy as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dD as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d0 as currencyInfo, c5 as defaultIndexerEndpoint, dp as enrichPvDepositView, dq as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d7 as getContracts, d3 as getCurrencyCodeFromHash, d2 as getCurrencyInfoFromCountryCode, d1 as getCurrencyInfoFromHash, dC as getDelegationRoute, dd as getDisputeProtectionPolicyContract, df as getGatingServiceAddress, d8 as getIntentGuardianContract, dc as getOrchestratorV3Contract, de as getPaymentMethodsCatalog, da as getRateManagerContracts, db as getStakeVaultContract, d9 as hasIntentGuardian, d4 as isSupportedCurrencyHash, dz as isZeroRateManagerId, d5 as mapConversionRatesToOnchainMinRate, dA as normalizeRateManagerId, dB as normalizeRegistry, dm as parseDepositView, dn as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-DWShBZsH.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-CGxOY369.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, 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, 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, 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-CGxOY369.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-FJZ4TRAF.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-FJZ4TRAF.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-QGFAF5VH.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-QGFAF5VH.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-755TILW4.mjs';
9
+ import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-2K2ATNTY.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-RJ66S57R.mjs');
360
+ const { withTimeout } = await import('./timeout-XMVMQWWA.mjs');
361
361
  return await withTimeout(fn(), timeoutMs, `Operation timed out after ${timeoutMs}ms`);
362
362
  }
363
363
  return await fn();
@@ -700,7 +700,16 @@ async function createEncryptedBuyerTeeSessionMaterial({
700
700
  ...attestationRuntime?.subtle ? { subtle: attestationRuntime.subtle } : {},
701
701
  ...attestationRuntime?.getRandomValues ? { getRandomValues: attestationRuntime.getRandomValues } : {}
702
702
  };
703
- return createEncryptedBuyerTeeSessionMaterial$1(params);
703
+ return withRetry(async () => {
704
+ try {
705
+ return await createEncryptedBuyerTeeSessionMaterial$1(params);
706
+ } catch (error) {
707
+ if (isAttestationMaterialTimeout(error)) {
708
+ throw new NetworkError(error.message, { cause: error });
709
+ }
710
+ throw error;
711
+ }
712
+ });
704
713
  }
705
714
  async function apiCreateSellerCredentialBundle(payload, attestationServiceUrl, platform, timeoutMs, attestationRuntime, options = {}) {
706
715
  return withRetry(
@@ -881,7 +890,7 @@ async function sendTransactionWithAttribution(walletClient, request, referrer, o
881
890
  // src/utils/constants.ts
882
891
  var DEFAULT_BASE_API_URL = "https://api.zkp2p.xyz";
883
892
 
884
- // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3-rc.1_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/oracleFeeds/chainlink.json
893
+ // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/oracleFeeds/chainlink.json
885
894
  var chainlink_default = {
886
895
  feeds: [
887
896
  {
@@ -1960,7 +1969,7 @@ var ProtocolViewerReader = class {
1960
1969
  if (inputCount === null) {
1961
1970
  throw new Error("Configured ProtocolViewer ABI does not expose getDeposit");
1962
1971
  }
1963
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-PNZVGROS.mjs');
1972
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-EKSTC7KZ.mjs');
1964
1973
  if (inputCount >= 3) {
1965
1974
  return tryContexts(
1966
1975
  protocolViewerContexts,
@@ -2046,7 +2055,7 @@ var ProtocolViewerReader = class {
2046
2055
  return Promise.all(ids.map((id) => this.config.host.getPvDepositById(id)));
2047
2056
  }
2048
2057
  const bn = ids.map((id) => typeof id === "bigint" ? id : parseRawDepositId(id));
2049
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-PNZVGROS.mjs');
2058
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-EKSTC7KZ.mjs');
2050
2059
  if (inputCount >= 2) {
2051
2060
  const requests = ids.map((id, index) => ({
2052
2061
  index,
@@ -2151,7 +2160,7 @@ var ProtocolViewerReader = class {
2151
2160
  if (!protocolViewerAddress || !protocolViewerAbi || inputCount === null) {
2152
2161
  return this.config.host.getPvAccountDepositsFromIndexer(owner);
2153
2162
  }
2154
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-PNZVGROS.mjs');
2163
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-EKSTC7KZ.mjs');
2155
2164
  const { address, abi } = this.config.host.requireProtocolViewer();
2156
2165
  if (inputCount >= 2) {
2157
2166
  const readAndFilter = async (raw2) => {
@@ -2222,7 +2231,7 @@ var ProtocolViewerReader = class {
2222
2231
  if (protocolViewerEntries.length === 0) {
2223
2232
  throw new Error("ProtocolViewer not available for this network");
2224
2233
  }
2225
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-PNZVGROS.mjs');
2234
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-EKSTC7KZ.mjs');
2226
2235
  const intentsByHash = /* @__PURE__ */ new Map();
2227
2236
  let attemptedRead = false;
2228
2237
  let hadSuccessfulRead = false;
@@ -2330,7 +2339,7 @@ var ProtocolViewerReader = class {
2330
2339
  if (protocolViewerEntries.length === 0) {
2331
2340
  throw new Error("ProtocolViewer not available for this network");
2332
2341
  }
2333
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-PNZVGROS.mjs');
2342
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-EKSTC7KZ.mjs');
2334
2343
  let lastError;
2335
2344
  for (const pvEntry of protocolViewerEntries) {
2336
2345
  const inputCount = this.pvEntryFunctionInputCount(pvEntry, "getIntent");
@@ -3759,6 +3768,21 @@ var STAKE_ACTIVITY_QUERY = (
3759
3768
  }
3760
3769
  `
3761
3770
  );
3771
+ var STAKE_ACCOUNTS_QUERY = (
3772
+ /* GraphQL */
3773
+ `
3774
+ query StakeAccounts($where: StakeAccountState_bool_exp!, $limit: Int!) {
3775
+ StakeAccountState(where: $where, order_by: { id: asc }, limit: $limit) {
3776
+ id
3777
+ chainId
3778
+ vaultAddress
3779
+ stakeOwner
3780
+ totalStake
3781
+ lockedStake
3782
+ }
3783
+ }
3784
+ `
3785
+ );
3762
3786
  var DISPUTE_PROTECTION_INTENTS_QUERY = (
3763
3787
  /* GraphQL */
3764
3788
  `
@@ -7342,7 +7366,7 @@ function normalizeStakeActivityRow(row, index, scope) {
7342
7366
  }
7343
7367
  const stakeOwner = normalizeNullableAddress(row.stakeOwner, `${field}.stakeOwner`);
7344
7368
  const taker = normalizeNullableAddress(row.taker, `${field}.taker`);
7345
- if (stakeOwner !== scope.merchant && taker !== scope.merchant) {
7369
+ if (scope.merchant && stakeOwner !== scope.merchant && taker !== scope.merchant) {
7346
7370
  throw new Error(`${field} is not relevant to the requested merchant`);
7347
7371
  }
7348
7372
  const kind = normalizeActivityKind(row.kind, `${field}.kind`);
@@ -7478,6 +7502,56 @@ var IndexerStakingService = class {
7478
7502
  constructor(client) {
7479
7503
  this.client = client;
7480
7504
  }
7505
+ /** Sum current positive stake accounts for one vault. */
7506
+ async fetchStakeTotals(params, init) {
7507
+ validateChainId(params.chainId);
7508
+ const vaultAddress = normalizeAddress4(params.vaultAddress, "vaultAddress");
7509
+ let afterId;
7510
+ let totalStaked = 0n;
7511
+ let totalLocked = 0n;
7512
+ let stakerCount = 0;
7513
+ for (; ; ) {
7514
+ const data3 = await this.client.query(
7515
+ {
7516
+ query: STAKE_ACCOUNTS_QUERY,
7517
+ variables: {
7518
+ limit: 500,
7519
+ where: {
7520
+ _and: [
7521
+ { chainId: { _eq: params.chainId } },
7522
+ { vaultAddress: { _eq: vaultAddress } },
7523
+ ...afterId ? [{ id: { _gt: afterId } }] : []
7524
+ ]
7525
+ }
7526
+ }
7527
+ },
7528
+ init
7529
+ );
7530
+ const accounts = data3.StakeAccountState;
7531
+ for (const [index, account] of accounts.entries()) {
7532
+ const field = `StakeAccountState[${index}]`;
7533
+ if (account.chainId !== params.chainId || normalizeAddress4(account.vaultAddress, `${field}.vaultAddress`) !== vaultAddress) {
7534
+ throw new Error(`${field} does not match the requested vault`);
7535
+ }
7536
+ normalizeAddress4(account.stakeOwner, `${field}.stakeOwner`);
7537
+ if (afterId && account.id <= afterId)
7538
+ throw new Error("StakeAccountState cursor did not advance");
7539
+ const stake = BigInt(normalizeDecimal(account.totalStake, `${field}.totalStake`));
7540
+ const locked = BigInt(normalizeDecimal(account.lockedStake, `${field}.lockedStake`));
7541
+ if (locked > stake) throw new Error(`${field}.lockedStake exceeds totalStake`);
7542
+ if (stake > 0n) stakerCount += 1;
7543
+ totalStaked += stake;
7544
+ totalLocked += locked;
7545
+ afterId = account.id;
7546
+ }
7547
+ if (accounts.length < 500) break;
7548
+ }
7549
+ return {
7550
+ totalStaked: totalStaked.toString(),
7551
+ totalLocked: totalLocked.toString(),
7552
+ stakerCount
7553
+ };
7554
+ }
7481
7555
  async fetchStakeLocks(params, init) {
7482
7556
  validateChainId(params.chainId);
7483
7557
  const limit = validateLimit(params.limit);
@@ -7588,7 +7662,7 @@ var IndexerStakingService = class {
7588
7662
  validateChainId(params.chainId);
7589
7663
  const limit = validateLimit(params.limit);
7590
7664
  const vaultAddress = normalizeAddress4(params.vaultAddress, "vaultAddress");
7591
- const merchant = normalizeAddress4(params.merchant, "merchant");
7665
+ const merchant = params.merchant === void 0 ? void 0 : normalizeAddress4(params.merchant, "merchant");
7592
7666
  const kind = params.kind ? normalizeActivityKind(params.kind, "kind") : void 0;
7593
7667
  const direction = params.orderDirection ?? "asc";
7594
7668
  if (direction !== "asc" && direction !== "desc") {
@@ -7598,11 +7672,12 @@ var IndexerStakingService = class {
7598
7672
  const after = params.cursor ? decodeEventCursor(params.cursor, cursorKind) : void 0;
7599
7673
  const filters = [
7600
7674
  { chainId: { _eq: params.chainId } },
7601
- { vaultAddress: { _eq: vaultAddress } },
7602
- {
7603
- _or: [{ stakeOwner: { _eq: merchant } }, { taker: { _eq: merchant } }]
7604
- }
7675
+ { vaultAddress: { _eq: vaultAddress } }
7605
7676
  ];
7677
+ if (merchant)
7678
+ filters.push({
7679
+ _or: [{ stakeOwner: { _eq: merchant } }, { taker: { _eq: merchant } }]
7680
+ });
7606
7681
  if (kind) filters.push({ kind: { _eq: kind } });
7607
7682
  if (after) filters.push(eventKeysetPredicate(after, "blockNumber", "logIndex", direction));
7608
7683
  const data3 = await this.client.query(
@@ -7785,10 +7860,10 @@ var IndexerStakingService = class {
7785
7860
  }
7786
7861
  };
7787
7862
 
7788
- // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3-rc.1_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/index.js
7789
- var version = "0.4.3-rc.1";
7863
+ // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/index.js
7864
+ var version = "0.4.3";
7790
7865
 
7791
- // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3-rc.1_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/disputeStack/base.js
7866
+ // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/disputeStack/base.js
7792
7867
  var data = {
7793
7868
  "schemaVersion": 2,
7794
7869
  "network": "base",
@@ -7960,7 +8035,7 @@ var data = {
7960
8035
  };
7961
8036
  var base_default = data;
7962
8037
 
7963
- // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3-rc.1_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/disputeStack/baseStaging.js
8038
+ // ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.3_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/disputeStack/baseStaging.js
7964
8039
  var data2 = {
7965
8040
  "schemaVersion": 2,
7966
8041
  "network": "base_staging",
@@ -11222,10 +11297,11 @@ var Zkp2pClient = class {
11222
11297
  signal: options?.signal
11223
11298
  });
11224
11299
  },
11225
- /** Pages append-only activity relevant to either side of a merchant's stake delegation. */
11300
+ /** Pages vault activity, optionally scoped to either side of a merchant's stake delegation. */
11226
11301
  getStakeActivity: (params, options) => {
11227
11302
  return stakingService.fetchStakeActivity(params, { signal: options?.signal });
11228
11303
  },
11304
+ getStakeTotals: (params, options) => stakingService.fetchStakeTotals(params, { signal: options?.signal }),
11229
11305
  /** Pages the exact active policy's finalized dispute stream. */
11230
11306
  getDisputeProtectionIntents: (params, options) => {
11231
11307
  return stakingService.fetchDisputeProtectionIntents(params, {
@@ -11630,7 +11706,7 @@ var Zkp2pClient = class {
11630
11706
  }
11631
11707
  }
11632
11708
  });
11633
- const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-LC4OCQQU.mjs');
11709
+ const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-HGHBHKCR.mjs');
11634
11710
  currencies = mapConversionRatesToOnchainMinRate2(
11635
11711
  params.conversionRates,
11636
11712
  paymentMethods.length