@adyen/kyc-components 3.57.2 → 3.57.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.
@@ -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-BSMeMrJR.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-DsPF64fx.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-DkZtb7d3.js";
2
- import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-BSMeMrJR.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-CpPUcDJz.js";
2
+ import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-DsPF64fx.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-DkZtb7d3.js";
2
- import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-BSMeMrJR.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-CpPUcDJz.js";
2
+ import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-DsPF64fx.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-BSMeMrJR.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-DsPF64fx.js";
4
4
  import { useMemo } from "preact/compat";
5
5
  var IntroductionScreens = ((IntroductionScreens2) => {
6
6
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -1,4 +1,4 @@
1
- import { a6 } from "./index-BSMeMrJR.js";
1
+ import { a6 } from "./index-DsPF64fx.js";
2
2
  export {
3
3
  a6 as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a5 as cssProps } from "./index-BSMeMrJR.js";
1
+ import { a5 as cssProps } from "./index-DsPF64fx.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
@@ -34259,7 +34259,8 @@ async function submit({
34259
34259
  actionType: "submit",
34260
34260
  companyStructure: ((_a2 = data.companyStructure) == null ? void 0 : _a2.entityType) ?? null,
34261
34261
  countryOfRegistration: ((_b2 = data.basicInformation) == null ? void 0 : _b2.country) ?? null,
34262
- legalEntityName: ((_c2 = data.basicInformation) == null ? void 0 : _c2.legalCompanyName) ?? null,
34262
+ legalEntityName: accountHolder === "theCompanyIWorkFor" ? ((_c2 = data.basicInformation) == null ? void 0 : _c2.legalCompanyName) ?? null : null,
34263
+ // Only send legalCompanyName for organizations
34263
34264
  usedAdditionalAddress: ((_d2 = data.additionalInformation) == null ? void 0 : _d2.operationalAddressIsSame) === operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME
34264
34265
  };
34265
34266
  const entityToUpdate = (() => {
@@ -51198,7 +51199,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
51198
51199
  return hasOwnEntityAssocation || !!hasOrganizationType;
51199
51200
  };
51200
51201
  const Introduction = lazy$1(
51201
- async () => (await import("./Introduction-DhHhXrxa.js")).Introduction
51202
+ async () => (await import("./Introduction-0R7_nNDp.js")).Introduction
51202
51203
  );
51203
51204
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
51204
51205
  const logger$d = createLogger("DropinComposer");
@@ -56195,7 +56196,7 @@ var TanstackQueryDevtools = (_k = class {
56195
56196
  if (__privateGet(this, _Component)) {
56196
56197
  Devtools = __privateGet(this, _Component);
56197
56198
  } else {
56198
- Devtools = lazy(() => import("./HO4MOOFI-wzF0N7iv.js"));
56199
+ Devtools = lazy(() => import("./HO4MOOFI-C-4iCZGg.js"));
56199
56200
  __privateSet(this, _Component, Devtools);
56200
56201
  }
56201
56202
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -56317,7 +56318,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
56317
56318
  if (__privateGet(this, _Component2)) {
56318
56319
  Devtools = __privateGet(this, _Component2);
56319
56320
  } else {
56320
- Devtools = lazy(() => import("./HUY7CZI3-BK_rqYHa.js"));
56321
+ Devtools = lazy(() => import("./HUY7CZI3-CxRL5Nlo.js"));
56321
56322
  __privateSet(this, _Component2, Devtools);
56322
56323
  }
56323
56324
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -56538,7 +56539,7 @@ const useAnalytics = ({
56538
56539
  componentName,
56539
56540
  onboardingVersion
56540
56541
  }) => {
56541
- const sdkVersion = "3.57.2";
56542
+ const sdkVersion = "3.57.3";
56542
56543
  const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
56543
56544
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
56544
56545
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
@@ -57029,7 +57030,7 @@ const ConfigurationApiProvider = ({
57029
57030
  [authContext, rootLegalEntityId]
57030
57031
  );
57031
57032
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
57032
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.57.2" }),
57033
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.57.3" }),
57033
57034
  children2
57034
57035
  ] });
57035
57036
  };
@@ -57604,10 +57605,10 @@ const transformModule = (highlights, codeNode, scope) => {
57604
57605
  };
57605
57606
  const supportedModules = ["plaintext", "json", "yaml", "css"];
57606
57607
  const moduleMap = {
57607
- plaintext: () => import("./plaintext-BFkPKRSv.js"),
57608
- json: () => import("./json-BOvlLUxr.js"),
57609
- yaml: () => import("./yaml-BvMTQEly.js"),
57610
- css: () => import("./css-Bnf6yr_R.js")
57608
+ plaintext: () => import("./plaintext-CFLJvf3K.js"),
57609
+ json: () => import("./json-Co9P8_KG.js"),
57610
+ yaml: () => import("./yaml-D4Ivucgl.js"),
57611
+ css: () => import("./css-BwOI_cdD.js")
57611
57612
  };
57612
57613
  const getModule = async (name) => {
57613
57614
  if (!supportedModules.includes(name)) {
@@ -57898,7 +57899,7 @@ const DebugModal = ({ onExit }) => {
57898
57899
  const [tab, setTab] = useState("metadata");
57899
57900
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
57900
57901
  const metadata = {
57901
- sdkVersion: "3.57.2",
57902
+ sdkVersion: "3.57.3",
57902
57903
  locale: i18n.locale,
57903
57904
  rootLegalEntityId: rootLegalEntity.id
57904
57905
  };
@@ -1,4 +1,4 @@
1
- import { a5 as cssProps } from "./index-BSMeMrJR.js";
1
+ import { a5 as cssProps } from "./index-DsPF64fx.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 { a5 as cssProps } from "./index-BSMeMrJR.js";
1
+ import { a5 as cssProps } from "./index-DsPF64fx.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text }
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a5 as cssProps } from "./index-BSMeMrJR.js";
1
+ import { a5 as cssProps } from "./index-DsPF64fx.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.57.2",
3
+ "version": "3.57.3",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",