@adyen/kyc-components 4.25.0-beta.2 → 4.25.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] = "f2b25e83-a951-40f3-967c-cbe31097349e", e._sentryDebugIdIdentifier = "sentry-dbid-f2b25e83-a951-40f3-967c-cbe31097349e");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "eaba86e0-6ccd-4f95-803d-af882236b2dd", e._sentryDebugIdIdentifier = "sentry-dbid-eaba86e0-6ccd-4f95-803d-af882236b2dd");
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.25.0-beta.2",
354
+ sdkVersion: "4.25.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] = "c4bb514c-0971-4534-8e00-5bd2689fe88c", e._sentryDebugIdIdentifier = "sentry-dbid-c4bb514c-0971-4534-8e00-5bd2689fe88c");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.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] = "e449d049-73f3-4417-8b4c-53bf8a2a1f13", e._sentryDebugIdIdentifier = "sentry-dbid-e449d049-73f3-4417-8b4c-53bf8a2a1f13");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.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] = "c8c9f4a5-2a39-40e5-94ff-2748036d3f63", e._sentryDebugIdIdentifier = "sentry-dbid-c8c9f4a5-2a39-40e5-94ff-2748036d3f63");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.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] = "729d62d4-46f0-4621-9cfc-3c262f5216ec", e._sentryDebugIdIdentifier = "sentry-dbid-729d62d4-46f0-4621-9cfc-3c262f5216ec");
4
4
  } catch (e) {}
5
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
5
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.js";
6
6
  import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-hdQc0T7D.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] = "ea7a5ccb-7585-4d92-9605-76a462d6b491", e._sentryDebugIdIdentifier = "sentry-dbid-ea7a5ccb-7585-4d92-9605-76a462d6b491");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Icon } from "./Icon-DFQgr7dy.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] = "76188a61-cee8-435e-97b4-bbcd37f1b015", e._sentryDebugIdIdentifier = "sentry-dbid-76188a61-cee8-435e-97b4-bbcd37f1b015");
4
4
  } catch (e) {}
5
- import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CcCbs90B.js";
5
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.js";
6
6
  import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
7
7
  import { t as TermsOfServiceManagement } from "./TermsOfServiceManagement-BM5K4cpw.js";
8
8
  import register from "preact-custom-element";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6e7ed64d-ba1c-4bf1-9694-dcbe81993253", e._sentryDebugIdIdentifier = "sentry-dbid-6e7ed64d-ba1c-4bf1-9694-dcbe81993253");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.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] = "924eebdb-f5e0-4575-893d-a9254accb0dd", e._sentryDebugIdIdentifier = "sentry-dbid-924eebdb-f5e0-4575-893d-a9254accb0dd");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.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] = "66db2553-002d-49b1-b95d-268183963e08", e._sentryDebugIdIdentifier = "sentry-dbid-66db2553-002d-49b1-b95d-268183963e08");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.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] = "fb214a55-b971-4dd3-ad1d-70c387e23def", e._sentryDebugIdIdentifier = "sentry-dbid-fb214a55-b971-4dd3-ad1d-70c387e23def");
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-CcCbs90B.js";
6
+ import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CLI-fiSo.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-BxdC8cVB.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] = "1cd6b4e2-31ed-4049-a966-7e8966badfe8", e._sentryDebugIdIdentifier = "sentry-dbid-1cd6b4e2-31ed-4049-a966-7e8966badfe8");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c0949c0-f6ab-42e9-a49a-d36c8be7906d", e._sentryDebugIdIdentifier = "sentry-dbid-3c0949c0-f6ab-42e9-a49a-d36c8be7906d");
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.25.0-beta.2";
315
+ const sdkVersion = "4.25.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.25.0-beta.2",
411
+ sdkVersion: "4.25.0",
412
412
  componentName,
413
413
  userAgent: navigator.userAgent,
414
414
  legalEntityId: rootLegalEntityId,
@@ -864,7 +864,7 @@ var AllowedCountryGate = ({ children }) => {
864
864
  };
865
865
  //#endregion
866
866
  //#region src/components/Shared/devex/DebugListener/DebugListener.tsx
867
- var DebugModal = lazy(async () => (await import("./DebugModal-BxebnUyQ.js")).DebugModal);
867
+ var DebugModal = lazy(async () => (await import("./DebugModal-DgbagO5Z.js")).DebugModal);
868
868
  /**
869
869
  * Adds a listener on the page to open the debug modal when the
870
870
  * debug modal key combination is pressed to open it
@@ -965,7 +965,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
965
965
  children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
966
966
  id: "sdk-version",
967
967
  hidden: true,
968
- children: "4.25.0-beta.2"
968
+ children: "4.25.0"
969
969
  }), /* @__PURE__ */ jsx(AnalyticsProvider, {
970
970
  componentName,
971
971
  locale,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "4.25.0-beta.2",
3
+ "version": "4.25.0",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-for-platforms",