@pontive/server 1.25.0 → 1.26.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.
@@ -96,7 +96,7 @@ class A extends Error {
96
96
  super(e, t), this.name = "PontiveConnectionError";
97
97
  }
98
98
  }
99
- const j = "1.25.0", S = 6e4;
99
+ const j = "1.26.0", S = 6e4;
100
100
  class W {
101
101
  constructor(e) {
102
102
  this.config = e;
@@ -2350,12 +2350,14 @@ class Ge {
2350
2350
  * billing.catalog.v1.CurrencyService/ListCurrencies (32-billing-overview.md, API Surface, Currencies).
2351
2351
  * Every currency billing accepts, sorted by code: its upper-case ISO 4217 code, English name, minor
2352
2352
  * units (exponent), whether Stripe can charge it (chargeable) and Stripe's minimum charge, or null.
2353
- * chargeable=true lists only the chargeable ones. Unpaginated.
2353
+ * chargeable=true lists only the chargeable ones. Paged like every list.
2354
2354
  *
2355
2355
  * `GET /v1/billing/currencies` (ListCurrencies)
2356
+ *
2357
+ * Await it for the first page, or iterate it with `for await` for every item across pages.
2356
2358
  */
2357
2359
  list(e, t) {
2358
- return this.core.request({ host: "api", method: "GET", path: "/v1/billing/currencies", query: e }, t);
2360
+ return this.core.page("page", { host: "api", method: "GET", path: "/v1/billing/currencies", query: e }, t);
2359
2361
  }
2360
2362
  }
2361
2363
  class fe {
@@ -4527,9 +4529,11 @@ class ut {
4527
4529
  * audience, https://{auth domain}/me/, with pontive:billing:read (D31, D48).
4528
4530
  *
4529
4531
  * `GET /v1/me/billing/customers` (ListMyCustomers)
4532
+ *
4533
+ * Await it for the first page, or iterate it with `for await` for every item across pages.
4530
4534
  */
4531
- listCustomers(e) {
4532
- return this.core.request({ host: "auth", method: "GET", path: "/v1/me/billing/customers" }, e);
4535
+ listCustomers(e, t) {
4536
+ return this.core.page("page", { host: "auth", method: "GET", path: "/v1/me/billing/customers", query: e }, t);
4533
4537
  }
4534
4538
  /**
4535
4539
  * billing.invoice.v1.MeInvoiceService/ListMyInvoices (37-invoicing.md, API Surface). An instance
@@ -6686,4 +6690,4 @@ export {
6686
6690
  qt as s,
6687
6691
  Pt as w
6688
6692
  };
6689
- //# sourceMappingURL=client-DWO-uz9e.js.map
6693
+ //# sourceMappingURL=client-BI4W1IJJ.js.map