@rebilly/instruments 6.0.3 → 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 +7 -0
- package/dist/index.js +7 -4
- package/dist/index.min.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
|
|
1
8
|
## [6.0.3](https://github.com/Rebilly/rebilly/compare/instruments/core-v6.0.2...instruments/core-v6.0.3) (2023-09-26)
|
|
2
9
|
|
|
3
10
|
|
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.
|
|
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.
|
|
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.
|
|
25752
|
+
return `RebillyInstruments Ver.${"6.0.3"}`;
|
|
25750
25753
|
}
|
|
25751
25754
|
on(eventName, callback) {
|
|
25752
25755
|
on({ eventName, callback });
|