@adyen/kyc-components 4.9.0-beta.1 → 4.9.0-beta.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,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] = "79a031a2-dcfe-47d3-9ea7-6c5a5f9c8402", e._sentryDebugIdIdentifier = "sentry-dbid-79a031a2-dcfe-47d3-9ea7-6c5a5f9c8402");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b98299c6-50b7-40b1-8c79-39ca5f6de955", e._sentryDebugIdIdentifier = "sentry-dbid-b98299c6-50b7-40b1-8c79-39ca5f6de955");
4
4
  } catch (e) {}
5
5
  import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
6
  import { t as Button } from "./Button-oj6H8OrC.js";
@@ -346,7 +346,7 @@ var DebugModal = ({ onExit }) => {
346
346
  const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
347
347
  const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
348
348
  const metadata = {
349
- sdkVersion: "4.9.0-beta.1",
349
+ sdkVersion: "4.9.0-beta.2",
350
350
  locale: i18n.language,
351
351
  rootLegalEntityId: rootLegalEntity.id
352
352
  };
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "72a8853d-b46d-4a74-9163-05476406e9ed", e._sentryDebugIdIdentifier = "sentry-dbid-72a8853d-b46d-4a74-9163-05476406e9ed");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { r as Loader } from "./Button-oj6H8OrC.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-Dv5dgbCO.js";
9
9
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "06e13b80-1238-4d43-84bc-c3705d11cebf", e._sentryDebugIdIdentifier = "sentry-dbid-06e13b80-1238-4d43-84bc-c3705d11cebf");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { r as Loader } from "./Button-oj6H8OrC.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-Dv5dgbCO.js";
9
9
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0c0f4d20-2950-4be6-8956-0232371bd031", e._sentryDebugIdIdentifier = "sentry-dbid-0c0f4d20-2950-4be6-8956-0232371bd031");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { s as useApiContext } from "./http-msAasD57.js";
8
8
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-Dv5dgbCO.js";
9
9
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-rq_tsyLP.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] = "e2356496-fa24-4f92-93f2-11c2e9ae3d6a", e._sentryDebugIdIdentifier = "sentry-dbid-e2356496-fa24-4f92-93f2-11c2e9ae3d6a");
4
4
  } catch (e) {}
5
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
5
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
6
6
  import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-qaPrycQU.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] = "3e339332-317b-41e9-873b-9678dee86859", e._sentryDebugIdIdentifier = "sentry-dbid-3e339332-317b-41e9-873b-9678dee86859");
4
4
  } catch (e) {}
5
5
  import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { n as IconButton, r as Loader, t as Button } from "./Button-oj6H8OrC.js";
8
8
  import { n as httpGet, r as httpPost, s as useApiContext } from "./http-msAasD57.js";
9
9
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-Dv5dgbCO.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] = "f9eb7e13-92f5-4a56-8a69-bb35761e3293", e._sentryDebugIdIdentifier = "sentry-dbid-f9eb7e13-92f5-4a56-8a69-bb35761e3293");
4
4
  } catch (e) {}
5
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
5
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
6
6
  import { t as emitAdyenSdkEvent } from "./emitEvent-Cdd95HOT.js";
7
7
  import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-U1D1xOlX.js";
8
8
  import register from "preact-custom-element";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b27f56bd-11dc-4690-b520-46463a487ce3", e._sentryDebugIdIdentifier = "sentry-dbid-b27f56bd-11dc-4690-b520-46463a487ce3");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { s as useApiContext } from "./http-msAasD57.js";
8
8
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-rq_tsyLP.js";
9
9
  import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-C6UX8Rtp.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b0dac785-43ed-4d41-9e35-1e6ce0208b0a", e._sentryDebugIdIdentifier = "sentry-dbid-b0dac785-43ed-4d41-9e35-1e6ce0208b0a");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { r as Loader } from "./Button-oj6H8OrC.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-Dv5dgbCO.js";
9
9
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-rq_tsyLP.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e5c4ca74-8bbc-4b04-a069-e222129dc928", e._sentryDebugIdIdentifier = "sentry-dbid-e5c4ca74-8bbc-4b04-a069-e222129dc928");
4
4
  } catch (e) {}
5
5
  import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, i as useI18nContext, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, i as useI18nContext, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { r as Loader, t as Button } from "./Button-oj6H8OrC.js";
8
8
  import { n as httpGet, s as useApiContext } from "./http-msAasD57.js";
9
9
  import { r as cloneObject, u as entriesOf } from "./useAnalyticsContext-BVFDMrVE.js";
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93718500-82bb-402c-93d6-987a1bba8830", e._sentryDebugIdIdentifier = "sentry-dbid-93718500-82bb-402c-93d6-987a1bba8830");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
- import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-zY9lPkwJ.js";
6
+ import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-0xmleakB.js";
7
7
  import { r as Loader, t as Button } from "./Button-oj6H8OrC.js";
8
8
  import { r as httpPost, s as useApiContext } from "./http-msAasD57.js";
9
9
  import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-rq_tsyLP.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] = "31111662-f956-474a-8f25-89265e4496dc", e._sentryDebugIdIdentifier = "sentry-dbid-31111662-f956-474a-8f25-89265e4496dc");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4bb626fe-6416-4354-bcd6-acb58e8b2ac8", e._sentryDebugIdIdentifier = "sentry-dbid-4bb626fe-6416-4354-bcd6-acb58e8b2ac8");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-BFxyJ1c5.js";
6
6
  import { r as Loader, t as Button } from "./Button-oj6H8OrC.js";
@@ -304,7 +304,7 @@ var getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType) =
304
304
  //#endregion
305
305
  //#region src/hooks/useAnalytics/useAnalytics.ts
306
306
  var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
307
- const sdkVersion = "4.9.0-beta.1";
307
+ const sdkVersion = "4.9.0-beta.2";
308
308
  const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
309
309
  const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
310
310
  const { accountHolder } = useAccountHolder();
@@ -399,7 +399,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId }) => {
399
399
  const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
400
400
  const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
401
401
  const sessionData = {
402
- sdkVersion: "4.9.0-beta.1",
402
+ sdkVersion: "4.9.0-beta.2",
403
403
  componentName,
404
404
  userAgent: navigator.userAgent,
405
405
  legalEntityId: rootLegalEntityId,
@@ -1055,7 +1055,7 @@ var AllowedCountryGate = ({ children }) => {
1055
1055
  };
1056
1056
  //#endregion
1057
1057
  //#region src/components/Shared/devex/DebugListener/DebugListener.tsx
1058
- var DebugModal = lazy(async () => (await import("./DebugModal-CX6EZih-.js")).DebugModal);
1058
+ var DebugModal = lazy(async () => (await import("./DebugModal-CkoiXkND.js")).DebugModal);
1059
1059
  /**
1060
1060
  * Adds a listener on the page to open the debug modal when the
1061
1061
  * debug modal key combination is pressed to open it
@@ -1143,7 +1143,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
1143
1143
  children: /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
1144
1144
  className: "adyen-kyc__sdk-version",
1145
1145
  hidden: true,
1146
- children: "4.9.0-beta.1"
1146
+ children: "4.9.0-beta.2"
1147
1147
  }), /* @__PURE__ */ jsx(AnalyticsProvider, {
1148
1148
  componentName,
1149
1149
  rootLegalEntityId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "4.9.0-beta.1",
3
+ "version": "4.9.0-beta.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-for-platforms",