@rebilly/instruments 9.36.1 → 9.37.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [9.37.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.37.0...instruments/core-v9.37.1) (2024-04-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **instruments:** Import types explicitly from rebilly-js-sdk ([#4863](https://github.com/Rebilly/rebilly/issues/4863)) ([774a640](https://github.com/Rebilly/rebilly/commit/774a6409672e8b948aa1de040c1fff493e8022af))
7
+
8
+ ## [9.37.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.36.1...instruments/core-v9.37.0) (2024-04-25)
9
+
10
+
11
+ ### Features
12
+
13
+ * **rebilly-js-sdk, billing-portal:** Types import ([#4841](https://github.com/Rebilly/rebilly/issues/4841)) ([cbabcd0](https://github.com/Rebilly/rebilly/commit/cbabcd044eafb49e2ae6eb70d13a1fc9004a7ca8))
14
+
1
15
  ## [9.36.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.36.0...instruments/core-v9.36.1) (2024-04-24)
2
16
 
3
17
 
package/dist/index.js CHANGED
@@ -5690,7 +5690,7 @@ function Jt(e2, t2) {
5690
5690
  return s;
5691
5691
  }
5692
5692
  var Gt = P$1;
5693
- const Yt = /* @__PURE__ */ wt(Gt), Qt = "56.19.0";
5693
+ const Yt = /* @__PURE__ */ wt(Gt), Qt = "56.20.0";
5694
5694
  let Xt = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Zt = (e2 = 21) => {
5695
5695
  let t2 = "", s = e2;
5696
5696
  for (; s--; )
@@ -11380,12 +11380,6 @@ class PlanPricingBracketModel {
11380
11380
  }
11381
11381
  }
11382
11382
  const _PlanPricingModel = class _PlanPricingModel {
11383
- // {
11384
- // formula = PlanPricingModel.Formulas.fixedFee,
11385
- // price = 0,
11386
- // maxQuantity = null,
11387
- // brackets = [],
11388
- // }
11389
11383
  constructor(data = {}) {
11390
11384
  this.formula = data.formula ?? _PlanPricingModel.Formulas.fixedFee;
11391
11385
  switch (data.formula) {
@@ -14968,7 +14962,10 @@ async function fetchInvoiceAndProducts({
14968
14962
  });
14969
14963
  }
14970
14964
  const _TransactionModel = class _TransactionModel extends BaseModel {
14971
- constructor({ invoiceIds = [], ...fields }) {
14965
+ constructor({
14966
+ invoiceIds = [],
14967
+ ...fields
14968
+ }) {
14972
14969
  super(fields);
14973
14970
  this.invoiceIds = invoiceIds || [];
14974
14971
  }
@@ -15029,7 +15026,10 @@ class AddressModel {
15029
15026
  }
15030
15027
  }
15031
15028
  class AccountModel extends BaseModel {
15032
- constructor({ primaryAddress = {}, ...fields } = {}) {
15029
+ constructor({
15030
+ primaryAddress = {},
15031
+ ...fields
15032
+ } = {}) {
15033
15033
  super(fields);
15034
15034
  this.address = new AddressModel({ ...primaryAddress });
15035
15035
  }
@@ -24222,7 +24222,7 @@ function handleComputedProperty(options) {
24222
24222
  var _a;
24223
24223
  return Object.assign({}, options, {
24224
24224
  _computed: {
24225
- version: "9.36.0",
24225
+ version: "9.37.0",
24226
24226
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
24227
24227
  }
24228
24228
  });
@@ -27564,7 +27564,7 @@ class RebillyInstrumentsInstance {
27564
27564
  await show({ componentName, payload });
27565
27565
  }
27566
27566
  get version() {
27567
- return `RebillyInstruments Ver.${"9.36.0"}`;
27567
+ return `RebillyInstruments Ver.${"9.37.0"}`;
27568
27568
  }
27569
27569
  on(eventName, callback) {
27570
27570
  on({ eventName, callback });