@vpdev2/metakyc 1.0.87 → 1.0.88
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/client/config.d.ts +5 -0
- package/dist/client/config.d.ts.map +1 -1
- package/dist/client/session.d.ts +2 -0
- package/dist/client/session.d.ts.map +1 -1
- package/dist/hooks/useApplicant.d.ts.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1970,7 +1970,7 @@ class ct {
|
|
|
1970
1970
|
const d = ((o = r == null ? void 0 : r.identityProviders) == null ? void 0 : o.sardinai) || {};
|
|
1971
1971
|
return {
|
|
1972
1972
|
clientId: d.clientId || a.clientId,
|
|
1973
|
-
sessionKey: d.sessionKey || a.sessionKey,
|
|
1973
|
+
sessionKey: d.sessionKey || (r == null ? void 0 : r.sardinSessionKey) || a.sessionKey,
|
|
1974
1974
|
environment: d.environment || a.environment || "production",
|
|
1975
1975
|
flow: d.flow || a.flow,
|
|
1976
1976
|
region: d.region,
|
|
@@ -7160,7 +7160,7 @@ function ie(e, t) {
|
|
|
7160
7160
|
const r = Jr.exec(a);
|
|
7161
7161
|
return r ? t(r[1]) : e;
|
|
7162
7162
|
}
|
|
7163
|
-
const Yt = "1.0.
|
|
7163
|
+
const Yt = "1.0.88", Ri = Gt(null), di = `metakyc-translations-${Yt}-`, ea = ({
|
|
7164
7164
|
locale: e,
|
|
7165
7165
|
fetchTranslations: t,
|
|
7166
7166
|
children: a
|
|
@@ -7904,8 +7904,8 @@ function Ii() {
|
|
|
7904
7904
|
l.current = !0, r(!0), o(null);
|
|
7905
7905
|
try {
|
|
7906
7906
|
if (A.applicantAdditionalDatas || (A.applicantAdditionalDatas = []), (S = t.identityProviders) != null && S.sardinai) {
|
|
7907
|
-
const N = u();
|
|
7908
|
-
_.debug(`SardinAI session key generated: ${
|
|
7907
|
+
const N = t.sardinSessionKey || u();
|
|
7908
|
+
_.debug(`SardinAI session key: ${N} (pre-generated: ${!!t.sardinSessionKey})`), A.applicantAdditionalDatas.push({
|
|
7909
7909
|
paramName: "sessionKey",
|
|
7910
7910
|
value: N
|
|
7911
7911
|
});
|