@zkp2p/sdk 0.12.1 → 0.12.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Bc9KwywX.mjs';
2
- export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-Bc9KwywX.mjs';
1
+ import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-BmJ6T8rn.mjs';
2
+ export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-BmJ6T8rn.mjs';
3
3
  import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  export { IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient } from '@zkp2p/zkp2p-attestation';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Bc9KwywX.js';
2
- export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-Bc9KwywX.js';
1
+ import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-BmJ6T8rn.js';
2
+ export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-BmJ6T8rn.js';
3
3
  import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  export { IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient } from '@zkp2p/zkp2p-attestation';
package/dist/index.mjs CHANGED
@@ -2,8 +2,8 @@ import { IntentGuardianOperations } from './chunk-FCOH36IX.mjs';
2
2
  export { ZERO_RATE_MANAGER_ID, classifyDelegationState, classifyIntentGuardianError, getDelegationRoute, isZeroRateManagerId, normalizeRateManagerId, normalizeRegistry } from './chunk-FCOH36IX.mjs';
3
3
  import { NetworkError, ValidationError, APIError } from './chunk-GHQK65J2.mjs';
4
4
  export { APIError, ContractError, ErrorCode, NetworkError, ValidationError, ZKP2PError } from './chunk-GHQK65J2.mjs';
