@zkp2p/sdk 0.4.2 → 0.4.3

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/react.d.mts CHANGED
@@ -1,8 +1,9 @@
1
- import { Z as Zkp2pClient, P as PostDepositDetailsRequest, v as SignalIntentMethodParams, bf as PreparedTransaction, bi as TakerTier, l as GetTakerTierRequest, m as GetTakerTierResponse, F as FulfillIntentMethodParams, cy as SendTransactionFn, cz as SendBatchFn, cw as DelegationDepositTarget, cx as BatchResult } from './vaultUtils-Bi2uldoa.mjs';
2
- export { cu as DelegationRoute, cv as DelegationState, cA as VAULT_ZERO_ADDRESS, co as ZERO_RATE_MANAGER_ID, cB as asErrorMessage, cC as assertDelegationMethodSupport, ct as classifyDelegationState, cs as getDelegationRoute, cp as isZeroRateManagerId, cq as normalizeRateManagerId, cr as normalizeRegistry } from './vaultUtils-Bi2uldoa.mjs';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, x as SignalIntentMethodParams, bl as PreparedTransaction, bo as TakerTier, n as GetTakerTierRequest, o as GetTakerTierResponse, F as FulfillIntentMethodParams, cE as SendTransactionFn, cF as SendBatchFn, cC as DelegationDepositTarget, cD as BatchResult } from './vaultUtils-BZU2bc0T.mjs';
2
+ export { cA as DelegationRoute, cB as DelegationState, cG as VAULT_ZERO_ADDRESS, cu as ZERO_RATE_MANAGER_ID, cH as asErrorMessage, cI as assertDelegationMethodSupport, cz as classifyDelegationState, cy as getDelegationRoute, cv as isZeroRateManagerId, cw as normalizeRateManagerId, cx as normalizeRegistry } from './vaultUtils-BZU2bc0T.mjs';
3
3
  import { Hash, Address, Hex } from 'viem';
4
4
  import '@zkp2p/indexer-schema';
5
5
  import 'abitype';
6
+ import '@zkp2p/zkp2p-attestation';
6
7
 
7
8
  interface UseCreateDepositOptions {
8
9
  client: Zkp2pClient | null;
package/dist/react.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { Z as Zkp2pClient, P as PostDepositDetailsRequest, v as SignalIntentMethodParams, bf as PreparedTransaction, bi as TakerTier, l as GetTakerTierRequest, m as GetTakerTierResponse, F as FulfillIntentMethodParams, cy as SendTransactionFn, cz as SendBatchFn, cw as DelegationDepositTarget, cx as BatchResult } from './vaultUtils-Bi2uldoa.js';
2
- export { cu as DelegationRoute, cv as DelegationState, cA as VAULT_ZERO_ADDRESS, co as ZERO_RATE_MANAGER_ID, cB as asErrorMessage, cC as assertDelegationMethodSupport, ct as classifyDelegationState, cs as getDelegationRoute, cp as isZeroRateManagerId, cq as normalizeRateManagerId, cr as normalizeRegistry } from './vaultUtils-Bi2uldoa.js';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, x as SignalIntentMethodParams, bl as PreparedTransaction, bo as TakerTier, n as GetTakerTierRequest, o as GetTakerTierResponse, F as FulfillIntentMethodParams, cE as SendTransactionFn, cF as SendBatchFn, cC as DelegationDepositTarget, cD as BatchResult } from './vaultUtils-BZU2bc0T.js';
2
+ export { cA as DelegationRoute, cB as DelegationState, cG as VAULT_ZERO_ADDRESS, cu as ZERO_RATE_MANAGER_ID, cH as asErrorMessage, cI as assertDelegationMethodSupport, cz as classifyDelegationState, cy as getDelegationRoute, cv as isZeroRateManagerId, cw as normalizeRateManagerId, cx as normalizeRegistry } from './vaultUtils-BZU2bc0T.js';
3
3
  import { Hash, Address, Hex } from 'viem';
4
4
  import '@zkp2p/indexer-schema';
5
5
  import 'abitype';
6
+ import '@zkp2p/zkp2p-attestation';
6
7
 
