@cosmosapp/pay_sdk 2.2.0 → 2.3.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.
@@ -215,8 +215,10 @@ One client exposes every resource through its own manager.
215
215
  | `client.paymentIntents` | Stellar SEP-7 intents | `createTx` · `createPay` · `fetch` · `list` · `update` · `delete` · `validate` |
216
216
  | `client.webhooks` | Endpoints + deliveries + event listener | `create` · `list` · `fetch` · `update` · `delete` · `rotateSecret` · `ping` · `fetchDeliveries` · `redeliver` · `on(...)` · `process` · `createHandler` · `middleware` |
217
217
  | `client.products` | Products / prices | `create` · `list` · `fetch` · `update` · `delete` |
218
- | `client.customers` | Customers | `create` · `list` · `fetch` · `update` · `delete` |
219
- | `client.analytics` | Read-only metrics | `summary` · `balances` · `apiLogs` · `webhookLogs` |
218
+ | `client.customers` | Customers and their wallets | `create` · `list` · `fetch` · `update` · `delete` · `addWallet` · `removeWallet` |
219
+ | `client.privatePayments` | Private payments (amounts hidden on-chain; Stellar Testnet for now) | `create` · `list` · `fetch` · `config` |
220
+ | `client.usdt0` | USDT0 from Stellar to EVM networks (LayerZero, mainnet only) | `routes` · `quote` · `create` · `list` · `fetch` · `submit` |
221
+ | `client.analytics` | Read-only metrics | `summary` · `series` · `balances` · `apiLogs` · `webhookLogs` |
220
222
  | `client.health` | Liveness / readiness | `liveness` · `readiness` |
221
223
 
222
224
  ## Constructor options
@@ -251,7 +253,7 @@ client.setGatewayCredentials(secret, consumerUsername); // local-dev direct acce
251
253
 
252
254
  ## Returned objects are "structures"
253
255
 
