@clocknext/sdk 0.19.1 → 0.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/signals.ts +2 -2
package/README.md
CHANGED
|
@@ -657,7 +657,7 @@ for await (const t of cnk.customers.iterateWallet(customerId)) {
|
|
|
657
657
|
|
|
658
658
|
### Look up usage rows by id
|
|
659
659
|
|
|
660
|
-
`signals.lookupUsageLogs(ids)` returns up to
|
|
660
|
+
`signals.lookupUsageLogs(ids)` returns up to 10 usage-log rows in one call —
|
|
661
661
|
for example the row behind each wallet debit's `usageLogId`. It is scoped to
|
|
662
662
|
your org, not one customer: every row has its own `customerId`. Rows come back
|
|
663
663
|
in the order of `ids`; ids with no row in your org are listed in `notFound`.
|
package/dist/index.cjs
CHANGED
|
@@ -333,7 +333,7 @@ function sleep(ms) {
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
// src/http.ts
|
|
336
|
-
var SDK_VERSION = "0.19.
|
|
336
|
+
var SDK_VERSION = "0.19.2" ;
|
|
337
337
|
var Transport = class {
|
|
338
338
|
constructor(cfg) {
|
|
339
339
|
this.cfg = cfg;
|
|
@@ -1492,7 +1492,7 @@ var Signals = class {
|
|
|
1492
1492
|
});
|
|
1493
1493
|
}
|
|
1494
1494
|
/**
|
|
1495
|
-
* Fetches up to
|
|
1495
|
+
* Fetches up to 10 usage-log rows by id, in one call.
|
|
1496
1496
|
* `GET /api/v1/signal/usage-log/lookup`.
|
|
1497
1497
|
*
|
|
1498
1498
|
* Built for linking a wallet debit to its usage: pass the `usageLogId`s
|
|
@@ -1501,7 +1501,7 @@ var Signals = class {
|
|
|
1501
1501
|
* carries its own `customerId`.
|
|
1502
1502
|
*
|
|
1503
1503
|
* Rows come back in the order of `ids`; duplicates are removed. Ids that
|
|
1504
|
-
* match nothing in your org are listed in `notFound`. More than
|
|
1504
|
+
* match nothing in your org are listed in `notFound`. More than 10
|
|
1505
1505
|
* distinct ids is a 400.
|
|
1506
1506
|
*/
|
|
1507
1507
|
lookupUsageLogs(ids) {
|