@incodetech/welcome 1.85.0-20251218170039.0 → 1.85.0-20251218215142.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const FEATURE_FLAGS: readonly ["id_text_barcode_readability", "selfie_local_lenses_check_web", "id_model_hebrew_back_id", "id_face_readability", "new_id_capture_ux_least_risky_clients", "id_test_aa", "id_iou_check", "iad_checks", "iad_c_checks", "new_fingerprint", "mp_test_hashed_id"];
|
|
1
|
+
declare const FEATURE_FLAGS: readonly ["id_text_barcode_readability", "selfie_local_lenses_check_web", "id_model_hebrew_back_id", "id_face_readability", "new_id_capture_ux_least_risky_clients", "id_test_aa", "id_iou_check", "iad_checks", "iad_c_checks", "new_fingerprint", "mp_test_hashed_id", "darwinium_profiling"];
|
|
2
2
|
type FeatureFlag = (typeof FEATURE_FLAGS)[number];
|
|
3
3
|
type FeatureFlags = {
|
|
4
4
|
[key in FeatureFlag]: boolean;
|
package/dist/onBoarding.mjs
CHANGED
|
@@ -7453,7 +7453,8 @@ const FEATURE_FLAGS = [
|
|
|
7453
7453
|
"iad_checks",
|
|
7454
7454
|
"iad_c_checks",
|
|
7455
7455
|
"new_fingerprint",
|
|
7456
|
-
"mp_test_hashed_id"
|
|
7456
|
+
"mp_test_hashed_id",
|
|
7457
|
+
"darwinium_profiling"
|
|
7457
7458
|
], GLOBAL_FLAGS = ["new_fingerprint"], ID_MODULE_FLAGS = [
|
|
7458
7459
|
"id_face_readability",
|
|
7459
7460
|
"id_test_aa",
|
|
@@ -7479,7 +7480,8 @@ const clientApiKey = "client-GBTzsiJ99rvyZQdNXDFkftx3ZoMF1TED2rsB3m3IUqc", featu
|
|
|
7479
7480
|
iad_c_checks: !1,
|
|
7480
7481
|
id_iou_check: !0,
|
|
7481
7482
|
new_fingerprint: !1,
|
|
7482
|
-
mp_test_hashed_id: !1
|
|
7483
|
+
mp_test_hashed_id: !1,
|
|
7484
|
+
darwinium_profiling: !1
|
|
7483
7485
|
}, clientExperimentIds = {
|
|
7484
7486
|
new_id_capture_ux_least_risky_clients: "experimentV2"
|
|
7485
7487
|
};
|
|
@@ -8287,7 +8289,7 @@ class MlWasmJSApi {
|
|
|
8287
8289
|
);
|
|
8288
8290
|
}
|
|
8289
8291
|
}
|
|
8290
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8292
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251218215142.0";
|
|
8291
8293
|
function e$2(Be, Le) {
|
|
8292
8294
|
return function(Ye, tt) {
|
|
8293
8295
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -151447,7 +151449,7 @@ const getSardineContext = () => sardineContext, createSardineContextFromSardine
|
|
|
151447
151449
|
SardineUserID: void 0
|
|
151448
151450
|
}
|
|
151449
151451
|
}));
|
|
151450
|
-
await loadDwnSDK(), dwnContext = createDwnContext(), shouldDoSardineContextFromSardine(tt) && (await loadSardineSDK(Le), sardineContext = createSardineContextFromSardine({
|
|
151452
|
+
getFeatureFlag("darwinium_profiling") && (await loadDwnSDK(), dwnContext = createDwnContext()), shouldDoSardineContextFromSardine(tt) && (await loadSardineSDK(Le), sardineContext = createSardineContextFromSardine({
|
|
151451
151453
|
sardineClientId: tt.SardineClientID,
|
|
151452
151454
|
sardineSessionKey: tt.SardineSessionKey,
|
|
151453
151455
|
sardineUserId: tt.SardineUserID,
|
|
@@ -365872,7 +365874,7 @@ function FlowRenderer({
|
|
|
365872
365874
|
else {
|
|
365873
365875
|
vt(!0);
|
|
365874
365876
|
const { redirectionUrl: Wt } = await getFinishStatus(void 0, { token: Be });
|
|
365875
|
-
(Lt = (Nt = getDwnContext()) == null ? void 0 : Nt.collect()) == null || Lt.then(($t) => {
|
|
365877
|
+
getFeatureFlag("darwinium_profiling") && ((Lt = (Nt = getDwnContext()) == null ? void 0 : Nt.collect()) == null || Lt.then(($t) => {
|
|
365876
365878
|
addEvent({
|
|
365877
365879
|
code: "externalRiskSDKInitialized",
|
|
365878
365880
|
payload: {
|
|
@@ -365881,7 +365883,7 @@ function FlowRenderer({
|
|
|
365881
365883
|
},
|
|
365882
365884
|
token: Be
|
|
365883
365885
|
});
|
|
365884
|
-
}).catch(console.error), bt.flowCompleted(Dt), Ye({ redirectionUrl: Wt });
|
|
365886
|
+
}).catch(console.error)), bt.flowCompleted(Dt), Ye({ redirectionUrl: Wt });
|
|
365885
365887
|
}
|
|
365886
365888
|
};
|
|
365887
365889
|
return kt ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$6, {}) : It ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|