@adyen/kyc-components 3.48.2 → 3.48.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-D9q8Kptr.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-C8DGM6t7.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-CXDP9hDt.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-D9q8Kptr.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-CQfGQVaX.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-C8DGM6t7.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-CXDP9hDt.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-D9q8Kptr.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-CQfGQVaX.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-C8DGM6t7.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-D9q8Kptr.js";
1
+ import { W } from "./index-C8DGM6t7.js";
2
2
  export {
3
3
  W as default
4
4
  };
@@ -10544,9 +10544,8 @@ function TaxInformationField({
10544
10544
  );
10545
10545
  useEffect(() => {
10546
10546
  const hasSavedTaxId = defaultData == null ? void 0 : defaultData.find((taxId) => taxId.country === country);
10547
- if (currentCountryTaxInformation && !hasSavedTaxId) {
10548
- return;
10549
- }
10547
+ if ((currentCountryTaxInformation == null ? void 0 : currentCountryTaxInformation.country) === country) return;
10548
+ if (currentCountryTaxInformation && !hasSavedTaxId) return;
10550
10549
  handleChangeFor("taxInformation", "input")(defaultData);
10551
10550
  }, [country]);
10552
10551
  const showTaxIdExemptedOptions = canExempt && (((_a2 = getTaxIdNumberOptions(country, companyType)) == null ? void 0 : _a2.length) ?? 0) > 1;
@@ -49661,7 +49660,7 @@ const ConfigurationApiProvider = ({
49661
49660
  }) => {
49662
49661
  const authContext = useAuthContext();
49663
49662
  const { isEmbeddedDropin, loadingContext } = authContext;
49664
- const sdkVersion = "3.48.2";
49663
+ const sdkVersion = "3.48.3";
49665
49664
  const rootLegalEntityId = useGlobalStore((store) => store.rootLegalEntity.id);
49666
49665
  useAnalytics({
49667
49666
  onUserEvent,
@@ -50546,7 +50545,7 @@ const DebugModal = ({ onExit }) => {
50546
50545
  const [tab, setTab] = useState("metadata");
50547
50546
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
50548
50547
  const metadata = {
50549
- sdkVersion: "3.48.2",
50548
+ sdkVersion: "3.48.3",
50550
50549
  locale: i18n.locale,
50551
50550
  rootLegalEntityId: rootLegalEntity.id
50552
50551
  };
@@ -53537,7 +53536,7 @@ var TanstackQueryDevtools = (_k = class {
53537
53536
  if (__privateGet(this, _Component)) {
53538
53537
  Devtools = __privateGet(this, _Component);
53539
53538
  } else {
53540
- Devtools = lazy(() => import("./HO4MOOFI-qsfQDXhN.js"));
53539
+ Devtools = lazy(() => import("./HO4MOOFI-NwTVjWrt.js"));
53541
53540
  __privateSet(this, _Component, Devtools);
53542
53541
  }
53543
53542
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -53659,7 +53658,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
53659
53658
  if (__privateGet(this, _Component2)) {
53660
53659
  Devtools = __privateGet(this, _Component2);
53661
53660
  } else {
53662
- Devtools = lazy(() => import("./HUY7CZI3-BKVtu-p6.js"));
53661
+ Devtools = lazy(() => import("./HUY7CZI3-njZg72SG.js"));
53663
53662
  __privateSet(this, _Component2, Devtools);
53664
53663
  }
53665
53664
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.48.2",
3
+ "version": "3.48.3",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",