@zkp2p/sdk 0.4.3 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
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';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, y as SignalIntentMethodParams, bo as PreparedTransaction, br as TakerTier, o as GetTakerTierRequest, p as GetTakerTierResponse, F as FulfillIntentMethodParams, cH as SendTransactionFn, cI as SendBatchFn, cF as DelegationDepositTarget, cG as BatchResult } from './vaultUtils-BL8tzsmH.mjs';
2
+ export { cD as DelegationRoute, cE as DelegationState, cJ as VAULT_ZERO_ADDRESS, cx as ZERO_RATE_MANAGER_ID, cK as asErrorMessage, cL as assertDelegationMethodSupport, cC as classifyDelegationState, cB as getDelegationRoute, cy as isZeroRateManagerId, cz as normalizeRateManagerId, cA as normalizeRegistry } from './vaultUtils-BL8tzsmH.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, 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';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, y as SignalIntentMethodParams, bo as PreparedTransaction, br as TakerTier, o as GetTakerTierRequest, p as GetTakerTierResponse, F as FulfillIntentMethodParams, cH as SendTransactionFn, cI as SendBatchFn, cF as DelegationDepositTarget, cG as BatchResult } from './vaultUtils-BL8tzsmH.js';
2
+ export { cD as DelegationRoute, cE as DelegationState, cJ as VAULT_ZERO_ADDRESS, cx as ZERO_RATE_MANAGER_ID, cK as asErrorMessage, cL as assertDelegationMethodSupport, cC as classifyDelegationState, cB as getDelegationRoute, cy as isZeroRateManagerId, cz as normalizeRateManagerId, cA as normalizeRegistry } from './vaultUtils-BL8tzsmH.js';
3
3
  import { Hash, Address, Hex } from 'viem';
4
4
  import '@zkp2p/indexer-schema';
5
5
  import 'abitype';
@@ -462,6 +462,7 @@ interface DepositEventsResponse$1 {
462
462
  }
463
463
  interface IntentFulfilledEntity {
464
464
  intentHash: string;
465
+ amount: string;
465
466
  isManualRelease: boolean;
466
467
  fundsTransferredTo?: string | null;
467
468
  }
