@rebilly/instruments 16.195.2 → 16.195.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 +3 -3
- package/dist/index.js +9 -4
- package/dist/index.min.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -6440,7 +6440,7 @@ function O$1({ options: e }) {
|
|
|
6440
6440
|
}
|
|
6441
6441
|
function o() {
|
|
6442
6442
|
const a = {
|
|
6443
|
-
"REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@
|
|
6443
|
+
"REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@e0c350f`
|
|
6444
6444
|
};
|
|
6445
6445
|
return e.apiKey && (a["REB-APIKEY"] = e.apiKey), a;
|
|
6446
6446
|
}
|
|
@@ -14469,7 +14469,7 @@ function mountExpressMethod({ state: state2, id }) {
|
|
|
14469
14469
|
};
|
|
14470
14470
|
}
|
|
14471
14471
|
function generateFramepayConfig({ methodIds } = {}) {
|
|
14472
|
-
var _a, _b;
|
|
14472
|
+
var _a, _b, _c;
|
|
14473
14473
|
const { options, data } = state;
|
|
14474
14474
|
const config = {
|
|
14475
14475
|
style: options.themeFramepay,
|
|
@@ -14509,6 +14509,11 @@ function generateFramepayConfig({ methodIds } = {}) {
|
|
|
14509
14509
|
if (data.riskMetadata) {
|
|
14510
14510
|
config.riskMetadata = data.riskMetadata;
|
|
14511
14511
|
}
|
|
14512
|
+
if (((_c = options.features) == null ? void 0 : _c.enableLeadSourceTracking) === false) {
|
|
14513
|
+
config.leadSource = {};
|
|
14514
|
+
} else {
|
|
14515
|
+
config.leadSource = getLeadSourceData();
|
|
14516
|
+
}
|
|
14512
14517
|
return config;
|
|
14513
14518
|
}
|
|
14514
14519
|
const getMethodData = (method) => {
|
|
@@ -15276,7 +15281,7 @@ function handleComputedProperty(options) {
|
|
|
15276
15281
|
var _a;
|
|
15277
15282
|
return Object.assign({}, options, {
|
|
15278
15283
|
_computed: {
|
|
15279
|
-
version: "16.195.
|
|
15284
|
+
version: "16.195.4",
|
|
15280
15285
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
15281
15286
|
}
|
|
15282
15287
|
});
|
|
@@ -18928,7 +18933,7 @@ class RebillyInstrumentsInstance {
|
|
|
18928
18933
|
await show({ componentName, payload });
|
|
18929
18934
|
}
|
|
18930
18935
|
get version() {
|
|
18931
|
-
return `RebillyInstruments Ver.${"16.195.
|
|
18936
|
+
return `RebillyInstruments Ver.${"16.195.4"}`;
|
|
18932
18937
|
}
|
|
18933
18938
|
on(eventName, callback) {
|
|
18934
18939
|
on({ eventName, callback });
|