@adyen/kyc-components 3.63.2 → 3.63.3
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/{CPIOZS5X-BAPAsUnD.js → CPIOZS5X-CZJ7mPht.js} +2 -2
- package/dist/{DebugModal-fAWDVtvl.js → DebugModal-WHmpPfbe.js} +6 -6
- package/dist/{Introduction-imwEgL7W.js → Introduction-BawVB7r0.js} +1 -1
- package/dist/{OKF6E45R-DJQ6WuJ0.js → OKF6E45R-CYZqGgg_.js} +2 -2
- package/dist/{WXAWMS3D-C0qahN6N.js → WXAWMS3D-DTHUdDj7.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-CtLEZ35m.js → core-DzYEGsyW.js} +8 -8
- package/dist/{css-Byr67uS8.js → css-ge1eMhae.js} +1 -1
- package/dist/{json-BOZMhevD.js → json-EM_UzR1f.js} +1 -1
- package/dist/{plaintext-jm6guQOB.js → plaintext-sxyN0N-F.js} +1 -1
- package/dist/{yaml-BZYqXoHq.js → yaml-BvjtZcNE.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-
|
|
2
|
-
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-DTHUdDj7.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DzYEGsyW.js";
|
|
3
3
|
var DevtoolsComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "preact/hooks";
|
|
3
|
-
import { B as Button, d as Tag, e as entriesOf, I as InputText, b as useI18nContext, s as splitTaskIdentifier, f as TaskItemStatus, h as useExperimentsContext, i as useSettingsContext, j as useGlobalStore, l as listToRecord, v as valuesOf, k as useTaskStatuses, M as Modal, m as createLogger, n as Icon, o as SettingNames, E as ExperimentNames } from "./core-
|
|
3
|
+
import { B as Button, d as Tag, e as entriesOf, I as InputText, b as useI18nContext, s as splitTaskIdentifier, f as TaskItemStatus, h as useExperimentsContext, i as useSettingsContext, j as useGlobalStore, l as listToRecord, v as valuesOf, k as useTaskStatuses, M as Modal, m as createLogger, n as Icon, o as SettingNames, E as ExperimentNames } from "./core-DzYEGsyW.js";
|
|
4
4
|
const tabs = "adyen-kyc-tabs";
|
|
5
5
|
const styles$1 = {
|
|
6
6
|
tabs
|
|
@@ -135,10 +135,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
135
135
|
};
|
|
136
136
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
137
137
|
const moduleMap = {
|
|
138
|
-
plaintext: () => import("./plaintext-
|
|
139
|
-
json: () => import("./json-
|
|
140
|
-
yaml: () => import("./yaml-
|
|
141
|
-
css: () => import("./css-
|
|
138
|
+
plaintext: () => import("./plaintext-sxyN0N-F.js"),
|
|
139
|
+
json: () => import("./json-EM_UzR1f.js"),
|
|
140
|
+
yaml: () => import("./yaml-BvjtZcNE.js"),
|
|
141
|
+
css: () => import("./css-ge1eMhae.js")
|
|
142
142
|
};
|
|
143
143
|
const getModule = async (name) => {
|
|
144
144
|
if (!supportedModules.includes(name)) {
|
|
@@ -429,7 +429,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
429
429
|
const [tab, setTab] = useState("metadata");
|
|
430
430
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
431
431
|
const metadata = {
|
|
432
|
-
sdkVersion: "3.63.
|
|
432
|
+
sdkVersion: "3.63.3",
|
|
433
433
|
locale: i18n.locale,
|
|
434
434
|
rootLegalEntityId: rootLegalEntity.id
|
|
435
435
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
2
2
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
3
|
-
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-
|
|
3
|
+
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-DzYEGsyW.js";
|
|
4
4
|
import { useMemo } from "preact/compat";
|
|
5
5
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
6
6
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./WXAWMS3D-
|
|
2
|
-
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./WXAWMS3D-DTHUdDj7.js";
|
|
2
|
+
import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DzYEGsyW.js";
|
|
3
3
|
var DevtoolsPanelComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { w as createContext, x as createSignal, y as onMount, z as createEffect, q as createMemo, r as createComponent, P as Portal, A as Show, D as template, F as insert, G as createRenderEffect, H as className, J as clearDelegatedEvents, K as delegateEvents, N as useContext, O as onCleanup, Q as sortFns, R as mutationSortFns, U as on, V as setAttribute, W as getSidedProp, X as use, Y as createUniqueId, Z as batch, _ as getQueryStatusLabel, $ as getMutationStatusColor, a0 as getQueryStatusColor, a1 as getQueryStatusColorByLabel, a2 as displayValue, a3 as For, a4 as convertRemToPixels, a5 as untrack, a6 as $TRACK, a7 as useTransition, a8 as spread, a9 as mergeProps, aa as createRoot, ab as serialize, ac as Index, ad as updateNestedDataByPath, ae as addEventListener, af as stringify, ag as Match, ah as Switch, ai as deleteNestedDataByPath, aj as splitProps, ak as Dynamic, al as createComputed } from "./core-
|
|
4
|
+
import { w as createContext, x as createSignal, y as onMount, z as createEffect, q as createMemo, r as createComponent, P as Portal, A as Show, D as template, F as insert, G as createRenderEffect, H as className, J as clearDelegatedEvents, K as delegateEvents, N as useContext, O as onCleanup, Q as sortFns, R as mutationSortFns, U as on, V as setAttribute, W as getSidedProp, X as use, Y as createUniqueId, Z as batch, _ as getQueryStatusLabel, $ as getMutationStatusColor, a0 as getQueryStatusColor, a1 as getQueryStatusColorByLabel, a2 as displayValue, a3 as For, a4 as convertRemToPixels, a5 as untrack, a6 as $TRACK, a7 as useTransition, a8 as spread, a9 as mergeProps, aa as createRoot, ab as serialize, ac as Index, ad as updateNestedDataByPath, ae as addEventListener, af as stringify, ag as Match, ah as Switch, ai as deleteNestedDataByPath, aj as splitProps, ak as Dynamic, al as createComputed } from "./core-DzYEGsyW.js";
|
|
5
5
|
var isNonNullable = (i2) => i2 != null;
|
|
6
6
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
7
7
|
function chain(callbacks) {
|
package/dist/adyenConfig.js
CHANGED
|
@@ -43806,7 +43806,7 @@ const BusinessTypeSelection = ({
|
|
|
43806
43806
|
});
|
|
43807
43807
|
const newAccountHolder = ((_c2 = data.businessType) == null ? void 0 : _c2.accountHolder) || ((_d2 = data.legalArrangement) == null ? void 0 : _d2.accountHolder);
|
|
43808
43808
|
const targetLegalArrangement = (_e2 = data.legalArrangement) == null ? void 0 : _e2.id;
|
|
43809
|
-
const trustOrUnincorporatedPartnership = ((_f2 = data.legalArrangement) == null ? void 0 : _f2.id) === "aTrust" || ((_g2 = data.legalArrangement) == null ? void 0 : _g2.id) === "partnershipUnincorporated";
|
|
43809
|
+
const trustOrUnincorporatedPartnership = ((_f2 = data.legalArrangement) == null ? void 0 : _f2.id) === "aTrust" || ((_g2 = data.legalArrangement) == null ? void 0 : _g2.id) === "partnershipUnincorporated" && isExperimentEnabled(ExperimentNames.EnableUnincorporatedPartnershipInHO);
|
|
43810
43810
|
const targetLegalEntityType = getTargetLegalEntityType(
|
|
43811
43811
|
(_h2 = data.businessType) == null ? void 0 : _h2.id,
|
|
43812
43812
|
(_i2 = data.legalArrangement) == null ? void 0 : _i2.id,
|
|
@@ -53465,7 +53465,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
53465
53465
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
53466
53466
|
};
|
|
53467
53467
|
const Introduction = lazy$1(
|
|
53468
|
-
async () => (await import("./Introduction-
|
|
53468
|
+
async () => (await import("./Introduction-BawVB7r0.js")).Introduction
|
|
53469
53469
|
);
|
|
53470
53470
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
53471
53471
|
const logger$7 = createLogger();
|
|
@@ -58142,7 +58142,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
58142
58142
|
if (__privateGet(this, _Component)) {
|
|
58143
58143
|
Devtools = __privateGet(this, _Component);
|
|
58144
58144
|
} else {
|
|
58145
|
-
Devtools = lazy(() => import("./CPIOZS5X-
|
|
58145
|
+
Devtools = lazy(() => import("./CPIOZS5X-CZJ7mPht.js"));
|
|
58146
58146
|
__privateSet(this, _Component, Devtools);
|
|
58147
58147
|
}
|
|
58148
58148
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -58264,7 +58264,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
58264
58264
|
if (__privateGet(this, _Component2)) {
|
|
58265
58265
|
Devtools = __privateGet(this, _Component2);
|
|
58266
58266
|
} else {
|
|
58267
|
-
Devtools = lazy(() => import("./OKF6E45R-
|
|
58267
|
+
Devtools = lazy(() => import("./OKF6E45R-CYZqGgg_.js"));
|
|
58268
58268
|
__privateSet(this, _Component2, Devtools);
|
|
58269
58269
|
}
|
|
58270
58270
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -58483,7 +58483,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
58483
58483
|
};
|
|
58484
58484
|
};
|
|
58485
58485
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
58486
|
-
const sdkVersion = "3.63.
|
|
58486
|
+
const sdkVersion = "3.63.3";
|
|
58487
58487
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
58488
58488
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
58489
58489
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -58557,7 +58557,7 @@ const AnalyticsProvider = ({
|
|
|
58557
58557
|
const { onboardingVersion } = useVersion();
|
|
58558
58558
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
58559
58559
|
const sessionData = {
|
|
58560
|
-
sdkVersion: "3.63.
|
|
58560
|
+
sdkVersion: "3.63.3",
|
|
58561
58561
|
componentName,
|
|
58562
58562
|
userAgent: navigator.userAgent,
|
|
58563
58563
|
legalEntityId,
|
|
@@ -58709,7 +58709,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
58709
58709
|
[baseUrl, rootLegalEntityId]
|
|
58710
58710
|
);
|
|
58711
58711
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
58712
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.
|
|
58712
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.3" }),
|
|
58713
58713
|
children2
|
|
58714
58714
|
] });
|
|
58715
58715
|
};
|
|
@@ -59184,7 +59184,7 @@ function StateProvider({
|
|
|
59184
59184
|
);
|
|
59185
59185
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
59186
59186
|
}
|
|
59187
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
59187
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-WHmpPfbe.js").then((n) => n.D)).DebugModal);
|
|
59188
59188
|
const DebugListener = () => {
|
|
59189
59189
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
59190
59190
|
const { isSettingEnabled } = useSettingsContext();
|