254
- Manager methods return rich instances (`PaymentIntent`, `WebhookEndpoint`,
256
+ Manager methods return rich instances (`PaymentIntent`, `PrivatePayment`, `Usdt0Transfer`, `WebhookEndpoint`,
255
257
  `Product`, `Customer`) that can act on themselves and expose typed accessors —
256
258
  e.g. `intent.isPay`, `intent.assetLabel`, `await intent.validate(txHash)`,
257
259
  `await endpoint.disable()`. Call `.toJSON()` for the raw payload.
@@ -619,7 +621,10 @@ const customer = await client.customers.create({
619
621
  name: 'Acme Inc.',
620
622
  email: 'billing@acme.com', // optional
621
623
  alias: 'acme', // optional
622
- account: 'G...', // optional Stellar account to associate
624
+ wallets: [ // optional, up to 20, on Stellar, Solana or Monad
625
+ { chain: 'stellar', address: 'G...' },
626
+ { chain: 'solana', address: '7EcD...', label: 'Phantom' },
627
+ ],
623
628
  reference: 'crm_4821', // optional
624
629
  });
625
630
 
@@ -634,9 +639,33 @@ for (const c of customers) {
634
639
  }
635
640
  ```
636
641
 
637
- `Customer` accessors: `id`, `name`, `alias`, `note`, `email`,
638
- `account`, `reference`, `createdAt`, `updatedAt`, plus list-only stats
639
- `payments`, `succeeded`, `total` (null outside `list()`).
642
+ `Customer` accessors: `id`, `name`, `alias`, `note`, `email`, `wallets`,
643
+ `account` (deprecated: the first wallet's address), `reference`, `createdAt`,
644
+ `updatedAt`, plus list-only stats `payments`, `succeeded`, `total` (null outside
645
+ `list()`).
646
+
647
+ ### Customer wallets
648
+
649
+ A customer holds any number of wallets (up to 20) on Stellar, Solana or Monad;
650
+ payment intents paid from any of them count toward the customer. A wallet belongs
651
+ to one customer: one that another of your customers holds answers
652
+ `409 customer_wallet_taken`. `account` on create still works but is deprecated:
653
+ use `wallets`.
654
+
655
+ ```ts
656
+ // On the instance: the wallet is added to (or removed from) customer.wallets too.
657
+ const wallet = await customer.addWallet({ chain: 'monad', address: '0x5aAe...', label: 'Treasury' });
658
+ await customer.removeWallet(wallet); // or customer.removeWallet(wallet.id)
659
+
660
+ // On the manager, by id:
661
+ await client.customers.addWallet(customer.id, { chain: 'stellar', address: 'G...' });
662
+ await client.customers.removeWallet(customer.id, 'cw4f0c2a9d...'); // { id, deleted: true }
663
+ ```
664
+
665
+ `addWallet` returns the wallet (`{ id, chain, address, label, createdAt }`); a
666
+ wallet the customer already holds answers as it is. Removing one stops its
667
+ payments counting toward the customer; a later settled payment from it adds it as
668
+ a new automatic customer.
640
669
 
641
670
  ---
642
671
 
@@ -657,6 +686,37 @@ expired, successRate }, volume: [...], webhooks: { endpoints, deliveries, ... }
657
686
  `balances()` → `{ data: [{ asset, amount, pending, count }], total }`
658
687
  where `amount`/`pending` are decimal strings and `count` is the number of payments.
659
688
 
689
+ ### Activity series: `series({ period })`
690
+
691
+ ```ts
692
+ const series = await client.analytics.series({ period: 'week' }); // 'day' | 'week' | 'month' | 'year'
693
+ ```
694
+
695
+ Payments, swaps, liquidity operations, webhook deliveries and private payments,
696
+ each grouped into UTC buckets of `period` (weeks start on Monday), with the totals
697
+ of the window and of the window of the same length before it, for growth.
698
+ `day` (the default when omitted) is 30 days, `week` 12 weeks, `month` 12 months,
699
+ `year` 5 years. Every `buckets` array is oldest first and pre-seeded, so a quiet
700
+ bucket is a zero.
701
+
702
+ ```ts
703
+ // {
704
+ // period,
705
+ // buckets: [{ start, count, succeeded, failed, volume, volumeUsd }], // payment intents
706
+ // totals: { count, succeeded, failed, volume, volumeUsd, unpriced, payers },
707
+ // previous: { count, succeeded, failed, volume, volumeUsd, unpriced },
708
+ // swaps: { buckets, totals: { ..., inProgress, byKind: { dex, chain, crossChain, usdt0 } }, previous },
709
+ // liquidity: { buckets, totals, previous },
710
+ // webhooks: { buckets: [{ start, deliveries, failed }], totals, previous },
711
+ // zkPayments: { buckets, totals: { ..., fees, feesUsd }, previous }, // private payments, in XLM
712
+ // }
713
+ ```
714
+
715
+ The `volumeUsd` fields value each asset at NEAR Intents' current reference price:
716
+ an indicative figure at today's price, null when those prices could not be read.
717
+ Private payments run on Stellar Testnet only for now, so a production key counts
718
+ none; their field is named `zkPayments` after the API's `/v1/zk-payments` route.
719
+
660
720
  ## Health (public probes) — `client.health`
661
721
 
662
722
  ```ts
@@ -857,6 +917,9 @@ WebhookEventType = { PaymentIntentCreated:'PAYMENT_INTENT_CREATED',
857
917
  PaymentIntentDeleted:'PAYMENT_INTENT_DELETED' }
858
918
  WebhookDeliveryStatus = { Pending:'PENDING', Succeeded:'SUCCEEDED', Failed:'FAILED' }
859
919
  ProductKind = { Recurring:'recurring', OneTime:'one_time', Link:'link' }
920
+ PrivatePaymentStatus = { Pending:'PENDING', Succeeded:'SUCCEEDED', Expired:'EXPIRED' }
921
+ Usdt0TransferStatus = { Pending:'PENDING', Submitted:'SUBMITTED', Delivered:'DELIVERED',
922
+ Failed:'FAILED', Expired:'EXPIRED' }
860
923
  ```
861
924
 
862
925
  ## Option types (inputs)
@@ -881,8 +944,23 @@ interface ListWebhookDeliveriesOptions { status?: WebhookDeliveryStatus; take?:
881
944
  interface CreateProductOptions { name: string; description?: string; amount?: string; assetCode?: string; kind?: ProductKind; active?: boolean; reference?: string; }
882
945
  type UpdateProductOptions = Partial<CreateProductOptions>;
883
946
 
884
- interface CreateCustomerOptions { name: string; alias?: string; note?: string; email?: string; account?: string; reference?: string; }
885
- type UpdateCustomerOptions = Partial<CreateCustomerOptions>;
947
+ interface AddCustomerWalletOptions { chain: 'stellar' | 'solana' | 'monad'; address: string; label?: string; }
948
+ interface CreateCustomerOptions { name: string; alias?: string; note?: string; email?: string;
949
+ wallets?: AddCustomerWalletOptions[]; account?: string /* deprecated */; reference?: string; }
950
+ type UpdateCustomerOptions = Partial<Omit<CreateCustomerOptions, 'wallets'>>;
951
+
952
+ interface AnalyticsSeriesOptions { period?: 'day' | 'week' | 'month' | 'year'; }
953
+
954
+ interface MerchantFeeOptions { bps?: number; fixed?: string; wallet: string; paidBy?: 'recipient' | 'payer'; }
955
+ interface CreatePrivatePaymentOptions { amount: string; recipient: string; description?: string;
956
+ expiresInMinutes?: number; idempotencyKey?: string; merchantFee?: MerchantFeeOptions; }
957
+ interface ListPrivatePaymentsOptions { status?: PrivatePaymentStatus; take?: number; skip?: number; }
958
+
959
+ interface QuoteUsdt0Options { to: Usdt0Destination; amount: string; source?: string; }
960
+ interface CreateUsdt0TransferOptions { source: string; to: Usdt0Destination; recipient: string; amount: string;
961
+ idempotencyKey?: string; merchantFee?: MerchantFeeOptions; }
962
+ interface ListUsdt0TransfersOptions { status?: Usdt0TransferStatus; take?: number; skip?: number; }
963
+ interface SubmitUsdt0TransferOptions { signedXdr: string; }
886
964
  ```
887
965
 
888
966
  ## Entity payloads (outputs)
@@ -895,8 +973,13 @@ type UpdateCustomerOptions = Partial<CreateCustomerOptions>;
895
973
  - `WebhookEvent<T = PaymentIntentData>` — `{ id, type, createdAt, data }`.
896
974
  - `ProductData` — `id, name, description, amount, asset, kind, active, reference,
897
975
  createdAt, updatedAt`.
898
- - `CustomerData` — `id, name, alias, note, email, account, reference,
976
+ - `CustomerData`: `id, name, alias, note, email, wallets, account, reference,
899
977
  createdAt, updatedAt` (+ list-only `payments, succeeded, total`).
978
+ - `CustomerWalletData`: `id, chain, address, label, createdAt`.
979
+ - `AnalyticsSeriesData`: `period, buckets, totals, previous, swaps, liquidity,
980
+ webhooks, zkPayments` (see Analytics & health).
981
+ - `PrivatePaymentData`, `PrivatePaymentsConfigData`: see Private payments.
982
+ - `Usdt0QuoteData`, `Usdt0TransferData`, `Usdt0RoutesData`: see USDT0.
900
983
  - `AnalyticsBalancesData` — `{ data: { asset, amount, pending, count }[], total }`.
901
984
  - `ValidationOutcomeData` — `{ valid, status, reason?, paymentIntent? }`.
902
985
 
@@ -1059,3 +1142,168 @@ await x.fetch(); // x.status: AWAITING_DEPOSIT → … → SUCCEED
1059
1142
  Keep `x.quoteSignature`: it is NEAR Intents' signature over the quote, what
1060
1143
  settles a dispute. Webhooks: `SWAP_*` for both same-chain managers,
1061
1144
  `CROSS_CHAIN_SWAP_*` here — `client.webhooks.on('crossChainSwapSucceeded', …)`.
1145
+
1146
+ ---
1147
+
1148
+ # Private payments
1149
+
1150
+ `client.privatePayments` creates and reads **private payments**: payments whose
1151
+ amount is hidden on-chain. A private payment is priced in XLM and paid with
1152
+ confidential transfers on Cosmos Pay's confidential token (which wraps native XLM).
1153
+
1154
+ - **Network:** they run on **Stellar Testnet only for now**. On mainnet,
1155
+ `config()` answers `enabled: false`, and the series in
1156
+ `client.analytics.series()` counts none for a production key.
1157
+ - **Cost:** a **0.18% commission per payment**, taken from `amount`:
1158
+ `amount` = `netAmount` (what the merchant receives) + `feeAmount` (the
1159
+ commission, rounded up, at least one stroop), paid to Cosmos Pay's fee account.
1160
+ - **Recipient:** the merchant's Stellar account must already hold a confidential
1161
+ account on the token, registered under auditor id 0; otherwise `create` answers
1162
+ `400 recipient_not_registered`.
1163
+
1164
+ The server SDK creates and reads them with your API key. The **payer** completes
1165
+ one in the private checkout, which runs in their browser with no API key and
1166
+ proves the confidential transfers itself (net to the merchant, the commission to
1167
+ the fee account, and a third transfer when there is a merchant fee).
1168
+
1169
+ ```ts
1170
+ import { PrivatePaymentStatus } from '@cosmosapp/pay_sdk';
1171
+
1172
+ const payment = await client.privatePayments.create({
1173
+ amount: '25.5', // XLM the payer pays in total (up to 7 decimals)
1174
+ recipient: 'G...', // the merchant, registered on the confidential token
1175
+ description: 'Order #24', // optional, shown by the checkout (not secret, not on-chain)
1176
+ expiresInMinutes: 60, // optional, 1 to 10080 (server default 60)
1177
+ idempotencyKey: 'order-24', // optional, sent as the Idempotency-Key header too
1178
+ // merchantFee: { bps: 150, wallet: 'G...', paidBy: 'recipient' }, // optional, in XLM
1179
+ });
1180
+
1181
+ payment.amount; // '25.5'
1182
+ payment.netAmount; // what the merchant receives
1183
+ payment.feeAmount; // the 0.18% commission
1184
+ payment.expiresAt; // Date: every transfer must close before it
1185
+
1186
+ // ...the payer pays it in the private checkout...
1187
+ await payment.fetch(); // refreshes in place
1188
+ payment.status; // PENDING, then SUCCEEDED (or EXPIRED)
1189
+ payment.isSucceeded; // payer, paymentTxHash, feeTxHash, settledAt are set
1190
+
1191
+ const page = await client.privatePayments.list({
1192
+ status: PrivatePaymentStatus.Succeeded, take: 20, skip: 0,
1193
+ }); // { items: PrivatePayment[], total, take, skip }, newest first
1194
+
1195
+ const one = await client.privatePayments.fetch('cmh4x2k9a0001l70g8v5q3z2w');
1196
+ ```
1197
+
1198
+ `status` reads as it is now: a `PENDING` payment past `expiresAt` reads (and
1199
+ filters) as `EXPIRED`, and can still settle with transfers that closed in time.
1200
+ Only payments on the key's network are listed (`dv_` key: testnet, `prod_`: mainnet).
1201
+
1202
+ ## The network's setup: `config()`
1203
+
1204
+ ```ts
1205
+ const config = await client.privatePayments.config();
1206
+ // {
1207
+ // enabled, network, rpcUrl, networkPassphrase,
1208
+ // token: { contractId, symbol, decimals, underlying, deployedAtLedger } | null,
1209
+ // verifier, auditorRegistry, auditorId, feeBps /* 18 = 0.18% */, feeAccount,
1210
+ // }
1211
+ ```
1212
+
1213
+ What a dashboard needs to set a merchant up on the confidential token (register,
1214
+ read the balance, withdraw). Everything in it is public on-chain data or a public
1215
+ URL. When `enabled` is false, every field but `network`, `networkPassphrase`,
1216
+ `auditorId` and `feeBps` is null.
1217
+
1218
+ ## `PrivatePayment` accessors
1219
+
1220
+ `id`, `status`, `network`, `tokenContract`, `amount`, `netAmount`, `feeAmount`,
1221
+ `feeBps`, `recipient`, `feeAccount`, `payer`, `paymentTxHash`, `feeTxHash`,
1222
+ `merchantFee`, `merchantFeeTxHash`, `description`, `idempotencyKey`, `expiresAt`,
1223
+ `settledAt`, `createdAt`, `updatedAt`, plus `isPending`, `isSucceeded`,
1224
+ `isExpired`. The API serves them under `/v1/zk-payments`.
1225
+
1226
+ ---
1227
+
1228
+ # USDT0 (Stellar to EVM networks)
1229
+
1230
+ `client.usdt0` sends **USDT0**, Tether's omnichain USDT, from Stellar to an EVM
1231
+ network through LayerZero's OFT. Ethereum (`eth`) receives native USDT; every
1232
+ other network receives USDT0. Every route takes an EVM recipient (0x + 40 hex).
1233
+
1234
+ - **Mainnet only.** A `dev` (testnet) key gets `available: false` and no routes
1235
+ from `routes()`, and `400 network_unsupported` from `quote()` and `create()`.
1236
+ - **Fees, in XLM, paid by the holder:** LayerZero's messaging fee (`nativeFee`;
1237
+ the transaction offers `nativeFeeLimit`, 20% more, and the unused part is
1238
+ refunded in the same transaction) and the Stellar network fee (`networkFee`).
1239
+ Any plan commission shows in `feeBps` / `feeAmount` (0 when the deployment has
1240
+ no fee wrapper).
1241
+ - **Dust:** the OFT carries 6 decimals and the asset has 7, so a 7th decimal of
1242
+ `amount` is `dust` that stays in the account.
1243
+
1244
+ Signing works like a swap: the API builds the one Soroban transaction, the
1245
+ account that holds the USDT0 signs it, and `submit` relays the signed XDR. The
1246
+ API never holds a key.
1247
+
1248
+ ```ts
1249
+ import { Usdt0TransferStatus } from '@cosmosapp/pay_sdk';
1250
+
1251
+ const { available, routes } = await client.usdt0.routes();
1252
+ // routes: [{ chain: 'eth', name: 'Ethereum', eid: 30101, receives: 'USDT' }, ...]
1253
+
1254
+ const quote = await client.usdt0.quote({ to: 'arb', amount: '12.5' }); // persists nothing
1255
+ // { amountSent, amountReceived, dust, nativeFee, nativeFeeLimit, minAmount, maxAmount, ... }
1256
+
1257
+ const transfer = await client.usdt0.create({
1258
+ source: 'G...', // holds the USDT0, signs, pays the XLM fees
1259
+ to: 'arb', // a route's `chain`
1260
+ recipient: '0x5aAe...', // EVM address credited
1261
+ amount: '12.5',
1262
+ idempotencyKey: 'payout-77', // optional, sent as the Idempotency-Key header too
1263
+ // merchantFee: { bps: 50, wallet: 'G...' }, // optional, in USDT0; needs the fee wrapper
1264
+ });
1265
+
1266
+ // Sign transfer.xdr with the holder's wallet (e.g. Freighter), or open the SEP-7
1267
+ // link transfer.uri. transfer.qr is usually null: a Soroban transaction is too
1268
+ // large for a QR.
1269
+ const outcome = await transfer.submit({ signedXdr });
1270
+ // { submitted, status, txHash, reason, transfer }; the instance is updated in place
1271
+
1272
+ await transfer.fetch(); // the API refreshes it from the ledger and LayerZero Scan
1273
+ transfer.status; // PENDING -> SUBMITTED -> DELIVERED (or FAILED / EXPIRED)
1274
+ transfer.isFinal; // DELIVERED, FAILED or EXPIRED
1275
+ ```
1276
+
1277
+ Delivery takes about 27 minutes on every route (LayerZero's verifiers wait for
1278
+ Stellar confirmations). Once `DELIVERED`, `destinationTxHash` is the destination
1279
+ network's transaction; `guid`, `scanStatus` and `scanUrl` follow it on LayerZero
1280
+ Scan.
1281
+
1282
+ A submit the network refuses leaves the transfer `PENDING` (`submitted: false`,
1283
+ `reason`): fix the cause and submit again until `expiresAt`. A transaction that
1284
+ fails on the ledger moves it to `FAILED` (`failureReason`).
1285
+
1286
+ ```ts
1287
+ const page = await client.usdt0.list({ status: Usdt0TransferStatus.Delivered, take: 20 });
1288
+ // { items: Usdt0Transfer[], total, take, skip }, newest first, as last refreshed
1289
+ const one = await client.usdt0.fetch('cm2u0t0transfer0000000001'); // refreshes it
1290
+ const raw = await client.usdt0.submit(one.id, { signedXdr }); // manager form
1291
+ ```
1292
+
1293
+ ## With the shared public key
1294
+
1295
+ A client built with the shared public key (an open-source wallet) gets a
1296
+ `publicToken` from `create`. The `Usdt0Transfer` keeps it and sends it as
1297
+ `X-Record-Token` on its own `fetch()` and `submit()`; with the manager, pass
1298
+ `{ recordToken }` to `fetch(id, { recordToken })` and `submit(id, { signedXdr,
1299
+ recordToken })`. Without it the API answers 404. `list()` is refused to the
1300
+ shared public key. Any other key ignores the token.
1301
+
1302
+ ## `Usdt0Transfer` accessors
1303
+
1304
+ `id`, `status`, `network`, `source`, `to`, `eid`, `receives`, `recipient`,
1305
+ `amount`, `amountSent`, `amountReceived`, `dust`, `nativeFee`, `nativeFeeLimit`,
1306
+ `networkFee`, `feeBps`, `feeAmount`, `feeWallet`, `xdr`, `uri`, `qr`, `txHash`,
1307
+ `guid`, `destinationTxHash`, `scanStatus`, `scanUrl`, `failureReason`,
1308
+ `merchantFee`, `idempotencyKey`, `expiresAt`, `submittedAt`, `createdAt`,
1309
+ `updatedAt`, `publicToken`, plus `isPending`, `isDelivered`, `isFinal`.
package/llms/llms.txt CHANGED
@@ -25,8 +25,8 @@ The files below are atomic and self-contained — read the ones relevant to the
25
25
  - [Payment intents](./05-payment-intents.md): createPay/createTx, fetch/list, edit/cancel/delete, validate
26
26
  - [Web client](./06-web-client.md): browser wallets, pay() options, custom adapters, DI, direct API
27
27
  - [Webhooks](./07-webhooks.md): register endpoints, receive events (http/Express), verify signatures
28
- - [Products & customers](./08-products-customers.md): catalog CRUD + payment stats
29
- - [Analytics & health](./09-analytics-health.md): summary, balances, logs, liveness/readiness
28
+ - [Products & customers](./08-products-customers.md): catalog CRUD, customer wallets + payment stats
29
+ - [Analytics & health](./09-analytics-health.md): summary, activity series, balances, logs, liveness/readiness
30
30
  - [Assets, wallets & addresses](./10-assets-wallets-addresses.md): typed catalogs + validators
31
31
  - [Errors & observability](./11-errors-observability.md): error classes, retries, telemetry events
32
32
  - [Configuration](./12-configuration.md): full option reference + self-hosting
@@ -36,6 +36,8 @@ The files below are atomic and self-contained — read the ones relevant to the
36
36
 
37
37
  - [Recipes](./14-recipes.md): checkout, donations, idempotent webhooks, reconciliation, testnet/mainnet
38
38
  - [Swaps](./15-swaps.md): same-chain swaps (Stellar DEX, Jupiter on Solana, Kuru Flow on Monad) and cross-chain swaps (NEAR Intents)
39
+ - [Private payments](./16-private-payments.md): payments whose amount is hidden on-chain (Stellar Testnet for now, 0.18% commission)
40
+ - [USDT0](./17-usdt0.md): send USDT0 from Stellar to EVM networks through LayerZero (mainnet only)
39
41
 
40
42
  ## Optional
41
43
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cosmosapp/pay_sdk",
3
- "version": "2.2.0",
4
- "description": "Official SDK for Cosmos Pay, the stablecoin payments API for Stellar, Solana and Monad: payment intents and checkout, webhooks, swaps (same-chain and cross-chain), fiat ramps, products and customers. Payment intents are Stellar SEP-7; Solana and Monad intents use the REST API. Includes a browser client for Stellar wallets.",
3
+ "version": "2.3.0",
4
+ "description": "Official SDK for Cosmos Pay, the stablecoin payments API for Stellar, Solana and Monad: payment intents and checkout, webhooks, swaps (same-chain and cross-chain), fiat ramps, products and customers. Payment links on all three (SEP-7, Solana Pay, EIP-681). Includes a browser client for Stellar wallets.",
5
5
  "keywords": [
6
6
  "cosmos-pay",
7
7
  "cosmos",
@@ -92,8 +92,8 @@
92
92
  "dev": "tsup --watch",
93
93
  "typecheck": "tsc --noEmit",
94
94
  "pretest": "npm run build",
95
- "test": "node --test test/client.test.mjs test/rest.test.mjs test/payment-intents.test.mjs test/swaps.test.mjs test/webhooks.test.mjs test/structures.test.mjs test/web.test.mjs test/catalogs.test.mjs test/cosmos-wallet.test.mjs test/liquidity.test.mjs test/ramps.test.mjs test/kyc.test.mjs test/aliases-assets.test.mjs test/cross-chain-swaps.test.mjs test/extensions.test.mjs test/openapi.test.mjs",
96
- "test:watch": "node --test --watch test/client.test.mjs test/rest.test.mjs test/payment-intents.test.mjs test/swaps.test.mjs test/webhooks.test.mjs test/structures.test.mjs test/web.test.mjs test/catalogs.test.mjs test/cosmos-wallet.test.mjs test/liquidity.test.mjs test/ramps.test.mjs test/kyc.test.mjs test/aliases-assets.test.mjs test/cross-chain-swaps.test.mjs test/extensions.test.mjs test/openapi.test.mjs",
95
+ "test": "node --test test/client.test.mjs test/rest.test.mjs test/payment-intents.test.mjs test/swaps.test.mjs test/webhooks.test.mjs test/structures.test.mjs test/web.test.mjs test/catalogs.test.mjs test/cosmos-wallet.test.mjs test/liquidity.test.mjs test/ramps.test.mjs test/kyc.test.mjs test/aliases-assets.test.mjs test/cross-chain-swaps.test.mjs test/extensions.test.mjs test/customers-analytics.test.mjs test/private-payments.test.mjs test/usdt0.test.mjs test/openapi.test.mjs",
96
+ "test:watch": "node --test --watch test/client.test.mjs test/rest.test.mjs test/payment-intents.test.mjs test/swaps.test.mjs test/webhooks.test.mjs test/structures.test.mjs test/web.test.mjs test/catalogs.test.mjs test/cosmos-wallet.test.mjs test/liquidity.test.mjs test/ramps.test.mjs test/kyc.test.mjs test/aliases-assets.test.mjs test/cross-chain-swaps.test.mjs test/extensions.test.mjs test/customers-analytics.test.mjs test/private-payments.test.mjs test/usdt0.test.mjs test/openapi.test.mjs",
97
97
  "prepublishOnly": "npm run build",
98
98
  "changelog": "npx --yes git-cliff@2 -o CHANGELOG.md",
99
99
  "llms": "node scripts/build-llms.mjs",