7
8
  interface UseCreateDepositOptions {
8
9
  client: Zkp2pClient | null;
@@ -2,6 +2,7 @@ import * as _zkp2p_indexer_schema from '@zkp2p/indexer-schema';
2
2
  import { Deposit, DepositStatus as DepositStatus$2, IntentStatus as IntentStatus$1, DepositPaymentMethod, MethodCurrency, Intent as Intent$1, MakerProfitSnapshot, RateManager, ManagerAggregateStats, RateManagerRate, ManagerStats, DepositFundActivity, DepositDailySnapshot, ManagerDailySnapshot } from '@zkp2p/indexer-schema';
3
3
  import { Address, Hex, AccessList, AuthorizationList, Hash, WalletClient, PublicClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
+ import { IdentityPlatform, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityAttestationOutput } from '@zkp2p/zkp2p-attestation';
5
6
 
6
7
  /**
7
8
  * Supported fiat currency codes.
@@ -985,15 +986,16 @@ type ReferrerFeeConfig = {
985
986
  recipient: `0x${string}`;
986
987
  feeBps: number;
987
988
  };
989
+ type CuratorMetadata = Record<string, any>;
988
990
  type CuratorPayeeData = {
989
991
  offchainId: string;
990
992
  telegramUsername: string | null;
991
- metadata: Record<string, string> | null;
993
+ metadata: CuratorMetadata | null;
992
994
  };
993
995
  type CuratorPayeeDataInput = {
994
996
  offchainId: string;
995
997
  telegramUsername?: string | null;
996
- metadata?: Record<string, string> | null;
998
+ metadata?: CuratorMetadata | null;
997
999
  };
998
1000
  /**
999
1001
  * Parameters for fulfilling an intent with payment attestation
@@ -1063,7 +1065,7 @@ type PostDepositDetailsRequest = {
1063
1065
  /** Optional Telegram username associated with the payee */
1064
1066
  telegramUsername?: string | null;
1065
1067
  /** Optional processor-specific metadata */
1066
- metadata?: Record<string, string> | null;
1068
+ metadata?: CuratorMetadata | null;
1067
1069
  /** Payment processor name */
1068
1070
  processorName: string;
1069
1071
  };
@@ -1079,7 +1081,7 @@ type PostDepositDetailsResponse = {
1079
1081
  processorName: string;
1080
1082
  offchainId: string;
1081
1083
  telegramUsername: string | null;
1082
- metadata: Record<string, string> | null;
1084
+ metadata: CuratorMetadata | null;
1083
1085
  hashedOnchainId: string;
1084
1086
  createdAt: string;
1085
1087
  /** Per-merchant forwarding alias (PayPal multi-merchant flow) */
@@ -1224,8 +1226,8 @@ type BuyerTeePaymentProofInput = {
1224
1226
  proofType: 'buyerTee';
1225
1227
  encryptedSessionMaterial: string;
1226
1228
  params: BuyerTeePaymentParams;
1227
- actionType?: string;
1228
1229
  actionPlatform?: string;
1230
+ actionType?: string;
1229
1231
  };
1230
1232
  type BuyerTeeSessionMaterial = Record<string, string>;
1231
1233
  type BuyerTeeSessionMaterialEncryptionInput = {
@@ -1236,6 +1238,23 @@ type BuyerTeeSessionMaterialEncryptionInput = {
1236
1238
  sessionMaterial: BuyerTeeSessionMaterial;
1237
1239
  timeoutMs?: number | null;
1238
1240
  };
1241
+ type MakerIdentityPlatform = Extract<IdentityPlatform, 'paypal' | 'wise'>;
1242
+ type IdentityAttestationParams = IdentityParamsByPlatform[IdentityPlatform] | Record<string, string | number | boolean>;
1243
+ type IdentityAttestationRequestBody = {
1244
+ encryptedSessionMaterial: string;
1245
+ params: IdentityAttestationParams;
1246
+ };
1247
+ type MakerIdentityAttestationRequestBody<P extends MakerIdentityPlatform> = {
1248
+ encryptedSessionMaterial: string;
1249
+ params: IdentityParamsByPlatform[P];
1250
+ };
1251
+ type IdentityAttestationActionType<P extends IdentityPlatform> = IdentityActionTypeByPlatform[P];
1252
+ type AttestationServiceIdentityResponse = {
1253
+ success: boolean;
1254
+ message: string;
1255
+ responseObject: IdentityAttestationOutput;
1256
+ statusCode: number;
1257
+ };
1239
1258
  type SellerTypedDataField = {
1240
1259
  name: string;
1241
1260
  type: string;
@@ -1309,7 +1328,7 @@ type UploadSellerCredentialParams = ({
1309
1328
  [P in RegisteredSellerCredentialPlatform]: {
1310
1329
  offchainId: string;
1311
1330
  telegramUsername?: string | null;
1312
- metadata?: Record<string, string> | null;
1331
+ metadata?: CuratorMetadata | null;
1313
1332
  platform: P;
1314
1333
  } & SellerCredentialUploadInputByPlatform[P];
1315
1334
  }[RegisteredSellerCredentialPlatform];
@@ -1317,7 +1336,7 @@ type RegisteredUploadSellerCredentialParams = {
1317
1336
  [P in RegisteredSellerCredentialPlatform]: {
1318
1337
  offchainId: string;
1319
1338
  telegramUsername?: string | null;
1320
- metadata?: Record<string, string> | null;
1339
+ metadata?: CuratorMetadata | null;
1321
1340
  platform: P;
1322
1341
  } & SellerCredentialUploadInputByPlatform[P];
1323
1342
  }[RegisteredSellerCredentialPlatform];
@@ -1579,7 +1598,7 @@ type GetPayeeDetailsResponse = {
1579
1598
  processorName: string;
1580
1599
  offchainId: string;
1581
1600
  telegramUsername: string | null;
1582
- metadata: Record<string, string> | null;
1601
+ metadata: CuratorMetadata | null;
1583
1602
  hashedOnchainId: string;
1584
1603
  createdAt: string;
1585
1604
  /** Per-merchant forwarding alias surfaced on maker lookup (PayPal multi-merchant flow) */
@@ -1591,7 +1610,7 @@ type ValidatePayeeDetailsRequest = {
1591
1610
  processorName: string;
1592
1611
  offchainId: string;
1593
1612
  telegramUsername?: string | null;
1594
- metadata?: Record<string, string> | null;
1613
+ metadata?: CuratorMetadata | null;
1595
1614
  };
1596
1615
  type ValidatePayeeDetailsResponse = {
1597
1616
  success: boolean;
@@ -3636,4 +3655,4 @@ type SendBatchFn = (txs: Array<{
3636
3655
  value?: bigint;
3637
3656
  }>) => Promise<string>;
3638
3657
 
3639
- export { type PlatformQuote as $, type AttestationServiceSellerCredentialUploadResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type ConfirmPayPalForwardingResponse as C, type DepositWithRelations as D, type ActionCallback as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type CreateDepositParams as H, type IntentEntity$1 as I, type CreateDepositConversionRate as J, type Range as K, type SignalIntentParams as L, type FulfillIntentParams as M, type ReleaseFundsToPayerParams as N, type CancelIntentParams as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialUploadInput as S, type TxOverrides as T, type BestByPlatformResponseObject as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type GetBestByPlatformResponse as X, type GetBestByPlatformResponseObject as Y, Zkp2pClient as Z, type GetPlatformQuote as _, type SellerPlatform as a, type BuyerTeePaymentProofInput as a$, type QuoteRequest as a0, type GetNearbyQuote as a1, type GetNearbySuggestions as a2, type GetQuoteResponse as a3, type GetQuoteResponseObject as a4, type GetQuoteSingleResponse as a5, type QuoteResponse as a6, type QuoteResponseObject as a7, type QuoteSingleResponse as a8, type QuoteIntentResponse as a9, type WiseProfileNotFound as aA, type PayPalSessionMaterial as aB, type PayPalGoogleOAuthSellerCredentialUploadBody as aC, type VenmoGoogleOAuthSellerCredentialUploadBody as aD, type VenmoCredentialUploadInput as aE, type CashAppCredentialUploadInput as aF, type WiseCredentialUploadInput as aG, type PayPalCredentialUploadInput as aH, type SellerCredentialUploadInputByPlatform as aI, type SellerCiphertextBundle as aJ, type SellerSignedCiphertextBundle as aK, type SellerVerifyIntentDetails as aL, type SellerVerifyInput as aM, type SellerProbeInput as aN, type SellerCredentialBundle as aO, type SellerCredentialBundleUpload as aP, type SellerCredentialStatusValue as aQ, type SellerCredentialStatus as aR, type SellerVerifyProxyBody as aS, type SellerTypedDataField as aT, type SellerTypedDataSpec as aU, type SellerPaymentTypedDataValue as aV, type SellerAttestationOutput as aW, type SellerCredentialProbeResponse as aX, type AttestationServiceSellerVerifyResponse as aY, type AttestationServiceSellerCredentialProbeResponse as aZ, type BuyerTeePaymentParams as a_, type QuoteFeesResponse as aa, type FiatResponse as ab, type TokenResponse as ac, type NearbyQuote as ad, type NearbySuggestions as ae, type ApiDeposit as af, type DepositVerifier as ag, type DepositVerifierCurrency as ah, type DepositStatus as ai, type GetDepositByIdRequest as aj, type GetDepositByIdResponse as ak, type Intent as al, type ApiIntentStatus as am, type GetOwnerIntentsRequest as an, type GetOwnerIntentsResponse as ao, type GetIntentsByDepositRequest as ap, type GetIntentsByDepositResponse as aq, type GetIntentByHashRequest as ar, type GetIntentByHashResponse as as, type RegisterPayeeDetailsRequest as at, type RegisterPayeeDetailsResponse as au, type VenmoSessionMaterial as av, type CashAppSessionMaterial as aw, type WiseSessionMaterial as ax, type WiseProfileInfo as ay, type WiseProfileSelectionRequired as az, type SellerCredentialAttestationRuntime as b, type PaymentPlatformType as b$, type BuyerTeeSessionMaterial as b0, type CuratorSellerCredentialStatusResponse as b1, type CuratorSellerVerifyResponse as b2, type UploadSellerCredentialParams as b3, type RegisteredUploadSellerCredentialParams as b4, type UploadSellerCredentialOptions as b5, type GetSellerCredentialStatusParams as b6, type ConfirmPayPalForwardingRequest as b7, type PayPalForwardingConfirmationErrorCode as b8, type UploadPayPalGoogleOAuthSellerCredentialParams as b9, type RateManagerEntity as bA, type RateManagerRateEntity as bB, type RateManagerDelegationEntity as bC, type ManagerAggregateStatsEntity as bD, type ManagerStatsEntity as bE, type ManagerDailySnapshotEntity as bF, type RateManagerListItem as bG, type RateManagerDetail as bH, type ManualRateUpdateEntity as bI, type OracleConfigUpdateEntity as bJ, type DepositFundActivityEntity$1 as bK, type DepositDailySnapshotEntity$1 as bL, type DepositFundActivityType$1 as bM, type DepositFilter as bN, type PaginationOptions as bO, type DepositOrderField as bP, type OrderDirection$1 as bQ, type RateManagerFilter as bR, type RateManagerPaginationOptions as bS, type RateManagerDelegationPaginationOptions as bT, type RateManagerOrderField as bU, type OrderDirection as bV, type DeploymentEnv as bW, type FulfillmentRecord as bX, type PaymentVerifiedRecord as bY, type FulfillmentAndPaymentResponse as bZ, PAYMENT_PLATFORMS as b_, type UploadVenmoGoogleOAuthSellerCredentialParams as ba, type UploadGoogleOAuthSellerCredentialParams as bb, type VerifySellerPaymentParams as bc, type OnchainCurrency as bd, type DepositVerifierData as be, type PreparedTransaction as bf, type OrderStats as bg, type DepositIntentStatistics as bh, type TakerTier as bi, type TakerTierStats as bj, type TakerTierLevel as bk, type PlatformLimit as bl, type PlatformRiskLevel as bm, type OrderbookEntry as bn, IndexerClient as bo, defaultIndexerEndpoint as bp, IndexerDepositService as bq, IndexerRateManagerService as br, compareEventCursorIdsByRecency as bs, fetchFulfillmentAndPayment as bt, type DepositEntity$1 as bu, type IntentFulfilledEntity as bv, type IntentFulfillmentAmountsEntity as bw, type DepositPaymentMethodEntity$1 as bx, type MethodCurrencyEntity$1 as by, type IntentStatus as bz, type GoogleOAuthSellerCredentialUploadBodyByPlatform as c, Currency as c0, currencyInfo as c1, getCurrencyInfoFromHash as c2, getCurrencyInfoFromCountryCode as c3, getCurrencyCodeFromHash as c4, isSupportedCurrencyHash as c5, mapConversionRatesToOnchainMinRate as c6, type CurrencyData as c7, getContracts as c8, getRateManagerContracts as c9, ZERO_ADDRESS as cA, asErrorMessage as cB, assertDelegationMethodSupport as cC, getPaymentMethodsCatalog as ca, getGatingServiceAddress as cb, type RuntimeEnv as cc, parseDepositView as cd, parseIntentView as ce, enrichPvDepositView as cf, enrichPvIntentView as cg, type PV_DepositView as ch, type PV_Deposit as ci, type PV_PaymentMethodData as cj, type PV_Currency as ck, type PV_ReferralFee as cl, type PV_IntentView as cm, type PV_Intent as cn, ZERO_RATE_MANAGER_ID as co, isZeroRateManagerId as cp, normalizeRateManagerId as cq, normalizeRegistry as cr, getDelegationRoute as cs, classifyDelegationState as ct, type DelegationRoute as cu, type DelegationState as cv, type DelegationDepositTarget as cw, type BatchResult as cx, type SendTransactionFn as cy, type SendBatchFn as cz, type CuratorSellerCredentialUploadResponse as d, type BestByPlatformResponse as e, type ValidatePayeeDetailsResponse as f, type PostDepositDetailsResponse as g, type GetPayeeDetailsRequest as h, type GetPayeeDetailsResponse as i, type GetOwnerDepositsRequest as j, type GetOwnerDepositsResponse as k, type GetTakerTierRequest as l, type GetTakerTierResponse as m, type GetDepositBundleParams as n, type ApiAdapterOptions as o, type GetDepositBundleResponse as p, type GetOrderbookParams as q, type GetOrderbookResponse as r, type CurrencyType as s, type PaymentMethodCatalog as t, type SignalIntentReferralFee as u, type SignalIntentMethodParams as v, type CancelIntentMethodParams as w, type Zkp2pNextOptions as x, type AuthorizationTokenProvider as y, type TimeoutConfig as z };
3658
+ export { type GetBestByPlatformResponseObject as $, type AttestationServiceIdentityResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type ConfirmPayPalForwardingResponse as C, type DepositWithRelations as D, type AuthorizationTokenProvider as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type TimeoutConfig as H, type IntentEntity$1 as I, type ActionCallback as J, type CreateDepositParams as K, type CreateDepositConversionRate as L, type Range as M, type SignalIntentParams as N, type FulfillIntentParams as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialUploadInput as S, type TxOverrides as T, type ReleaseFundsToPayerParams as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type CancelIntentParams as X, type BestByPlatformResponseObject as Y, Zkp2pClient as Z, type GetBestByPlatformResponse as _, type IdentityAttestationRequestBody as a, type AttestationServiceSellerCredentialProbeResponse as a$, type GetPlatformQuote as a0, type PlatformQuote as a1, type QuoteRequest as a2, type GetNearbyQuote as a3, type GetNearbySuggestions as a4, type GetQuoteResponse as a5, type GetQuoteResponseObject as a6, type GetQuoteSingleResponse as a7, type QuoteResponse as a8, type QuoteResponseObject as a9, type WiseProfileInfo as aA, type WiseProfileSelectionRequired as aB, type WiseProfileNotFound as aC, type PayPalSessionMaterial as aD, type PayPalGoogleOAuthSellerCredentialUploadBody as aE, type VenmoGoogleOAuthSellerCredentialUploadBody as aF, type VenmoCredentialUploadInput as aG, type CashAppCredentialUploadInput as aH, type WiseCredentialUploadInput as aI, type PayPalCredentialUploadInput as aJ, type SellerCredentialUploadInputByPlatform as aK, type SellerCiphertextBundle as aL, type SellerSignedCiphertextBundle as aM, type SellerVerifyIntentDetails as aN, type SellerVerifyInput as aO, type SellerProbeInput as aP, type SellerCredentialBundle as aQ, type SellerCredentialBundleUpload as aR, type SellerCredentialStatusValue as aS, type SellerCredentialStatus as aT, type SellerVerifyProxyBody as aU, type SellerTypedDataField as aV, type SellerTypedDataSpec as aW, type SellerPaymentTypedDataValue as aX, type SellerAttestationOutput as aY, type SellerCredentialProbeResponse as aZ, type AttestationServiceSellerVerifyResponse as a_, type QuoteSingleResponse as aa, type QuoteIntentResponse as ab, type QuoteFeesResponse as ac, type FiatResponse as ad, type TokenResponse as ae, type NearbyQuote as af, type NearbySuggestions as ag, type ApiDeposit as ah, type DepositVerifier as ai, type DepositVerifierCurrency as aj, type DepositStatus as ak, type GetDepositByIdRequest as al, type GetDepositByIdResponse as am, type Intent as an, type ApiIntentStatus as ao, type GetOwnerIntentsRequest as ap, type GetOwnerIntentsResponse as aq, type GetIntentsByDepositRequest as ar, type GetIntentsByDepositResponse as as, type GetIntentByHashRequest as at, type GetIntentByHashResponse as au, type RegisterPayeeDetailsRequest as av, type RegisterPayeeDetailsResponse as aw, type VenmoSessionMaterial as ax, type CashAppSessionMaterial as ay, type WiseSessionMaterial as az, type SellerPlatform as b, type OrderDirection as b$, type BuyerTeePaymentParams as b0, type BuyerTeePaymentProofInput as b1, type BuyerTeeSessionMaterial as b2, type CuratorSellerCredentialStatusResponse as b3, type CuratorSellerVerifyResponse as b4, type UploadSellerCredentialParams as b5, type RegisteredUploadSellerCredentialParams as b6, type UploadSellerCredentialOptions as b7, type GetSellerCredentialStatusParams as b8, type ConfirmPayPalForwardingRequest as b9, type DepositEntity$1 as bA, type IntentFulfilledEntity as bB, type IntentFulfillmentAmountsEntity as bC, type DepositPaymentMethodEntity$1 as bD, type MethodCurrencyEntity$1 as bE, type IntentStatus as bF, type RateManagerEntity as bG, type RateManagerRateEntity as bH, type RateManagerDelegationEntity as bI, type ManagerAggregateStatsEntity as bJ, type ManagerStatsEntity as bK, type ManagerDailySnapshotEntity as bL, type RateManagerListItem as bM, type RateManagerDetail as bN, type ManualRateUpdateEntity as bO, type OracleConfigUpdateEntity as bP, type DepositFundActivityEntity$1 as bQ, type DepositDailySnapshotEntity$1 as bR, type DepositFundActivityType$1 as bS, type DepositFilter as bT, type PaginationOptions as bU, type DepositOrderField as bV, type OrderDirection$1 as bW, type RateManagerFilter as bX, type RateManagerPaginationOptions as bY, type RateManagerDelegationPaginationOptions as bZ, type RateManagerOrderField as b_, type PayPalForwardingConfirmationErrorCode as ba, type UploadPayPalGoogleOAuthSellerCredentialParams as bb, type UploadVenmoGoogleOAuthSellerCredentialParams as bc, type UploadGoogleOAuthSellerCredentialParams as bd, type VerifySellerPaymentParams as be, type IdentityAttestationActionType as bf, type IdentityAttestationParams as bg, type MakerIdentityAttestationRequestBody as bh, type MakerIdentityPlatform as bi, type OnchainCurrency as bj, type DepositVerifierData as bk, type PreparedTransaction as bl, type OrderStats as bm, type DepositIntentStatistics as bn, type TakerTier as bo, type TakerTierStats as bp, type TakerTierLevel as bq, type PlatformLimit as br, type PlatformRiskLevel as bs, type OrderbookEntry as bt, IndexerClient as bu, defaultIndexerEndpoint as bv, IndexerDepositService as bw, IndexerRateManagerService as bx, compareEventCursorIdsByRecency as by, fetchFulfillmentAndPayment as bz, type SellerCredentialAttestationRuntime as c, type DeploymentEnv as c0, type FulfillmentRecord as c1, type PaymentVerifiedRecord as c2, type FulfillmentAndPaymentResponse as c3, PAYMENT_PLATFORMS as c4, type PaymentPlatformType as c5, Currency as c6, currencyInfo as c7, getCurrencyInfoFromHash as c8, getCurrencyInfoFromCountryCode as c9, type DelegationRoute as cA, type DelegationState as cB, type DelegationDepositTarget as cC, type BatchResult as cD, type SendTransactionFn as cE, type SendBatchFn as cF, ZERO_ADDRESS as cG, asErrorMessage as cH, assertDelegationMethodSupport as cI, getCurrencyCodeFromHash as ca, isSupportedCurrencyHash as cb, mapConversionRatesToOnchainMinRate as cc, type CurrencyData as cd, getContracts as ce, getRateManagerContracts as cf, getPaymentMethodsCatalog as cg, getGatingServiceAddress as ch, type RuntimeEnv as ci, parseDepositView as cj, parseIntentView as ck, enrichPvDepositView as cl, enrichPvIntentView as cm, type PV_DepositView as cn, type PV_Deposit as co, type PV_PaymentMethodData as cp, type PV_Currency as cq, type PV_ReferralFee as cr, type PV_IntentView as cs, type PV_Intent as ct, ZERO_RATE_MANAGER_ID as cu, isZeroRateManagerId as cv, normalizeRateManagerId as cw, normalizeRegistry as cx, getDelegationRoute as cy, classifyDelegationState as cz, type AttestationServiceSellerCredentialUploadResponse as d, type GoogleOAuthSellerCredentialUploadBodyByPlatform as e, type CuratorSellerCredentialUploadResponse as f, type BestByPlatformResponse as g, type ValidatePayeeDetailsResponse as h, type PostDepositDetailsResponse as i, type GetPayeeDetailsRequest as j, type GetPayeeDetailsResponse as k, type GetOwnerDepositsRequest as l, type GetOwnerDepositsResponse as m, type GetTakerTierRequest as n, type GetTakerTierResponse as o, type GetDepositBundleParams as p, type ApiAdapterOptions as q, type GetDepositBundleResponse as r, type GetOrderbookParams as s, type GetOrderbookResponse as t, type CurrencyType as u, type PaymentMethodCatalog as v, type SignalIntentReferralFee as w, type SignalIntentMethodParams as x, type CancelIntentMethodParams as y, type Zkp2pNextOptions as z };
@@ -2,6 +2,7 @@ import * as _zkp2p_indexer_schema from '@zkp2p/indexer-schema';
2
2
  import { Deposit, DepositStatus as DepositStatus$2, IntentStatus as IntentStatus$1, DepositPaymentMethod, MethodCurrency, Intent as Intent$1, MakerProfitSnapshot, RateManager, ManagerAggregateStats, RateManagerRate, ManagerStats, DepositFundActivity, DepositDailySnapshot, ManagerDailySnapshot } from '@zkp2p/indexer-schema';
3
3
  import { Address, Hex, AccessList, AuthorizationList, Hash, WalletClient, PublicClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
+ import { IdentityPlatform, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityAttestationOutput } from '@zkp2p/zkp2p-attestation';
5
6
 
6
7
  /**
7
8
  * Supported fiat currency codes.
@@ -985,15 +986,16 @@ type ReferrerFeeConfig = {
985
986
  recipient: `0x${string}`;
986
987
  feeBps: number;
987
988
  };
989
+ type CuratorMetadata = Record<string, any>;
988
990
  type CuratorPayeeData = {
989
991
  offchainId: string;
990
992
  telegramUsername: string | null;
991
- metadata: Record<string, string> | null;
993
+ metadata: CuratorMetadata | null;
992
994
  };
993
995
  type CuratorPayeeDataInput = {
994
996
  offchainId: string;
995
997
  telegramUsername?: string | null;
996
- metadata?: Record<string, string> | null;
998
+ metadata?: CuratorMetadata | null;
997
999
  };
998
1000
  /**
999
1001
  * Parameters for fulfilling an intent with payment attestation
@@ -1063,7 +1065,7 @@ type PostDepositDetailsRequest = {
1063
1065
  /** Optional Telegram username associated with the payee */
1064
1066
  telegramUsername?: string | null;
1065
1067
  /** Optional processor-specific metadata */
1066
- metadata?: Record<string, string> | null;
1068
+ metadata?: CuratorMetadata | null;
1067
1069
  /** Payment processor name */
1068
1070
  processorName: string;
1069
1071
  };
@@ -1079,7 +1081,7 @@ type PostDepositDetailsResponse = {
1079
1081
  processorName: string;
1080
1082
  offchainId: string;
1081
1083
  telegramUsername: string | null;
1082
- metadata: Record<string, string> | null;
1084
+ metadata: CuratorMetadata | null;
1083
1085
  hashedOnchainId: string;
1084
1086
  createdAt: string;
1085
1087
  /** Per-merchant forwarding alias (PayPal multi-merchant flow) */
@@ -1224,8 +1226,8 @@ type BuyerTeePaymentProofInput = {
1224
1226
  proofType: 'buyerTee';
1225
1227
  encryptedSessionMaterial: string;
1226
1228
  params: BuyerTeePaymentParams;
1227
- actionType?: string;
1228
1229
  actionPlatform?: string;
1230
+ actionType?: string;
1229
1231
  };
1230
1232
  type BuyerTeeSessionMaterial = Record<string, string>;
1231
1233
  type BuyerTeeSessionMaterialEncryptionInput = {
@@ -1236,6 +1238,23 @@ type BuyerTeeSessionMaterialEncryptionInput = {
1236
1238
  sessionMaterial: BuyerTeeSessionMaterial;
1237
1239
  timeoutMs?: number | null;
1238
1240
  };
1241
+ type MakerIdentityPlatform = Extract<IdentityPlatform, 'paypal' | 'wise'>;
1242
+ type IdentityAttestationParams = IdentityParamsByPlatform[IdentityPlatform] | Record<string, string | number | boolean>;
1243
+ type IdentityAttestationRequestBody = {
1244
+ encryptedSessionMaterial: string;
1245
+ params: IdentityAttestationParams;
1246
+ };
1247
+ type MakerIdentityAttestationRequestBody<P extends MakerIdentityPlatform> = {
1248
+ encryptedSessionMaterial: string;
1249
+ params: IdentityParamsByPlatform[P];
1250
+ };
1251
+ type IdentityAttestationActionType<P extends IdentityPlatform> = IdentityActionTypeByPlatform[P];
1252
+ type AttestationServiceIdentityResponse = {
1253
+ success: boolean;
1254
+ message: string;
1255
+ responseObject: IdentityAttestationOutput;
1256
+ statusCode: number;
1257
+ };
1239
1258
  type SellerTypedDataField = {
1240
1259
  name: string;
1241
1260
  type: string;
@@ -1309,7 +1328,7 @@ type UploadSellerCredentialParams = ({
1309
1328
  [P in RegisteredSellerCredentialPlatform]: {
1310
1329
  offchainId: string;
1311
1330
  telegramUsername?: string | null;
1312
- metadata?: Record<string, string> | null;
1331
+ metadata?: CuratorMetadata | null;
1313
1332
  platform: P;
1314
1333
  } & SellerCredentialUploadInputByPlatform[P];
1315
1334
  }[RegisteredSellerCredentialPlatform];
@@ -1317,7 +1336,7 @@ type RegisteredUploadSellerCredentialParams = {
1317
1336
  [P in RegisteredSellerCredentialPlatform]: {
1318
1337
  offchainId: string;
1319
1338
  telegramUsername?: string | null;
1320
- metadata?: Record<string, string> | null;
1339
+ metadata?: CuratorMetadata | null;
1321
1340
  platform: P;
1322
1341
  } & SellerCredentialUploadInputByPlatform[P];
1323
1342
  }[RegisteredSellerCredentialPlatform];
@@ -1579,7 +1598,7 @@ type GetPayeeDetailsResponse = {
1579
1598
  processorName: string;
1580
1599
  offchainId: string;
1581
1600
  telegramUsername: string | null;
1582
- metadata: Record<string, string> | null;
1601
+ metadata: CuratorMetadata | null;
1583
1602
  hashedOnchainId: string;
1584
1603
  createdAt: string;
1585
1604
  /** Per-merchant forwarding alias surfaced on maker lookup (PayPal multi-merchant flow) */
@@ -1591,7 +1610,7 @@ type ValidatePayeeDetailsRequest = {
1591
1610
  processorName: string;
1592
1611
  offchainId: string;
1593
1612
  telegramUsername?: string | null;
1594
- metadata?: Record<string, string> | null;
1613
+ metadata?: CuratorMetadata | null;
1595
1614
  };
1596
1615
  type ValidatePayeeDetailsResponse = {
1597
1616
  success: boolean;
@@ -3636,4 +3655,4 @@ type SendBatchFn = (txs: Array<{
3636
3655
  value?: bigint;
3637
3656
  }>) => Promise<string>;
3638
3657
 
3639
- export { type PlatformQuote as $, type AttestationServiceSellerCredentialUploadResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type ConfirmPayPalForwardingResponse as C, type DepositWithRelations as D, type ActionCallback as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type CreateDepositParams as H, type IntentEntity$1 as I, type CreateDepositConversionRate as J, type Range as K, type SignalIntentParams as L, type FulfillIntentParams as M, type ReleaseFundsToPayerParams as N, type CancelIntentParams as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialUploadInput as S, type TxOverrides as T, type BestByPlatformResponseObject as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type GetBestByPlatformResponse as X, type GetBestByPlatformResponseObject as Y, Zkp2pClient as Z, type GetPlatformQuote as _, type SellerPlatform as a, type BuyerTeePaymentProofInput as a$, type QuoteRequest as a0, type GetNearbyQuote as a1, type GetNearbySuggestions as a2, type GetQuoteResponse as a3, type GetQuoteResponseObject as a4, type GetQuoteSingleResponse as a5, type QuoteResponse as a6, type QuoteResponseObject as a7, type QuoteSingleResponse as a8, type QuoteIntentResponse as a9, type WiseProfileNotFound as aA, type PayPalSessionMaterial as aB, type PayPalGoogleOAuthSellerCredentialUploadBody as aC, type VenmoGoogleOAuthSellerCredentialUploadBody as aD, type VenmoCredentialUploadInput as aE, type CashAppCredentialUploadInput as aF, type WiseCredentialUploadInput as aG, type PayPalCredentialUploadInput as aH, type SellerCredentialUploadInputByPlatform as aI, type SellerCiphertextBundle as aJ, type SellerSignedCiphertextBundle as aK, type SellerVerifyIntentDetails as aL, type SellerVerifyInput as aM, type SellerProbeInput as aN, type SellerCredentialBundle as aO, type SellerCredentialBundleUpload as aP, type SellerCredentialStatusValue as aQ, type SellerCredentialStatus as aR, type SellerVerifyProxyBody as aS, type SellerTypedDataField as aT, type SellerTypedDataSpec as aU, type SellerPaymentTypedDataValue as aV, type SellerAttestationOutput as aW, type SellerCredentialProbeResponse as aX, type AttestationServiceSellerVerifyResponse as aY, type AttestationServiceSellerCredentialProbeResponse as aZ, type BuyerTeePaymentParams as a_, type QuoteFeesResponse as aa, type FiatResponse as ab, type TokenResponse as ac, type NearbyQuote as ad, type NearbySuggestions as ae, type ApiDeposit as af, type DepositVerifier as ag, type DepositVerifierCurrency as ah, type DepositStatus as ai, type GetDepositByIdRequest as aj, type GetDepositByIdResponse as ak, type Intent as al, type ApiIntentStatus as am, type GetOwnerIntentsRequest as an, type GetOwnerIntentsResponse as ao, type GetIntentsByDepositRequest as ap, type GetIntentsByDepositResponse as aq, type GetIntentByHashRequest as ar, type GetIntentByHashResponse as as, type RegisterPayeeDetailsRequest as at, type RegisterPayeeDetailsResponse as au, type VenmoSessionMaterial as av, type CashAppSessionMaterial as aw, type WiseSessionMaterial as ax, type WiseProfileInfo as ay, type WiseProfileSelectionRequired as az, type SellerCredentialAttestationRuntime as b, type PaymentPlatformType as b$, type BuyerTeeSessionMaterial as b0, type CuratorSellerCredentialStatusResponse as b1, type CuratorSellerVerifyResponse as b2, type UploadSellerCredentialParams as b3, type RegisteredUploadSellerCredentialParams as b4, type UploadSellerCredentialOptions as b5, type GetSellerCredentialStatusParams as b6, type ConfirmPayPalForwardingRequest as b7, type PayPalForwardingConfirmationErrorCode as b8, type UploadPayPalGoogleOAuthSellerCredentialParams as b9, type RateManagerEntity as bA, type RateManagerRateEntity as bB, type RateManagerDelegationEntity as bC, type ManagerAggregateStatsEntity as bD, type ManagerStatsEntity as bE, type ManagerDailySnapshotEntity as bF, type RateManagerListItem as bG, type RateManagerDetail as bH, type ManualRateUpdateEntity as bI, type OracleConfigUpdateEntity as bJ, type DepositFundActivityEntity$1 as bK, type DepositDailySnapshotEntity$1 as bL, type DepositFundActivityType$1 as bM, type DepositFilter as bN, type PaginationOptions as bO, type DepositOrderField as bP, type OrderDirection$1 as bQ, type RateManagerFilter as bR, type RateManagerPaginationOptions as bS, type RateManagerDelegationPaginationOptions as bT, type RateManagerOrderField as bU, type OrderDirection as bV, type DeploymentEnv as bW, type FulfillmentRecord as bX, type PaymentVerifiedRecord as bY, type FulfillmentAndPaymentResponse as bZ, PAYMENT_PLATFORMS as b_, type UploadVenmoGoogleOAuthSellerCredentialParams as ba, type UploadGoogleOAuthSellerCredentialParams as bb, type VerifySellerPaymentParams as bc, type OnchainCurrency as bd, type DepositVerifierData as be, type PreparedTransaction as bf, type OrderStats as bg, type DepositIntentStatistics as bh, type TakerTier as bi, type TakerTierStats as bj, type TakerTierLevel as bk, type PlatformLimit as bl, type PlatformRiskLevel as bm, type OrderbookEntry as bn, IndexerClient as bo, defaultIndexerEndpoint as bp, IndexerDepositService as bq, IndexerRateManagerService as br, compareEventCursorIdsByRecency as bs, fetchFulfillmentAndPayment as bt, type DepositEntity$1 as bu, type IntentFulfilledEntity as bv, type IntentFulfillmentAmountsEntity as bw, type DepositPaymentMethodEntity$1 as bx, type MethodCurrencyEntity$1 as by, type IntentStatus as bz, type GoogleOAuthSellerCredentialUploadBodyByPlatform as c, Currency as c0, currencyInfo as c1, getCurrencyInfoFromHash as c2, getCurrencyInfoFromCountryCode as c3, getCurrencyCodeFromHash as c4, isSupportedCurrencyHash as c5, mapConversionRatesToOnchainMinRate as c6, type CurrencyData as c7, getContracts as c8, getRateManagerContracts as c9, ZERO_ADDRESS as cA, asErrorMessage as cB, assertDelegationMethodSupport as cC, getPaymentMethodsCatalog as ca, getGatingServiceAddress as cb, type RuntimeEnv as cc, parseDepositView as cd, parseIntentView as ce, enrichPvDepositView as cf, enrichPvIntentView as cg, type PV_DepositView as ch, type PV_Deposit as ci, type PV_PaymentMethodData as cj, type PV_Currency as ck, type PV_ReferralFee as cl, type PV_IntentView as cm, type PV_Intent as cn, ZERO_RATE_MANAGER_ID as co, isZeroRateManagerId as cp, normalizeRateManagerId as cq, normalizeRegistry as cr, getDelegationRoute as cs, classifyDelegationState as ct, type DelegationRoute as cu, type DelegationState as cv, type DelegationDepositTarget as cw, type BatchResult as cx, type SendTransactionFn as cy, type SendBatchFn as cz, type CuratorSellerCredentialUploadResponse as d, type BestByPlatformResponse as e, type ValidatePayeeDetailsResponse as f, type PostDepositDetailsResponse as g, type GetPayeeDetailsRequest as h, type GetPayeeDetailsResponse as i, type GetOwnerDepositsRequest as j, type GetOwnerDepositsResponse as k, type GetTakerTierRequest as l, type GetTakerTierResponse as m, type GetDepositBundleParams as n, type ApiAdapterOptions as o, type GetDepositBundleResponse as p, type GetOrderbookParams as q, type GetOrderbookResponse as r, type CurrencyType as s, type PaymentMethodCatalog as t, type SignalIntentReferralFee as u, type SignalIntentMethodParams as v, type CancelIntentMethodParams as w, type Zkp2pNextOptions as x, type AuthorizationTokenProvider as y, type TimeoutConfig as z };
3658
+ export { type GetBestByPlatformResponseObject as $, type AttestationServiceIdentityResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type ConfirmPayPalForwardingResponse as C, type DepositWithRelations as D, type AuthorizationTokenProvider as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type TimeoutConfig as H, type IntentEntity$1 as I, type ActionCallback as J, type CreateDepositParams as K, type CreateDepositConversionRate as L, type Range as M, type SignalIntentParams as N, type FulfillIntentParams as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialUploadInput as S, type TxOverrides as T, type ReleaseFundsToPayerParams as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type CancelIntentParams as X, type BestByPlatformResponseObject as Y, Zkp2pClient as Z, type GetBestByPlatformResponse as _, type IdentityAttestationRequestBody as a, type AttestationServiceSellerCredentialProbeResponse as a$, type GetPlatformQuote as a0, type PlatformQuote as a1, type QuoteRequest as a2, type GetNearbyQuote as a3, type GetNearbySuggestions as a4, type GetQuoteResponse as a5, type GetQuoteResponseObject as a6, type GetQuoteSingleResponse as a7, type QuoteResponse as a8, type QuoteResponseObject as a9, type WiseProfileInfo as aA, type WiseProfileSelectionRequired as aB, type WiseProfileNotFound as aC, type PayPalSessionMaterial as aD, type PayPalGoogleOAuthSellerCredentialUploadBody as aE, type VenmoGoogleOAuthSellerCredentialUploadBody as aF, type VenmoCredentialUploadInput as aG, type CashAppCredentialUploadInput as aH, type WiseCredentialUploadInput as aI, type PayPalCredentialUploadInput as aJ, type SellerCredentialUploadInputByPlatform as aK, type SellerCiphertextBundle as aL, type SellerSignedCiphertextBundle as aM, type SellerVerifyIntentDetails as aN, type SellerVerifyInput as aO, type SellerProbeInput as aP, type SellerCredentialBundle as aQ, type SellerCredentialBundleUpload as aR, type SellerCredentialStatusValue as aS, type SellerCredentialStatus as aT, type SellerVerifyProxyBody as aU, type SellerTypedDataField as aV, type SellerTypedDataSpec as aW, type SellerPaymentTypedDataValue as aX, type SellerAttestationOutput as aY, type SellerCredentialProbeResponse as aZ, type AttestationServiceSellerVerifyResponse as a_, type QuoteSingleResponse as aa, type QuoteIntentResponse as ab, type QuoteFeesResponse as ac, type FiatResponse as ad, type TokenResponse as ae, type NearbyQuote as af, type NearbySuggestions as ag, type ApiDeposit as ah, type DepositVerifier as ai, type DepositVerifierCurrency as aj, type DepositStatus as ak, type GetDepositByIdRequest as al, type GetDepositByIdResponse as am, type Intent as an, type ApiIntentStatus as ao, type GetOwnerIntentsRequest as ap, type GetOwnerIntentsResponse as aq, type GetIntentsByDepositRequest as ar, type GetIntentsByDepositResponse as as, type GetIntentByHashRequest as at, type GetIntentByHashResponse as au, type RegisterPayeeDetailsRequest as av, type RegisterPayeeDetailsResponse as aw, type VenmoSessionMaterial as ax, type CashAppSessionMaterial as ay, type WiseSessionMaterial as az, type SellerPlatform as b, type OrderDirection as b$, type BuyerTeePaymentParams as b0, type BuyerTeePaymentProofInput as b1, type BuyerTeeSessionMaterial as b2, type CuratorSellerCredentialStatusResponse as b3, type CuratorSellerVerifyResponse as b4, type UploadSellerCredentialParams as b5, type RegisteredUploadSellerCredentialParams as b6, type UploadSellerCredentialOptions as b7, type GetSellerCredentialStatusParams as b8, type ConfirmPayPalForwardingRequest as b9, type DepositEntity$1 as bA, type IntentFulfilledEntity as bB, type IntentFulfillmentAmountsEntity as bC, type DepositPaymentMethodEntity$1 as bD, type MethodCurrencyEntity$1 as bE, type IntentStatus as bF, type RateManagerEntity as bG, type RateManagerRateEntity as bH, type RateManagerDelegationEntity as bI, type ManagerAggregateStatsEntity as bJ, type ManagerStatsEntity as bK, type ManagerDailySnapshotEntity as bL, type RateManagerListItem as bM, type RateManagerDetail as bN, type ManualRateUpdateEntity as bO, type OracleConfigUpdateEntity as bP, type DepositFundActivityEntity$1 as bQ, type DepositDailySnapshotEntity$1 as bR, type DepositFundActivityType$1 as bS, type DepositFilter as bT, type PaginationOptions as bU, type DepositOrderField as bV, type OrderDirection$1 as bW, type RateManagerFilter as bX, type RateManagerPaginationOptions as bY, type RateManagerDelegationPaginationOptions as bZ, type RateManagerOrderField as b_, type PayPalForwardingConfirmationErrorCode as ba, type UploadPayPalGoogleOAuthSellerCredentialParams as bb, type UploadVenmoGoogleOAuthSellerCredentialParams as bc, type UploadGoogleOAuthSellerCredentialParams as bd, type VerifySellerPaymentParams as be, type IdentityAttestationActionType as bf, type IdentityAttestationParams as bg, type MakerIdentityAttestationRequestBody as bh, type MakerIdentityPlatform as bi, type OnchainCurrency as bj, type DepositVerifierData as bk, type PreparedTransaction as bl, type OrderStats as bm, type DepositIntentStatistics as bn, type TakerTier as bo, type TakerTierStats as bp, type TakerTierLevel as bq, type PlatformLimit as br, type PlatformRiskLevel as bs, type OrderbookEntry as bt, IndexerClient as bu, defaultIndexerEndpoint as bv, IndexerDepositService as bw, IndexerRateManagerService as bx, compareEventCursorIdsByRecency as by, fetchFulfillmentAndPayment as bz, type SellerCredentialAttestationRuntime as c, type DeploymentEnv as c0, type FulfillmentRecord as c1, type PaymentVerifiedRecord as c2, type FulfillmentAndPaymentResponse as c3, PAYMENT_PLATFORMS as c4, type PaymentPlatformType as c5, Currency as c6, currencyInfo as c7, getCurrencyInfoFromHash as c8, getCurrencyInfoFromCountryCode as c9, type DelegationRoute as cA, type DelegationState as cB, type DelegationDepositTarget as cC, type BatchResult as cD, type SendTransactionFn as cE, type SendBatchFn as cF, ZERO_ADDRESS as cG, asErrorMessage as cH, assertDelegationMethodSupport as cI, getCurrencyCodeFromHash as ca, isSupportedCurrencyHash as cb, mapConversionRatesToOnchainMinRate as cc, type CurrencyData as cd, getContracts as ce, getRateManagerContracts as cf, getPaymentMethodsCatalog as cg, getGatingServiceAddress as ch, type RuntimeEnv as ci, parseDepositView as cj, parseIntentView as ck, enrichPvDepositView as cl, enrichPvIntentView as cm, type PV_DepositView as cn, type PV_Deposit as co, type PV_PaymentMethodData as cp, type PV_Currency as cq, type PV_ReferralFee as cr, type PV_IntentView as cs, type PV_Intent as ct, ZERO_RATE_MANAGER_ID as cu, isZeroRateManagerId as cv, normalizeRateManagerId as cw, normalizeRegistry as cx, getDelegationRoute as cy, classifyDelegationState as cz, type AttestationServiceSellerCredentialUploadResponse as d, type GoogleOAuthSellerCredentialUploadBodyByPlatform as e, type CuratorSellerCredentialUploadResponse as f, type BestByPlatformResponse as g, type ValidatePayeeDetailsResponse as h, type PostDepositDetailsResponse as i, type GetPayeeDetailsRequest as j, type GetPayeeDetailsResponse as k, type GetOwnerDepositsRequest as l, type GetOwnerDepositsResponse as m, type GetTakerTierRequest as n, type GetTakerTierResponse as o, type GetDepositBundleParams as p, type ApiAdapterOptions as q, type GetDepositBundleResponse as r, type GetOrderbookParams as s, type GetOrderbookResponse as t, type CurrencyType as u, type PaymentMethodCatalog as v, type SignalIntentReferralFee as w, type SignalIntentMethodParams as x, type CancelIntentMethodParams as y, type Zkp2pNextOptions as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkp2p/sdk",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "ZKP2P Client SDK - TypeScript SDK for deposit management, liquidity provision, and onramping",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",
@@ -89,7 +89,7 @@
89
89
  "dependencies": {
90
90
  "@zkp2p/indexer-schema": "0.2.3",
91
91
  "@zkp2p/contracts-v2": "0.2.2",
92
- "@zkp2p/zkp2p-attestation": "1.3.1",
92
+ "@zkp2p/zkp2p-attestation": "1.4.0",
93
93
  "ethers": "^6.0.0",
94
94
  "ox": "^0.11.1"
95
95
  },