@adyen/kyc-components 3.54.1 → 3.54.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 { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, m as mutationSortFns, n as on, p as setAttribute, q as getSidedProp, r as use, v as createUniqueId, w as batch, x as getQueryStatusLabel, y as getMutationStatusColor, z as getQueryStatusColor, A as getQueryStatusColorByLabel, B as displayValue, F as For, C as convertRemToPixels, D as untrack, $ as $TRACK, E as useTransition, G as spread, H as mergeProps, I as createRoot, J as serialize, K as Index, L as updateNestedDataByPath, M as addEventListener, N as stringify, O as Match, Q as Switch, R as deleteNestedDataByPath, T as splitProps, U as Dynamic, V as createComputed } from "./index-ZV4F7-Oa.js";
4
+ import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, m as mutationSortFns, n as on, p as setAttribute, q as getSidedProp, r as use, v as createUniqueId, w as batch, x as getQueryStatusLabel, y as getMutationStatusColor, z as getQueryStatusColor, A as getQueryStatusColorByLabel, B as displayValue, F as For, C as convertRemToPixels, D as untrack, $ as $TRACK, E as useTransition, G as spread, H as mergeProps, I as createRoot, J as serialize, K as Index, L as updateNestedDataByPath, M as addEventListener, N as stringify, O as Match, Q as Switch, R as deleteNestedDataByPath, T as splitProps, U as Dynamic, V as createComputed } from "./index-DQEdl1Ya.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-j-_pd79b.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-ZV4F7-Oa.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-BuYu03kz.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-DQEdl1Ya.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-j-_pd79b.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-ZV4F7-Oa.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-BuYu03kz.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-DQEdl1Ya.js";
3
3
  var DevtoolsPanelComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { W } from "./index-ZV4F7-Oa.js";
1
+ import { W } from "./index-DQEdl1Ya.js";
2
2
  export {
3
3
  W as default
4
4
  };
@@ -36903,7 +36903,7 @@ const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
36903
36903
  var _a2, _b2, _c2;
36904
36904
  return {
36905
36905
  email: ((_a2 = customerSupport == null ? void 0 : customerSupport.customerSupport) == null ? void 0 : _a2.email) || "",
36906
- phoneNumber: {
36906
+ phone: {
36907
36907
  number: ((_c2 = (_b2 = customerSupport == null ? void 0 : customerSupport.customerSupport) == null ? void 0 : _b2.phoneNumber) == null ? void 0 : _c2.number) || "",
36908
36908
  type: "mobile"
36909
36909
  }
@@ -37728,7 +37728,7 @@ function CustomerSupport({
37728
37728
  const legalEntityType = legalEntityResponse.type;
37729
37729
  const defaultCustomerSupportData = {
37730
37730
  customerSupport: {
37731
- phoneNumber: (_b2 = (_a2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _a2.support) == null ? void 0 : _b2.phoneNumber,
37731
+ phoneNumber: (_b2 = (_a2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _a2.support) == null ? void 0 : _b2.phone,
37732
37732
  email: (_d2 = (_c2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _c2.support) == null ? void 0 : _d2.email
37733
37733
  }
37734
37734
  };
@@ -59042,7 +59042,7 @@ const ConfigurationApiProvider = ({
59042
59042
  }) => {
59043
59043
  const authContext = useAuthContext();
59044
59044
  const { isEmbeddedDropin, loadingContext } = authContext;
59045
- const sdkVersion = "3.54.1";
59045
+ const sdkVersion = "3.54.2";
59046
59046
  const rootLegalEntityId = useGlobalStore((store) => store.rootLegalEntity.id);
59047
59047
  useAnalytics({
59048
59048
  onUserEvent,
@@ -59782,7 +59782,7 @@ const DebugModal = ({ onExit }) => {
59782
59782
  const [tab, setTab] = useState("metadata");
59783
59783
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
59784
59784
  const metadata = {
59785
- sdkVersion: "3.54.1",
59785
+ sdkVersion: "3.54.2",
59786
59786
  locale: i18n.locale,
59787
59787
  rootLegalEntityId: rootLegalEntity.id
59788
59788
  };
@@ -62777,7 +62777,7 @@ var TanstackQueryDevtools = (_k = class {
62777
62777
  if (__privateGet(this, _Component)) {
62778
62778
  Devtools = __privateGet(this, _Component);
62779
62779
  } else {
62780
- Devtools = lazy(() => import("./HO4MOOFI-DGjLNRTo.js"));
62780
+ Devtools = lazy(() => import("./HO4MOOFI-2gy36lPR.js"));
62781
62781
  __privateSet(this, _Component, Devtools);
62782
62782
  }
62783
62783
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -62899,7 +62899,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
62899
62899
  if (__privateGet(this, _Component2)) {
62900
62900
  Devtools = __privateGet(this, _Component2);
62901
62901
  } else {
62902
- Devtools = lazy(() => import("./HUY7CZI3-9PCXmoMK.js"));
62902
+ Devtools = lazy(() => import("./HUY7CZI3-CHko2UyX.js"));
62903
62903
  __privateSet(this, _Component2, Devtools);
62904
62904
  }
62905
62905
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -7,6 +7,6 @@ import type { Phone } from './phone';
7
7
  *
8
8
  */
9
9
  export interface CustomerSupport {
10
- phoneNumber: Phone;
10
+ phone: Phone;
11
11
  email: string;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.54.1",
3
+ "version": "3.54.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",