@adyen/kyc-components 3.63.0 → 3.63.1

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,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-C2r1RbXC.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-NxMhVIKR.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-BjlYbHL8.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-C3M21RQc.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-NxMhVIKR.js";
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-C3M21RQc.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-dMqzZp43.js"),
139
- json: () => import("./json-B_T6NfUY.js"),
140
- yaml: () => import("./yaml-BVCQ1chV.js"),
141
- css: () => import("./css-gjoLP21X.js")
138
+ plaintext: () => import("./plaintext-B0SVKwXZ.js"),
139
+ json: () => import("./json-CpZB8v_u.js"),
140
+ yaml: () => import("./yaml-UkmIWfjc.js"),
141
+ css: () => import("./css-BxzQOunc.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.0",
432
+ sdkVersion: "3.63.1",
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-NxMhVIKR.js";
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-C3M21RQc.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-C2r1RbXC.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-NxMhVIKR.js";
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-BjlYbHL8.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-C3M21RQc.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-NxMhVIKR.js";
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-C3M21RQc.js";
5
5
  var isNonNullable = (i2) => i2 != null;
6
6
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
7
7
  function chain(callbacks) {
@@ -1,4 +1,4 @@
1
- import { C as Core } from "./core-NxMhVIKR.js";
1
+ import { C as Core } from "./core-C3M21RQc.js";
2
2
  if (CSS.supports("container", "foo / inline-size") === false) {
3
3
  import("container-query-polyfill");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { C as Core } from "./core-NxMhVIKR.js";
1
+ import { C as Core } from "./core-C3M21RQc.js";
2
2
  const environmentMap = Object.freeze({
3
3
  live: "https://live.adyen.com",
4
4
  test: "https://test.adyen.com"
@@ -53461,7 +53461,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
53461
53461
  return hasOwnEntityAssocation || !!hasOrganizationType;
53462
53462
  };
53463
53463
  const Introduction = lazy$1(
53464
- async () => (await import("./Introduction-BQRNe26H.js")).Introduction
53464
+ async () => (await import("./Introduction-DrYhCPF7.js")).Introduction
53465
53465
  );
53466
53466
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
53467
53467
  const logger$7 = createLogger();
@@ -58138,7 +58138,7 @@ var TanstackQueryDevtools = (_k = class {
58138
58138
  if (__privateGet(this, _Component)) {
58139
58139
  Devtools = __privateGet(this, _Component);
58140
58140
  } else {
58141
- Devtools = lazy(() => import("./CPIOZS5X-D5YO5JEb.js"));
58141
+ Devtools = lazy(() => import("./CPIOZS5X-Ol4__2Ut.js"));
58142
58142
  __privateSet(this, _Component, Devtools);
58143
58143
  }
58144
58144
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -58260,7 +58260,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
58260
58260
  if (__privateGet(this, _Component2)) {
58261
58261
  Devtools = __privateGet(this, _Component2);
58262
58262
  } else {
58263
- Devtools = lazy(() => import("./OKF6E45R-C_uK0Rd2.js"));
58263
+ Devtools = lazy(() => import("./OKF6E45R-C5DS8TxP.js"));
58264
58264
  __privateSet(this, _Component2, Devtools);
58265
58265
  }
58266
58266
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -58479,7 +58479,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
58479
58479
  };
58480
58480
  };
58481
58481
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
58482
- const sdkVersion = "3.63.0";
58482
+ const sdkVersion = "3.63.1";
58483
58483
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
58484
58484
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
58485
58485
  const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
@@ -58553,7 +58553,7 @@ const AnalyticsProvider = ({
58553
58553
  const { onboardingVersion } = useVersion();
58554
58554
  const userEvents2 = useMemo(() => createUserEvents(), []);
58555
58555
  const sessionData = {
58556
- sdkVersion: "3.63.0",
58556
+ sdkVersion: "3.63.1",
58557
58557
  componentName,
58558
58558
  userAgent: navigator.userAgent,
58559
58559
  legalEntityId,
@@ -58705,7 +58705,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
58705
58705
  [baseUrl, rootLegalEntityId]
58706
58706
  );
58707
58707
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
58708
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.0" }),
58708
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.63.1" }),
58709
58709
  children2
58710
58710
  ] });
58711
58711
  };
@@ -59180,7 +59180,7 @@ function StateProvider({
59180
59180
  );
59181
59181
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
59182
59182
  }
59183
- const DebugModal = lazy$1(async () => (await import("./DebugModal-DhYdEDCa.js").then((n) => n.D)).DebugModal);
59183
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-c4G6wyD8.js").then((n) => n.D)).DebugModal);
59184
59184
  const DebugListener = () => {
59185
59185
  const [debugUiOpen, setDebugUiOpen] = useState(false);
59186
59186
  const { isSettingEnabled } = useSettingsContext();
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-DhYdEDCa.js";
1
+ import { c as cssProps } from "./DebugModal-c4G6wyD8.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-DhYdEDCa.js";
1
+ import { c as cssProps } from "./DebugModal-c4G6wyD8.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-DhYdEDCa.js";
1
+ import { c as cssProps } from "./DebugModal-c4G6wyD8.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text }
4
4
  };
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-DhYdEDCa.js";
1
+ import { c as cssProps } from "./DebugModal-c4G6wyD8.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.63.0",
3
+ "version": "3.63.1",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",
@@ -25,7 +25,7 @@
25
25
  "import": "./dist/adyen-kyc-components.js"
26
26
  },
27
27
  "./types/components/onboarding-dropin": {
28
- "types": "./dist/types/components/EmbeddedDropins/OnboardingDropinComponents/OnboardingDropinComponent.d.ts"
28
+ "types": "./dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts"
29
29
  },
30
30
  "./styles.css": "./dist/style.css",
31
31
  "./experimental/load-adyen-config": {