@@ -1016,6 +1017,7 @@ type FulfillIntentParams = {
1016
1017
  /** Optional lifecycle callbacks */
1017
1018
  callbacks?: {
1018
1019
  onAttestationStart?: () => void;
1020
+ onAttestationComplete?: (attestation: FulfillIntentAttestationResponse) => void;
1019
1021
  onTxSent?: (hash: Hash) => void;
1020
1022
  onTxMined?: (hash: Hash) => void;
1021
1023
  };
@@ -1297,6 +1299,7 @@ type AttestationServiceSellerVerifyResponse = {
1297
1299
  responseObject: SellerAttestationOutput;
1298
1300
  statusCode: number;
1299
1301
  };
1302
+ type FulfillIntentAttestationResponse = AttestationServiceSellerVerifyResponse;
1300
1303
  type AttestationServiceSellerCredentialProbeResponse = {
1301
1304
  success: boolean;
1302
1305
  message: string;
@@ -1340,6 +1343,18 @@ type RegisteredUploadSellerCredentialParams = {
1340
1343
  platform: P;
1341
1344
  } & SellerCredentialUploadInputByPlatform[P];
1342
1345
  }[RegisteredSellerCredentialPlatform];
1346
+ type UploadSellerCredentialBundleParams = {
1347
+ bundle: SellerCredentialBundleUpload;
1348
+ platform: 'wise';
1349
+ } | {
1350
+ [P in RegisteredSellerCredentialPlatform]: {
1351
+ bundle: SellerCredentialBundleUpload;
1352
+ offchainId: string;
1353
+ telegramUsername?: string | null;
1354
+ metadata?: CuratorMetadata | null;
1355
+ platform: P;
1356
+ };
1357
+ }[RegisteredSellerCredentialPlatform];
1343
1358
  type UploadSellerCredentialOptions = {
1344
1359
  baseApiUrl?: string;
1345
1360
  attestationServiceUrl?: string;
@@ -2046,6 +2061,7 @@ type FulfillIntentMethodParams = {
2046
2061
  /** Lifecycle callbacks for UI updates */
2047
2062
  callbacks?: {
2048
2063
  onAttestationStart?: () => void;
2064
+ onAttestationComplete?: (attestation: FulfillIntentAttestationResponse) => void;
2049
2065
  onTxSent?: (hash: Hash) => void;
2050
2066
  onTxMined?: (hash: Hash) => void;
2051
2067
  };
@@ -2389,7 +2405,9 @@ declare class Zkp2pClient {
2389
2405
  * { limit: 50, orderBy: 'remainingDeposits', orderDirection: 'desc' }
2390
2406
  * );
2391
2407
  *
2392
- * // Get historical fulfillment data
2408
+ * // Get historical fulfillment event data. Use `amount` for net USDC
2409
+ * // transferred to the taker; use getIntentFulfillmentAmounts() when you
2410
+ * // also need gross released USDC.
2393
2411
  * const fulfillments = await client.indexer.getFulfilledIntentEvents(['0x...']);
2394
2412
  * ```
2395
2413
  */
@@ -2441,11 +2459,13 @@ declare class Zkp2pClient {
2441
2459
  limit?: number;
2442
2460
  }) => Promise<IntentEntity$1[]>;
2443
2461
  /**
2444
- * Fetches fulfillment events for completed intents.
2462
+ * Fetches fulfillment events for completed intents. `amount` is the net
2463
+ * USDC transferred to the taker after protocol/referrer fees.
2445
2464
  */
2446
2465
  getFulfilledIntentEvents: (intentHashes: string[]) => Promise<IntentFulfilledEntity[]>;
2447
2466
  /**
2448
- * Fetches gross and net fulfillment amounts for an intent.
2467
+ * Fetches gross and net fulfillment amounts for an intent. Use
2468
+ * `takerAmountNetFees` as the buyer/taker received USDC amount.
2449
2469
  */
2450
2470
  getIntentFulfillmentAmounts: (intentHash: string) => Promise<IntentFulfillmentAmountsEntity | null>;
2451
2471
  /**
@@ -3448,6 +3468,13 @@ declare class Zkp2pClient {
3448
3468
  * from the submitted Personal API Token.
3449
3469
  */
3450
3470
  uploadSellerCredential(params: UploadSellerCredentialParams, opts?: UploadSellerCredentialOptions): Promise<CuratorSellerCredentialUploadResponse>;
3471
+ /**
3472
+ * Store an already-encrypted seller credential bundle with curator.
3473
+ */
3474
+ uploadSellerCredentialBundle(params: UploadSellerCredentialBundleParams, opts?: {
3475
+ baseApiUrl?: string;
3476
+ timeoutMs?: number;
3477
+ }): Promise<CuratorSellerCredentialUploadResponse>;
3451
3478
  /**
3452
3479
  * Confirms the PayPal Gmail-forwarding setup for an existing maker payee hash.
3453
3480
  *
@@ -3655,4 +3682,4 @@ type SendBatchFn = (txs: Array<{
3655
3682
  value?: bigint;
3656
3683
  }>) => Promise<string>;
3657
3684
 
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 };
3685
+ export { type BestByPlatformResponseObject as $, type AttestationServiceIdentityResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type Zkp2pNextOptions as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type AuthorizationTokenProvider as H, type IntentEntity$1 as I, type TimeoutConfig as J, type ActionCallback as K, type CreateDepositParams as L, type CreateDepositConversionRate as M, type Range as N, type SignalIntentParams as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type TxOverrides as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type FulfillIntentParams as X, type ReleaseFundsToPayerParams as Y, Zkp2pClient as Z, type CancelIntentParams as _, type IdentityAttestationRequestBody as a, type AttestationServiceSellerVerifyResponse as a$, type GetBestByPlatformResponse as a0, type GetBestByPlatformResponseObject as a1, type GetPlatformQuote as a2, type PlatformQuote as a3, type QuoteRequest as a4, type GetNearbyQuote as a5, type GetNearbySuggestions as a6, type GetQuoteResponse as a7, type GetQuoteResponseObject as a8, type GetQuoteSingleResponse as a9, type CashAppSessionMaterial as aA, type WiseSessionMaterial as aB, type WiseProfileInfo as aC, type WiseProfileSelectionRequired as aD, type WiseProfileNotFound as aE, type PayPalSessionMaterial as aF, type PayPalGoogleOAuthSellerCredentialUploadBody as aG, type VenmoGoogleOAuthSellerCredentialUploadBody as aH, type VenmoCredentialUploadInput as aI, type CashAppCredentialUploadInput as aJ, type WiseCredentialUploadInput as aK, type PayPalCredentialUploadInput as aL, type SellerCredentialUploadInputByPlatform as aM, type SellerCiphertextBundle as aN, type SellerSignedCiphertextBundle as aO, type SellerVerifyIntentDetails as aP, type SellerVerifyInput as aQ, type SellerProbeInput as aR, type SellerCredentialBundleUpload as aS, type SellerCredentialStatusValue as aT, type SellerCredentialStatus as aU, type SellerVerifyProxyBody as aV, type SellerTypedDataField as aW, type SellerTypedDataSpec as aX, type SellerPaymentTypedDataValue as aY, type SellerAttestationOutput as aZ, type SellerCredentialProbeResponse as a_, type QuoteResponse as aa, type QuoteResponseObject as ab, type QuoteSingleResponse as ac, type QuoteIntentResponse as ad, type QuoteFeesResponse as ae, type FiatResponse as af, type TokenResponse as ag, type NearbyQuote as ah, type NearbySuggestions as ai, type ApiDeposit as aj, type DepositVerifier as ak, type DepositVerifierCurrency as al, type DepositStatus as am, type GetDepositByIdRequest as an, type GetDepositByIdResponse as ao, type Intent as ap, type ApiIntentStatus as aq, type GetOwnerIntentsRequest as ar, type GetOwnerIntentsResponse as as, type GetIntentsByDepositRequest as at, type GetIntentsByDepositResponse as au, type GetIntentByHashRequest as av, type GetIntentByHashResponse as aw, type RegisterPayeeDetailsRequest as ax, type RegisterPayeeDetailsResponse as ay, type VenmoSessionMaterial as az, type SellerCredentialUploadInput as b, type RateManagerPaginationOptions as b$, type FulfillIntentAttestationResponse as b0, type AttestationServiceSellerCredentialProbeResponse as b1, type BuyerTeePaymentParams as b2, type BuyerTeePaymentProofInput as b3, type BuyerTeeSessionMaterial as b4, type CuratorSellerCredentialStatusResponse as b5, type CuratorSellerVerifyResponse as b6, type RegisteredSellerCredentialPlatform as b7, type UploadSellerCredentialParams as b8, type RegisteredUploadSellerCredentialParams as b9, IndexerRateManagerService as bA, compareEventCursorIdsByRecency as bB, fetchFulfillmentAndPayment as bC, type DepositEntity$1 as bD, type IntentFulfilledEntity as bE, type IntentFulfillmentAmountsEntity as bF, type DepositPaymentMethodEntity$1 as bG, type MethodCurrencyEntity$1 as bH, type IntentStatus as bI, type RateManagerEntity as bJ, type RateManagerRateEntity as bK, type RateManagerDelegationEntity as bL, type ManagerAggregateStatsEntity as bM, type ManagerStatsEntity as bN, type ManagerDailySnapshotEntity as bO, type RateManagerListItem as bP, type RateManagerDetail as bQ, type ManualRateUpdateEntity as bR, type OracleConfigUpdateEntity as bS, type DepositFundActivityEntity$1 as bT, type DepositDailySnapshotEntity$1 as bU, type DepositFundActivityType$1 as bV, type DepositFilter as bW, type PaginationOptions as bX, type DepositOrderField as bY, type OrderDirection$1 as bZ, type RateManagerFilter as b_, type UploadSellerCredentialOptions as ba, type GetSellerCredentialStatusParams as bb, type ConfirmPayPalForwardingRequest as bc, type PayPalForwardingConfirmationErrorCode as bd, type UploadPayPalGoogleOAuthSellerCredentialParams as be, type UploadVenmoGoogleOAuthSellerCredentialParams as bf, type UploadGoogleOAuthSellerCredentialParams as bg, type VerifySellerPaymentParams as bh, type IdentityAttestationActionType as bi, type IdentityAttestationParams as bj, type MakerIdentityAttestationRequestBody as bk, type MakerIdentityPlatform as bl, type OnchainCurrency as bm, type DepositVerifierData as bn, type PreparedTransaction as bo, type OrderStats as bp, type DepositIntentStatistics as bq, type TakerTier as br, type TakerTierStats as bs, type TakerTierLevel as bt, type PlatformLimit as bu, type PlatformRiskLevel as bv, type OrderbookEntry as bw, IndexerClient as bx, defaultIndexerEndpoint as by, IndexerDepositService as bz, type SellerPlatform as c, type RateManagerDelegationPaginationOptions as c0, type RateManagerOrderField as c1, type OrderDirection as c2, type DeploymentEnv as c3, type FulfillmentRecord as c4, type PaymentVerifiedRecord as c5, type FulfillmentAndPaymentResponse as c6, PAYMENT_PLATFORMS as c7, type PaymentPlatformType as c8, Currency as c9, normalizeRegistry as cA, getDelegationRoute as cB, classifyDelegationState as cC, type DelegationRoute as cD, type DelegationState as cE, type DelegationDepositTarget as cF, type BatchResult as cG, type SendTransactionFn as cH, type SendBatchFn as cI, ZERO_ADDRESS as cJ, asErrorMessage as cK, assertDelegationMethodSupport as cL, currencyInfo as ca, getCurrencyInfoFromHash as cb, getCurrencyInfoFromCountryCode as cc, getCurrencyCodeFromHash as cd, isSupportedCurrencyHash as ce, mapConversionRatesToOnchainMinRate as cf, type CurrencyData as cg, getContracts as ch, getRateManagerContracts as ci, getPaymentMethodsCatalog as cj, getGatingServiceAddress as ck, type RuntimeEnv as cl, parseDepositView as cm, parseIntentView as cn, enrichPvDepositView as co, enrichPvIntentView as cp, type PV_DepositView as cq, type PV_Deposit as cr, type PV_PaymentMethodData as cs, type PV_Currency as ct, type PV_ReferralFee as cu, type PV_IntentView as cv, type PV_Intent as cw, ZERO_RATE_MANAGER_ID as cx, isZeroRateManagerId as cy, normalizeRateManagerId as cz, type SellerCredentialAttestationRuntime as d, type AttestationServiceSellerCredentialUploadResponse as e, type ConfirmPayPalForwardingResponse as f, type GoogleOAuthSellerCredentialUploadBodyByPlatform as g, type BestByPlatformResponse as h, type ValidatePayeeDetailsResponse as i, type PostDepositDetailsResponse as j, type GetPayeeDetailsRequest as k, type GetPayeeDetailsResponse as l, type GetOwnerDepositsRequest as m, type GetOwnerDepositsResponse as n, type GetTakerTierRequest as o, type GetTakerTierResponse as p, type GetDepositBundleParams as q, type ApiAdapterOptions as r, type GetDepositBundleResponse as s, type GetOrderbookParams as t, type GetOrderbookResponse as u, type CurrencyType as v, type PaymentMethodCatalog as w, type SignalIntentReferralFee as x, type SignalIntentMethodParams as y, type CancelIntentMethodParams as z };
@@ -462,6 +462,7 @@ interface DepositEventsResponse$1 {
462
462
  }
463
463
  interface IntentFulfilledEntity {
464
464
  intentHash: string;
465
+ amount: string;
465
466
  isManualRelease: boolean;
466
467
  fundsTransferredTo?: string | null;
467
468
  }
@@ -1016,6 +1017,7 @@ type FulfillIntentParams = {
1016
1017
  /** Optional lifecycle callbacks */
1017
1018
  callbacks?: {
1018
1019
  onAttestationStart?: () => void;
1020
+ onAttestationComplete?: (attestation: FulfillIntentAttestationResponse) => void;
1019
1021
  onTxSent?: (hash: Hash) => void;
1020
1022
  onTxMined?: (hash: Hash) => void;
1021
1023
  };
@@ -1297,6 +1299,7 @@ type AttestationServiceSellerVerifyResponse = {
1297
1299
  responseObject: SellerAttestationOutput;
1298
1300
  statusCode: number;
1299
1301
  };
1302
+ type FulfillIntentAttestationResponse = AttestationServiceSellerVerifyResponse;
1300
1303
  type AttestationServiceSellerCredentialProbeResponse = {
1301
1304
  success: boolean;
1302
1305
  message: string;
@@ -1340,6 +1343,18 @@ type RegisteredUploadSellerCredentialParams = {
1340
1343
  platform: P;
1341
1344
  } & SellerCredentialUploadInputByPlatform[P];
1342
1345
  }[RegisteredSellerCredentialPlatform];
1346
+ type UploadSellerCredentialBundleParams = {
1347
+ bundle: SellerCredentialBundleUpload;
1348
+ platform: 'wise';
1349
+ } | {
1350
+ [P in RegisteredSellerCredentialPlatform]: {
1351
+ bundle: SellerCredentialBundleUpload;
1352
+ offchainId: string;
1353
+ telegramUsername?: string | null;
1354
+ metadata?: CuratorMetadata | null;
1355
+ platform: P;
1356
+ };
1357
+ }[RegisteredSellerCredentialPlatform];
1343
1358
  type UploadSellerCredentialOptions = {
1344
1359
  baseApiUrl?: string;
1345
1360
  attestationServiceUrl?: string;
@@ -2046,6 +2061,7 @@ type FulfillIntentMethodParams = {
2046
2061
  /** Lifecycle callbacks for UI updates */
2047
2062
  callbacks?: {
2048
2063
  onAttestationStart?: () => void;
2064
+ onAttestationComplete?: (attestation: FulfillIntentAttestationResponse) => void;
2049
2065
  onTxSent?: (hash: Hash) => void;
2050
2066
  onTxMined?: (hash: Hash) => void;
2051
2067
  };
@@ -2389,7 +2405,9 @@ declare class Zkp2pClient {
2389
2405
  * { limit: 50, orderBy: 'remainingDeposits', orderDirection: 'desc' }
2390
2406
  * );
2391
2407
  *
2392
- * // Get historical fulfillment data
2408
+ * // Get historical fulfillment event data. Use `amount` for net USDC
2409
+ * // transferred to the taker; use getIntentFulfillmentAmounts() when you
2410
+ * // also need gross released USDC.
2393
2411
  * const fulfillments = await client.indexer.getFulfilledIntentEvents(['0x...']);
2394
2412
  * ```
2395
2413
  */
@@ -2441,11 +2459,13 @@ declare class Zkp2pClient {
2441
2459
  limit?: number;
2442
2460
  }) => Promise<IntentEntity$1[]>;
2443
2461
  /**
2444
- * Fetches fulfillment events for completed intents.
2462
+ * Fetches fulfillment events for completed intents. `amount` is the net
2463
+ * USDC transferred to the taker after protocol/referrer fees.
2445
2464
  */
2446
2465
  getFulfilledIntentEvents: (intentHashes: string[]) => Promise<IntentFulfilledEntity[]>;
2447
2466
  /**
2448
- * Fetches gross and net fulfillment amounts for an intent.
2467
+ * Fetches gross and net fulfillment amounts for an intent. Use
2468
+ * `takerAmountNetFees` as the buyer/taker received USDC amount.
2449
2469
  */
2450
2470
  getIntentFulfillmentAmounts: (intentHash: string) => Promise<IntentFulfillmentAmountsEntity | null>;
2451
2471
  /**
@@ -3448,6 +3468,13 @@ declare class Zkp2pClient {
3448
3468
  * from the submitted Personal API Token.
3449
3469
  */
3450
3470
  uploadSellerCredential(params: UploadSellerCredentialParams, opts?: UploadSellerCredentialOptions): Promise<CuratorSellerCredentialUploadResponse>;
3471
+ /**
3472
+ * Store an already-encrypted seller credential bundle with curator.
3473
+ */
3474
+ uploadSellerCredentialBundle(params: UploadSellerCredentialBundleParams, opts?: {
3475
+ baseApiUrl?: string;
3476
+ timeoutMs?: number;
3477
+ }): Promise<CuratorSellerCredentialUploadResponse>;
3451
3478
  /**
3452
3479
  * Confirms the PayPal Gmail-forwarding setup for an existing maker payee hash.
3453
3480
  *
@@ -3655,4 +3682,4 @@ type SendBatchFn = (txs: Array<{
3655
3682
  value?: bigint;
3656
3683
  }>) => Promise<string>;
3657
3684
 
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 };
3685
+ export { type BestByPlatformResponseObject as $, type AttestationServiceIdentityResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type Zkp2pNextOptions as E, type FulfillIntentMethodParams as F, type GoogleOAuthSellerCredentialPlatform as G, type AuthorizationTokenProvider as H, type IntentEntity$1 as I, type TimeoutConfig as J, type ActionCallback as K, type CreateDepositParams as L, type CreateDepositConversionRate as M, type Range as N, type SignalIntentParams as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type TxOverrides as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type FulfillIntentParams as X, type ReleaseFundsToPayerParams as Y, Zkp2pClient as Z, type CancelIntentParams as _, type IdentityAttestationRequestBody as a, type AttestationServiceSellerVerifyResponse as a$, type GetBestByPlatformResponse as a0, type GetBestByPlatformResponseObject as a1, type GetPlatformQuote as a2, type PlatformQuote as a3, type QuoteRequest as a4, type GetNearbyQuote as a5, type GetNearbySuggestions as a6, type GetQuoteResponse as a7, type GetQuoteResponseObject as a8, type GetQuoteSingleResponse as a9, type CashAppSessionMaterial as aA, type WiseSessionMaterial as aB, type WiseProfileInfo as aC, type WiseProfileSelectionRequired as aD, type WiseProfileNotFound as aE, type PayPalSessionMaterial as aF, type PayPalGoogleOAuthSellerCredentialUploadBody as aG, type VenmoGoogleOAuthSellerCredentialUploadBody as aH, type VenmoCredentialUploadInput as aI, type CashAppCredentialUploadInput as aJ, type WiseCredentialUploadInput as aK, type PayPalCredentialUploadInput as aL, type SellerCredentialUploadInputByPlatform as aM, type SellerCiphertextBundle as aN, type SellerSignedCiphertextBundle as aO, type SellerVerifyIntentDetails as aP, type SellerVerifyInput as aQ, type SellerProbeInput as aR, type SellerCredentialBundleUpload as aS, type SellerCredentialStatusValue as aT, type SellerCredentialStatus as aU, type SellerVerifyProxyBody as aV, type SellerTypedDataField as aW, type SellerTypedDataSpec as aX, type SellerPaymentTypedDataValue as aY, type SellerAttestationOutput as aZ, type SellerCredentialProbeResponse as a_, type QuoteResponse as aa, type QuoteResponseObject as ab, type QuoteSingleResponse as ac, type QuoteIntentResponse as ad, type QuoteFeesResponse as ae, type FiatResponse as af, type TokenResponse as ag, type NearbyQuote as ah, type NearbySuggestions as ai, type ApiDeposit as aj, type DepositVerifier as ak, type DepositVerifierCurrency as al, type DepositStatus as am, type GetDepositByIdRequest as an, type GetDepositByIdResponse as ao, type Intent as ap, type ApiIntentStatus as aq, type GetOwnerIntentsRequest as ar, type GetOwnerIntentsResponse as as, type GetIntentsByDepositRequest as at, type GetIntentsByDepositResponse as au, type GetIntentByHashRequest as av, type GetIntentByHashResponse as aw, type RegisterPayeeDetailsRequest as ax, type RegisterPayeeDetailsResponse as ay, type VenmoSessionMaterial as az, type SellerCredentialUploadInput as b, type RateManagerPaginationOptions as b$, type FulfillIntentAttestationResponse as b0, type AttestationServiceSellerCredentialProbeResponse as b1, type BuyerTeePaymentParams as b2, type BuyerTeePaymentProofInput as b3, type BuyerTeeSessionMaterial as b4, type CuratorSellerCredentialStatusResponse as b5, type CuratorSellerVerifyResponse as b6, type RegisteredSellerCredentialPlatform as b7, type UploadSellerCredentialParams as b8, type RegisteredUploadSellerCredentialParams as b9, IndexerRateManagerService as bA, compareEventCursorIdsByRecency as bB, fetchFulfillmentAndPayment as bC, type DepositEntity$1 as bD, type IntentFulfilledEntity as bE, type IntentFulfillmentAmountsEntity as bF, type DepositPaymentMethodEntity$1 as bG, type MethodCurrencyEntity$1 as bH, type IntentStatus as bI, type RateManagerEntity as bJ, type RateManagerRateEntity as bK, type RateManagerDelegationEntity as bL, type ManagerAggregateStatsEntity as bM, type ManagerStatsEntity as bN, type ManagerDailySnapshotEntity as bO, type RateManagerListItem as bP, type RateManagerDetail as bQ, type ManualRateUpdateEntity as bR, type OracleConfigUpdateEntity as bS, type DepositFundActivityEntity$1 as bT, type DepositDailySnapshotEntity$1 as bU, type DepositFundActivityType$1 as bV, type DepositFilter as bW, type PaginationOptions as bX, type DepositOrderField as bY, type OrderDirection$1 as bZ, type RateManagerFilter as b_, type UploadSellerCredentialOptions as ba, type GetSellerCredentialStatusParams as bb, type ConfirmPayPalForwardingRequest as bc, type PayPalForwardingConfirmationErrorCode as bd, type UploadPayPalGoogleOAuthSellerCredentialParams as be, type UploadVenmoGoogleOAuthSellerCredentialParams as bf, type UploadGoogleOAuthSellerCredentialParams as bg, type VerifySellerPaymentParams as bh, type IdentityAttestationActionType as bi, type IdentityAttestationParams as bj, type MakerIdentityAttestationRequestBody as bk, type MakerIdentityPlatform as bl, type OnchainCurrency as bm, type DepositVerifierData as bn, type PreparedTransaction as bo, type OrderStats as bp, type DepositIntentStatistics as bq, type TakerTier as br, type TakerTierStats as bs, type TakerTierLevel as bt, type PlatformLimit as bu, type PlatformRiskLevel as bv, type OrderbookEntry as bw, IndexerClient as bx, defaultIndexerEndpoint as by, IndexerDepositService as bz, type SellerPlatform as c, type RateManagerDelegationPaginationOptions as c0, type RateManagerOrderField as c1, type OrderDirection as c2, type DeploymentEnv as c3, type FulfillmentRecord as c4, type PaymentVerifiedRecord as c5, type FulfillmentAndPaymentResponse as c6, PAYMENT_PLATFORMS as c7, type PaymentPlatformType as c8, Currency as c9, normalizeRegistry as cA, getDelegationRoute as cB, classifyDelegationState as cC, type DelegationRoute as cD, type DelegationState as cE, type DelegationDepositTarget as cF, type BatchResult as cG, type SendTransactionFn as cH, type SendBatchFn as cI, ZERO_ADDRESS as cJ, asErrorMessage as cK, assertDelegationMethodSupport as cL, currencyInfo as ca, getCurrencyInfoFromHash as cb, getCurrencyInfoFromCountryCode as cc, getCurrencyCodeFromHash as cd, isSupportedCurrencyHash as ce, mapConversionRatesToOnchainMinRate as cf, type CurrencyData as cg, getContracts as ch, getRateManagerContracts as ci, getPaymentMethodsCatalog as cj, getGatingServiceAddress as ck, type RuntimeEnv as cl, parseDepositView as cm, parseIntentView as cn, enrichPvDepositView as co, enrichPvIntentView as cp, type PV_DepositView as cq, type PV_Deposit as cr, type PV_PaymentMethodData as cs, type PV_Currency as ct, type PV_ReferralFee as cu, type PV_IntentView as cv, type PV_Intent as cw, ZERO_RATE_MANAGER_ID as cx, isZeroRateManagerId as cy, normalizeRateManagerId as cz, type SellerCredentialAttestationRuntime as d, type AttestationServiceSellerCredentialUploadResponse as e, type ConfirmPayPalForwardingResponse as f, type GoogleOAuthSellerCredentialUploadBodyByPlatform as g, type BestByPlatformResponse as h, type ValidatePayeeDetailsResponse as i, type PostDepositDetailsResponse as j, type GetPayeeDetailsRequest as k, type GetPayeeDetailsResponse as l, type GetOwnerDepositsRequest as m, type GetOwnerDepositsResponse as n, type GetTakerTierRequest as o, type GetTakerTierResponse as p, type GetDepositBundleParams as q, type ApiAdapterOptions as r, type GetDepositBundleResponse as s, type GetOrderbookParams as t, type GetOrderbookResponse as u, type CurrencyType as v, type PaymentMethodCatalog as w, type SignalIntentReferralFee as x, type SignalIntentMethodParams as y, type CancelIntentMethodParams as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkp2p/sdk",
3
- "version": "0.4.3",
3
+ "version": "0.5.0",
4
4
  "description": "ZKP2P Client SDK - TypeScript SDK for deposit management, liquidity provision, and onramping",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",