@rebilly/instruments 7.2.3 → 7.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [7.3.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v7.2.4...instruments/core-v7.3.0) (2023-10-19)
2
+
3
+
4
+ ### Features
5
+
6
+ * **rebilly-js-sdk:** Add patch method to quotes resource ([#1896](https://github.com/Rebilly/rebilly/issues/1896)) ([9670b45](https://github.com/Rebilly/rebilly/commit/9670b450e3700a272b45683c5e28c8e6c829e242))
7
+
8
+ ## [7.2.4](https://github.com/Rebilly/rebilly/compare/instruments/core-v7.2.3...instruments/core-v7.2.4) (2023-10-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **instruments:** fix locales check ([#1904](https://github.com/Rebilly/rebilly/issues/1904)) ([90de52d](https://github.com/Rebilly/rebilly/commit/90de52d4f566b722f835fefaa19337e3586c7f3d))
14
+
1
15
  ## [7.2.3](https://github.com/Rebilly/rebilly/compare/instruments/core-v7.2.2...instruments/core-v7.2.3) (2023-10-16)
2
16
 
3
17
 
package/dist/index.js CHANGED
@@ -1533,7 +1533,7 @@ const es$1 = {
1533
1533
  es
1534
1534
  };
1535
1535
  function isLocales(locale, languages) {
1536
- return !locale.includes("-") && Object.prototype.hasOwnProperty.call(languages, locale);
1536
+ return !locale.includes("-") || Object.prototype.hasOwnProperty.call(languages, locale);
1537
1537
  }
1538
1538
  class Translate {
1539
1539
  constructor() {
@@ -5335,7 +5335,7 @@ function cloneArrayDeep(val, instanceClone) {
5335
5335
  return res;
5336
5336
  }
5337
5337
  var cloneDeep_1 = cloneDeep;
5338
- const version = "54.2.1";
5338
+ const version = "54.2.2";
5339
5339
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
5340
5340
  let nanoid = (size2 = 21) => {
5341
5341
  let id2 = "";
@@ -7262,6 +7262,9 @@ function QuotesResource$1({ apiHandler }) {
7262
7262
  update({ id: id2, data: data2 }) {
7263
7263
  return apiHandler.put(`quotes/${id2}`, data2);
7264
7264
  },
7265
+ patch({ id: id2, data: data2 }) {
7266
+ return apiHandler.patch(`quotes/${id2}`, data2);
7267
+ },
7265
7268
  accept({ id: id2 }) {
7266
7269
  return apiHandler.post(`quotes/${id2}/accept`);
7267
7270
  },
@@ -22303,7 +22306,7 @@ ${displayNode}`
22303
22306
  function handleComputedProperty(options) {
22304
22307
  var _a;
22305
22308
  options._computed = {
22306
- version: "7.2.2",
22309
+ version: "7.2.4",
22307
22310
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
22308
22311
  };
22309
22312
  return options;
@@ -25434,7 +25437,7 @@ class RebillyInstrumentsInstance {
25434
25437
  await show({ componentName, payload });
25435
25438
  }
25436
25439
  get version() {
25437
- return `RebillyInstruments Ver.${"7.2.2"}`;
25440
+ return `RebillyInstruments Ver.${"7.2.4"}`;
25438
25441
  }
25439
25442
  on(eventName, callback) {
25440
25443
  on({ eventName, callback });