@rebilly/instruments 6.0.2 → 6.0.4

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
+ ## [6.0.4](https://github.com/Rebilly/rebilly/compare/instruments/core-v6.0.3...instruments/core-v6.0.4) (2023-09-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **instruments:** postPayment function didn't include the risk metadata on payload ([#1568](https://github.com/Rebilly/rebilly/issues/1568)) ([da59c14](https://github.com/Rebilly/rebilly/commit/da59c143f4baa201e2c196c74bc1c3b955f7040f))
7
+
8
+ ## [6.0.3](https://github.com/Rebilly/rebilly/compare/instruments/core-v6.0.2...instruments/core-v6.0.3) (2023-09-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **HPF | Framepay:** Update risk-data-collector version on HPF and Framepay ([#1551](https://github.com/Rebilly/rebilly/issues/1551)) ([53bb339](https://github.com/Rebilly/rebilly/commit/53bb339f249bc5fb92d87d3cd2ae15b0ace91b01))
14
+
1
15
  ## [6.0.2](https://github.com/Rebilly/rebilly/compare/instruments/core-v6.0.1...instruments/core-v6.0.2) (2023-09-22)
2
16
 
3
17
 
package/dist/index.js CHANGED
@@ -5323,7 +5323,7 @@ function cloneArrayDeep(val, instanceClone) {
5323
5323
  return res;
5324
5324
  }
5325
5325
  var cloneDeep_1 = cloneDeep;
5326
- const version = "53.0.0";
5326
+ const version = "53.0.2";
5327
5327
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
5328
5328
  let nanoid = (size2 = 21) => {
5329
5329
  let id2 = "";
@@ -22621,7 +22621,7 @@ ${displayNode}`
22621
22621
  function handleComputedProperty(options) {
22622
22622
  var _a;
22623
22623
  options._computed = {
22624
- version: "6.0.1",
22624
+ version: "6.0.3",
22625
22625
  paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
22626
22626
  };
22627
22627
  return options;
@@ -25320,7 +25320,7 @@ async function mountModal({
25320
25320
  return iframe;
25321
25321
  }
25322
25322
  async function makePayment({ payload }) {
25323
- var _a, _b, _c, _d, _e;
25323
+ var _a, _b, _c, _d, _e, _f;
25324
25324
  const {
25325
25325
  _raw: { id: id2 },
25326
25326
  isExistingInstrument
@@ -25354,6 +25354,9 @@ async function makePayment({ payload }) {
25354
25354
  if (((_e = state.data) == null ? void 0 : _e.couponIds) && Array.isArray(state.data.couponIds)) {
25355
25355
  data2.couponIds = state.data.couponIds;
25356
25356
  }
25357
+ if ((_f = state.data) == null ? void 0 : _f.riskMetadata) {
25358
+ data2.riskMetadata = state.data.riskMetadata;
25359
+ }
25357
25360
  let { fields } = await postPayment({
25358
25361
  state,
25359
25362
  data: data2
@@ -25746,7 +25749,7 @@ class RebillyInstrumentsInstance {
25746
25749
  await show({ componentName, payload });
25747
25750
  }
25748
25751
  get version() {
25749
- return `RebillyInstruments Ver.${"6.0.1"}`;
25752
+ return `RebillyInstruments Ver.${"6.0.3"}`;
25750
25753
  }
25751
25754
  on(eventName, callback) {
25752
25755
  on({ eventName, callback });