@rebilly/instruments 8.30.0 → 8.31.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [8.31.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.30.0...instruments/core-v8.31.0) (2024-01-30)
2
+
3
+
4
+ ### Features
5
+
6
+ * **rebilly-js-sdk:** Add getUpcomingInvoice to storefront orders entity ([#3122](https://github.com/Rebilly/rebilly/issues/3122)) ([c90c588](https://github.com/Rebilly/rebilly/commit/c90c5881fbd04264f7ead6a558908347d13c23a5))
7
+
1
8
  ## [8.30.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.29.1...instruments/core-v8.30.0) (2024-01-30)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -9286,6 +9286,9 @@ function KycRequestsResource({ apiHandler }) {
9286
9286
  }
9287
9287
  function OrdersResource({ apiHandler }) {
9288
9288
  return {
9289
+ getUpcomingInvoice({ id: id2 }) {
9290
+ return apiHandler.get(`orders/${id2}/upcoming-invoice`);
9291
+ },
9289
9292
  getAll({
9290
9293
  filter: filter2 = null,
9291
9294
  sort = null,
@@ -23386,7 +23389,7 @@ function handleComputedProperty(options) {
23386
23389
  var _a;
23387
23390
  return Object.assign({}, options, {
23388
23391
  _computed: {
23389
- version: "8.29.1",
23392
+ version: "8.30.0",
23390
23393
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
23391
23394
  }
23392
23395
  });
@@ -26717,7 +26720,7 @@ class RebillyInstrumentsInstance {
26717
26720
  await show({ componentName, payload });
26718
26721
  }
26719
26722
  get version() {
26720
- return `RebillyInstruments Ver.${"8.29.1"}`;
26723
+ return `RebillyInstruments Ver.${"8.30.0"}`;
26721
26724
  }
26722
26725
  on(eventName, callback) {
26723
26726
  on({ eventName, callback });