@zkp2p/sdk 0.6.1 → 0.6.2
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.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{vaultUtils-VAfbA30W.d.mts → vaultUtils-BwY9Z0aR.d.mts} +7 -1
- package/dist/{vaultUtils-VAfbA30W.d.ts → vaultUtils-BwY9Z0aR.d.ts} +7 -1
- package/package.json +1 -1
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
|
|
2
|
-
export {
|
|
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, G as GoogleOAuthSellerCredentialPlatform, h as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, i as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, j as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, k as PostDepositDetailsResponse, l as GetPayeeDetailsRequest, m as GetPayeeDetailsResponse, n as GetOwnerDepositsRequest, o as GetOwnerDepositsResponse, p as GetTakerTierRequest, q as GetTakerTierResponse, r as GetDepositBundleParams, s as ApiAdapterOptions, t as GetDepositBundleResponse, u as GetOrderbookParams, v as GetOrderbookResponse, w as CurrencyType, T as TakerTierLevel, x as PaymentMethodCatalog, y as TxOverrides } from './vaultUtils-BwY9Z0aR.mjs';
|
|
2
|
+
export { M as ActionCallback, al as ApiDeposit, as as ApiIntentStatus, b2 as AttestationServiceSellerCredentialProbeResponse, K as AuthorizationTokenProvider, cI as BatchResult, a1 as BestByPlatformResponseObject, b3 as BuyerTeePaymentParams, b4 as BuyerTeePaymentProofInput, b5 as BuyerTeeSessionMaterial, H as CancelIntentMethodParams, a0 as CancelIntentParams, aM as CashAppCredentialUploadInput, aD as CashAppSessionMaterial, O as CreateDepositConversionRate, N as CreateDepositParams, b6 as CuratorSellerCredentialStatusResponse, b7 as CuratorSellerVerifyResponse, cb as Currency, ci as CurrencyData, cH as DelegationDepositTarget, cF as DelegationRoute, cG as DelegationState, ct as Deposit, cv as DepositCurrency, bs as DepositIntentStatistics, ao as DepositStatus, am as DepositVerifier, an as DepositVerifierCurrency, bp as DepositVerifierData, cs as DepositView, ah as FiatResponse, b1 as FulfillIntentAttestationResponse, F as FulfillIntentMethodParams, _ as FulfillIntentParams, a2 as GetBestByPlatformResponse, a3 as GetBestByPlatformResponseObject, ap as GetDepositByIdRequest, aq as GetDepositByIdResponse, ax as GetIntentByHashRequest, ay as GetIntentByHashResponse, av as GetIntentsByDepositRequest, aw as GetIntentsByDepositResponse, a7 as GetNearbyQuote, a8 as GetNearbySuggestions, at as GetOwnerIntentsRequest, au as GetOwnerIntentsResponse, a4 as GetPlatformQuote, a9 as GetQuoteResponse, aa as GetQuoteResponseObject, ab as GetQuoteSingleResponse, bc as GetSellerCredentialStatusParams, bi as IdentityAttestationActionType, bj as IdentityAttestationOutput, bk as IdentityAttestationOutputFor, bl as IdentityAttestationParams, bz as IndexerClient, c5 as IndexerDeploymentEnv, bF as IndexerDeposit, bW as IndexerDepositDailySnapshot, bY as IndexerDepositFilter, bV as IndexerDepositFundActivity, bX as IndexerDepositFundActivityType, b$ as IndexerDepositOrderDirection, b_ as IndexerDepositOrderField, bZ as IndexerDepositPagination, bI as IndexerDepositPaymentMethod, bB as IndexerDepositService, c8 as IndexerFulfillmentAndPaymentResponse, c6 as IndexerFulfillmentRecord, bG as IndexerIntentFulfilled, bH as IndexerIntentFulfillmentAmounts, bK as IndexerIntentStatus, bO as IndexerManagerAggregateStats, bQ as IndexerManagerDailySnapshot, bP as IndexerManagerStats, bT as IndexerManualRateUpdate, bJ as IndexerMethodCurrency, bU as IndexerOracleConfigUpdate, c7 as IndexerPaymentVerifiedRecord, bL as IndexerRateManager, bN as IndexerRateManagerDelegation, c2 as IndexerRateManagerDelegationPagination, bS as IndexerRateManagerDetail, c0 as IndexerRateManagerFilter, bR as IndexerRateManagerListItem, c4 as IndexerRateManagerOrderDirection, c3 as IndexerRateManagerOrderField, c1 as IndexerRateManagerPagination, bM as IndexerRateManagerRate, bC as IndexerRateManagerService, ar as Intent, cx as IntentView, bm as MakerIdentityAttestationRequestBody, bn as MakerIdentityPlatform, aj as NearbyQuote, ak as NearbySuggestions, Z as OfframpClient, bo as OnchainCurrency, cy as OnchainIntent, br as OrderStats, by as OrderbookEntry, c9 as PAYMENT_PLATFORMS, aI as PayPalGoogleOAuthSellerCredentialUploadBody, cu as PaymentMethodData, ca as PaymentPlatformType, bw as PlatformLimit, a5 as PlatformQuote, bx as PlatformRiskLevel, bq as PreparedTransaction, ag as QuoteFeesResponse, af as QuoteIntentResponse, a6 as QuoteRequest, ac as QuoteResponse, ad as QuoteResponseObject, ae as QuoteSingleResponse, W as Range, cw as ReferralFee, az as RegisterPayeeDetailsRequest, aA as RegisterPayeeDetailsResponse, b8 as RegisteredSellerCredentialPlatform, ba as RegisteredUploadSellerCredentialParams, $ as ReleaseFundsToPayerParams, cn as RuntimeEnv, a$ as SellerAttestationOutput, aP as SellerCiphertextBundle, aU as SellerCredentialBundleUpload, b0 as SellerCredentialProbeResponse, aW as SellerCredentialStatus, aV as SellerCredentialStatusValue, aO as SellerCredentialUploadInputByPlatform, a_ as SellerPaymentTypedDataValue, aB as SellerPlatform, aT as SellerProbeInput, aQ as SellerSignedCiphertextBundle, aY as SellerTypedDataField, aZ as SellerTypedDataSpec, aS as SellerVerifyInput, aR as SellerVerifyIntentDetails, aX as SellerVerifyProxyBody, cK as SendBatchFn, cJ as SendTransactionFn, E as SignalIntentMethodParams, Y as SignalIntentParams, z as SignalIntentReferralFee, bt as TakerTier, bv as TakerTierSource, bu as TakerTierStats, L as TimeoutConfig, ai as TokenResponse, bg as UploadGoogleOAuthSellerCredentialParams, bd as UploadPayPalGoogleOAuthSellerCredentialParams, bb as UploadSellerCredentialOptions, b9 as UploadSellerCredentialParams, be as UploadVenmoGoogleOAuthSellerCredentialParams, bf as UploadZelleGoogleOAuthSellerCredentialParams, aL as VenmoCredentialUploadInput, aJ as VenmoGoogleOAuthSellerCredentialUploadBody, aC as VenmoSessionMaterial, bh as VerifySellerPaymentParams, aN as WiseCredentialUploadInput, aF as WiseProfileInfo, aH as WiseProfileNotFound, aG as WiseProfileSelectionRequired, aE as WiseSessionMaterial, X as WithdrawDepositParams, cz as ZERO_RATE_MANAGER_ID, aK as ZelleGoogleOAuthSellerCredentialUploadBody, Z as Zkp2pClient, J as Zkp2pClientOptions, cE as classifyDelegationState, bD as compareEventCursorIdsByRecency, cc as currencyInfo, bA as defaultIndexerEndpoint, cq as enrichPvDepositView, cr as enrichPvIntentView, bE as fetchIndexerFulfillmentAndPayment, cj as getContracts, cf as getCurrencyCodeFromHash, ce as getCurrencyInfoFromCountryCode, cd as getCurrencyInfoFromHash, cD as getDelegationRoute, cm as getGatingServiceAddress, cl as getPaymentMethodsCatalog, ck as getRateManagerContracts, cg as isSupportedCurrencyHash, cA as isZeroRateManagerId, ch as mapConversionRatesToOnchainMinRate, cB as normalizeRateManagerId, cC as normalizeRegistry, co as parseDepositView, cp as parseIntentView } from './vaultUtils-BwY9Z0aR.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';
|
|
@@ -210,6 +210,7 @@ declare function convertIndexerIntentsToEscrowViews(intents: IntentEntity[], dep
|
|
|
210
210
|
type AttestationRequestOptions = {
|
|
211
211
|
fallbackUrls?: readonly string[] | null;
|
|
212
212
|
};
|
|
213
|
+
declare function apiVerifyBuyerTeePayment(payload: BuyerTeeVerifyPaymentBody, attestationServiceUrl: string, platform: string, actionType: string, options?: AttestationRequestOptions): Promise<AttestationServiceSellerVerifyResponse>;
|
|
213
214
|
declare function apiRequestIdentityAttestation(payload: IdentityAttestationRequestBody, attestationServiceUrl: string, platform: string, actionType: string, options?: AttestationRequestOptions): Promise<AttestationServiceIdentityResponse>;
|
|
214
215
|
declare function createEncryptedBuyerTeeSessionMaterial({ actionType, attestationServiceFallbackUrls, attestationRuntime, attestationServiceUrl, platform, sessionMaterial, timeoutMs, }: BuyerTeeSessionMaterialEncryptionInput): Promise<string>;
|
|
215
216
|
declare function apiCreateSellerCredentialBundle(payload: SellerCredentialUploadInput, attestationServiceUrl: string, platform: SellerCredentialUploadPlatform, timeoutMs?: number, attestationRuntime?: SellerCredentialAttestationRuntime, options?: AttestationRequestOptions): Promise<AttestationServiceSellerCredentialUploadResponse>;
|
|
@@ -792,4 +793,4 @@ declare class ContractError extends ZKP2PError {
|
|
|
792
793
|
constructor(message: string, details?: unknown);
|
|
793
794
|
}
|
|
794
795
|
|
|
795
|
-
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
|
796
|
+
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, b as
|
|
2
|
-
export {
|
|
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, G as GoogleOAuthSellerCredentialPlatform, h as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, i as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, j as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, k as PostDepositDetailsResponse, l as GetPayeeDetailsRequest, m as GetPayeeDetailsResponse, n as GetOwnerDepositsRequest, o as GetOwnerDepositsResponse, p as GetTakerTierRequest, q as GetTakerTierResponse, r as GetDepositBundleParams, s as ApiAdapterOptions, t as GetDepositBundleResponse, u as GetOrderbookParams, v as GetOrderbookResponse, w as CurrencyType, T as TakerTierLevel, x as PaymentMethodCatalog, y as TxOverrides } from './vaultUtils-BwY9Z0aR.js';
|
|
2
|
+
export { M as ActionCallback, al as ApiDeposit, as as ApiIntentStatus, b2 as AttestationServiceSellerCredentialProbeResponse, K as AuthorizationTokenProvider, cI as BatchResult, a1 as BestByPlatformResponseObject, b3 as BuyerTeePaymentParams, b4 as BuyerTeePaymentProofInput, b5 as BuyerTeeSessionMaterial, H as CancelIntentMethodParams, a0 as CancelIntentParams, aM as CashAppCredentialUploadInput, aD as CashAppSessionMaterial, O as CreateDepositConversionRate, N as CreateDepositParams, b6 as CuratorSellerCredentialStatusResponse, b7 as CuratorSellerVerifyResponse, cb as Currency, ci as CurrencyData, cH as DelegationDepositTarget, cF as DelegationRoute, cG as DelegationState, ct as Deposit, cv as DepositCurrency, bs as DepositIntentStatistics, ao as DepositStatus, am as DepositVerifier, an as DepositVerifierCurrency, bp as DepositVerifierData, cs as DepositView, ah as FiatResponse, b1 as FulfillIntentAttestationResponse, F as FulfillIntentMethodParams, _ as FulfillIntentParams, a2 as GetBestByPlatformResponse, a3 as GetBestByPlatformResponseObject, ap as GetDepositByIdRequest, aq as GetDepositByIdResponse, ax as GetIntentByHashRequest, ay as GetIntentByHashResponse, av as GetIntentsByDepositRequest, aw as GetIntentsByDepositResponse, a7 as GetNearbyQuote, a8 as GetNearbySuggestions, at as GetOwnerIntentsRequest, au as GetOwnerIntentsResponse, a4 as GetPlatformQuote, a9 as GetQuoteResponse, aa as GetQuoteResponseObject, ab as GetQuoteSingleResponse, bc as GetSellerCredentialStatusParams, bi as IdentityAttestationActionType, bj as IdentityAttestationOutput, bk as IdentityAttestationOutputFor, bl as IdentityAttestationParams, bz as IndexerClient, c5 as IndexerDeploymentEnv, bF as IndexerDeposit, bW as IndexerDepositDailySnapshot, bY as IndexerDepositFilter, bV as IndexerDepositFundActivity, bX as IndexerDepositFundActivityType, b$ as IndexerDepositOrderDirection, b_ as IndexerDepositOrderField, bZ as IndexerDepositPagination, bI as IndexerDepositPaymentMethod, bB as IndexerDepositService, c8 as IndexerFulfillmentAndPaymentResponse, c6 as IndexerFulfillmentRecord, bG as IndexerIntentFulfilled, bH as IndexerIntentFulfillmentAmounts, bK as IndexerIntentStatus, bO as IndexerManagerAggregateStats, bQ as IndexerManagerDailySnapshot, bP as IndexerManagerStats, bT as IndexerManualRateUpdate, bJ as IndexerMethodCurrency, bU as IndexerOracleConfigUpdate, c7 as IndexerPaymentVerifiedRecord, bL as IndexerRateManager, bN as IndexerRateManagerDelegation, c2 as IndexerRateManagerDelegationPagination, bS as IndexerRateManagerDetail, c0 as IndexerRateManagerFilter, bR as IndexerRateManagerListItem, c4 as IndexerRateManagerOrderDirection, c3 as IndexerRateManagerOrderField, c1 as IndexerRateManagerPagination, bM as IndexerRateManagerRate, bC as IndexerRateManagerService, ar as Intent, cx as IntentView, bm as MakerIdentityAttestationRequestBody, bn as MakerIdentityPlatform, aj as NearbyQuote, ak as NearbySuggestions, Z as OfframpClient, bo as OnchainCurrency, cy as OnchainIntent, br as OrderStats, by as OrderbookEntry, c9 as PAYMENT_PLATFORMS, aI as PayPalGoogleOAuthSellerCredentialUploadBody, cu as PaymentMethodData, ca as PaymentPlatformType, bw as PlatformLimit, a5 as PlatformQuote, bx as PlatformRiskLevel, bq as PreparedTransaction, ag as QuoteFeesResponse, af as QuoteIntentResponse, a6 as QuoteRequest, ac as QuoteResponse, ad as QuoteResponseObject, ae as QuoteSingleResponse, W as Range, cw as ReferralFee, az as RegisterPayeeDetailsRequest, aA as RegisterPayeeDetailsResponse, b8 as RegisteredSellerCredentialPlatform, ba as RegisteredUploadSellerCredentialParams, $ as ReleaseFundsToPayerParams, cn as RuntimeEnv, a$ as SellerAttestationOutput, aP as SellerCiphertextBundle, aU as SellerCredentialBundleUpload, b0 as SellerCredentialProbeResponse, aW as SellerCredentialStatus, aV as SellerCredentialStatusValue, aO as SellerCredentialUploadInputByPlatform, a_ as SellerPaymentTypedDataValue, aB as SellerPlatform, aT as SellerProbeInput, aQ as SellerSignedCiphertextBundle, aY as SellerTypedDataField, aZ as SellerTypedDataSpec, aS as SellerVerifyInput, aR as SellerVerifyIntentDetails, aX as SellerVerifyProxyBody, cK as SendBatchFn, cJ as SendTransactionFn, E as SignalIntentMethodParams, Y as SignalIntentParams, z as SignalIntentReferralFee, bt as TakerTier, bv as TakerTierSource, bu as TakerTierStats, L as TimeoutConfig, ai as TokenResponse, bg as UploadGoogleOAuthSellerCredentialParams, bd as UploadPayPalGoogleOAuthSellerCredentialParams, bb as UploadSellerCredentialOptions, b9 as UploadSellerCredentialParams, be as UploadVenmoGoogleOAuthSellerCredentialParams, bf as UploadZelleGoogleOAuthSellerCredentialParams, aL as VenmoCredentialUploadInput, aJ as VenmoGoogleOAuthSellerCredentialUploadBody, aC as VenmoSessionMaterial, bh as VerifySellerPaymentParams, aN as WiseCredentialUploadInput, aF as WiseProfileInfo, aH as WiseProfileNotFound, aG as WiseProfileSelectionRequired, aE as WiseSessionMaterial, X as WithdrawDepositParams, cz as ZERO_RATE_MANAGER_ID, aK as ZelleGoogleOAuthSellerCredentialUploadBody, Z as Zkp2pClient, J as Zkp2pClientOptions, cE as classifyDelegationState, bD as compareEventCursorIdsByRecency, cc as currencyInfo, bA as defaultIndexerEndpoint, cq as enrichPvDepositView, cr as enrichPvIntentView, bE as fetchIndexerFulfillmentAndPayment, cj as getContracts, cf as getCurrencyCodeFromHash, ce as getCurrencyInfoFromCountryCode, cd as getCurrencyInfoFromHash, cD as getDelegationRoute, cm as getGatingServiceAddress, cl as getPaymentMethodsCatalog, ck as getRateManagerContracts, cg as isSupportedCurrencyHash, cA as isZeroRateManagerId, ch as mapConversionRatesToOnchainMinRate, cB as normalizeRateManagerId, cC as normalizeRegistry, co as parseDepositView, cp as parseIntentView } from './vaultUtils-BwY9Z0aR.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';
|
|
@@ -210,6 +210,7 @@ declare function convertIndexerIntentsToEscrowViews(intents: IntentEntity[], dep
|
|
|
210
210
|
type AttestationRequestOptions = {
|
|
211
211
|
fallbackUrls?: readonly string[] | null;
|
|
212
212
|
};
|
|
213
|
+
declare function apiVerifyBuyerTeePayment(payload: BuyerTeeVerifyPaymentBody, attestationServiceUrl: string, platform: string, actionType: string, options?: AttestationRequestOptions): Promise<AttestationServiceSellerVerifyResponse>;
|
|
213
214
|
declare function apiRequestIdentityAttestation(payload: IdentityAttestationRequestBody, attestationServiceUrl: string, platform: string, actionType: string, options?: AttestationRequestOptions): Promise<AttestationServiceIdentityResponse>;
|
|
214
215
|
declare function createEncryptedBuyerTeeSessionMaterial({ actionType, attestationServiceFallbackUrls, attestationRuntime, attestationServiceUrl, platform, sessionMaterial, timeoutMs, }: BuyerTeeSessionMaterialEncryptionInput): Promise<string>;
|
|
215
216
|
declare function apiCreateSellerCredentialBundle(payload: SellerCredentialUploadInput, attestationServiceUrl: string, platform: SellerCredentialUploadPlatform, timeoutMs?: number, attestationRuntime?: SellerCredentialAttestationRuntime, options?: AttestationRequestOptions): Promise<AttestationServiceSellerCredentialUploadResponse>;
|
|
@@ -792,4 +793,4 @@ declare class ContractError extends ZKP2PError {
|
|
|
792
793
|
constructor(message: string, details?: unknown);
|
|
793
794
|
}
|
|
794
795
|
|
|
795
|
-
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
|
796
|
+
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
package/dist/index.mjs
CHANGED
|
@@ -8574,6 +8574,6 @@ var createPeerExtensionSdk = (options = {}) => ({
|
|
|
8574
8574
|
});
|
|
8575
8575
|
var peerExtensionSdk = createPeerExtensionSdk();
|
|
8576
8576
|
|
|
8577
|
-
export { BASE_BUILDER_CODE, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractRouter, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, IndexerClient, IndexerDepositService, IndexerRateManagerService, Zkp2pClient as OfframpClient, PAYMENT_PLATFORMS, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, TOKEN_METADATA, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, Zkp2pClient, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, appendAttributionToCalldata, assertValidReferrerFeeConfig, compareEventCursorIdsByRecency, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, defaultIndexerEndpoint, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, fetchFulfillmentAndPayment as fetchIndexerFulfillmentAndPayment, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
|
8577
|
+
export { BASE_BUILDER_CODE, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractRouter, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, IndexerClient, IndexerDepositService, IndexerRateManagerService, Zkp2pClient as OfframpClient, PAYMENT_PLATFORMS, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, TOKEN_METADATA, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, Zkp2pClient, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, assertValidReferrerFeeConfig, compareEventCursorIdsByRecency, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, defaultIndexerEndpoint, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, fetchFulfillmentAndPayment as fetchIndexerFulfillmentAndPayment, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
|
8578
8578
|
//# sourceMappingURL=index.mjs.map
|
|
8579
8579
|
//# sourceMappingURL=index.mjs.map
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, E as SignalIntentMethodParams, bq as PreparedTransaction, bt as TakerTier, p as GetTakerTierRequest, q as GetTakerTierResponse, F as FulfillIntentMethodParams, cJ as SendTransactionFn, cK as SendBatchFn, cH as DelegationDepositTarget, cI as BatchResult } from './vaultUtils-BwY9Z0aR.mjs';
|
|
2
|
+
export { cF as DelegationRoute, cG as DelegationState, cL as VAULT_ZERO_ADDRESS, cz as ZERO_RATE_MANAGER_ID, cM as asErrorMessage, cN as assertDelegationMethodSupport, cE as classifyDelegationState, cD as getDelegationRoute, cA as isZeroRateManagerId, cB as normalizeRateManagerId, cC as normalizeRegistry } from './vaultUtils-BwY9Z0aR.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,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, E as SignalIntentMethodParams, bq as PreparedTransaction, bt as TakerTier, p as GetTakerTierRequest, q as GetTakerTierResponse, F as FulfillIntentMethodParams, cJ as SendTransactionFn, cK as SendBatchFn, cH as DelegationDepositTarget, cI as BatchResult } from './vaultUtils-BwY9Z0aR.js';
|
|
2
|
+
export { cF as DelegationRoute, cG as DelegationState, cL as VAULT_ZERO_ADDRESS, cz as ZERO_RATE_MANAGER_ID, cM as asErrorMessage, cN as assertDelegationMethodSupport, cE as classifyDelegationState, cD as getDelegationRoute, cA as isZeroRateManagerId, cB as normalizeRateManagerId, cC as normalizeRegistry } from './vaultUtils-BwY9Z0aR.js';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
|
@@ -1250,6 +1250,12 @@ type BuyerTeeSessionMaterialEncryptionInput = {
|
|
|
1250
1250
|
sessionMaterial: BuyerTeeSessionMaterial;
|
|
1251
1251
|
timeoutMs?: number | null;
|
|
1252
1252
|
};
|
|
1253
|
+
type BuyerTeeVerifyPaymentBody = {
|
|
1254
|
+
encryptedSessionMaterial: string;
|
|
1255
|
+
chainId: number;
|
|
1256
|
+
intent: SellerVerifyIntentDetails;
|
|
1257
|
+
params: BuyerTeePaymentParams;
|
|
1258
|
+
};
|
|
1253
1259
|
type MakerIdentityPlatform = Extract<IdentityPlatform, 'paypal' | 'wise'>;
|
|
1254
1260
|
type IdentityAttestationParams = IdentityParamsByPlatform[IdentityPlatform] | Record<string, string | number | boolean>;
|
|
1255
1261
|
type IdentityAttestationRequestBody = {
|
|
@@ -3717,4 +3723,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
3717
3723
|
value?: bigint;
|
|
3718
3724
|
}>) => Promise<string>;
|
|
3719
3725
|
|
|
3720
|
-
export { type
|
|
3726
|
+
export { type ReleaseFundsToPayerParams as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type SignalIntentMethodParams as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type CancelIntentMethodParams as H, type IntentEntity$1 as I, type Zkp2pNextOptions as J, type AuthorizationTokenProvider as K, type TimeoutConfig as L, type ActionCallback as M, type CreateDepositParams as N, type CreateDepositConversionRate as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type TakerTierLevel as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type Range as W, type WithdrawDepositParams as X, type SignalIntentParams as Y, Zkp2pClient as Z, type FulfillIntentParams as _, type IdentityAttestationRequestBody as a, type SellerAttestationOutput as a$, type CancelIntentParams as a0, type BestByPlatformResponseObject as a1, type GetBestByPlatformResponse as a2, type GetBestByPlatformResponseObject as a3, type GetPlatformQuote as a4, type PlatformQuote as a5, type QuoteRequest as a6, type GetNearbyQuote as a7, type GetNearbySuggestions as a8, type GetQuoteResponse as a9, type RegisterPayeeDetailsResponse as aA, type SellerPlatform as aB, type VenmoSessionMaterial as aC, type CashAppSessionMaterial as aD, type WiseSessionMaterial as aE, type WiseProfileInfo as aF, type WiseProfileSelectionRequired as aG, type WiseProfileNotFound as aH, type PayPalGoogleOAuthSellerCredentialUploadBody as aI, type VenmoGoogleOAuthSellerCredentialUploadBody as aJ, type ZelleGoogleOAuthSellerCredentialUploadBody as aK, type VenmoCredentialUploadInput as aL, type CashAppCredentialUploadInput as aM, type WiseCredentialUploadInput as aN, type SellerCredentialUploadInputByPlatform as aO, type SellerCiphertextBundle as aP, type SellerSignedCiphertextBundle as aQ, type SellerVerifyIntentDetails as aR, type SellerVerifyInput as aS, type SellerProbeInput as aT, type SellerCredentialBundleUpload as aU, type SellerCredentialStatusValue as aV, type SellerCredentialStatus as aW, type SellerVerifyProxyBody as aX, type SellerTypedDataField as aY, type SellerTypedDataSpec as aZ, type SellerPaymentTypedDataValue as a_, type GetQuoteResponseObject as aa, type GetQuoteSingleResponse as ab, type QuoteResponse as ac, type QuoteResponseObject as ad, type QuoteSingleResponse as ae, type QuoteIntentResponse as af, type QuoteFeesResponse as ag, type FiatResponse as ah, type TokenResponse as ai, type NearbyQuote as aj, type NearbySuggestions as ak, type ApiDeposit as al, type DepositVerifier as am, type DepositVerifierCurrency as an, type DepositStatus as ao, type GetDepositByIdRequest as ap, type GetDepositByIdResponse as aq, type Intent as ar, type ApiIntentStatus as as, type GetOwnerIntentsRequest as at, type GetOwnerIntentsResponse as au, type GetIntentsByDepositRequest as av, type GetIntentsByDepositResponse as aw, type GetIntentByHashRequest as ax, type GetIntentByHashResponse as ay, type RegisterPayeeDetailsRequest as az, type AttestationServiceSellerVerifyResponse as b, type OrderDirection$1 as b$, type SellerCredentialProbeResponse as b0, type FulfillIntentAttestationResponse as b1, type AttestationServiceSellerCredentialProbeResponse as b2, type BuyerTeePaymentParams as b3, type BuyerTeePaymentProofInput as b4, type BuyerTeeSessionMaterial as b5, type CuratorSellerCredentialStatusResponse as b6, type CuratorSellerVerifyResponse as b7, type RegisteredSellerCredentialPlatform as b8, type UploadSellerCredentialParams as b9, defaultIndexerEndpoint as bA, IndexerDepositService as bB, IndexerRateManagerService as bC, compareEventCursorIdsByRecency as bD, fetchFulfillmentAndPayment as bE, type DepositEntity$1 as bF, type IntentFulfilledEntity as bG, type IntentFulfillmentAmountsEntity as bH, type DepositPaymentMethodEntity$1 as bI, type MethodCurrencyEntity$1 as bJ, type IntentStatus as bK, type RateManagerEntity as bL, type RateManagerRateEntity as bM, type RateManagerDelegationEntity as bN, type ManagerAggregateStatsEntity as bO, type ManagerStatsEntity as bP, type ManagerDailySnapshotEntity as bQ, type RateManagerListItem as bR, type RateManagerDetail as bS, type ManualRateUpdateEntity as bT, type OracleConfigUpdateEntity as bU, type DepositFundActivityEntity$1 as bV, type DepositDailySnapshotEntity$1 as bW, type DepositFundActivityType$1 as bX, type DepositFilter as bY, type PaginationOptions as bZ, type DepositOrderField as b_, type RegisteredUploadSellerCredentialParams as ba, type UploadSellerCredentialOptions as bb, type GetSellerCredentialStatusParams as bc, type UploadPayPalGoogleOAuthSellerCredentialParams as bd, type UploadVenmoGoogleOAuthSellerCredentialParams as be, type UploadZelleGoogleOAuthSellerCredentialParams as bf, type UploadGoogleOAuthSellerCredentialParams as bg, type VerifySellerPaymentParams as bh, type IdentityAttestationActionType as bi, type IdentityAttestationOutput as bj, type IdentityAttestationOutputFor as bk, type IdentityAttestationParams as bl, type MakerIdentityAttestationRequestBody as bm, type MakerIdentityPlatform as bn, type OnchainCurrency as bo, type DepositVerifierData as bp, type PreparedTransaction as bq, type OrderStats as br, type DepositIntentStatistics as bs, type TakerTier as bt, type TakerTierStats as bu, type TakerTierSource as bv, type PlatformLimit as bw, type PlatformRiskLevel as bx, type OrderbookEntry as by, IndexerClient as bz, type SellerCredentialUploadInput as c, type RateManagerFilter as c0, type RateManagerPaginationOptions as c1, type RateManagerDelegationPaginationOptions as c2, type RateManagerOrderField as c3, type OrderDirection as c4, type DeploymentEnv as c5, type FulfillmentRecord as c6, type PaymentVerifiedRecord as c7, type FulfillmentAndPaymentResponse as c8, PAYMENT_PLATFORMS as c9, isZeroRateManagerId as cA, normalizeRateManagerId as cB, normalizeRegistry as cC, getDelegationRoute as cD, classifyDelegationState as cE, type DelegationRoute as cF, type DelegationState as cG, type DelegationDepositTarget as cH, type BatchResult as cI, type SendTransactionFn as cJ, type SendBatchFn as cK, ZERO_ADDRESS as cL, asErrorMessage as cM, assertDelegationMethodSupport as cN, type PaymentPlatformType as ca, Currency as cb, currencyInfo as cc, getCurrencyInfoFromHash as cd, getCurrencyInfoFromCountryCode as ce, getCurrencyCodeFromHash as cf, isSupportedCurrencyHash as cg, mapConversionRatesToOnchainMinRate as ch, type CurrencyData as ci, getContracts as cj, getRateManagerContracts as ck, getPaymentMethodsCatalog as cl, getGatingServiceAddress as cm, type RuntimeEnv as cn, parseDepositView as co, parseIntentView as cp, enrichPvDepositView as cq, enrichPvIntentView as cr, type PV_DepositView as cs, type PV_Deposit as ct, type PV_PaymentMethodData as cu, type PV_Currency as cv, type PV_ReferralFee as cw, type PV_IntentView as cx, type PV_Intent as cy, ZERO_RATE_MANAGER_ID as cz, type SellerCredentialUploadPlatform as d, type SellerCredentialAttestationRuntime as e, type AttestationServiceSellerCredentialUploadResponse as f, type BuyerTeeSessionMaterialEncryptionInput as g, type GoogleOAuthSellerCredentialUploadBodyByPlatform as h, type BestByPlatformResponse as i, type ValidatePayeeDetailsResponse as j, type PostDepositDetailsResponse as k, type GetPayeeDetailsRequest as l, type GetPayeeDetailsResponse as m, type GetOwnerDepositsRequest as n, type GetOwnerDepositsResponse as o, type GetTakerTierRequest as p, type GetTakerTierResponse as q, type GetDepositBundleParams as r, type ApiAdapterOptions as s, type GetDepositBundleResponse as t, type GetOrderbookParams as u, type GetOrderbookResponse as v, type CurrencyType as w, type PaymentMethodCatalog as x, type TxOverrides as y, type SignalIntentReferralFee as z };
|
|
@@ -1250,6 +1250,12 @@ type BuyerTeeSessionMaterialEncryptionInput = {
|
|
|
1250
1250
|
sessionMaterial: BuyerTeeSessionMaterial;
|
|
1251
1251
|
timeoutMs?: number | null;
|
|
1252
1252
|
};
|
|
1253
|
+
type BuyerTeeVerifyPaymentBody = {
|
|
1254
|
+
encryptedSessionMaterial: string;
|
|
1255
|
+
chainId: number;
|
|
1256
|
+
intent: SellerVerifyIntentDetails;
|
|
1257
|
+
params: BuyerTeePaymentParams;
|
|
1258
|
+
};
|
|
1253
1259
|
type MakerIdentityPlatform = Extract<IdentityPlatform, 'paypal' | 'wise'>;
|
|
1254
1260
|
type IdentityAttestationParams = IdentityParamsByPlatform[IdentityPlatform] | Record<string, string | number | boolean>;
|
|
1255
1261
|
type IdentityAttestationRequestBody = {
|
|
@@ -3717,4 +3723,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
3717
3723
|
value?: bigint;
|
|
3718
3724
|
}>) => Promise<string>;
|
|
3719
3725
|
|
|
3720
|
-
export { type
|
|
3726
|
+
export { type ReleaseFundsToPayerParams as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type SignalIntentMethodParams as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type CancelIntentMethodParams as H, type IntentEntity$1 as I, type Zkp2pNextOptions as J, type AuthorizationTokenProvider as K, type TimeoutConfig as L, type ActionCallback as M, type CreateDepositParams as N, type CreateDepositConversionRate as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type TakerTierLevel as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type Range as W, type WithdrawDepositParams as X, type SignalIntentParams as Y, Zkp2pClient as Z, type FulfillIntentParams as _, type IdentityAttestationRequestBody as a, type SellerAttestationOutput as a$, type CancelIntentParams as a0, type BestByPlatformResponseObject as a1, type GetBestByPlatformResponse as a2, type GetBestByPlatformResponseObject as a3, type GetPlatformQuote as a4, type PlatformQuote as a5, type QuoteRequest as a6, type GetNearbyQuote as a7, type GetNearbySuggestions as a8, type GetQuoteResponse as a9, type RegisterPayeeDetailsResponse as aA, type SellerPlatform as aB, type VenmoSessionMaterial as aC, type CashAppSessionMaterial as aD, type WiseSessionMaterial as aE, type WiseProfileInfo as aF, type WiseProfileSelectionRequired as aG, type WiseProfileNotFound as aH, type PayPalGoogleOAuthSellerCredentialUploadBody as aI, type VenmoGoogleOAuthSellerCredentialUploadBody as aJ, type ZelleGoogleOAuthSellerCredentialUploadBody as aK, type VenmoCredentialUploadInput as aL, type CashAppCredentialUploadInput as aM, type WiseCredentialUploadInput as aN, type SellerCredentialUploadInputByPlatform as aO, type SellerCiphertextBundle as aP, type SellerSignedCiphertextBundle as aQ, type SellerVerifyIntentDetails as aR, type SellerVerifyInput as aS, type SellerProbeInput as aT, type SellerCredentialBundleUpload as aU, type SellerCredentialStatusValue as aV, type SellerCredentialStatus as aW, type SellerVerifyProxyBody as aX, type SellerTypedDataField as aY, type SellerTypedDataSpec as aZ, type SellerPaymentTypedDataValue as a_, type GetQuoteResponseObject as aa, type GetQuoteSingleResponse as ab, type QuoteResponse as ac, type QuoteResponseObject as ad, type QuoteSingleResponse as ae, type QuoteIntentResponse as af, type QuoteFeesResponse as ag, type FiatResponse as ah, type TokenResponse as ai, type NearbyQuote as aj, type NearbySuggestions as ak, type ApiDeposit as al, type DepositVerifier as am, type DepositVerifierCurrency as an, type DepositStatus as ao, type GetDepositByIdRequest as ap, type GetDepositByIdResponse as aq, type Intent as ar, type ApiIntentStatus as as, type GetOwnerIntentsRequest as at, type GetOwnerIntentsResponse as au, type GetIntentsByDepositRequest as av, type GetIntentsByDepositResponse as aw, type GetIntentByHashRequest as ax, type GetIntentByHashResponse as ay, type RegisterPayeeDetailsRequest as az, type AttestationServiceSellerVerifyResponse as b, type OrderDirection$1 as b$, type SellerCredentialProbeResponse as b0, type FulfillIntentAttestationResponse as b1, type AttestationServiceSellerCredentialProbeResponse as b2, type BuyerTeePaymentParams as b3, type BuyerTeePaymentProofInput as b4, type BuyerTeeSessionMaterial as b5, type CuratorSellerCredentialStatusResponse as b6, type CuratorSellerVerifyResponse as b7, type RegisteredSellerCredentialPlatform as b8, type UploadSellerCredentialParams as b9, defaultIndexerEndpoint as bA, IndexerDepositService as bB, IndexerRateManagerService as bC, compareEventCursorIdsByRecency as bD, fetchFulfillmentAndPayment as bE, type DepositEntity$1 as bF, type IntentFulfilledEntity as bG, type IntentFulfillmentAmountsEntity as bH, type DepositPaymentMethodEntity$1 as bI, type MethodCurrencyEntity$1 as bJ, type IntentStatus as bK, type RateManagerEntity as bL, type RateManagerRateEntity as bM, type RateManagerDelegationEntity as bN, type ManagerAggregateStatsEntity as bO, type ManagerStatsEntity as bP, type ManagerDailySnapshotEntity as bQ, type RateManagerListItem as bR, type RateManagerDetail as bS, type ManualRateUpdateEntity as bT, type OracleConfigUpdateEntity as bU, type DepositFundActivityEntity$1 as bV, type DepositDailySnapshotEntity$1 as bW, type DepositFundActivityType$1 as bX, type DepositFilter as bY, type PaginationOptions as bZ, type DepositOrderField as b_, type RegisteredUploadSellerCredentialParams as ba, type UploadSellerCredentialOptions as bb, type GetSellerCredentialStatusParams as bc, type UploadPayPalGoogleOAuthSellerCredentialParams as bd, type UploadVenmoGoogleOAuthSellerCredentialParams as be, type UploadZelleGoogleOAuthSellerCredentialParams as bf, type UploadGoogleOAuthSellerCredentialParams as bg, type VerifySellerPaymentParams as bh, type IdentityAttestationActionType as bi, type IdentityAttestationOutput as bj, type IdentityAttestationOutputFor as bk, type IdentityAttestationParams as bl, type MakerIdentityAttestationRequestBody as bm, type MakerIdentityPlatform as bn, type OnchainCurrency as bo, type DepositVerifierData as bp, type PreparedTransaction as bq, type OrderStats as br, type DepositIntentStatistics as bs, type TakerTier as bt, type TakerTierStats as bu, type TakerTierSource as bv, type PlatformLimit as bw, type PlatformRiskLevel as bx, type OrderbookEntry as by, IndexerClient as bz, type SellerCredentialUploadInput as c, type RateManagerFilter as c0, type RateManagerPaginationOptions as c1, type RateManagerDelegationPaginationOptions as c2, type RateManagerOrderField as c3, type OrderDirection as c4, type DeploymentEnv as c5, type FulfillmentRecord as c6, type PaymentVerifiedRecord as c7, type FulfillmentAndPaymentResponse as c8, PAYMENT_PLATFORMS as c9, isZeroRateManagerId as cA, normalizeRateManagerId as cB, normalizeRegistry as cC, getDelegationRoute as cD, classifyDelegationState as cE, type DelegationRoute as cF, type DelegationState as cG, type DelegationDepositTarget as cH, type BatchResult as cI, type SendTransactionFn as cJ, type SendBatchFn as cK, ZERO_ADDRESS as cL, asErrorMessage as cM, assertDelegationMethodSupport as cN, type PaymentPlatformType as ca, Currency as cb, currencyInfo as cc, getCurrencyInfoFromHash as cd, getCurrencyInfoFromCountryCode as ce, getCurrencyCodeFromHash as cf, isSupportedCurrencyHash as cg, mapConversionRatesToOnchainMinRate as ch, type CurrencyData as ci, getContracts as cj, getRateManagerContracts as ck, getPaymentMethodsCatalog as cl, getGatingServiceAddress as cm, type RuntimeEnv as cn, parseDepositView as co, parseIntentView as cp, enrichPvDepositView as cq, enrichPvIntentView as cr, type PV_DepositView as cs, type PV_Deposit as ct, type PV_PaymentMethodData as cu, type PV_Currency as cv, type PV_ReferralFee as cw, type PV_IntentView as cx, type PV_Intent as cy, ZERO_RATE_MANAGER_ID as cz, type SellerCredentialUploadPlatform as d, type SellerCredentialAttestationRuntime as e, type AttestationServiceSellerCredentialUploadResponse as f, type BuyerTeeSessionMaterialEncryptionInput as g, type GoogleOAuthSellerCredentialUploadBodyByPlatform as h, type BestByPlatformResponse as i, type ValidatePayeeDetailsResponse as j, type PostDepositDetailsResponse as k, type GetPayeeDetailsRequest as l, type GetPayeeDetailsResponse as m, type GetOwnerDepositsRequest as n, type GetOwnerDepositsResponse as o, type GetTakerTierRequest as p, type GetTakerTierResponse as q, type GetDepositBundleParams as r, type ApiAdapterOptions as s, type GetDepositBundleResponse as t, type GetOrderbookParams as u, type GetOrderbookResponse as v, type CurrencyType as w, type PaymentMethodCatalog as x, type TxOverrides as y, type SignalIntentReferralFee as z };
|