@cosmosapp/pay_sdk 2.1.0 → 2.2.1

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.
@@ -215,8 +215,19 @@ interface CreateTxPaymentIntentOptions {
215
215
  callback?: string;
216
216
  }
217
217
  /** Body for `POST /v1/payment-intents/pay`. */
218
+ /** The chain a payment intent settles on. */
219
+ type PaymentChain = 'stellar' | 'solana' | 'monad';
218
220
  interface CreatePayPaymentIntentOptions {
219
- /** Payee's Stellar account. A registered address-book name also works. */
221
+ /**
222
+ * Chain the payment settles on: `stellar` (the default, a SEP-7 `web+stellar:pay` link),
223
+ * `solana` (a Solana Pay link) or `monad` (an EIP-681 link). The network (mainnet or test)
224
+ * is the API key's, as on every route.
225
+ */
226
+ chain?: PaymentChain;
227
+ /**
228
+ * Payee's account on that chain: a Stellar `G...` account, a Solana address or a Monad
229
+ * `0x...` address. A registered address-book name also works.
230
+ */
220
231
  destination: string;
221
232
  /** Amount the destination should receive. Omit to let the user enter it (e.g. donations). */
222
233
  amount?: string;
@@ -225,15 +236,15 @@ interface CreatePayPaymentIntentOptions {
225
236
  * and `assetIssuer` for you. Takes a back seat to explicit code/issuer below.
226
237
  */
227
238
  asset?: AssetRef;
228
- /** Asset code the destination receives. Omit for native lumens (XLM). */
239
+ /** Asset code the destination receives. Omit for the chain's coin (XLM, SOL or MON). */
229
240
  assetCode?: string;
230
- /** Issuer account for a non-native asset. */
241
+ /** Who issues a token: the Stellar issuer account, the Solana SPL mint or the Monad ERC-20 contract. */
231
242
  assetIssuer?: string;
232
243
  /** MEMO_ID (numeric uint64) for idempotency + on-chain identification. Auto-generated when omitted. */
233
244
  memo?: string;
234
- /** SEP-7 `msg`: shown to the user in their wallet (≤ 300 chars). */
245
+ /** Shown to the user in their wallet (≤ 300 chars): SEP-7 `msg` on Stellar, the Solana Pay `message`. */
235
246
  msg?: string;
236
- /** SEP-7 `callback`, e.g. `url:https://...`. */
247
+ /** SEP-7 `callback`, e.g. `url:https://...`. Stellar only. */
237
248
  callback?: string;
238
249
  }
239
250
  /** Body for `PATCH /v1/payment-intents/:id`. */
@@ -247,6 +258,10 @@ interface UpdatePaymentIntentOptions {
247
258
  /** Query for `GET /v1/payment-intents`. */
248
259
  interface ListPaymentIntentsOptions {
249
260
  status?: PaymentIntentStatus;
261
+ /** Only intents on this chain. Omit for every chain. */
262
+ chain?: PaymentChain;
263
+ /** Only intents created at or after this instant (a Date or an ISO 8601 string). */
264
+ createdFrom?: Date | string;
250
265
  /** Page size (max 100, default 20). */
251
266
  take?: number;
252
267
  /** Offset (default 0). */
@@ -257,6 +272,8 @@ interface PaymentIntentData {
257
272
  id: string;
258
273
  kind: PaymentIntentKind;
259
274
  status: PaymentIntentStatus;
275
+ /** Chain the payment settles on (TX intents are always Stellar). Older servers omit it: Stellar. */
276
+ chain?: PaymentChain;
260
277
  network: string;
261
278
  source: string | null;
262
279
  destination: string;
@@ -2039,4 +2056,5 @@ interface ResolvableIntentInput {
2039
2056
  */
2040
2057
  declare function resolveIntentBody<T extends ResolvableIntentInput>(options: T, book?: AddressBook): Omit<T, 'asset'>;
2041
2058
 
2042
- export { type ActivityReportData as $, type AliasResolutionData as A, type BrowseLiquidityPoolsOptions as B, type CreateAliasChallengeOptions as C, type DepositLiquidityOptions as D, type ListPayinsOptions as E, type CreateTrustlineOptions as F, type CreateVirtualAccountOptions as G, type HealthCheckData as H, type CreatePayoutQuoteOptions as I, type PayoutQuoteData as J, type AuthorizePayoutOptions as K, type ListRegistryAssetsOptions as L, type AuthorizePayoutData as M, type CreatePayoutOptions as N, type OwnedAliasData as O, type PayinQuoteData as P, type PayoutData as Q, type ListPayoutsOptions as R, type SubmitLiquidityOptions as S, type TrustlineData as T, type UpdateCustomerOptions as U, type VirtualAccountData as V, type WebhookLogsData as W, type AttachPayoutDocumentOptions as X, type PayoutDocumentData as Y, type ActivityEventInput as Z, type ReportActivityOptions as _, type AliasAvailabilityData as a, type WebhookDeliveryData as a$, type ListActivityOptions as a0, type ActivityListData as a1, type ActivitySummaryData as a2, type ReceiverData as a3, type UpdateReceiverOptions as a4, type ApproveReceiverOptions as a5, type RequestTosOptions as a6, type TermsOfServiceData as a7, type EnableReceiverOptions as a8, type CreateReceiverWalletOptions as a9, type PublicKeyData as aA, type PaymentIntentData as aB, PaymentIntentKind as aC, PaymentIntentStatus as aD, type UpdatePaymentIntentOptions as aE, type DeletedData as aF, type ValidationOutcomeData as aG, type CreateTxPaymentIntentOptions as aH, type CreatePayPaymentIntentOptions as aI, type PaymentIntentTransitionData as aJ, type ListPaymentIntentsOptions as aK, type ValidatePaymentIntentOptions as aL, type ProductData as aM, ProductKind as aN, type UpdateProductOptions as aO, type CreateProductOptions as aP, type ChainSwapData as aQ, type OtherSwapChain as aR, SwapStatus as aS, type ChainSwapTransaction as aT, type EvmCallData as aU, type SwapData as aV, type QuoteSwapOptions as aW, type SwapQuoteData as aX, type CreateSwapOptions as aY, type ListSwapsOptions as aZ, type SubmitSwapOptions as a_, type ReceiverWalletData as aa, type ListKycOptions as ab, type CreateBankAccountOptions as ac, type BankAccountData as ad, type CreateReceiverOptions as ae, type SetReceiverAccessOptions as af, type WalletSignMessageData as ag, type KycUploadData as ah, type InitiateTosOptions as ai, type KycRailsData as aj, type BankDetailsData as ak, type CrossChainSwapData as al, CrossChainSwapStatus as am, type SwapChain as an, type CrossChainTransactionData as ao, type CrossChainAssetData as ap, type QuoteCrossChainSwapOptions as aq, type CrossChainQuoteData as ar, type CreateCrossChainSwapOptions as as, type ListCrossChainSwapsOptions as at, type DefindexDepositOptions as au, type DefindexWithdrawOptions as av, type PluginData as aw, type InstallPluginOptions as ax, type PluginUninstalledData as ay, type PluginActionResultData as az, type AliasByAddressData as b, type WalletId as b$, WebhookEventType as b0, WebhookDeliveryStatus as b1, type WebhookEndpointData as b2, type WebhookEndpointWithSecretData as b3, type UpdateWebhookEndpointOptions as b4, type WebhookPingData as b5, type ListWebhookDeliveriesOptions as b6, type AnyWebhookEvent as b7, type WebhookEventDataMap as b8, type TypedWebhookEvent as b9, type CustomerListData as bA, type KycType as bB, type LiquidityOperationListData as bC, type LiquidityPoolListData as bD, type LiquidityPositionData as bE, type LiquidityReserveData as bF, type LiquiditySubmitOutcomeData as bG, type PayinListData as bH, type PayinMethod as bI, type PayinPayerRules as bJ, type PaymentIntentListData as bK, type PayoutChain as bL, type PayoutListData as bM, type PayoutNetwork as bN, type PluginListData as bO, type RampToken as bP, type ReceiverListData as bQ, type ReceiverOwner as bR, type ReceiverType as bS, type ReceiverWalletListData as bT, type ReceiverWalletNetwork as bU, type RegistryAssetData as bV, type ResolvableIntentInput as bW, type ResolvedAsset as bX, type SwapListData as bY, type SwapSubmitOutcomeData as bZ, TestnetAssets as b_, type CreateWebhookEndpointOptions as ba, type WebhookEvent as bb, type ActivityBucket as bc, type ActivityEventData as bd, type ActivityLevel as be, type ActivitySource as bf, AddressBook as bg, type AddressRef as bh, type AliasChallengePurpose as bi, type AnalyticsBalanceEntry as bj, type AnalyticsRecentRow as bk, type AnalyticsSeriesPoint as bl, type AnalyticsVolumeEntry as bm, type ApiLogRow as bn, type AssetDefinition as bo, type AssetRef as bp, Assets as bq, type BankAccountListData as br, type BankRail as bs, type BankingPartner as bt, type ChainSwapListData as bu, type ChainSwapSubmitOutcomeData as bv, CosmosPayAPIError as bw, CosmosPayRequestError as bx, type CrossChainSwapListData as by, type CurrencyType as bz, type AliasChallengeData as c, Wallets as c0, type WebhookDeliveryListData as c1, type WebhookLogRow as c2, addresses as c3, assertAddress as c4, defineAsset as c5, isAddress as c6, isContractAddress as c7, isMuxedAddress as c8, isNativeAsset as c9, isStellarAddress as ca, resolveAddress as cb, resolveAsset as cc, resolveIntentBody as cd, type ClaimAliasOptions as d, type AliasListData as e, type AddAliasAddressOptions as f, type AliasAddressData as g, type AliasDeletedData as h, type AliasRecoveryStartedData as i, type CompleteAliasRecoveryOptions as j, type AnalyticsSummaryData as k, type AnalyticsBalancesData as l, type ApiLogsData as m, type AssetRegistryData as n, type CustomerData as o, type CreateCustomerOptions as p, type LiquidityOperationData as q, LiquidityOperationKind as r, LiquidityOperationStatus as s, type WithdrawLiquidityOptions as t, type LiquidityPositionsData as u, type LiquidityPoolData as v, type ListLiquidityOperationsOptions as w, type CreatePayinQuoteOptions as x, type CreatePayinOptions as y, type PayinData as z };
2059
+ export { PaymentIntentKind as aC, PaymentIntentStatus as aD, ProductKind as aO, SwapStatus as aT, CrossChainSwapStatus as am, TestnetAssets as b$, WebhookEventType as b1, WebhookDeliveryStatus as b2, AddressBook as bh, Assets as br, CosmosPayAPIError as bx, CosmosPayRequestError as by, Wallets as c1, addresses as c4, assertAddress as c5, defineAsset as c6, isAddress as c7, isContractAddress as c8, isMuxedAddress as c9, isNativeAsset as ca, isStellarAddress as cb, resolveAddress as cc, resolveAsset as cd, resolveIntentBody as ce, LiquidityOperationKind as r, LiquidityOperationStatus as s };
2060
+ export type { ActivityReportData as $, AliasResolutionData as A, BrowseLiquidityPoolsOptions as B, CreateAliasChallengeOptions as C, DepositLiquidityOptions as D, ListPayinsOptions as E, CreateTrustlineOptions as F, CreateVirtualAccountOptions as G, HealthCheckData as H, CreatePayoutQuoteOptions as I, PayoutQuoteData as J, AuthorizePayoutOptions as K, ListRegistryAssetsOptions as L, AuthorizePayoutData as M, CreatePayoutOptions as N, OwnedAliasData as O, PayinQuoteData as P, PayoutData as Q, ListPayoutsOptions as R, SubmitLiquidityOptions as S, TrustlineData as T, UpdateCustomerOptions as U, VirtualAccountData as V, WebhookLogsData as W, AttachPayoutDocumentOptions as X, PayoutDocumentData as Y, ActivityEventInput as Z, ReportActivityOptions as _, AliasAvailabilityData as a, SubmitSwapOptions as a$, ListActivityOptions as a0, ActivityListData as a1, ActivitySummaryData as a2, ReceiverData as a3, UpdateReceiverOptions as a4, ApproveReceiverOptions as a5, RequestTosOptions as a6, TermsOfServiceData as a7, EnableReceiverOptions as a8, CreateReceiverWalletOptions as a9, PublicKeyData as aA, PaymentIntentData as aB, PaymentChain as aE, UpdatePaymentIntentOptions as aF, DeletedData as aG, ValidationOutcomeData as aH, CreateTxPaymentIntentOptions as aI, CreatePayPaymentIntentOptions as aJ, PaymentIntentTransitionData as aK, ListPaymentIntentsOptions as aL, ValidatePaymentIntentOptions as aM, ProductData as aN, UpdateProductOptions as aP, CreateProductOptions as aQ, ChainSwapData as aR, OtherSwapChain as aS, ChainSwapTransaction as aU, EvmCallData as aV, SwapData as aW, QuoteSwapOptions as aX, SwapQuoteData as aY, CreateSwapOptions as aZ, ListSwapsOptions as a_, ReceiverWalletData as aa, ListKycOptions as ab, CreateBankAccountOptions as ac, BankAccountData as ad, CreateReceiverOptions as ae, SetReceiverAccessOptions as af, WalletSignMessageData as ag, KycUploadData as ah, InitiateTosOptions as ai, KycRailsData as aj, BankDetailsData as ak, CrossChainSwapData as al, SwapChain as an, CrossChainTransactionData as ao, CrossChainAssetData as ap, QuoteCrossChainSwapOptions as aq, CrossChainQuoteData as ar, CreateCrossChainSwapOptions as as, ListCrossChainSwapsOptions as at, DefindexDepositOptions as au, DefindexWithdrawOptions as av, PluginData as aw, InstallPluginOptions as ax, PluginUninstalledData as ay, PluginActionResultData as az, AliasByAddressData as b, WebhookDeliveryData as b0, WebhookEndpointData as b3, WebhookEndpointWithSecretData as b4, UpdateWebhookEndpointOptions as b5, WebhookPingData as b6, ListWebhookDeliveriesOptions as b7, AnyWebhookEvent as b8, WebhookEventDataMap as b9, CurrencyType as bA, CustomerListData as bB, KycType as bC, LiquidityOperationListData as bD, LiquidityPoolListData as bE, LiquidityPositionData as bF, LiquidityReserveData as bG, LiquiditySubmitOutcomeData as bH, PayinListData as bI, PayinMethod as bJ, PayinPayerRules as bK, PaymentIntentListData as bL, PayoutChain as bM, PayoutListData as bN, PayoutNetwork as bO, PluginListData as bP, RampToken as bQ, ReceiverListData as bR, ReceiverOwner as bS, ReceiverType as bT, ReceiverWalletListData as bU, ReceiverWalletNetwork as bV, RegistryAssetData as bW, ResolvableIntentInput as bX, ResolvedAsset as bY, SwapListData as bZ, SwapSubmitOutcomeData as b_, TypedWebhookEvent as ba, CreateWebhookEndpointOptions as bb, WebhookEvent as bc, ActivityBucket as bd, ActivityEventData as be, ActivityLevel as bf, ActivitySource as bg, AddressRef as bi, AliasChallengePurpose as bj, AnalyticsBalanceEntry as bk, AnalyticsRecentRow as bl, AnalyticsSeriesPoint as bm, AnalyticsVolumeEntry as bn, ApiLogRow as bo, AssetDefinition as bp, AssetRef as bq, BankAccountListData as bs, BankRail as bt, BankingPartner as bu, ChainSwapListData as bv, ChainSwapSubmitOutcomeData as bw, CrossChainSwapListData as bz, AliasChallengeData as c, WalletId as c0, WebhookDeliveryListData as c2, WebhookLogRow as c3, ClaimAliasOptions as d, AliasListData as e, AddAliasAddressOptions as f, AliasAddressData as g, AliasDeletedData as h, AliasRecoveryStartedData as i, CompleteAliasRecoveryOptions as j, AnalyticsSummaryData as k, AnalyticsBalancesData as l, ApiLogsData as m, AssetRegistryData as n, CustomerData as o, CreateCustomerOptions as p, LiquidityOperationData as q, WithdrawLiquidityOptions as t, LiquidityPositionsData as u, LiquidityPoolData as v, ListLiquidityOperationsOptions as w, CreatePayinQuoteOptions as x, CreatePayinOptions as y, PayinData as z };
@@ -215,8 +215,19 @@ interface CreateTxPaymentIntentOptions {
215
215
  callback?: string;
216
216
  }
217
217
  /** Body for `POST /v1/payment-intents/pay`. */
218
+ /** The chain a payment intent settles on. */
219
+ type PaymentChain = 'stellar' | 'solana' | 'monad';
218
220
  interface CreatePayPaymentIntentOptions {
219
- /** Payee's Stellar account. A registered address-book name also works. */
221
+ /**
222
+ * Chain the payment settles on: `stellar` (the default, a SEP-7 `web+stellar:pay` link),
223
+ * `solana` (a Solana Pay link) or `monad` (an EIP-681 link). The network (mainnet or test)
224
+ * is the API key's, as on every route.
225
+ */
226
+ chain?: PaymentChain;
227
+ /**
228
+ * Payee's account on that chain: a Stellar `G...` account, a Solana address or a Monad
229
+ * `0x...` address. A registered address-book name also works.
230
+ */
220
231
  destination: string;
221
232
  /** Amount the destination should receive. Omit to let the user enter it (e.g. donations). */
222
233
  amount?: string;
@@ -225,15 +236,15 @@ interface CreatePayPaymentIntentOptions {
225
236
  * and `assetIssuer` for you. Takes a back seat to explicit code/issuer below.
226
237
  */
227
238
  asset?: AssetRef;
228
- /** Asset code the destination receives. Omit for native lumens (XLM). */
239
+ /** Asset code the destination receives. Omit for the chain's coin (XLM, SOL or MON). */
229
240
  assetCode?: string;
230
- /** Issuer account for a non-native asset. */
241
+ /** Who issues a token: the Stellar issuer account, the Solana SPL mint or the Monad ERC-20 contract. */
231
242
  assetIssuer?: string;
232
243
  /** MEMO_ID (numeric uint64) for idempotency + on-chain identification. Auto-generated when omitted. */
233
244
  memo?: string;
234
- /** SEP-7 `msg`: shown to the user in their wallet (≤ 300 chars). */
245
+ /** Shown to the user in their wallet (≤ 300 chars): SEP-7 `msg` on Stellar, the Solana Pay `message`. */
235
246
  msg?: string;
236
- /** SEP-7 `callback`, e.g. `url:https://...`. */
247
+ /** SEP-7 `callback`, e.g. `url:https://...`. Stellar only. */
237
248
  callback?: string;
238
249
  }
239
250
  /** Body for `PATCH /v1/payment-intents/:id`. */
@@ -247,6 +258,10 @@ interface UpdatePaymentIntentOptions {
247
258
  /** Query for `GET /v1/payment-intents`. */
248
259
  interface ListPaymentIntentsOptions {
249
260
  status?: PaymentIntentStatus;
261
+ /** Only intents on this chain. Omit for every chain. */
262
+ chain?: PaymentChain;
263
+ /** Only intents created at or after this instant (a Date or an ISO 8601 string). */
264
+ createdFrom?: Date | string;
250
265
  /** Page size (max 100, default 20). */
251
266
  take?: number;
252
267
  /** Offset (default 0). */
@@ -257,6 +272,8 @@ interface PaymentIntentData {
257
272
  id: string;
258
273
  kind: PaymentIntentKind;
259
274
  status: PaymentIntentStatus;
275
+ /** Chain the payment settles on (TX intents are always Stellar). Older servers omit it: Stellar. */
276
+ chain?: PaymentChain;
260
277
  network: string;
261
278
  source: string | null;
262
279
  destination: string;
@@ -2039,4 +2056,5 @@ interface ResolvableIntentInput {
2039
2056
  */
2040
2057
  declare function resolveIntentBody<T extends ResolvableIntentInput>(options: T, book?: AddressBook): Omit<T, 'asset'>;
2041
2058
 
2042
- export { type ActivityReportData as $, type AliasResolutionData as A, type BrowseLiquidityPoolsOptions as B, type CreateAliasChallengeOptions as C, type DepositLiquidityOptions as D, type ListPayinsOptions as E, type CreateTrustlineOptions as F, type CreateVirtualAccountOptions as G, type HealthCheckData as H, type CreatePayoutQuoteOptions as I, type PayoutQuoteData as J, type AuthorizePayoutOptions as K, type ListRegistryAssetsOptions as L, type AuthorizePayoutData as M, type CreatePayoutOptions as N, type OwnedAliasData as O, type PayinQuoteData as P, type PayoutData as Q, type ListPayoutsOptions as R, type SubmitLiquidityOptions as S, type TrustlineData as T, type UpdateCustomerOptions as U, type VirtualAccountData as V, type WebhookLogsData as W, type AttachPayoutDocumentOptions as X, type PayoutDocumentData as Y, type ActivityEventInput as Z, type ReportActivityOptions as _, type AliasAvailabilityData as a, type WebhookDeliveryData as a$, type ListActivityOptions as a0, type ActivityListData as a1, type ActivitySummaryData as a2, type ReceiverData as a3, type UpdateReceiverOptions as a4, type ApproveReceiverOptions as a5, type RequestTosOptions as a6, type TermsOfServiceData as a7, type EnableReceiverOptions as a8, type CreateReceiverWalletOptions as a9, type PublicKeyData as aA, type PaymentIntentData as aB, PaymentIntentKind as aC, PaymentIntentStatus as aD, type UpdatePaymentIntentOptions as aE, type DeletedData as aF, type ValidationOutcomeData as aG, type CreateTxPaymentIntentOptions as aH, type CreatePayPaymentIntentOptions as aI, type PaymentIntentTransitionData as aJ, type ListPaymentIntentsOptions as aK, type ValidatePaymentIntentOptions as aL, type ProductData as aM, ProductKind as aN, type UpdateProductOptions as aO, type CreateProductOptions as aP, type ChainSwapData as aQ, type OtherSwapChain as aR, SwapStatus as aS, type ChainSwapTransaction as aT, type EvmCallData as aU, type SwapData as aV, type QuoteSwapOptions as aW, type SwapQuoteData as aX, type CreateSwapOptions as aY, type ListSwapsOptions as aZ, type SubmitSwapOptions as a_, type ReceiverWalletData as aa, type ListKycOptions as ab, type CreateBankAccountOptions as ac, type BankAccountData as ad, type CreateReceiverOptions as ae, type SetReceiverAccessOptions as af, type WalletSignMessageData as ag, type KycUploadData as ah, type InitiateTosOptions as ai, type KycRailsData as aj, type BankDetailsData as ak, type CrossChainSwapData as al, CrossChainSwapStatus as am, type SwapChain as an, type CrossChainTransactionData as ao, type CrossChainAssetData as ap, type QuoteCrossChainSwapOptions as aq, type CrossChainQuoteData as ar, type CreateCrossChainSwapOptions as as, type ListCrossChainSwapsOptions as at, type DefindexDepositOptions as au, type DefindexWithdrawOptions as av, type PluginData as aw, type InstallPluginOptions as ax, type PluginUninstalledData as ay, type PluginActionResultData as az, type AliasByAddressData as b, type WalletId as b$, WebhookEventType as b0, WebhookDeliveryStatus as b1, type WebhookEndpointData as b2, type WebhookEndpointWithSecretData as b3, type UpdateWebhookEndpointOptions as b4, type WebhookPingData as b5, type ListWebhookDeliveriesOptions as b6, type AnyWebhookEvent as b7, type WebhookEventDataMap as b8, type TypedWebhookEvent as b9, type CustomerListData as bA, type KycType as bB, type LiquidityOperationListData as bC, type LiquidityPoolListData as bD, type LiquidityPositionData as bE, type LiquidityReserveData as bF, type LiquiditySubmitOutcomeData as bG, type PayinListData as bH, type PayinMethod as bI, type PayinPayerRules as bJ, type PaymentIntentListData as bK, type PayoutChain as bL, type PayoutListData as bM, type PayoutNetwork as bN, type PluginListData as bO, type RampToken as bP, type ReceiverListData as bQ, type ReceiverOwner as bR, type ReceiverType as bS, type ReceiverWalletListData as bT, type ReceiverWalletNetwork as bU, type RegistryAssetData as bV, type ResolvableIntentInput as bW, type ResolvedAsset as bX, type SwapListData as bY, type SwapSubmitOutcomeData as bZ, TestnetAssets as b_, type CreateWebhookEndpointOptions as ba, type WebhookEvent as bb, type ActivityBucket as bc, type ActivityEventData as bd, type ActivityLevel as be, type ActivitySource as bf, AddressBook as bg, type AddressRef as bh, type AliasChallengePurpose as bi, type AnalyticsBalanceEntry as bj, type AnalyticsRecentRow as bk, type AnalyticsSeriesPoint as bl, type AnalyticsVolumeEntry as bm, type ApiLogRow as bn, type AssetDefinition as bo, type AssetRef as bp, Assets as bq, type BankAccountListData as br, type BankRail as bs, type BankingPartner as bt, type ChainSwapListData as bu, type ChainSwapSubmitOutcomeData as bv, CosmosPayAPIError as bw, CosmosPayRequestError as bx, type CrossChainSwapListData as by, type CurrencyType as bz, type AliasChallengeData as c, Wallets as c0, type WebhookDeliveryListData as c1, type WebhookLogRow as c2, addresses as c3, assertAddress as c4, defineAsset as c5, isAddress as c6, isContractAddress as c7, isMuxedAddress as c8, isNativeAsset as c9, isStellarAddress as ca, resolveAddress as cb, resolveAsset as cc, resolveIntentBody as cd, type ClaimAliasOptions as d, type AliasListData as e, type AddAliasAddressOptions as f, type AliasAddressData as g, type AliasDeletedData as h, type AliasRecoveryStartedData as i, type CompleteAliasRecoveryOptions as j, type AnalyticsSummaryData as k, type AnalyticsBalancesData as l, type ApiLogsData as m, type AssetRegistryData as n, type CustomerData as o, type CreateCustomerOptions as p, type LiquidityOperationData as q, LiquidityOperationKind as r, LiquidityOperationStatus as s, type WithdrawLiquidityOptions as t, type LiquidityPositionsData as u, type LiquidityPoolData as v, type ListLiquidityOperationsOptions as w, type CreatePayinQuoteOptions as x, type CreatePayinOptions as y, type PayinData as z };
2059
+ export { PaymentIntentKind as aC, PaymentIntentStatus as aD, ProductKind as aO, SwapStatus as aT, CrossChainSwapStatus as am, TestnetAssets as b$, WebhookEventType as b1, WebhookDeliveryStatus as b2, AddressBook as bh, Assets as br, CosmosPayAPIError as bx, CosmosPayRequestError as by, Wallets as c1, addresses as c4, assertAddress as c5, defineAsset as c6, isAddress as c7, isContractAddress as c8, isMuxedAddress as c9, isNativeAsset as ca, isStellarAddress as cb, resolveAddress as cc, resolveAsset as cd, resolveIntentBody as ce, LiquidityOperationKind as r, LiquidityOperationStatus as s };
2060
+ export type { ActivityReportData as $, AliasResolutionData as A, BrowseLiquidityPoolsOptions as B, CreateAliasChallengeOptions as C, DepositLiquidityOptions as D, ListPayinsOptions as E, CreateTrustlineOptions as F, CreateVirtualAccountOptions as G, HealthCheckData as H, CreatePayoutQuoteOptions as I, PayoutQuoteData as J, AuthorizePayoutOptions as K, ListRegistryAssetsOptions as L, AuthorizePayoutData as M, CreatePayoutOptions as N, OwnedAliasData as O, PayinQuoteData as P, PayoutData as Q, ListPayoutsOptions as R, SubmitLiquidityOptions as S, TrustlineData as T, UpdateCustomerOptions as U, VirtualAccountData as V, WebhookLogsData as W, AttachPayoutDocumentOptions as X, PayoutDocumentData as Y, ActivityEventInput as Z, ReportActivityOptions as _, AliasAvailabilityData as a, SubmitSwapOptions as a$, ListActivityOptions as a0, ActivityListData as a1, ActivitySummaryData as a2, ReceiverData as a3, UpdateReceiverOptions as a4, ApproveReceiverOptions as a5, RequestTosOptions as a6, TermsOfServiceData as a7, EnableReceiverOptions as a8, CreateReceiverWalletOptions as a9, PublicKeyData as aA, PaymentIntentData as aB, PaymentChain as aE, UpdatePaymentIntentOptions as aF, DeletedData as aG, ValidationOutcomeData as aH, CreateTxPaymentIntentOptions as aI, CreatePayPaymentIntentOptions as aJ, PaymentIntentTransitionData as aK, ListPaymentIntentsOptions as aL, ValidatePaymentIntentOptions as aM, ProductData as aN, UpdateProductOptions as aP, CreateProductOptions as aQ, ChainSwapData as aR, OtherSwapChain as aS, ChainSwapTransaction as aU, EvmCallData as aV, SwapData as aW, QuoteSwapOptions as aX, SwapQuoteData as aY, CreateSwapOptions as aZ, ListSwapsOptions as a_, ReceiverWalletData as aa, ListKycOptions as ab, CreateBankAccountOptions as ac, BankAccountData as ad, CreateReceiverOptions as ae, SetReceiverAccessOptions as af, WalletSignMessageData as ag, KycUploadData as ah, InitiateTosOptions as ai, KycRailsData as aj, BankDetailsData as ak, CrossChainSwapData as al, SwapChain as an, CrossChainTransactionData as ao, CrossChainAssetData as ap, QuoteCrossChainSwapOptions as aq, CrossChainQuoteData as ar, CreateCrossChainSwapOptions as as, ListCrossChainSwapsOptions as at, DefindexDepositOptions as au, DefindexWithdrawOptions as av, PluginData as aw, InstallPluginOptions as ax, PluginUninstalledData as ay, PluginActionResultData as az, AliasByAddressData as b, WebhookDeliveryData as b0, WebhookEndpointData as b3, WebhookEndpointWithSecretData as b4, UpdateWebhookEndpointOptions as b5, WebhookPingData as b6, ListWebhookDeliveriesOptions as b7, AnyWebhookEvent as b8, WebhookEventDataMap as b9, CurrencyType as bA, CustomerListData as bB, KycType as bC, LiquidityOperationListData as bD, LiquidityPoolListData as bE, LiquidityPositionData as bF, LiquidityReserveData as bG, LiquiditySubmitOutcomeData as bH, PayinListData as bI, PayinMethod as bJ, PayinPayerRules as bK, PaymentIntentListData as bL, PayoutChain as bM, PayoutListData as bN, PayoutNetwork as bO, PluginListData as bP, RampToken as bQ, ReceiverListData as bR, ReceiverOwner as bS, ReceiverType as bT, ReceiverWalletListData as bU, ReceiverWalletNetwork as bV, RegistryAssetData as bW, ResolvableIntentInput as bX, ResolvedAsset as bY, SwapListData as bZ, SwapSubmitOutcomeData as b_, TypedWebhookEvent as ba, CreateWebhookEndpointOptions as bb, WebhookEvent as bc, ActivityBucket as bd, ActivityEventData as be, ActivityLevel as bf, ActivitySource as bg, AddressRef as bi, AliasChallengePurpose as bj, AnalyticsBalanceEntry as bk, AnalyticsRecentRow as bl, AnalyticsSeriesPoint as bm, AnalyticsVolumeEntry as bn, ApiLogRow as bo, AssetDefinition as bp, AssetRef as bq, BankAccountListData as bs, BankRail as bt, BankingPartner as bu, ChainSwapListData as bv, ChainSwapSubmitOutcomeData as bw, CrossChainSwapListData as bz, AliasChallengeData as c, WalletId as c0, WebhookDeliveryListData as c2, WebhookLogRow as c3, ClaimAliasOptions as d, AliasListData as e, AddAliasAddressOptions as f, AliasAddressData as g, AliasDeletedData as h, AliasRecoveryStartedData as i, CompleteAliasRecoveryOptions as j, AnalyticsSummaryData as k, AnalyticsBalancesData as l, ApiLogsData as m, AssetRegistryData as n, CustomerData as o, CreateCustomerOptions as p, LiquidityOperationData as q, WithdrawLiquidityOptions as t, LiquidityPositionsData as u, LiquidityPoolData as v, ListLiquidityOperationsOptions as w, CreatePayinQuoteOptions as x, CreatePayinOptions as y, PayinData as z };
@@ -1,5 +1,5 @@
1
- import { C as CosmosProviderOptions } from '../cosmosProvider-CFASjnd5.cjs';
2
- export { a as CosmosWalletProvider, i as injectedProvider, l as loadHostedProvider, r as resetProviderCache, b as resolveProvider } from '../cosmosProvider-CFASjnd5.cjs';
1
+ import { C as CosmosProviderOptions } from '../cosmosProvider-DTz0Y8xZ.cjs';
2
+ export { a as CosmosWalletProvider, i as injectedProvider, l as loadHostedProvider, r as resetProviderCache, b as resolveProvider } from '../cosmosProvider-DTz0Y8xZ.cjs';
3
3
 
4
4
  /**
5
5
  * The Stellar Wallets Kit module contract, transcribed.
@@ -204,4 +204,5 @@ declare class CosmosWalletModule<TModuleType extends string = string> implements
204
204
  }>;
205
205
  }
206
206
 
207
- export { COSMOS_WALLET_ID, CosmosProviderOptions, CosmosWalletModule, type CosmosWalletModuleOptions, type IKitError, type IOnChangeEvent, type SwkModule, SwkModuleType, type SwkModuleTypeValue, type SwkSignOptions };
207
+ export { COSMOS_WALLET_ID, CosmosProviderOptions, CosmosWalletModule, SwkModuleType };
208
+ export type { CosmosWalletModuleOptions, IKitError, IOnChangeEvent, SwkModule, SwkModuleTypeValue, SwkSignOptions };
@@ -1,5 +1,5 @@
1
- import { C as CosmosProviderOptions } from '../cosmosProvider-CFASjnd5.js';
2
- export { a as CosmosWalletProvider, i as injectedProvider, l as loadHostedProvider, r as resetProviderCache, b as resolveProvider } from '../cosmosProvider-CFASjnd5.js';
1
+ import { C as CosmosProviderOptions } from '../cosmosProvider-DTz0Y8xZ.js';
2
+ export { a as CosmosWalletProvider, i as injectedProvider, l as loadHostedProvider, r as resetProviderCache, b as resolveProvider } from '../cosmosProvider-DTz0Y8xZ.js';
3
3
 
4
4
  /**
5
5
  * The Stellar Wallets Kit module contract, transcribed.
@@ -204,4 +204,5 @@ declare class CosmosWalletModule<TModuleType extends string = string> implements
204
204
  }>;
205
205
  }
206
206
 
207
- export { COSMOS_WALLET_ID, CosmosProviderOptions, CosmosWalletModule, type CosmosWalletModuleOptions, type IKitError, type IOnChangeEvent, type SwkModule, SwkModuleType, type SwkModuleTypeValue, type SwkSignOptions };
207
+ export { COSMOS_WALLET_ID, CosmosProviderOptions, CosmosWalletModule, SwkModuleType };
208
+ export type { CosmosWalletModuleOptions, IKitError, IOnChangeEvent, SwkModule, SwkModuleTypeValue, SwkSignOptions };
@@ -949,7 +949,7 @@ var CosmosPayRequestError = class _CosmosPayRequestError extends Error {
949
949
  };
950
950
 
951
951
  // src/util/Constants.ts
952
- var version = "2.1.0";
952
+ var version = "2.2.1";
953
953
  var DEFAULT_BASE_URL = "https://api.cosmospay.lat/cosmos-api";
954
954
 
955
955
  // src/web/rest.ts