@adyen/kyc-components 3.56.1 → 3.56.2

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,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 { h as createContext, i as createSignal, o as onMount, j as createEffect, e as createMemo, f as createComponent, P as Portal, k as Show, l as template, m as insert, n as createRenderEffect, p as className, q as clearDelegatedEvents, r as delegateEvents, s as useContext, v as onCleanup, w as sortFns, x as mutationSortFns, y as on, z as setAttribute, A as getSidedProp, C as use, D as createUniqueId, E as batch, F as getQueryStatusLabel, G as getMutationStatusColor, H as getQueryStatusColor, I as getQueryStatusColorByLabel, J as displayValue, K as For, M as convertRemToPixels, N as untrack, $ as $TRACK, O as useTransition, Q as spread, R as mergeProps, U as createRoot, V as serialize, W as Index, X as updateNestedDataByPath, Y as addEventListener, Z as stringify, _ as Match, a0 as Switch, a1 as deleteNestedDataByPath, a2 as splitProps, a3 as Dynamic, a4 as createComputed } from "./index-DvfA_PFX.js";
4
+ import { h as createContext, i as createSignal, o as onMount, j as createEffect, e as createMemo, f as createComponent, P as Portal, k as Show, l as template, m as insert, n as createRenderEffect, p as className, q as clearDelegatedEvents, r as delegateEvents, s as useContext, v as onCleanup, w as sortFns, x as mutationSortFns, y as on, z as setAttribute, A as getSidedProp, C as use, D as createUniqueId, E as batch, F as getQueryStatusLabel, G as getMutationStatusColor, H as getQueryStatusColor, I as getQueryStatusColorByLabel, J as displayValue, K as For, M as convertRemToPixels, N as untrack, $ as $TRACK, O as useTransition, Q as spread, R as mergeProps, U as createRoot, V as serialize, W as Index, X as updateNestedDataByPath, Y as addEventListener, Z as stringify, _ as Match, a0 as Switch, a1 as deleteNestedDataByPath, a2 as splitProps, a3 as Dynamic, a4 as createComputed } from "./index-_9WP3-b5.js";
5
5
  var isNonNullable = (i2) => i2 != null;
6
6
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
7
7
  function chain(callbacks) {
@@ -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 "./B4MFY5CR-Bvs2knxQ.js";
2
- import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-DvfA_PFX.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-ExJ43VbQ.js";
2
+ import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-_9WP3-b5.js";
3
3
  var DevtoolsComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -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 "./B4MFY5CR-Bvs2knxQ.js";
2
- import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-DvfA_PFX.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 "./B4MFY5CR-ExJ43VbQ.js";
2
+ import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-_9WP3-b5.js";
3
3
  var DevtoolsPanelComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -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 userEvents, S as StepProgressIndicator, B as Button } from "./index-DvfA_PFX.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 userEvents, S as StepProgressIndicator, B as Button } from "./index-_9WP3-b5.js";
4
4
  import { useMemo } from "preact/compat";
5
5
  var IntroductionScreens = ((IntroductionScreens2) => {
6
6
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -1,4 +1,4 @@
1
- import { a5 } from "./index-DvfA_PFX.js";
1
+ import { a5 } from "./index-_9WP3-b5.js";
2
2
  export {
3
3
  a5 as default
4
4
  };
@@ -43306,9 +43306,7 @@ const splitAtFirstOccurrence = (str, separator) => {
43306
43306
  };
43307
43307
  const getTrustMemberOwnerId = (trustMemberId, entityAssociations) => {
43308
43308
  var _a2;
43309
- return (_a2 = entityAssociations.find(
43310
- (association) => association.associatorId === trustMemberId && association.type === TrustMemberTypes.TRUSTEE
43311
- )) == null ? void 0 : _a2.legalEntityId;
43309
+ return (_a2 = entityAssociations.find((association) => association.associatorId === trustMemberId)) == null ? void 0 : _a2.legalEntityId;
43312
43310
  };
43313
43311
  const getFallbackName = (exemptSettlorAssociation) => {
43314
43312
  const [firstName, lastName] = splitAtFirstOccurrence(exemptSettlorAssociation.name ?? "", " ");
@@ -50901,7 +50899,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
50901
50899
  return hasOwnEntityAssocation || !!hasOrganizationType;
50902
50900
  };
50903
50901
  const Introduction = lazy$1(
50904
- async () => (await import("./Introduction-C7VMHFjG.js")).Introduction
50902
+ async () => (await import("./Introduction-EEHJF6pV.js")).Introduction
50905
50903
  );
50906
50904
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
50907
50905
  const logger$d = createLogger("DropinComposer");
@@ -55897,7 +55895,7 @@ var TanstackQueryDevtools = (_k = class {
55897
55895
  if (__privateGet(this, _Component)) {
55898
55896
  Devtools = __privateGet(this, _Component);
55899
55897
  } else {
55900
- Devtools = lazy(() => import("./HO4MOOFI-D73JTsvp.js"));
55898
+ Devtools = lazy(() => import("./HO4MOOFI-B_bvIPSM.js"));
55901
55899
  __privateSet(this, _Component, Devtools);
55902
55900
  }
55903
55901
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -56019,7 +56017,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
56019
56017
  if (__privateGet(this, _Component2)) {
56020
56018
  Devtools = __privateGet(this, _Component2);
56021
56019
  } else {
56022
- Devtools = lazy(() => import("./HUY7CZI3-DV5kn2jF.js"));
56020
+ Devtools = lazy(() => import("./HUY7CZI3-CMswV2LE.js"));
56023
56021
  __privateSet(this, _Component2, Devtools);
56024
56022
  }
56025
56023
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -56395,7 +56393,7 @@ const DebugModal = ({ onExit }) => {
56395
56393
  const [tab, setTab] = useState("metadata");
56396
56394
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
56397
56395
  const metadata = {
56398
- sdkVersion: "3.56.1",
56396
+ sdkVersion: "3.56.2",
56399
56397
  locale: i18n.locale,
56400
56398
  rootLegalEntityId: rootLegalEntity.id
56401
56399
  };
@@ -56701,7 +56699,7 @@ const useAnalytics = ({
56701
56699
  componentName,
56702
56700
  onboardingVersion
56703
56701
  }) => {
56704
- const sdkVersion = "3.56.1";
56702
+ const sdkVersion = "3.56.2";
56705
56703
  const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
56706
56704
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
56707
56705
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
@@ -57192,7 +57190,7 @@ const ConfigurationApiProvider = ({
57192
57190
  [authContext, rootLegalEntityId]
57193
57191
  );
57194
57192
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
57195
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.56.1" }),
57193
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.56.2" }),
57196
57194
  children2
57197
57195
  ] });
57198
57196
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.56.1",
3
+ "version": "3.56.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",