@adyen/kyc-components 3.64.3 → 3.64.5
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/{AccountSetupRejected-C2BNwPTl.js → AccountSetupRejected-DCP1-Fhe.js} +1 -1
- package/dist/{CXEL7IU7-PvlUCZYC.js → CXEL7IU7-D3eU9AYq.js} +2 -2
- package/dist/{CustomerSupport-CeeqMuJx.js → CustomerSupport-CYKAAG-Q.js} +1 -1
- package/dist/{DebugModal-BwlYk7Vk.js → DebugModal-DWygHaMB.js} +7 -7
- package/dist/{DecisionMakers-BHXBbUco.js → DecisionMakers-CbiLXr_Z.js} +1 -1
- package/dist/{HASRA6WW-BZsH7-a4.js → HASRA6WW-ChwMHpXM.js} +1 -1
- package/dist/{I3HPI4QX-T4d1pEpI.js → I3HPI4QX-Cgn8mjRK.js} +2 -2
- package/dist/{Introduction-Cu5n3ydM.js → Introduction-BY2G-IPW.js} +1 -1
- package/dist/{Review-CusBSaFf.js → Review-DikfD4Go.js} +1 -1
- package/dist/{SingpassSelection-2xck0ZJN.js → SingpassSelection-Ch-30lwg.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-D4nRSPaK.js → core-DOe49VeS.js} +19 -16
- package/dist/{css-Di-a8wOy.js → css-CPq-M8z3.js} +1 -1
- package/dist/{json-zwHJ2JGi.js → json-DXH-3maE.js} +1 -1
- package/dist/{plaintext-B0jxG_k7.js → plaintext-Bo_ZIzAx.js} +1 -1
- package/dist/{yaml-C55CsP0O.js → yaml-B261YTrP.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, h as FormHeader, D as DropinLayout } from "./core-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, h as FormHeader, D as DropinLayout } from "./core-DOe49VeS.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { i18n } = useI18nContext();
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-ChwMHpXM.js";
|
|
11
|
+
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-DOe49VeS.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, c as useAnalyticsContext, l as useToastContext, H as useConfigurationApi, i as useLegalEntity, n as useUpdateLegalEntity, m as useQueryClient, I as resolveFieldMetadata, J as contactDetailsValidationRules, K as defaultFieldMetadata, M as fieldConfig, N as getAsyncPhoneValidationRules, O as useMultiForm, h as FormHeader, P as ContactDetails, G as ActionBar, Q as createLogger } from "./core-
|
|
11
|
+
import { b as useI18nContext, c as useAnalyticsContext, l as useToastContext, H as useConfigurationApi, i as useLegalEntity, n as useUpdateLegalEntity, m as useQueryClient, I as resolveFieldMetadata, J as contactDetailsValidationRules, K as defaultFieldMetadata, M as fieldConfig, N as getAsyncPhoneValidationRules, O as useMultiForm, h as FormHeader, P as ContactDetails, G as ActionBar, Q as createLogger } from "./core-DOe49VeS.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
13
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
14
14
|
var _a, _b, _c;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0468bcf8-8beb-4291-a33d-f4286dce99c6", e._sentryDebugIdIdentifier = "sentry-dbid-0468bcf8-8beb-4291-a33d-f4286dce99c6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, Z as Tag, _ as entriesOf, $ as InputText, b as useI18nContext, a0 as splitTaskIdentifier, a1 as TaskItemStatus, a2 as useExperimentsContext, a3 as useSettingsContext, a4 as useGlobalStore, a5 as listToRecord, a6 as valuesOf, a7 as useTaskStatuses, a8 as Modal, Q as createLogger, a9 as Icon, aa as SettingNames, ab as ExperimentNames } from "./core-
|
|
12
|
+
import { B as Button, Z as Tag, _ as entriesOf, $ as InputText, b as useI18nContext, a0 as splitTaskIdentifier, a1 as TaskItemStatus, a2 as useExperimentsContext, a3 as useSettingsContext, a4 as useGlobalStore, a5 as listToRecord, a6 as valuesOf, a7 as useTaskStatuses, a8 as Modal, Q as createLogger, a9 as Icon, aa as SettingNames, ab as ExperimentNames } from "./core-DOe49VeS.js";
|
|
13
13
|
const tabs = "adyen-kyc-tabs";
|
|
14
14
|
const styles$1 = {
|
|
15
15
|
tabs
|
|
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
144
144
|
};
|
|
145
145
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
146
146
|
const moduleMap = {
|
|
147
|
-
plaintext: () => import("./plaintext-
|
|
148
|
-
json: () => import("./json-
|
|
149
|
-
yaml: () => import("./yaml-
|
|
150
|
-
css: () => import("./css-
|
|
147
|
+
plaintext: () => import("./plaintext-Bo_ZIzAx.js"),
|
|
148
|
+
json: () => import("./json-DXH-3maE.js"),
|
|
149
|
+
yaml: () => import("./yaml-B261YTrP.js"),
|
|
150
|
+
css: () => import("./css-CPq-M8z3.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -438,7 +438,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
438
438
|
const [tab, setTab] = useState("metadata");
|
|
439
439
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
440
440
|
const metadata = {
|
|
441
|
-
sdkVersion: "3.64.
|
|
441
|
+
sdkVersion: "3.64.5",
|
|
442
442
|
locale: i18n.locale,
|
|
443
443
|
rootLegalEntityId: rootLegalEntity.id
|
|
444
444
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { i as useLegalEntity, j as Loader, k as useGetTaskStatus, b as useI18nContext, c as useAnalyticsContext, l as useToastContext, m as useQueryClient, n as useUpdateLegalEntity, o as getOwnDecisionMakers, p as getAvailableDecisionMakerRoleTypes, q as useDataMissingRemediations, T as TaskTypes, r as getAllowedDecisionMakerRoles, D as DropinLayout, h as FormHeader, E as EntityGuidanceStatus, s as iconStatus, v as ContextGuidance, w as DecisionMakerType, x as Alert, y as CardGroup, z as EntityAssociation, B as Button, G as ActionBar } from "./core-
|
|
11
|
+
import { i as useLegalEntity, j as Loader, k as useGetTaskStatus, b as useI18nContext, c as useAnalyticsContext, l as useToastContext, m as useQueryClient, n as useUpdateLegalEntity, o as getOwnDecisionMakers, p as getAvailableDecisionMakerRoleTypes, q as useDataMissingRemediations, T as TaskTypes, r as getAllowedDecisionMakerRoles, D as DropinLayout, h as FormHeader, E as EntityGuidanceStatus, s as iconStatus, v as ContextGuidance, w as DecisionMakerType, x as Alert, y as CardGroup, z as EntityAssociation, B as Button, G as ActionBar } from "./core-DOe49VeS.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const DecisionMakers = (props) => {
|
|
14
14
|
const { data, isLoading } = useLegalEntity();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { af as createContext, ag as createSignal, ah as onMount, ai as createEffect, ad as createMemo, ae as createComponent, aj as Portal, ak as Show, al as template, am as insert, an as createRenderEffect, ao as className, ap as clearDelegatedEvents, aq as delegateEvents, ar as useContext, as as onCleanup, at as sortFns, au as mutationSortFns, av as on, aw as setAttribute, ax as getSidedProp, ay as use, az as createUniqueId, aA as batch, aB as getQueryStatusLabel, aC as getMutationStatusColor, aD as getQueryStatusColor, aE as getQueryStatusColorByLabel, aF as displayValue, aG as For, aH as convertRemToPixels, aI as untrack, aJ as $TRACK, aK as useTransition, aL as spread, aM as mergeProps, aN as createRoot, aO as serialize, aP as Index, aQ as updateNestedDataByPath, aR as addEventListener, aS as stringify, aT as Match, aU as Switch, aV as deleteNestedDataByPath, aW as splitProps, aX as Dynamic, aY as createComputed } from "./core-
|
|
13
|
+
import { af as createContext, ag as createSignal, ah as onMount, ai as createEffect, ad as createMemo, ae as createComponent, aj as Portal, ak as Show, al as template, am as insert, an as createRenderEffect, ao as className, ap as clearDelegatedEvents, aq as delegateEvents, ar as useContext, as as onCleanup, at as sortFns, au as mutationSortFns, av as on, aw as setAttribute, ax as getSidedProp, ay as use, az as createUniqueId, aA as batch, aB as getQueryStatusLabel, aC as getMutationStatusColor, aD as getQueryStatusColor, aE as getQueryStatusColorByLabel, aF as displayValue, aG as For, aH as convertRemToPixels, aI as untrack, aJ as $TRACK, aK as useTransition, aL as spread, aM as mergeProps, aN as createRoot, aO as serialize, aP as Index, aQ as updateNestedDataByPath, aR as addEventListener, aS as stringify, aT as Match, aU as Switch, aV as deleteNestedDataByPath, aW as splitProps, aX as Dynamic, aY as createComputed } from "./core-DOe49VeS.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-ChwMHpXM.js";
|
|
11
|
+
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-DOe49VeS.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-
|
|
12
|
+
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-DOe49VeS.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
14
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
15
15
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { U as useApiContext, V as useMutation, W as httpPost, b as useI18nContext, l as useToastContext, X as LoaderWrapper, h as FormHeader, Y as Checkbox, G as ActionBar, D as DropinLayout } from "./core-
|
|
12
|
+
import { U as useApiContext, V as useMutation, W as httpPost, b as useI18nContext, l as useToastContext, X as LoaderWrapper, h as FormHeader, Y as Checkbox, G as ActionBar, D as DropinLayout } from "./core-DOe49VeS.js";
|
|
13
13
|
const confirmReview = async (legalEntityId, url) => {
|
|
14
14
|
return httpPost({
|
|
15
15
|
loadingContext: url,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, d as useForm, e as Typography, F as Field, R as RadioGroupCard, B as Button, f as Svg, L as LegalEntityType } from "./core-
|
|
12
|
+
import { b as useI18nContext, d as useForm, e as Typography, F as Field, R as RadioGroupCard, B as Button, f as Svg, L as LegalEntityType } from "./core-DOe49VeS.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
package/dist/adyenConfig.js
CHANGED
|
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fd8a58b0-a630-4ae3-b9c7-685bc7fb7dbb", e._sentryDebugIdIdentifier = "sentry-dbid-fd8a58b0-a630-4ae3-b9c7-685bc7fb7dbb");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -31477,6 +31477,7 @@ const KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS = [
|
|
|
31477
31477
|
const KNOWN_DISALLOWED_INDEX_DATASET_STATES = [
|
|
31478
31478
|
StateCodesUS.California,
|
|
31479
31479
|
StateCodesUS.Florida,
|
|
31480
|
+
StateCodesUS.Illinois,
|
|
31480
31481
|
StateCodesUS.Texas
|
|
31481
31482
|
];
|
|
31482
31483
|
const logger$q = createLogger();
|
|
@@ -42488,7 +42489,7 @@ const getPciQuestionnaire = async (legalEntityId, url, documentId) => {
|
|
|
42488
42489
|
loadingContext: url,
|
|
42489
42490
|
errorLevel: "warn",
|
|
42490
42491
|
errorMessage: `Failed to download pci document`,
|
|
42491
|
-
path:
|
|
42492
|
+
path: `legalEntities/${legalEntityId}/pci/questionnaires/${documentId}`,
|
|
42492
42493
|
authentication: "jwt",
|
|
42493
42494
|
headers: {
|
|
42494
42495
|
"Content-Type": "application/json"
|
|
@@ -50748,21 +50749,21 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
50748
50749
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
50749
50750
|
};
|
|
50750
50751
|
const Introduction = lazy$1(
|
|
50751
|
-
async () => (await import("./Introduction-
|
|
50752
|
+
async () => (await import("./Introduction-BY2G-IPW.js")).Introduction
|
|
50752
50753
|
);
|
|
50753
50754
|
const SingpassSelection = lazy$1(
|
|
50754
|
-
async () => (await import("./SingpassSelection-
|
|
50755
|
+
async () => (await import("./SingpassSelection-Ch-30lwg.js")).SingpassSelection
|
|
50755
50756
|
);
|
|
50756
50757
|
const AccountSetupRejected = lazy$1(
|
|
50757
|
-
async () => (await import("./AccountSetupRejected-
|
|
50758
|
+
async () => (await import("./AccountSetupRejected-DCP1-Fhe.js")).AccountSetupRejected
|
|
50758
50759
|
);
|
|
50759
50760
|
const DecisionMakers = lazy$1(
|
|
50760
|
-
async () => (await import("./DecisionMakers-
|
|
50761
|
+
async () => (await import("./DecisionMakers-CbiLXr_Z.js")).DecisionMakers
|
|
50761
50762
|
);
|
|
50762
50763
|
const CustomerSupport = lazy$1(
|
|
50763
|
-
async () => (await import("./CustomerSupport-
|
|
50764
|
+
async () => (await import("./CustomerSupport-CYKAAG-Q.js")).CustomerSupport
|
|
50764
50765
|
);
|
|
50765
|
-
const Review = lazy$1(async () => (await import("./Review-
|
|
50766
|
+
const Review = lazy$1(async () => (await import("./Review-DikfD4Go.js")).Review);
|
|
50766
50767
|
const SignPCIComponent$2 = lazy$1(
|
|
50767
50768
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
50768
50769
|
);
|
|
@@ -51950,6 +51951,7 @@ function SignPCIComponent({
|
|
|
51950
51951
|
const signPci2 = useSignPci({
|
|
51951
51952
|
onSuccess: () => {
|
|
51952
51953
|
queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntityId] });
|
|
51954
|
+
queryClient.invalidateQueries({ queryKey: ["pciQuestionnaireList"] });
|
|
51953
51955
|
onUnmount == null ? void 0 : onUnmount();
|
|
51954
51956
|
onSigned == null ? void 0 : onSigned();
|
|
51955
51957
|
}
|
|
@@ -55432,7 +55434,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
55432
55434
|
if (__privateGet(this, _Component)) {
|
|
55433
55435
|
Devtools = __privateGet(this, _Component);
|
|
55434
55436
|
} else {
|
|
55435
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
55437
|
+
Devtools = lazy(() => import("./I3HPI4QX-Cgn8mjRK.js"));
|
|
55436
55438
|
__privateSet(this, _Component, Devtools);
|
|
55437
55439
|
}
|
|
55438
55440
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -55554,7 +55556,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
55554
55556
|
if (__privateGet(this, _Component2)) {
|
|
55555
55557
|
Devtools = __privateGet(this, _Component2);
|
|
55556
55558
|
} else {
|
|
55557
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
55559
|
+
Devtools = lazy(() => import("./CXEL7IU7-D3eU9AYq.js"));
|
|
55558
55560
|
__privateSet(this, _Component2, Devtools);
|
|
55559
55561
|
}
|
|
55560
55562
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -55773,7 +55775,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
55773
55775
|
};
|
|
55774
55776
|
};
|
|
55775
55777
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
55776
|
-
const sdkVersion = "3.64.
|
|
55778
|
+
const sdkVersion = "3.64.5";
|
|
55777
55779
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
55778
55780
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
55779
55781
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -55833,11 +55835,12 @@ const useVersionConfiguration = (options) => {
|
|
|
55833
55835
|
const useVersion = () => {
|
|
55834
55836
|
var _a2, _b2;
|
|
55835
55837
|
const { enableVersionExperiment } = useExperimentsContext();
|
|
55836
|
-
const { data } = useVersionConfiguration();
|
|
55838
|
+
const { data, isError: isError2, isLoading } = useVersionConfiguration();
|
|
55839
|
+
const onboardingVersion = isLoading ? void 0 : isError2 ? 1 : data == null ? void 0 : data.version;
|
|
55837
55840
|
if (data) {
|
|
55838
55841
|
(_b2 = (_a2 = data == null ? void 0 : data.features) == null ? void 0 : _a2.forEach) == null ? void 0 : _b2.call(_a2, (feature) => enableVersionExperiment(feature));
|
|
55839
55842
|
}
|
|
55840
|
-
return { onboardingVersion
|
|
55843
|
+
return { onboardingVersion };
|
|
55841
55844
|
};
|
|
55842
55845
|
const AnalyticsProvider = ({
|
|
55843
55846
|
componentName,
|
|
@@ -55847,7 +55850,7 @@ const AnalyticsProvider = ({
|
|
|
55847
55850
|
const { onboardingVersion } = useVersion();
|
|
55848
55851
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
55849
55852
|
const sessionData = {
|
|
55850
|
-
sdkVersion: "3.64.
|
|
55853
|
+
sdkVersion: "3.64.5",
|
|
55851
55854
|
componentName,
|
|
55852
55855
|
userAgent: navigator.userAgent,
|
|
55853
55856
|
legalEntityId,
|
|
@@ -55981,7 +55984,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
55981
55984
|
[baseUrl, rootLegalEntityId]
|
|
55982
55985
|
);
|
|
55983
55986
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
55984
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.64.
|
|
55987
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.64.5" }),
|
|
55985
55988
|
children2
|
|
55986
55989
|
] });
|
|
55987
55990
|
};
|
|
@@ -56456,7 +56459,7 @@ function StateProvider({
|
|
|
56456
56459
|
);
|
|
56457
56460
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
56458
56461
|
}
|
|
56459
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
56462
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-DWygHaMB.js").then((n) => n.D)).DebugModal);
|
|
56460
56463
|
const DebugListener = () => {
|
|
56461
56464
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
56462
56465
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DWygHaMB.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DWygHaMB.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DWygHaMB.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|