@adyen/kyc-components 3.53.2 → 3.53.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 { 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-DENuK0_N.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-C2PXoeGu.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-BoL9jlIT.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-DENuK0_N.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-CYgbYp1H.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-C2PXoeGu.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-BoL9jlIT.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-DENuK0_N.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-CYgbYp1H.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-C2PXoeGu.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-DENuK0_N.js";
1
+ import { W } from "./index-C2PXoeGu.js";
2
2
  export {
3
3
  W as default
4
4
  };
@@ -36773,7 +36773,7 @@ const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
36773
36773
  var _a2, _b2, _c2;
36774
36774
  return {
36775
36775
  email: ((_a2 = customerSupport == null ? void 0 : customerSupport.customerSupport) == null ? void 0 : _a2.email) || "",
36776
- phoneNumber: {
36776
+ phone: {
36777
36777
  number: ((_c2 = (_b2 = customerSupport == null ? void 0 : customerSupport.customerSupport) == null ? void 0 : _b2.phoneNumber) == null ? void 0 : _c2.number) || "",
36778
36778
  type: "mobile"
36779
36779
  }
@@ -37598,7 +37598,7 @@ function CustomerSupport({
37598
37598
  const legalEntityType = legalEntityResponse.type;
37599
37599
  const defaultCustomerSupportData = {
37600
37600
  customerSupport: {
37601
- phoneNumber: (_b2 = (_a2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _a2.support) == null ? void 0 : _b2.phoneNumber,
37601
+ phoneNumber: (_b2 = (_a2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _a2.support) == null ? void 0 : _b2.phone,
37602
37602
  email: (_d2 = (_c2 = legalEntityResponse[legalEntityType]) == null ? void 0 : _c2.support) == null ? void 0 : _d2.email
37603
37603
  }
37604
37604
  };
@@ -58048,7 +58048,7 @@ const ConfigurationApiProvider = ({
58048
58048
  }) => {
58049
58049
  const authContext = useAuthContext();
58050
58050
  const { isEmbeddedDropin, loadingContext } = authContext;
58051
- const sdkVersion = "3.53.2";
58051
+ const sdkVersion = "3.53.3";
58052
58052
  const rootLegalEntityId = useGlobalStore((store) => store.rootLegalEntity.id);
58053
58053
  useAnalytics({
58054
58054
  onUserEvent,
@@ -58788,7 +58788,7 @@ const DebugModal = ({ onExit }) => {
58788
58788
  const [tab, setTab] = useState("metadata");
58789
58789
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
58790
58790
  const metadata = {
58791
- sdkVersion: "3.53.2",
58791
+ sdkVersion: "3.53.3",
58792
58792
  locale: i18n.locale,
58793
58793
  rootLegalEntityId: rootLegalEntity.id
58794
58794
  };
@@ -61788,7 +61788,7 @@ var TanstackQueryDevtools = (_k = class {
61788
61788
  if (__privateGet(this, _Component)) {
61789
61789
  Devtools = __privateGet(this, _Component);
61790
61790
  } else {
61791
- Devtools = lazy(() => import("./HO4MOOFI-Cj7-DqRm.js"));
61791
+ Devtools = lazy(() => import("./HO4MOOFI-BDQe467S.js"));
61792
61792
  __privateSet(this, _Component, Devtools);
61793
61793
  }
61794
61794
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -61910,7 +61910,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
61910
61910
  if (__privateGet(this, _Component2)) {
61911
61911
  Devtools = __privateGet(this, _Component2);
61912
61912
  } else {
61913
- Devtools = lazy(() => import("./HUY7CZI3-n6-nghz1.js"));
61913
+ Devtools = lazy(() => import("./HUY7CZI3-C1L5gL8f.js"));
61914
61914
  __privateSet(this, _Component2, Devtools);
61915
61915
  }
61916
61916
  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.53.2",
3
+ "version": "3.53.3",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",