@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.
@@ -8374,7 +8374,7 @@ class MlWasmJSApi {
8374
8374
  );
8375
8375
  }
8376
8376
  }
8377
- const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-rc.20251121165629";
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$4);
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 = "https://api.i18nexus.com/project_resources/translations/{{lng}}/{{ns}}.json?api_key=cg41dUINoxdp8BaHDQLJhA";
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
- if (pendingRequest)
283689
- return pendingRequest;
283690
- const ft = "WEBAPP", { os: ht, device: gt, browser: At } = await getDeviceFingerprintInfo();
283691
- return pendingRequest = (async () => {
283692
- const xt = nt ? await getFingerprint(Ye).catch((yt) => (addEvent({
283693
- code: "fingerprintFetchFailed",
283694
- payload: { message: yt.message },
283695
- token: Be
283696
- }), emptyFingerprint)) : emptyFingerprint;
283697
- return await postFingerprint({
283698
- hash: xt.visitorId || "",
283699
- ip: tt && xt.ip || "",
283700
- deviceType: ft,
283701
- token: Be,
283702
- data: JSON.stringify(xt),
283703
- osVersion: `${ht.name} ${ht.version}`,
283704
- deviceModel: gt.model,
283705
- browser: mobile.isWebview() ? "webview" : `${At.name} ${At.version}`,
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,