@rebilly/instruments 8.17.0 → 8.18.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 +14 -0
- package/dist/index.js +11 -17
- package/dist/index.min.js +11 -11
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [8.18.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.17.1...instruments/core-v8.18.0) (2024-01-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **kyc-document-gatherer:** face liveness and set it as optional ([#2752](https://github.com/Rebilly/rebilly/issues/2752)) ([bac2f34](https://github.com/Rebilly/rebilly/commit/bac2f34a5d27fdd820ee8bd67e6d430a4f315170))
|
|
7
|
+
|
|
8
|
+
## [8.17.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.17.0...instruments/core-v8.17.1) (2024-01-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **frontend:** Upgrade to axios 1.6.3 dependancy ([#2747](https://github.com/Rebilly/rebilly/issues/2747)) ([780b91a](https://github.com/Rebilly/rebilly/commit/780b91abc803de88dfe8d9a4b09db11c1d76db73))
|
|
14
|
+
|
|
1
15
|
## [8.17.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.16.0...instruments/core-v8.17.0) (2024-01-02)
|
|
2
16
|
|
|
3
17
|
|
package/dist/index.js
CHANGED
|
@@ -1634,7 +1634,6 @@ const state = (() => {
|
|
|
1634
1634
|
const defaultState = {
|
|
1635
1635
|
options: null,
|
|
1636
1636
|
data: {},
|
|
1637
|
-
mountingPoints: null,
|
|
1638
1637
|
mainStyleVars: null,
|
|
1639
1638
|
storefront: null,
|
|
1640
1639
|
form: null,
|
|
@@ -4774,7 +4773,7 @@ function isAbsoluteURL(url) {
|
|
|
4774
4773
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
|
4775
4774
|
}
|
|
4776
4775
|
function combineURLs(baseURL, relativeURL) {
|
|
4777
|
-
return relativeURL ? baseURL.replace(
|
|
4776
|
+
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
4778
4777
|
}
|
|
4779
4778
|
function buildFullPath(baseURL, requestedURL) {
|
|
4780
4779
|
if (baseURL && !isAbsoluteURL(requestedURL)) {
|
|
@@ -5198,7 +5197,7 @@ function mergeConfig(config1, config2) {
|
|
|
5198
5197
|
});
|
|
5199
5198
|
return config;
|
|
5200
5199
|
}
|
|
5201
|
-
const VERSION = "1.6.
|
|
5200
|
+
const VERSION = "1.6.3";
|
|
5202
5201
|
const validators$1 = {};
|
|
5203
5202
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type2, i2) => {
|
|
5204
5203
|
validators$1[type2] = function validator2(thing) {
|
|
@@ -5988,7 +5987,7 @@ function cloneArrayDeep(val, instanceClone) {
|
|
|
5988
5987
|
return res;
|
|
5989
5988
|
}
|
|
5990
5989
|
var cloneDeep_1 = cloneDeep;
|
|
5991
|
-
const version = "55.9.
|
|
5990
|
+
const version = "55.9.2";
|
|
5992
5991
|
let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
5993
5992
|
let nanoid = (size2 = 21) => {
|
|
5994
5993
|
let id2 = "";
|
|
@@ -23296,7 +23295,7 @@ function handleComputedProperty(options) {
|
|
|
23296
23295
|
var _a;
|
|
23297
23296
|
return Object.assign({}, options, {
|
|
23298
23297
|
_computed: {
|
|
23299
|
-
version: "8.
|
|
23298
|
+
version: "8.17.1",
|
|
23300
23299
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
23301
23300
|
}
|
|
23302
23301
|
});
|
|
@@ -26297,14 +26296,10 @@ async function show({ componentName, payload }) {
|
|
|
26297
26296
|
throw new Error(`'${componentName}' not a supported component`);
|
|
26298
26297
|
}
|
|
26299
26298
|
}
|
|
26300
|
-
function showResult({
|
|
26301
|
-
state: state2,
|
|
26302
|
-
payload
|
|
26303
|
-
}) {
|
|
26299
|
+
function showResult({ payload }) {
|
|
26304
26300
|
show({
|
|
26305
26301
|
componentName: "result",
|
|
26306
|
-
payload
|
|
26307
|
-
state: state2
|
|
26302
|
+
payload
|
|
26308
26303
|
});
|
|
26309
26304
|
}
|
|
26310
26305
|
const setupUserFlow = ({ state: state2 = {} }) => {
|
|
@@ -26329,8 +26324,7 @@ const setupUserFlow = ({ state: state2 = {} }) => {
|
|
|
26329
26324
|
}
|
|
26330
26325
|
show({
|
|
26331
26326
|
componentName: "confirmation",
|
|
26332
|
-
payload
|
|
26333
|
-
state: state2
|
|
26327
|
+
payload
|
|
26334
26328
|
});
|
|
26335
26329
|
}
|
|
26336
26330
|
});
|
|
@@ -26340,21 +26334,21 @@ const setupUserFlow = ({ state: state2 = {} }) => {
|
|
|
26340
26334
|
eventName: "payout-completed",
|
|
26341
26335
|
callback: (payload) => {
|
|
26342
26336
|
payload = JSON.parse(JSON.stringify(payload));
|
|
26343
|
-
showResult({
|
|
26337
|
+
showResult({ payload });
|
|
26344
26338
|
}
|
|
26345
26339
|
});
|
|
26346
26340
|
on({
|
|
26347
26341
|
eventName: "purchase-completed",
|
|
26348
26342
|
callback: (payload) => {
|
|
26349
26343
|
payload = JSON.parse(JSON.stringify(payload));
|
|
26350
|
-
showResult({
|
|
26344
|
+
showResult({ payload });
|
|
26351
26345
|
}
|
|
26352
26346
|
});
|
|
26353
26347
|
on({
|
|
26354
26348
|
eventName: "setup-completed",
|
|
26355
26349
|
callback: (payload) => {
|
|
26356
26350
|
payload = JSON.parse(JSON.stringify(payload));
|
|
26357
|
-
showResult({
|
|
26351
|
+
showResult({ payload });
|
|
26358
26352
|
}
|
|
26359
26353
|
});
|
|
26360
26354
|
}
|
|
@@ -26500,7 +26494,7 @@ class RebillyInstrumentsInstance {
|
|
|
26500
26494
|
await show({ componentName, payload });
|
|
26501
26495
|
}
|
|
26502
26496
|
get version() {
|
|
26503
|
-
return `RebillyInstruments Ver.${"8.
|
|
26497
|
+
return `RebillyInstruments Ver.${"8.17.1"}`;
|
|
26504
26498
|
}
|
|
26505
26499
|
on(eventName, callback) {
|
|
26506
26500
|
on({ eventName, callback });
|