@adyen/kyc-components 4.24.0-beta.1 → 4.24.0

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,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b8b99acc-8a92-4c34-aaa5-a844e591b6d8", e._sentryDebugIdIdentifier = "sentry-dbid-b8b99acc-8a92-4c34-aaa5-a844e591b6d8");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2751654a-d3e0-4e0c-9116-a8761f3468f8", e._sentryDebugIdIdentifier = "sentry-dbid-2751654a-d3e0-4e0c-9116-a8761f3468f8");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
@@ -351,7 +351,7 @@ var DebugModal = ({ onExit }) => {
351
351
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
352
352
  const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
353
353
  const metadata = {
354
- sdkVersion: "4.24.0-beta.1",
354
+ sdkVersion: "4.24.0",
355
355
  locale: i18n.language,
356
356
  rootLegalEntityId: rootLegalEntity.id
357
357
  };
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a337cb1d-6680-4096-bfdf-6b4333b15c24", e._sentryDebugIdIdentifier = "sentry-dbid-a337cb1d-6680-4096-bfdf-6b4333b15c24");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { t as Loader } from "./Loader-BVtlpTeo.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
9
9
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ec55c480-2d3a-4787-9e6f-cf2754319cf7", e._sentryDebugIdIdentifier = "sentry-dbid-ec55c480-2d3a-4787-9e6f-cf2754319cf7");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { t as Loader } from "./Loader-BVtlpTeo.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
9
9
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2cf7a924-bdaa-4f8f-9edb-33b68170107c", e._sentryDebugIdIdentifier = "sentry-dbid-2cf7a924-bdaa-4f8f-9edb-33b68170107c");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { s as useApiContext } from "./http-DsJtugN1.js";
8
8
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
9
9
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
@@ -2,7 +2,7 @@ try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "43057ca7-c279-4cfc-b3db-4d872f35cdfa", e._sentryDebugIdIdentifier = "sentry-dbid-43057ca7-c279-4cfc-b3db-4d872f35cdfa");
4
4
  } catch (e) {}
5
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
5
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
6
6
  import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-DZZe5Ruk.js";
7
7
  import register from "preact-custom-element";
8
8
  import { jsx } from "preact/jsx-runtime";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "412af7ba-76a5-4e3c-9661-4ff98bc22bee", e._sentryDebugIdIdentifier = "sentry-dbid-412af7ba-76a5-4e3c-9661-4ff98bc22bee");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Icon } from "./Icon-4XR6gZzk.js";
9
9
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
@@ -2,7 +2,7 @@ try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dca19d0d-a925-4b9a-9c72-bb442ea54f82", e._sentryDebugIdIdentifier = "sentry-dbid-dca19d0d-a925-4b9a-9c72-bb442ea54f82");
4
4
  } catch (e) {}
5
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
5
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
6
6
  import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
7
7
  import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-BGrBal0j.js";
8
8
  import register from "preact-custom-element";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bccfc920-da4b-4f39-8fe2-40930198119a", e._sentryDebugIdIdentifier = "sentry-dbid-bccfc920-da4b-4f39-8fe2-40930198119a");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { s as useApiContext } from "./http-DsJtugN1.js";
8
8
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
9
9
  import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DbJDklA2.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1c933fe6-2b63-4c04-a475-bb6168d3d5e4", e._sentryDebugIdIdentifier = "sentry-dbid-1c933fe6-2b63-4c04-a475-bb6168d3d5e4");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { t as Loader } from "./Loader-BVtlpTeo.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
9
9
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e0c659d7-7d8d-41d2-9d13-2d640f85f5d6", e._sentryDebugIdIdentifier = "sentry-dbid-e0c659d7-7d8d-41d2-9d13-2d640f85f5d6");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
9
  import { t as Loader } from "./Loader-BVtlpTeo.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9773611-96d0-4332-80a6-d45854a254cc", e._sentryDebugIdIdentifier = "sentry-dbid-d9773611-96d0-4332-80a6-d45854a254cc");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-mrb68kgW.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BwfBwdTL.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Loader } from "./Loader-BVtlpTeo.js";
9
9
  import { t as Button } from "./Button-DPJ1k02w.js";
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6006ce53-3fd3-4e0d-810a-b0aec14defe0", e._sentryDebugIdIdentifier = "sentry-dbid-6006ce53-3fd3-4e0d-810a-b0aec14defe0");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0fb31597-abf2-4fb5-81d4-b8808e39960f", e._sentryDebugIdIdentifier = "sentry-dbid-0fb31597-abf2-4fb5-81d4-b8808e39960f");
4
4
  } catch (e) {}
5
5
  import { a as setDefaults, i as setI18n, n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
@@ -312,7 +312,7 @@ var getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType) =
312
312
  //#endregion
313
313
  //#region src/hooks/useAnalytics/useAnalytics.ts
314
314
  var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
315
- const sdkVersion = "4.24.0-beta.1";
315
+ const sdkVersion = "4.24.0";
316
316
  const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
317
317
  const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
318
318
  const { accountHolder } = useAccountHolder();
@@ -408,7 +408,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
408
408
  const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
409
409
  const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
410
410
  const sessionData = {
411
- sdkVersion: "4.24.0-beta.1",
411
+ sdkVersion: "4.24.0",
412
412
  componentName,
413
413
  userAgent: navigator.userAgent,
414
414
  legalEntityId: rootLegalEntityId,
@@ -865,7 +865,7 @@ var AllowedCountryGate = ({ children }) => {
865
865
  };
866
866
  //#endregion
867
867
  //#region src/components/Shared/devex/DebugListener/DebugListener.tsx
868
- var DebugModal = lazy(async () => (await import("./DebugModal-CDfvQRk6.js")).DebugModal);
868
+ var DebugModal = lazy(async () => (await import("./DebugModal-CvRyl9qY.js")).DebugModal);
869
869
  /**
870
870
  * Adds a listener on the page to open the debug modal when the
871
871
  * debug modal key combination is pressed to open it
@@ -966,7 +966,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
966
966
  children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
967
967
  id: "sdk-version",
968
968
  hidden: true,
969
- children: "4.24.0-beta.1"
969
+ children: "4.24.0"
970
970
  }), /* @__PURE__ */ jsx(AnalyticsProvider, {
971
971
  componentName,
972
972
  locale,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "4.24.0-beta.1",
3
+ "version": "4.24.0",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-for-platforms",