@zkp2p/sdk 0.10.0 → 0.11.0-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/README.md +29 -21
- package/dist/{chunk-JRLUSPR3.mjs → chunk-BRIDD433.mjs} +27831 -17236
- package/dist/chunk-BRIDD433.mjs.map +1 -0
- package/dist/{chunk-WXEP544Y.mjs → chunk-FCOH36IX.mjs} +3 -39
- package/dist/chunk-FCOH36IX.mjs.map +1 -0
- package/dist/index.cjs +28583 -18008
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -64
- package/dist/index.d.ts +9 -64
- package/dist/index.mjs +124 -197
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-ZZKVAPPA.mjs +5 -0
- package/dist/{protocolViewerParsers-QMHI74AA.mjs.map → protocolViewerParsers-ZZKVAPPA.mjs.map} +1 -1
- package/dist/react.cjs +0 -133
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.mts +3 -25
- package/dist/react.d.ts +3 -25
- package/dist/react.mjs +4 -107
- package/dist/react.mjs.map +1 -1
- package/dist/{vaultUtils-DeUFIx3l.d.mts → vaultUtils-BnXI9_ng.d.mts} +48 -131
- package/dist/{vaultUtils-DeUFIx3l.d.ts → vaultUtils-BnXI9_ng.d.ts} +48 -131
- package/package.json +3 -3
- package/dist/chunk-JRLUSPR3.mjs.map +0 -1
- package/dist/chunk-WXEP544Y.mjs.map +0 -1
- package/dist/protocolViewerParsers-QMHI74AA.mjs +0 -5
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
|
|
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, 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 CurrencyType, M as PaymentMethodCatalog, T as TxOverrides } from './vaultUtils-BnXI9_ng.mjs';
|
|
2
|
+
export { d7 as AccessPolicyDiff, c$ as AccessPolicyOperations, d8 as AccessPolicyOrdering, d9 as AccessPolicyPlan, da as AccessPolicyPlanStep, db as AccessPolicyState, d0 as AccessPolicyUnsupportedError, dc as AccessPolicyViolation, ab as ActionCallback, aH as ApiDeposit, aO as ApiIntentStatus, bm as AttestationServiceSellerCredentialProbeResponse, a9 as AuthorizationTokenProvider, cY as BatchResult, am as BestByPlatformResponseObject, bn as BuyerTeePaymentParams, bo as BuyerTeePaymentProofInput, bp as BuyerTeeSessionMaterial, a0 as CancelIntentMethodParams, al as CancelIntentParams, b4 as CashAppCredentialUploadInput, aZ as CashAppSessionMaterial, af as CreateDepositConversionRate, ae as CreateDepositParams, bq as CuratorSellerCredentialStatusResponse, br as CuratorSellerVerifyResponse, cp as Currency, cw as CurrencyData, cX as DelegationDepositTarget, cV as DelegationRoute, cW as DelegationState, cJ as Deposit, cL as DepositCurrency, bK as DepositIntentStatistics, aK as DepositStatus, aI as DepositVerifier, aJ as DepositVerifierCurrency, bH as DepositVerifierData, cI as DepositView, aD as FiatResponse, bl as FulfillIntentAttestationResponse, $ as FulfillIntentMethodParams, aj as FulfillIntentParams, an as GetBestByPlatformResponse, ao as GetBestByPlatformResponseObject, aL as GetDepositByIdRequest, aM as GetDepositByIdResponse, aT as GetIntentByHashRequest, aU as GetIntentByHashResponse, aR as GetIntentsByDepositRequest, aS as GetIntentsByDepositResponse, at as GetNearbyQuote, au as GetNearbySuggestions, aP as GetOwnerIntentsRequest, aQ as GetOwnerIntentsResponse, ap as GetPlatformQuote, av as GetQuoteResponse, aw as GetQuoteResponseObject, ax as GetQuoteSingleResponse, bw as GetSellerCredentialStatusParams, bA as IdentityAttestationActionType, bB as IdentityAttestationOutput, bC as IdentityAttestationOutputFor, bD as IdentityAttestationParams, bN as IndexerClient, cj as IndexerDeploymentEnv, bT as IndexerDeposit, c8 as IndexerDepositDailySnapshot, ca as IndexerDepositFilter, c7 as IndexerDepositFundActivity, c9 as IndexerDepositFundActivityType, cd as IndexerDepositOrderDirection, cc as IndexerDepositOrderField, cb as IndexerDepositPagination, bW as IndexerDepositPaymentMethod, bP as IndexerDepositService, cm as IndexerFulfillmentAndPaymentResponse, ck as IndexerFulfillmentRecord, bU as IndexerIntentFulfilled, bV as IndexerIntentFulfillmentAmounts, bY as IndexerIntentStatus, c0 as IndexerManagerAggregateStats, c2 as IndexerManagerDailySnapshot, c1 as IndexerManagerStats, c5 as IndexerManualRateUpdate, bX as IndexerMethodCurrency, c6 as IndexerOracleConfigUpdate, cl as IndexerPaymentVerifiedRecord, bZ as IndexerRateManager, b$ as IndexerRateManagerDelegation, cg as IndexerRateManagerDelegationPagination, c4 as IndexerRateManagerDetail, ce as IndexerRateManagerFilter, c3 as IndexerRateManagerListItem, ci as IndexerRateManagerOrderDirection, ch as IndexerRateManagerOrderField, cf as IndexerRateManagerPagination, b_ as IndexerRateManagerRate, bQ as IndexerRateManagerService, aN as Intent, a7 as IntentGuardianErrorCode, a3 as IntentGuardianPolicy, a4 as IntentGuardianQuote, a5 as IntentGuardianWriteFunction, a6 as IntentGuardianWriteParams, cN as IntentView, d2 as MAX_ADDRESSES_PER_CALL, d1 as MAX_GROUPS_PER_DEPOSIT, d3 as MAX_WHITELISTED_ADDRESSES, bE as MakerIdentityAttestationRequestBody, bF as MakerIdentityPlatform, aF as NearbyQuote, aG as NearbySuggestions, Z as OfframpClient, bG as OnchainCurrency, cO as OnchainIntent, bJ as OrderStats, bL as OrderbookEntry, bM as OrderbookTableRow, cn as PAYMENT_PLATFORMS, b2 as PayPalGoogleOAuthSellerCredentialUploadBody, cK as PaymentMethodData, co as PaymentPlatformType, aq as PlatformQuote, bI as PreparedTransaction, aC as QuoteFeesResponse, aB as QuoteIntentResponse, ar as QuotePreference, as as QuoteRequest, ay as QuoteResponse, az as QuoteResponseObject, aA as QuoteSingleResponse, ag as Range, X as RedeemReferralCodeSignatureOptions, N as ReferralBearerWriteOptions, cM as ReferralFee, O as ReferralReadOptions, ac as ReferralRedemption, ad as ReferralSignatureBody, W as ReferralSignatureOptions, aV as RegisterPayeeDetailsRequest, aW as RegisterPayeeDetailsResponse, bs as RegisteredSellerCredentialPlatform, bu as RegisteredUploadSellerCredentialParams, ak as ReleaseFundsToPayerParams, cD as RuntimeEnv, bj as SellerAttestationOutput, b7 as SellerCiphertextBundle, bc as SellerCredentialBundleUpload, bk as SellerCredentialProbeResponse, be as SellerCredentialStatus, bd as SellerCredentialStatusValue, b6 as SellerCredentialUploadInputByPlatform, bi as SellerPaymentTypedDataValue, aX as SellerPlatform, bb as SellerProbeInput, b8 as SellerSignedCiphertextBundle, bg as SellerTypedDataField, bh as SellerTypedDataSpec, ba as SellerVerifyInput, b9 as SellerVerifyIntentDetails, bf as SellerVerifyProxyBody, c_ as SendBatchFn, cZ as SendTransactionFn, _ as SignalIntentMethodParams, ai as SignalIntentParams, Y as SignalIntentReferralFee, aa as TimeoutConfig, aE as TokenResponse, a1 as UpdateReferralCodeSignatureOptions, by as UploadGoogleOAuthSellerCredentialParams, bx as UploadPayPalGoogleOAuthSellerCredentialParams, bv as UploadSellerCredentialOptions, bt as UploadSellerCredentialParams, b3 as VenmoCredentialUploadInput, aY as VenmoSessionMaterial, bz as VerifySellerPaymentParams, b5 as WiseCredentialUploadInput, a$ as WiseProfileInfo, b1 as WiseProfileNotFound, b0 as WiseProfileSelectionRequired, a_ as WiseSessionMaterial, ah as WithdrawDepositParams, cP as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a2 as Zkp2pClientOptions, cU as classifyDelegationState, a8 as classifyIntentGuardianError, bR as compareEventCursorIdsByRecency, cq as currencyInfo, bO as defaultIndexerEndpoint, d4 as diffAccessPolicy, cG as enrichPvDepositView, cH as enrichPvIntentView, bS as fetchIndexerFulfillmentAndPayment, cx as getContracts, ct as getCurrencyCodeFromHash, cs as getCurrencyInfoFromCountryCode, cr as getCurrencyInfoFromHash, cT as getDelegationRoute, cC as getGatingServiceAddress, cy as getIntentGuardianContract, cB as getPaymentMethodsCatalog, cA as getRateManagerContracts, cz as hasIntentGuardian, cu as isSupportedCurrencyHash, cQ as isZeroRateManagerId, cv as mapConversionRatesToOnchainMinRate, d5 as normalizeAccessPolicyState, cR as normalizeRateManagerId, cS as normalizeRegistry, cE as parseDepositView, cF as parseIntentView, d6 as planAccessPolicyUpdate } from './vaultUtils-BnXI9_ng.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';
|
|
@@ -131,7 +131,7 @@ interface EscrowContractContext {
|
|
|
131
131
|
interface OrchestratorContractContext {
|
|
132
132
|
address: Address;
|
|
133
133
|
abi: Abi;
|
|
134
|
-
version: 'v2';
|
|
134
|
+
version: 'v2' | 'v3';
|
|
135
135
|
}
|
|
136
136
|
interface ContractRouterConfig {
|
|
137
137
|
escrowAddress: Address;
|
|
@@ -143,6 +143,8 @@ interface ContractRouterConfig {
|
|
|
143
143
|
orchestratorAbi?: Abi;
|
|
144
144
|
orchestratorV2Address?: Address;
|
|
145
145
|
orchestratorV2Abi?: Abi;
|
|
146
|
+
orchestratorV3Address?: Address;
|
|
147
|
+
orchestratorV3Abi?: Abi;
|
|
146
148
|
orchestratorAddresses: Address[];
|
|
147
149
|
}
|
|
148
150
|
declare class ContractRouter {
|
|
@@ -157,6 +159,8 @@ declare class ContractRouter {
|
|
|
157
159
|
readonly orchestratorAbi?: Abi;
|
|
158
160
|
readonly orchestratorV2Address?: Address;
|
|
159
161
|
readonly orchestratorV2Abi?: Abi;
|
|
162
|
+
readonly orchestratorV3Address?: Address;
|
|
163
|
+
readonly orchestratorV3Abi?: Abi;
|
|
160
164
|
readonly orchestratorAddresses: Address[];
|
|
161
165
|
constructor(config: ContractRouterConfig);
|
|
162
166
|
private _registerContexts;
|
|
@@ -273,14 +277,10 @@ declare function apiCreateSellerCredentialBundle(payload: SellerCredentialUpload
|
|
|
273
277
|
declare function apiUploadSellerCredentialBundle(params: UploadSellerCredentialBundleParams, baseApiUrl?: string | null, timeoutMs?: number, authorizationToken?: string): Promise<CuratorSellerCredentialUploadResponse>;
|
|
274
278
|
|
|
275
279
|
declare function apiPostDepositDetails(req: PostDepositDetailsRequest, baseApiUrl: string, timeoutMs?: number): Promise<PostDepositDetailsResponse>;
|
|
276
|
-
declare function apiGetQuotesBestByPlatform(req: QuotesBestByPlatformRequest, baseApiUrl: string, timeoutMs?: number
|
|
280
|
+
declare function apiGetQuotesBestByPlatform(req: QuotesBestByPlatformRequest, baseApiUrl: string, timeoutMs?: number): Promise<BestByPlatformResponse>;
|
|
277
281
|
declare function apiGetPayeeDetails(req: GetPayeeDetailsRequest, baseApiUrl: string, timeoutMs?: number): Promise<GetPayeeDetailsResponse>;
|
|
278
282
|
declare function apiValidatePayeeDetails(req: ValidatePayeeDetailsRequest, baseApiUrl: string, timeoutMs?: number): Promise<ValidatePayeeDetailsResponse>;
|
|
279
283
|
declare function apiGetOwnerDeposits(req: GetOwnerDepositsRequest, apiKey: string | undefined, baseApiUrl: string, authToken?: string, timeoutMs?: number): Promise<GetOwnerDepositsResponse>;
|
|
280
|
-
/**
|
|
281
|
-
* Get taker tier information for a specific address.
|
|
282
|
-
*/
|
|
283
|
-
declare function apiGetTakerTier(req: GetTakerTierRequest, baseApiUrl: string, timeoutMs?: number): Promise<GetTakerTierResponse>;
|
|
284
284
|
declare function apiGetReferralDashboard(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralDashboardResponse>;
|
|
285
285
|
declare function apiGetReferralEarnings(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralEarningsResponse>;
|
|
286
286
|
declare function apiLookupReferralCode(code: string, opts: ApiAdapterOptions): Promise<ReferralCodeLookupResponse>;
|
|
@@ -515,61 +515,6 @@ declare const TOKEN_METADATA: {
|
|
|
515
515
|
};
|
|
516
516
|
};
|
|
517
517
|
|
|
518
|
-
/**
|
|
519
|
-
* Canonical taker tier schedule — the single client-side source of truth for
|
|
520
|
-
* per-intent caps and volume thresholds. Mirrors the curator's authoritative
|
|
521
|
-
* tier engine (curator `src/common/services/tier/tierConstants.ts`), which is
|
|
522
|
-
* what the backend actually enforces.
|
|
523
|
-
*
|
|
524
|
-
* The live qualification signal is Peer Pay volume. Historical maker tiers
|
|
525
|
-
* earned before July 1, 2026 UTC are preserved; after that cutoff, only Peer
|
|
526
|
-
* Pay volume moves the tier. Curator keeps the response field name
|
|
527
|
-
* `peerPayVolume` for compatibility.
|
|
528
|
-
*
|
|
529
|
-
* A user's *live* tier, cap, and progression always come from the taker-tier
|
|
530
|
-
* API payload (`TakerTier.perIntentCapBaseUnits`, `minVolumeForTier`,
|
|
531
|
-
* `volumeToNextTier`, `peerPayVolume`). Those values are DB-backed and
|
|
532
|
-
* server-authoritative — they vary per environment (e.g. preprod runs
|
|
533
|
-
* different thresholds than these). This static schedule is ONLY a
|
|
534
|
-
* documented-default reference for displays that must show every tier at once
|
|
535
|
-
* (the Fees & Tiers ladder) when no live payload is available; never gate or
|
|
536
|
-
* compute a user's real cap from it.
|
|
537
|
-
*
|
|
538
|
-
* Volume bands track the live tuned qualification thresholds — PEER $1k,
|
|
539
|
-
* PLUS $10k, PRO $50k, PLATINUM $100k. Caps ($100/$250/$1k/$2.5k/$5k) are unchanged.
|
|
540
|
-
* Read the live per-user values from the API: curator can change qualification
|
|
541
|
-
* inputs behind the compatibility fields without changing this reference table.
|
|
542
|
-
*
|
|
543
|
-
* Ordered highest tier → lowest (PLATINUM first) to match UI display order.
|
|
544
|
-
*/
|
|
545
|
-
interface TakerTierScheduleEntry {
|
|
546
|
-
tier: TakerTierLevel;
|
|
547
|
-
/** Per-intent order cap in whole USD (base, before platform risk multipliers). */
|
|
548
|
-
perIntentCapUsd: number;
|
|
549
|
-
/** Inclusive lower bound of Peer Pay volume (USD) that qualifies for this tier. */
|
|
550
|
-
minVolumeUsd: number;
|
|
551
|
-
/** Inclusive upper bound of Peer Pay volume (USD); `Infinity` for the top tier. */
|
|
552
|
-
maxVolumeUsd: number;
|
|
553
|
-
}
|
|
554
|
-
declare const TAKER_TIER_SCHEDULE: readonly TakerTierScheduleEntry[];
|
|
555
|
-
/** Volume-based tier order, lowest → highest, for next-tier progression. */
|
|
556
|
-
declare const TAKER_TIER_ORDER: readonly TakerTierLevel[];
|
|
557
|
-
/** Per-intent caps (whole USD) keyed by tier, derived from the schedule. */
|
|
558
|
-
declare const TAKER_TIER_CAPS: Readonly<Record<string, number>>;
|
|
559
|
-
/**
|
|
560
|
-
* Default take-fee discount (in basis points) applied per tier, mirroring
|
|
561
|
-
* curator `TIER_FEE_DISCOUNT_BPS`. The discount is subtracted from the base
|
|
562
|
-
* service fee server-side at quote and sign time — it is NOT returned by the
|
|
563
|
-
* tier endpoint. These are documented defaults for reference fee displays only;
|
|
564
|
-
* the curator DB control-plane can override them, so prefer the fee shown on a
|
|
565
|
-
* live quote when one is available.
|
|
566
|
-
*/
|
|
567
|
-
declare const TAKER_TIER_FEE_DISCOUNT_BPS: Readonly<Record<TakerTierLevel, number>>;
|
|
568
|
-
/** The default fee-discount (bps) for a tier, or 0 for unknown tiers. */
|
|
569
|
-
declare function getTakerTierFeeDiscountBps(tier: string | undefined): number;
|
|
570
|
-
/** The next tier up from `currentTier`, or `null` at the top / for unknown tiers. */
|
|
571
|
-
declare function getNextTakerTier(currentTier: string | undefined): TakerTierLevel | null;
|
|
572
|
-
|
|
573
518
|
/**
|
|
574
519
|
* Payment method resolution utilities.
|
|
575
520
|
*
|
|
@@ -847,4 +792,4 @@ declare class ContractError extends ZKP2PError {
|
|
|
847
792
|
constructor(message: string, details?: unknown);
|
|
848
793
|
}
|
|
849
794
|
|
|
850
|
-
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse,
|
|
795
|
+
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, 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, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, 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 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
|
|
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, 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 CurrencyType, M as PaymentMethodCatalog, T as TxOverrides } from './vaultUtils-BnXI9_ng.js';
|
|
2
|
+
export { d7 as AccessPolicyDiff, c$ as AccessPolicyOperations, d8 as AccessPolicyOrdering, d9 as AccessPolicyPlan, da as AccessPolicyPlanStep, db as AccessPolicyState, d0 as AccessPolicyUnsupportedError, dc as AccessPolicyViolation, ab as ActionCallback, aH as ApiDeposit, aO as ApiIntentStatus, bm as AttestationServiceSellerCredentialProbeResponse, a9 as AuthorizationTokenProvider, cY as BatchResult, am as BestByPlatformResponseObject, bn as BuyerTeePaymentParams, bo as BuyerTeePaymentProofInput, bp as BuyerTeeSessionMaterial, a0 as CancelIntentMethodParams, al as CancelIntentParams, b4 as CashAppCredentialUploadInput, aZ as CashAppSessionMaterial, af as CreateDepositConversionRate, ae as CreateDepositParams, bq as CuratorSellerCredentialStatusResponse, br as CuratorSellerVerifyResponse, cp as Currency, cw as CurrencyData, cX as DelegationDepositTarget, cV as DelegationRoute, cW as DelegationState, cJ as Deposit, cL as DepositCurrency, bK as DepositIntentStatistics, aK as DepositStatus, aI as DepositVerifier, aJ as DepositVerifierCurrency, bH as DepositVerifierData, cI as DepositView, aD as FiatResponse, bl as FulfillIntentAttestationResponse, $ as FulfillIntentMethodParams, aj as FulfillIntentParams, an as GetBestByPlatformResponse, ao as GetBestByPlatformResponseObject, aL as GetDepositByIdRequest, aM as GetDepositByIdResponse, aT as GetIntentByHashRequest, aU as GetIntentByHashResponse, aR as GetIntentsByDepositRequest, aS as GetIntentsByDepositResponse, at as GetNearbyQuote, au as GetNearbySuggestions, aP as GetOwnerIntentsRequest, aQ as GetOwnerIntentsResponse, ap as GetPlatformQuote, av as GetQuoteResponse, aw as GetQuoteResponseObject, ax as GetQuoteSingleResponse, bw as GetSellerCredentialStatusParams, bA as IdentityAttestationActionType, bB as IdentityAttestationOutput, bC as IdentityAttestationOutputFor, bD as IdentityAttestationParams, bN as IndexerClient, cj as IndexerDeploymentEnv, bT as IndexerDeposit, c8 as IndexerDepositDailySnapshot, ca as IndexerDepositFilter, c7 as IndexerDepositFundActivity, c9 as IndexerDepositFundActivityType, cd as IndexerDepositOrderDirection, cc as IndexerDepositOrderField, cb as IndexerDepositPagination, bW as IndexerDepositPaymentMethod, bP as IndexerDepositService, cm as IndexerFulfillmentAndPaymentResponse, ck as IndexerFulfillmentRecord, bU as IndexerIntentFulfilled, bV as IndexerIntentFulfillmentAmounts, bY as IndexerIntentStatus, c0 as IndexerManagerAggregateStats, c2 as IndexerManagerDailySnapshot, c1 as IndexerManagerStats, c5 as IndexerManualRateUpdate, bX as IndexerMethodCurrency, c6 as IndexerOracleConfigUpdate, cl as IndexerPaymentVerifiedRecord, bZ as IndexerRateManager, b$ as IndexerRateManagerDelegation, cg as IndexerRateManagerDelegationPagination, c4 as IndexerRateManagerDetail, ce as IndexerRateManagerFilter, c3 as IndexerRateManagerListItem, ci as IndexerRateManagerOrderDirection, ch as IndexerRateManagerOrderField, cf as IndexerRateManagerPagination, b_ as IndexerRateManagerRate, bQ as IndexerRateManagerService, aN as Intent, a7 as IntentGuardianErrorCode, a3 as IntentGuardianPolicy, a4 as IntentGuardianQuote, a5 as IntentGuardianWriteFunction, a6 as IntentGuardianWriteParams, cN as IntentView, d2 as MAX_ADDRESSES_PER_CALL, d1 as MAX_GROUPS_PER_DEPOSIT, d3 as MAX_WHITELISTED_ADDRESSES, bE as MakerIdentityAttestationRequestBody, bF as MakerIdentityPlatform, aF as NearbyQuote, aG as NearbySuggestions, Z as OfframpClient, bG as OnchainCurrency, cO as OnchainIntent, bJ as OrderStats, bL as OrderbookEntry, bM as OrderbookTableRow, cn as PAYMENT_PLATFORMS, b2 as PayPalGoogleOAuthSellerCredentialUploadBody, cK as PaymentMethodData, co as PaymentPlatformType, aq as PlatformQuote, bI as PreparedTransaction, aC as QuoteFeesResponse, aB as QuoteIntentResponse, ar as QuotePreference, as as QuoteRequest, ay as QuoteResponse, az as QuoteResponseObject, aA as QuoteSingleResponse, ag as Range, X as RedeemReferralCodeSignatureOptions, N as ReferralBearerWriteOptions, cM as ReferralFee, O as ReferralReadOptions, ac as ReferralRedemption, ad as ReferralSignatureBody, W as ReferralSignatureOptions, aV as RegisterPayeeDetailsRequest, aW as RegisterPayeeDetailsResponse, bs as RegisteredSellerCredentialPlatform, bu as RegisteredUploadSellerCredentialParams, ak as ReleaseFundsToPayerParams, cD as RuntimeEnv, bj as SellerAttestationOutput, b7 as SellerCiphertextBundle, bc as SellerCredentialBundleUpload, bk as SellerCredentialProbeResponse, be as SellerCredentialStatus, bd as SellerCredentialStatusValue, b6 as SellerCredentialUploadInputByPlatform, bi as SellerPaymentTypedDataValue, aX as SellerPlatform, bb as SellerProbeInput, b8 as SellerSignedCiphertextBundle, bg as SellerTypedDataField, bh as SellerTypedDataSpec, ba as SellerVerifyInput, b9 as SellerVerifyIntentDetails, bf as SellerVerifyProxyBody, c_ as SendBatchFn, cZ as SendTransactionFn, _ as SignalIntentMethodParams, ai as SignalIntentParams, Y as SignalIntentReferralFee, aa as TimeoutConfig, aE as TokenResponse, a1 as UpdateReferralCodeSignatureOptions, by as UploadGoogleOAuthSellerCredentialParams, bx as UploadPayPalGoogleOAuthSellerCredentialParams, bv as UploadSellerCredentialOptions, bt as UploadSellerCredentialParams, b3 as VenmoCredentialUploadInput, aY as VenmoSessionMaterial, bz as VerifySellerPaymentParams, b5 as WiseCredentialUploadInput, a$ as WiseProfileInfo, b1 as WiseProfileNotFound, b0 as WiseProfileSelectionRequired, a_ as WiseSessionMaterial, ah as WithdrawDepositParams, cP as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a2 as Zkp2pClientOptions, cU as classifyDelegationState, a8 as classifyIntentGuardianError, bR as compareEventCursorIdsByRecency, cq as currencyInfo, bO as defaultIndexerEndpoint, d4 as diffAccessPolicy, cG as enrichPvDepositView, cH as enrichPvIntentView, bS as fetchIndexerFulfillmentAndPayment, cx as getContracts, ct as getCurrencyCodeFromHash, cs as getCurrencyInfoFromCountryCode, cr as getCurrencyInfoFromHash, cT as getDelegationRoute, cC as getGatingServiceAddress, cy as getIntentGuardianContract, cB as getPaymentMethodsCatalog, cA as getRateManagerContracts, cz as hasIntentGuardian, cu as isSupportedCurrencyHash, cQ as isZeroRateManagerId, cv as mapConversionRatesToOnchainMinRate, d5 as normalizeAccessPolicyState, cR as normalizeRateManagerId, cS as normalizeRegistry, cE as parseDepositView, cF as parseIntentView, d6 as planAccessPolicyUpdate } from './vaultUtils-BnXI9_ng.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';
|
|
@@ -131,7 +131,7 @@ interface EscrowContractContext {
|
|
|
131
131
|
interface OrchestratorContractContext {
|
|
132
132
|
address: Address;
|
|
133
133
|
abi: Abi;
|
|
134
|
-
version: 'v2';
|
|
134
|
+
version: 'v2' | 'v3';
|
|
135
135
|
}
|
|
136
136
|
interface ContractRouterConfig {
|
|
137
137
|
escrowAddress: Address;
|
|
@@ -143,6 +143,8 @@ interface ContractRouterConfig {
|
|
|
143
143
|
orchestratorAbi?: Abi;
|
|
144
144
|
orchestratorV2Address?: Address;
|
|
145
145
|
orchestratorV2Abi?: Abi;
|
|
146
|
+
orchestratorV3Address?: Address;
|
|
147
|
+
orchestratorV3Abi?: Abi;
|
|
146
148
|
orchestratorAddresses: Address[];
|
|
147
149
|
}
|
|
148
150
|
declare class ContractRouter {
|
|
@@ -157,6 +159,8 @@ declare class ContractRouter {
|
|
|
157
159
|
readonly orchestratorAbi?: Abi;
|
|
158
160
|
readonly orchestratorV2Address?: Address;
|
|
159
161
|
readonly orchestratorV2Abi?: Abi;
|
|
162
|
+
readonly orchestratorV3Address?: Address;
|
|
163
|
+
readonly orchestratorV3Abi?: Abi;
|
|
160
164
|
readonly orchestratorAddresses: Address[];
|
|
161
165
|
constructor(config: ContractRouterConfig);
|
|
162
166
|
private _registerContexts;
|
|
@@ -273,14 +277,10 @@ declare function apiCreateSellerCredentialBundle(payload: SellerCredentialUpload
|
|
|
273
277
|
declare function apiUploadSellerCredentialBundle(params: UploadSellerCredentialBundleParams, baseApiUrl?: string | null, timeoutMs?: number, authorizationToken?: string): Promise<CuratorSellerCredentialUploadResponse>;
|
|
274
278
|
|
|
275
279
|
declare function apiPostDepositDetails(req: PostDepositDetailsRequest, baseApiUrl: string, timeoutMs?: number): Promise<PostDepositDetailsResponse>;
|
|
276
|
-
declare function apiGetQuotesBestByPlatform(req: QuotesBestByPlatformRequest, baseApiUrl: string, timeoutMs?: number
|
|
280
|
+
declare function apiGetQuotesBestByPlatform(req: QuotesBestByPlatformRequest, baseApiUrl: string, timeoutMs?: number): Promise<BestByPlatformResponse>;
|
|
277
281
|
declare function apiGetPayeeDetails(req: GetPayeeDetailsRequest, baseApiUrl: string, timeoutMs?: number): Promise<GetPayeeDetailsResponse>;
|
|
278
282
|
declare function apiValidatePayeeDetails(req: ValidatePayeeDetailsRequest, baseApiUrl: string, timeoutMs?: number): Promise<ValidatePayeeDetailsResponse>;
|
|
279
283
|
declare function apiGetOwnerDeposits(req: GetOwnerDepositsRequest, apiKey: string | undefined, baseApiUrl: string, authToken?: string, timeoutMs?: number): Promise<GetOwnerDepositsResponse>;
|
|
280
|
-
/**
|
|
281
|
-
* Get taker tier information for a specific address.
|
|
282
|
-
*/
|
|
283
|
-
declare function apiGetTakerTier(req: GetTakerTierRequest, baseApiUrl: string, timeoutMs?: number): Promise<GetTakerTierResponse>;
|
|
284
284
|
declare function apiGetReferralDashboard(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralDashboardResponse>;
|
|
285
285
|
declare function apiGetReferralEarnings(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralEarningsResponse>;
|
|
286
286
|
declare function apiLookupReferralCode(code: string, opts: ApiAdapterOptions): Promise<ReferralCodeLookupResponse>;
|
|
@@ -515,61 +515,6 @@ declare const TOKEN_METADATA: {
|
|
|
515
515
|
};
|
|
516
516
|
};
|
|
517
517
|
|
|
518
|
-
/**
|
|
519
|
-
* Canonical taker tier schedule — the single client-side source of truth for
|
|
520
|
-
* per-intent caps and volume thresholds. Mirrors the curator's authoritative
|
|
521
|
-
* tier engine (curator `src/common/services/tier/tierConstants.ts`), which is
|
|
522
|
-
* what the backend actually enforces.
|
|
523
|
-
*
|
|
524
|
-
* The live qualification signal is Peer Pay volume. Historical maker tiers
|
|
525
|
-
* earned before July 1, 2026 UTC are preserved; after that cutoff, only Peer
|
|
526
|
-
* Pay volume moves the tier. Curator keeps the response field name
|
|
527
|
-
* `peerPayVolume` for compatibility.
|
|
528
|
-
*
|
|
529
|
-
* A user's *live* tier, cap, and progression always come from the taker-tier
|
|
530
|
-
* API payload (`TakerTier.perIntentCapBaseUnits`, `minVolumeForTier`,
|
|
531
|
-
* `volumeToNextTier`, `peerPayVolume`). Those values are DB-backed and
|
|
532
|
-
* server-authoritative — they vary per environment (e.g. preprod runs
|
|
533
|
-
* different thresholds than these). This static schedule is ONLY a
|
|
534
|
-
* documented-default reference for displays that must show every tier at once
|
|
535
|
-
* (the Fees & Tiers ladder) when no live payload is available; never gate or
|
|
536
|
-
* compute a user's real cap from it.
|
|
537
|
-
*
|
|
538
|
-
* Volume bands track the live tuned qualification thresholds — PEER $1k,
|
|
539
|
-
* PLUS $10k, PRO $50k, PLATINUM $100k. Caps ($100/$250/$1k/$2.5k/$5k) are unchanged.
|
|
540
|
-
* Read the live per-user values from the API: curator can change qualification
|
|
541
|
-
* inputs behind the compatibility fields without changing this reference table.
|
|
542
|
-
*
|
|
543
|
-
* Ordered highest tier → lowest (PLATINUM first) to match UI display order.
|
|
544
|
-
*/
|
|
545
|
-
interface TakerTierScheduleEntry {
|
|
546
|
-
tier: TakerTierLevel;
|
|
547
|
-
/** Per-intent order cap in whole USD (base, before platform risk multipliers). */
|
|
548
|
-
perIntentCapUsd: number;
|
|
549
|
-
/** Inclusive lower bound of Peer Pay volume (USD) that qualifies for this tier. */
|
|
550
|
-
minVolumeUsd: number;
|
|
551
|
-
/** Inclusive upper bound of Peer Pay volume (USD); `Infinity` for the top tier. */
|
|
552
|
-
maxVolumeUsd: number;
|
|
553
|
-
}
|
|
554
|
-
declare const TAKER_TIER_SCHEDULE: readonly TakerTierScheduleEntry[];
|
|
555
|
-
/** Volume-based tier order, lowest → highest, for next-tier progression. */
|
|
556
|
-
declare const TAKER_TIER_ORDER: readonly TakerTierLevel[];
|
|
557
|
-
/** Per-intent caps (whole USD) keyed by tier, derived from the schedule. */
|
|
558
|
-
declare const TAKER_TIER_CAPS: Readonly<Record<string, number>>;
|
|
559
|
-
/**
|
|
560
|
-
* Default take-fee discount (in basis points) applied per tier, mirroring
|
|
561
|
-
* curator `TIER_FEE_DISCOUNT_BPS`. The discount is subtracted from the base
|
|
562
|
-
* service fee server-side at quote and sign time — it is NOT returned by the
|
|
563
|
-
* tier endpoint. These are documented defaults for reference fee displays only;
|
|
564
|
-
* the curator DB control-plane can override them, so prefer the fee shown on a
|
|
565
|
-
* live quote when one is available.
|
|
566
|
-
*/
|
|
567
|
-
declare const TAKER_TIER_FEE_DISCOUNT_BPS: Readonly<Record<TakerTierLevel, number>>;
|
|
568
|
-
/** The default fee-discount (bps) for a tier, or 0 for unknown tiers. */
|
|
569
|
-
declare function getTakerTierFeeDiscountBps(tier: string | undefined): number;
|
|
570
|
-
/** The next tier up from `currentTier`, or `null` at the top / for unknown tiers. */
|
|
571
|
-
declare function getNextTakerTier(currentTier: string | undefined): TakerTierLevel | null;
|
|
572
|
-
|
|
573
518
|
/**
|
|
574
519
|
* Payment method resolution utilities.
|
|
575
520
|
*
|
|
@@ -847,4 +792,4 @@ declare class ContractError extends ZKP2PError {
|
|
|
847
792
|
constructor(message: string, details?: unknown);
|
|
848
793
|
}
|
|
849
794
|
|
|
850
|
-
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse,
|
|
795
|
+
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOrderbookTableResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, 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, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOrderbookTable, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|