@incodetech/welcome 1.85.0-rc.20251121165629 → 1.85.0-rc.20251121225824
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/dist/onBoarding.mjs +21 -27
- package/dist/onBoarding.umd.js +4 -4
- package/package.json +1 -1
package/dist/onBoarding.mjs
CHANGED
|
@@ -8374,7 +8374,7 @@ class MlWasmJSApi {
|
|
|
8374
8374
|
);
|
|
8375
8375
|
}
|
|
8376
8376
|
}
|
|
8377
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$
|
|
8377
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$5 = "1.85.0-rc.20251121225824";
|
|
8378
8378
|
function e$2(Be, Le) {
|
|
8379
8379
|
return function(Ye, tt) {
|
|
8380
8380
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -9138,7 +9138,7 @@ async function getFingerprint(Be = !1) {
|
|
|
9138
9138
|
}
|
|
9139
9139
|
class MetadataUtils {
|
|
9140
9140
|
async initializeMetadata(Le, Ye = !1) {
|
|
9141
|
-
MlWasmJSApi$1.setSdkPlatform("WEBAPP"), MlWasmJSApi$1.setSdkVersion(Le || version$
|
|
9141
|
+
MlWasmJSApi$1.setSdkPlatform("WEBAPP"), MlWasmJSApi$1.setSdkVersion(Le || version$5);
|
|
9142
9142
|
const { os: tt, device: nt } = getUAParserResults(), ft = await getFingerprint(Ye).catch((At) => null), ht = {
|
|
9143
9143
|
kind: mobile.isDesktop() ? "desktop" : "mobile",
|
|
9144
9144
|
model: `${nt.vendor || ""} ${nt.model || ""}`.trim(),
|
|
@@ -12900,7 +12900,7 @@ languageDetector.addDetector({
|
|
|
12900
12900
|
return supportedLngs.includes(Be) ? Be : Be.split("-")[0];
|
|
12901
12901
|
}
|
|
12902
12902
|
});
|
|
12903
|
-
const loadPath =
|
|
12903
|
+
const version$4 = 27, apiKey = "cg41dUINoxdp8BaHDQLJhA", loadPath = `https://cdn.i18nexus.com/versions/${version$4}/translations/{{lng}}/{{ns}}.json?api_key=${apiKey}`;
|
|
12904
12904
|
function createI18n({
|
|
12905
12905
|
ns: Be = ["default"],
|
|
12906
12906
|
...Le
|
|
@@ -283679,35 +283679,29 @@ const emptyFingerprint = {
|
|
|
283679
283679
|
visitorId: "",
|
|
283680
283680
|
ip: ""
|
|
283681
283681
|
};
|
|
283682
|
-
let pendingRequest = null;
|
|
283683
283682
|
async function sendFingerprint({
|
|
283684
283683
|
token: Be,
|
|
283685
283684
|
version: Le,
|
|
283686
283685
|
disableIpify: Ye = !1
|
|
283687
283686
|
}, tt = !0, nt = !0) {
|
|
283688
|
-
|
|
283689
|
-
|
|
283690
|
-
|
|
283691
|
-
|
|
283692
|
-
|
|
283693
|
-
|
|
283694
|
-
|
|
283695
|
-
|
|
283696
|
-
|
|
283697
|
-
|
|
283698
|
-
|
|
283699
|
-
|
|
283700
|
-
|
|
283701
|
-
|
|
283702
|
-
|
|
283703
|
-
|
|
283704
|
-
|
|
283705
|
-
|
|
283706
|
-
hasLiedBrowser: isBrowserSimulation(),
|
|
283707
|
-
hostingApp: options.hostingApp,
|
|
283708
|
-
sdkVersion: Le || version$4
|
|
283709
|
-
}).then((yt) => (emptyDeviceStatsQueue(Be), yt));
|
|
283710
|
-
})(), pendingRequest;
|
|
283687
|
+
const ft = "WEBAPP", { os: ht, device: gt, browser: At } = await getDeviceFingerprintInfo(), xt = nt ? await getFingerprint(Ye).catch((yt) => (addEvent({
|
|
283688
|
+
code: "fingerprintFetchFailed",
|
|
283689
|
+
payload: { message: yt.message },
|
|
283690
|
+
token: Be
|
|
283691
|
+
}), emptyFingerprint)) : emptyFingerprint;
|
|
283692
|
+
return await postFingerprint({
|
|
283693
|
+
hash: xt.visitorId || "",
|
|
283694
|
+
ip: tt && xt.ip || "",
|
|
283695
|
+
deviceType: ft,
|
|
283696
|
+
token: Be,
|
|
283697
|
+
data: JSON.stringify(xt),
|
|
283698
|
+
osVersion: `${ht.name} ${ht.version}`,
|
|
283699
|
+
deviceModel: gt.model,
|
|
283700
|
+
browser: mobile.isWebview() ? "webview" : `${At.name} ${At.version}`,
|
|
283701
|
+
hasLiedBrowser: isBrowserSimulation(),
|
|
283702
|
+
hostingApp: options.hostingApp,
|
|
283703
|
+
sdkVersion: Le || version$5
|
|
283704
|
+
}).then((yt) => (emptyDeviceStatsQueue(Be), yt));
|
|
283711
283705
|
}
|
|
283712
283706
|
async function qrValidateByUUID({
|
|
283713
283707
|
qrUuid: Be,
|