5
- import { METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash } from './chunk-DZQOCRT4.mjs';
6
- export { CHARGEBACK_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getChargebackPolicyContract, getContracts, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-DZQOCRT4.mjs';
5
+ import { METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash } from './chunk-4U4GTDCJ.mjs';
6
+ export { CHARGEBACK_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getChargebackPolicyContract, getContracts, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-4U4GTDCJ.mjs';
7
7
  import { Currency, currencyKeccak256 } from './chunk-ZFBH4HD7.mjs';
8
8
  export { Currency, currencyInfo, getCurrencyCodeFromHash, getCurrencyInfoFromCountryCode, getCurrencyInfoFromHash, isSupportedCurrencyHash, mapConversionRatesToOnchainMinRate } from './chunk-ZFBH4HD7.mjs';
9
9
  import './chunk-J5LGTIGS.mjs';
@@ -1898,7 +1898,7 @@ var ProtocolViewerReader = class {
1898
1898
  if (inputCount === null) {
1899
1899
  throw new Error("Configured ProtocolViewer ABI does not expose getDeposit");
1900
1900
  }
1901
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
1901
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-JGW65QV4.mjs');
1902
1902
  if (inputCount >= 3) {
1903
1903
  return tryContexts(
1904
1904
  protocolViewerContexts,
@@ -1984,7 +1984,7 @@ var ProtocolViewerReader = class {
1984
1984
  return Promise.all(ids.map((id) => this.config.host.getPvDepositById(id)));
1985
1985
  }
1986
1986
  const bn = ids.map((id) => typeof id === "bigint" ? id : parseRawDepositId(id));
1987
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
1987
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-JGW65QV4.mjs');
1988
1988
  if (inputCount >= 2) {
1989
1989
  const requests = ids.map((id, index) => ({
1990
1990
  index,
@@ -2089,7 +2089,7 @@ var ProtocolViewerReader = class {
2089
2089
  if (!protocolViewerAddress || !protocolViewerAbi || inputCount === null) {
2090
2090
  return this.config.host.getPvAccountDepositsFromIndexer(owner);
2091
2091
  }
2092
- const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
2092
+ const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-JGW65QV4.mjs');
2093
2093
  const { address, abi } = this.config.host.requireProtocolViewer();
2094
2094
  if (inputCount >= 2) {
2095
2095
  const readAndFilter = async (raw2) => {
@@ -2160,7 +2160,7 @@ var ProtocolViewerReader = class {
2160
2160
  if (protocolViewerEntries.length === 0) {
2161
2161
  throw new Error("ProtocolViewer not available for this network");
2162
2162
  }
2163
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
2163
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-JGW65QV4.mjs');
2164
2164
  const intentsByHash = /* @__PURE__ */ new Map();
2165
2165
  let attemptedRead = false;
2166
2166
  let hadSuccessfulRead = false;
@@ -2268,7 +2268,7 @@ var ProtocolViewerReader = class {
2268
2268
  if (protocolViewerEntries.length === 0) {
2269
2269
  throw new Error("ProtocolViewer not available for this network");
2270
2270
  }
2271
- const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
2271
+ const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-JGW65QV4.mjs');
2272
2272
  let lastError;
2273
2273
  for (const pvEntry of protocolViewerEntries) {
2274
2274
  const inputCount = this.pvEntryFunctionInputCount(pvEntry, "getIntent");
@@ -0,0 +1,5 @@
1
+ export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-4U4GTDCJ.mjs';
2
+ import './chunk-ZFBH4HD7.mjs';
3
+ import './chunk-J5LGTIGS.mjs';
4
+ //# sourceMappingURL=protocolViewerParsers-JGW65QV4.mjs.map
5
+ //# sourceMappingURL=protocolViewerParsers-JGW65QV4.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-WK2QPJH7.mjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-JGW65QV4.mjs"}
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bM as PreparedTransaction, a2 as FulfillIntentMethodParams, dk as SendTransactionFn, dl as SendBatchFn, di as DelegationDepositTarget, dj as BatchResult, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote } from './vaultUtils-Bc9KwywX.mjs';
2
- export { dg as DelegationRoute, dh as DelegationState, dB as VAULT_ZERO_ADDRESS, da as ZERO_RATE_MANAGER_ID, dC as asErrorMessage, dD as assertDelegationMethodSupport, df as classifyDelegationState, de as getDelegationRoute, db as isZeroRateManagerId, dc as normalizeRateManagerId, dd as normalizeRegistry } from './vaultUtils-Bc9KwywX.mjs';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bM as PreparedTransaction, a2 as FulfillIntentMethodParams, dk as SendTransactionFn, dl as SendBatchFn, di as DelegationDepositTarget, dj as BatchResult, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote } from './vaultUtils-BmJ6T8rn.mjs';
2
+ export { dg as DelegationRoute, dh as DelegationState, dB as VAULT_ZERO_ADDRESS, da as ZERO_RATE_MANAGER_ID, dC as asErrorMessage, dD as assertDelegationMethodSupport, df as classifyDelegationState, de as getDelegationRoute, db as isZeroRateManagerId, dc as normalizeRateManagerId, dd as normalizeRegistry } from './vaultUtils-BmJ6T8rn.mjs';
3
3
  import { Hash, Address, Hex } from 'viem';
4
4
  import '@zkp2p/indexer-schema';
5
5
  import 'abitype';
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bM as PreparedTransaction, a2 as FulfillIntentMethodParams, dk as SendTransactionFn, dl as SendBatchFn, di as DelegationDepositTarget, dj as BatchResult, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote } from './vaultUtils-Bc9KwywX.js';
2
- export { dg as DelegationRoute, dh as DelegationState, dB as VAULT_ZERO_ADDRESS, da as ZERO_RATE_MANAGER_ID, dC as asErrorMessage, dD as assertDelegationMethodSupport, df as classifyDelegationState, de as getDelegationRoute, db as isZeroRateManagerId, dc as normalizeRateManagerId, dd as normalizeRegistry } from './vaultUtils-Bc9KwywX.js';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bM as PreparedTransaction, a2 as FulfillIntentMethodParams, dk as SendTransactionFn, dl as SendBatchFn, di as DelegationDepositTarget, dj as BatchResult, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote } from './vaultUtils-BmJ6T8rn.js';
2
+ export { dg as DelegationRoute, dh as DelegationState, dB as VAULT_ZERO_ADDRESS, da as ZERO_RATE_MANAGER_ID, dC as asErrorMessage, dD as assertDelegationMethodSupport, df as classifyDelegationState, de as getDelegationRoute, db as isZeroRateManagerId, dc as normalizeRateManagerId, dd as normalizeRegistry } from './vaultUtils-BmJ6T8rn.js';
3
3
  import { Hash, Address, Hex } from 'viem';
4
4
  import '@zkp2p/indexer-schema';
5
5
  import 'abitype';
@@ -2,7 +2,7 @@ import * as _zkp2p_indexer_schema from '@zkp2p/indexer-schema';
2
2
  import { Deposit, DepositStatus as DepositStatus$2, IntentStatus as IntentStatus$1, DepositPaymentMethod, MethodCurrency, Intent as Intent$1, MakerProfitSnapshot, RateManager, ManagerAggregateStats, RateManagerRate, ManagerStats, DepositFundActivity, DepositDailySnapshot, ManagerDailySnapshot } from '@zkp2p/indexer-schema';
3
3
  import { Address, Hex, AccessList, AuthorizationList, Hash, PublicClient, WalletClient, Transport } from 'viem';
4
4
  import { Abi } from 'abitype';
5
- import { IdentityPlatform, IdentityAttestationOutputFor as IdentityAttestationOutputFor$1, IdentityActionTypeByPlatform, IdentityParamsByPlatform } from '@zkp2p/zkp2p-attestation';
5
+ import { IdentityPlatform, IdentityAttestationOutputFor as IdentityAttestationOutputFor$1, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityRequestPlatform } from '@zkp2p/zkp2p-attestation';
6
6
 
7
7
  /**
8
8
  * Contract resolution utilities for the SDK.
@@ -1046,8 +1046,8 @@ type BuyerTeeVerifyPaymentBody = {
1046
1046
  intent: SellerVerifyIntentDetails;
1047
1047
  params: BuyerTeePaymentParams;
1048
1048
  };
1049
- type MakerIdentityPlatform = Extract<IdentityPlatform, 'paypal' | 'wise'>;
1050
- type IdentityAttestationParams = IdentityParamsByPlatform[IdentityPlatform] | Record<string, string | number | boolean>;
1049
+ type MakerIdentityPlatform = Extract<IdentityRequestPlatform, 'paypal' | 'wise' | 'alipay'>;
1050
+ type IdentityAttestationParams = IdentityParamsByPlatform[IdentityRequestPlatform] | Record<string, string | number | boolean>;
1051
1051
  type IdentityAttestationRequestBody = {
1052
1052
  callerAddress: string;
1053
1053
  encryptedSessionMaterial: string;
@@ -2,7 +2,7 @@ import * as _zkp2p_indexer_schema from '@zkp2p/indexer-schema';
2
2
  import { Deposit, DepositStatus as DepositStatus$2, IntentStatus as IntentStatus$1, DepositPaymentMethod, MethodCurrency, Intent as Intent$1, MakerProfitSnapshot, RateManager, ManagerAggregateStats, RateManagerRate, ManagerStats, DepositFundActivity, DepositDailySnapshot, ManagerDailySnapshot } from '@zkp2p/indexer-schema';
3
3
  import { Address, Hex, AccessList, AuthorizationList, Hash, PublicClient, WalletClient, Transport } from 'viem';
4
4
  import { Abi } from 'abitype';
5
- import { IdentityPlatform, IdentityAttestationOutputFor as IdentityAttestationOutputFor$1, IdentityActionTypeByPlatform, IdentityParamsByPlatform } from '@zkp2p/zkp2p-attestation';
5
+ import { IdentityPlatform, IdentityAttestationOutputFor as IdentityAttestationOutputFor$1, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityRequestPlatform } from '@zkp2p/zkp2p-attestation';
6
6
 
7
7
  /**
8
8
  * Contract resolution utilities for the SDK.
@@ -1046,8 +1046,8 @@ type BuyerTeeVerifyPaymentBody = {
1046
1046
  intent: SellerVerifyIntentDetails;
1047
1047
  params: BuyerTeePaymentParams;
1048
1048
  };
1049
- type MakerIdentityPlatform = Extract<IdentityPlatform, 'paypal' | 'wise'>;
1050
- type IdentityAttestationParams = IdentityParamsByPlatform[IdentityPlatform] | Record<string, string | number | boolean>;
1049
+ type MakerIdentityPlatform = Extract<IdentityRequestPlatform, 'paypal' | 'wise' | 'alipay'>;
1050
+ type IdentityAttestationParams = IdentityParamsByPlatform[IdentityRequestPlatform] | Record<string, string | number | boolean>;
1051
1051
  type IdentityAttestationRequestBody = {
1052
1052
  callerAddress: string;
1053
1053
  encryptedSessionMaterial: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkp2p/sdk",
3
- "version": "0.12.1",
3
+ "version": "0.12.2-rc.0",
4
4
  "description": "ZKP2P Client SDK - TypeScript SDK for deposit management, liquidity provision, and onramping",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",
@@ -89,7 +89,7 @@
89
89
  "dependencies": {
90
90
  "@zkp2p/indexer-schema": "0.20.0",
91
91
  "@zkp2p/contracts-v2": "0.4.0",
92
- "@zkp2p/zkp2p-attestation": "2.0.0",
92
+ "@zkp2p/zkp2p-attestation": "3.0.1",
93
93
  "ethers": "^6.0.0",
94
94
  "ox": "^0.11.1"
95
95
  },
@@ -1,5 +0,0 @@
1
- export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-DZQOCRT4.mjs';
2
- import './chunk-ZFBH4HD7.mjs';
3
- import './chunk-J5LGTIGS.mjs';
4
- //# sourceMappingURL=protocolViewerParsers-WK2QPJH7.mjs.map
5
- //# sourceMappingURL=protocolViewerParsers-WK2QPJH7.mjs.map