@adyen/kyc-components 4.9.1 → 4.9.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.
- package/dist/{BusinessFinancingDropin-BzyN2fYq.js → BusinessFinancingDropin-CaO-YWQF.js} +10 -3
- package/dist/{BusinessFinancingPage-BxRtrLLz.js → BusinessFinancingPage-RQvWOuzI.js} +1 -1
- package/dist/{DebugModal-CFzqTkPk.js → DebugModal-DhZQIJxP.js} +2 -2
- package/dist/{PayoutDetailsPage-_4SMjUPR.js → PayoutDetailsPage-Cykyoqxm.js} +1 -1
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +1 -1
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +1 -1
- package/dist/adyen-onboarding.js +4 -4
- package/dist/adyen-terms-of-service-management.js +1 -1
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +1 -1
- package/dist/adyen-transfer-instrument-management.js +1 -1
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{resolveEnvironment-UWosxArO.js → resolveEnvironment-CguBRdxx.js} +5 -5
- package/dist/types/core/models/api/financialReport.d.ts +2 -2
- package/dist/{useNavigate-CxTAB8oE.js → useNavigate-lR8Lcsrq.js} +2 -2
- package/package.json +1 -1
|
@@ -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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93231967-0ab9-43ea-93ea-7f5b6f3290e7", e._sentryDebugIdIdentifier = "sentry-dbid-93231967-0ab9-43ea-93ea-7f5b6f3290e7");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, r as useTranslation } from "./translation-BFxyJ1c5.js";
|
|
6
6
|
import { r as Loader, t as Button } from "./Button-oj6H8OrC.js";
|
|
@@ -242,13 +242,17 @@ var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLega
|
|
|
242
242
|
const businessFinancingCountry = businessFinancingDetails.organization.registeredAddress?.country || rootLegalEntity?.organization?.registeredAddress?.country;
|
|
243
243
|
const companyData = businessFinancingData;
|
|
244
244
|
if (companyData.financialReportingDate && isEeaCountry(businessFinancingCountry)) {
|
|
245
|
-
const
|
|
245
|
+
const { balanceSheetTotal: bst, ...restFinancialReport } = mapFinancialInformationToFinancialReport({
|
|
246
246
|
currency: companyData.currency,
|
|
247
247
|
financialReportingDate: companyData.financialReportingDate,
|
|
248
248
|
numberOfEmployees: companyData.numberOfEmployees ? Number(companyData.numberOfEmployees) : void 0,
|
|
249
249
|
balanceSheetTotal: companyData.balanceSheetTotal ? Number(companyData.balanceSheetTotal) : void 0,
|
|
250
250
|
annualTurnover: companyData.annualTurnover ? Number(companyData.annualTurnover) : void 0
|
|
251
251
|
});
|
|
252
|
+
const businessFinancingFinancialReport = {
|
|
253
|
+
...restFinancialReport,
|
|
254
|
+
netAssets: bst
|
|
255
|
+
};
|
|
252
256
|
businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
|
|
253
257
|
}
|
|
254
258
|
if (!isEeaCountry(businessFinancingCountry)) businessFinancingDetails.organization.financialReports = void 0;
|
|
@@ -273,7 +277,10 @@ var appendBusinessFinancingData = (legalOrganization, businessFinancingData) =>
|
|
|
273
277
|
const clonedBusinessFinancingData = { ...businessFinancingData };
|
|
274
278
|
let financialReportData = {};
|
|
275
279
|
if (legalOrganization.financialReports) {
|
|
276
|
-
financialReportData = financialReportsToString(mapFinancialReportsToFinancialInformation(Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports],
|
|
280
|
+
financialReportData = financialReportsToString(mapFinancialReportsToFinancialInformation((Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports]).map(({ netAssets, ...rest }) => ({
|
|
281
|
+
...rest,
|
|
282
|
+
balanceSheetTotal: rest.balanceSheetTotal ?? netAssets
|
|
283
|
+
})), false));
|
|
277
284
|
if (financialReportData.numberOfEmployees) financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
|
|
278
285
|
}
|
|
279
286
|
return {
|
|
@@ -7,7 +7,7 @@ import { r as Loader } from "./Button-oj6H8OrC.js";
|
|
|
7
7
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-yxi9XhLi.js";
|
|
8
8
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-rq_tsyLP.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-CaO-YWQF.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d94d8cd0-b739-420f-8d26-f26c394d355b", e._sentryDebugIdIdentifier = "sentry-dbid-d94d8cd0-b739-420f-8d26-f26c394d355b");
|
|
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.
|
|
349
|
+
sdkVersion: "4.9.2",
|
|
350
350
|
locale: i18n.language,
|
|
351
351
|
rootLegalEntityId: rootLegalEntity.id
|
|
352
352
|
};
|
|
@@ -23,7 +23,7 @@ import { t as Confirm } from "./Confirm-B6TWSuab.js";
|
|
|
23
23
|
import { n as FeatureNames, t as ExperimentNames } from "./types-8S6KTD2W.js";
|
|
24
24
|
import { t as Image } from "./Image-BEzOZ1tt.js";
|
|
25
25
|
import { n as getLegalEntityNameBasedOnType, r as getPayoutAccountHolderName } from "./getName-Bdwp_hkV.js";
|
|
26
|
-
import { t as useNavigate } from "./useNavigate-
|
|
26
|
+
import { t as useNavigate } from "./useNavigate-lR8Lcsrq.js";
|
|
27
27
|
import { n as FormFlow, r as FormContextProvider, t as useFormContext } from "./useFormContext-Cx9-3iXR.js";
|
|
28
28
|
import { r as getPropsFromConfigurations } from "./process-field-configurations-C7MuEj5q.js";
|
|
29
29
|
import { i as useFormComposer, n as getRequiredForms, t as addValidityToForms } from "./dropinUtils-IdasFZCU.js";
|
|
@@ -3,14 +3,14 @@ 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-
|
|
6
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.js";
|
|
7
7
|
import { r as Loader } from "./Button-oj6H8OrC.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-yxi9XhLi.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
|
|
10
10
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-rq_tsyLP.js";
|
|
11
11
|
import { t as MaybeModal } from "./MaybeModal-CeTBIah3.js";
|
|
12
12
|
import { t as emitAdyenSdkEvent } from "./emitEvent-Cdd95HOT.js";
|
|
13
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
13
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-CaO-YWQF.js";
|
|
14
14
|
import register from "preact-custom-element";
|
|
15
15
|
import { useMemo, useRef } from "preact/hooks";
|
|
16
16
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -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-
|
|
6
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.js";
|
|
7
7
|
import { r as Loader } from "./Button-oj6H8OrC.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-yxi9XhLi.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-
|
|
6
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.js";
|
|
7
7
|
import { s as useApiContext } from "./http-D1NDkBxF.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-yxi9XhLi.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-
|
|
5
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.js";
|
|
6
6
|
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-5VQCEg8c.js";
|
|
7
7
|
import register from "preact-custom-element";
|
|
8
8
|
import { jsx } from "preact/jsx-runtime";
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -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-
|
|
6
|
+
import { a as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.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-D1NDkBxF.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-yxi9XhLi.js";
|
|
@@ -58,7 +58,7 @@ import { t as isNewEntity } from "./isNewEntity-4QusRCpP.js";
|
|
|
58
58
|
import { i as idNowPostSubmit, o as showIdNowModal, t as isBafinSignatoryFlow } from "./bafinUtils-kBPs58Au.js";
|
|
59
59
|
import { t as useTrustMembers } from "./useTrustMembers-NwUmFfVc.js";
|
|
60
60
|
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-5MvG_ts4.js";
|
|
61
|
-
import { A as UnincorporatedPartnershipMembersOverview$1, C as TrustMemberCompanyPage$1, D as UnincorporatedPartnershipIndividualPage$1, E as TrustMembersOverview$1, M as getDefaultTask$1, O as UnincorporatedPartnershipMemberCompanyPage$1, S as TrustDetailsPage$1, T as TrustMemberRoleAndTypePage$1, _ as SignPCIComponent$1, a as BusinessTypeSelectionPage$1, b as SourceOfFundsPage$1, c as DecisionMakers$1, d as PayoutDetailsPage$1, f as ROUTE_PATHS, g as RootIndividualDetailsPage$1, h as RootBusinessLinesPage$1, i as BusinessFinancingPage$1, j as detectBasePath, k as UnincorporatedPartnershipMemberRoleAndTypePage$1, l as Introduction$1, m as RootBusinessDetailsPage$1, n as AcceptTermsOfService$1, o as CustomerSupport$1, p as Review$1, r as AccountSetupRejected$1, s as DecisionMakerDetailsPage$1, t as useNavigate, u as LegalRepresentativeDetailsPage$1, v as SingpassSelection$1, w as TrustMemberIndividualPage$1, x as TaxReportingDropin$1, y as SoleProprietorshipPage$1 } from "./useNavigate-
|
|
61
|
+
import { A as UnincorporatedPartnershipMembersOverview$1, C as TrustMemberCompanyPage$1, D as UnincorporatedPartnershipIndividualPage$1, E as TrustMembersOverview$1, M as getDefaultTask$1, O as UnincorporatedPartnershipMemberCompanyPage$1, S as TrustDetailsPage$1, T as TrustMemberRoleAndTypePage$1, _ as SignPCIComponent$1, a as BusinessTypeSelectionPage$1, b as SourceOfFundsPage$1, c as DecisionMakers$1, d as PayoutDetailsPage$1, f as ROUTE_PATHS, g as RootIndividualDetailsPage$1, h as RootBusinessLinesPage$1, i as BusinessFinancingPage$1, j as detectBasePath, k as UnincorporatedPartnershipMemberRoleAndTypePage$1, l as Introduction$1, m as RootBusinessDetailsPage$1, n as AcceptTermsOfService$1, o as CustomerSupport$1, p as Review$1, r as AccountSetupRejected$1, s as DecisionMakerDetailsPage$1, t as useNavigate, u as LegalRepresentativeDetailsPage$1, v as SingpassSelection$1, w as TrustMemberIndividualPage$1, x as TaxReportingDropin$1, y as SoleProprietorshipPage$1 } from "./useNavigate-lR8Lcsrq.js";
|
|
62
62
|
import register from "preact-custom-element";
|
|
63
63
|
import { Suspense, lazy } from "preact/compat";
|
|
64
64
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -1840,7 +1840,7 @@ var Review = lazy(async () => (await import("./Review-nNDDLyLy.js")).Review);
|
|
|
1840
1840
|
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-DygENf2d.js")).SignPCIComponent);
|
|
1841
1841
|
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-DUEllUW-.js")).AcceptTermsOfServiceComponent);
|
|
1842
1842
|
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-53cxCQA-.js")).TaxReportingDropin);
|
|
1843
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
1843
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-Cykyoqxm.js")).PayoutDetailsPage);
|
|
1844
1844
|
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-DinhHQY-.js")).RootBusinessDetailsPage);
|
|
1845
1845
|
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Cq8HSU7U.js")).RootBusinessLinesPage);
|
|
1846
1846
|
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-CpL77xpx.js")).SoleProprietorshipPage);
|
|
@@ -1852,7 +1852,7 @@ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import(
|
|
|
1852
1852
|
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-Dr6ap4ao.js")).UnincorporatedPartnershipIndividualPage);
|
|
1853
1853
|
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-FGooutwg.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
1854
1854
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-CYv76pOg.js")).UnincorporatedPartnershipMembersOverview);
|
|
1855
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
1855
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-RQvWOuzI.js")).BusinessFinancingPage);
|
|
1856
1856
|
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-D-_3lCEz.js")).TrustDetailsPage);
|
|
1857
1857
|
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-D0TFuyNy.js")).SourceOfFundsPage);
|
|
1858
1858
|
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-D1j0wZoW.js")).RootIndividualDetailsPage);
|
|
@@ -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-
|
|
5
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.js";
|
|
6
6
|
import { t as emitAdyenSdkEvent } from "./emitEvent-Cdd95HOT.js";
|
|
7
7
|
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-D9-mwS-T.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-
|
|
6
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.js";
|
|
7
7
|
import { s as useApiContext } from "./http-D1NDkBxF.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-YBxJYvyS.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-
|
|
6
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.js";
|
|
7
7
|
import { r as Loader } from "./Button-oj6H8OrC.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-yxi9XhLi.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-
|
|
6
|
+
import { a as stylesheets, i as useI18nContext, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.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-D1NDkBxF.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-
|
|
6
|
+
import { a as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-CguBRdxx.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-D1NDkBxF.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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f4f09ac9-2e08-4ebb-9a02-92a978229a17", e._sentryDebugIdIdentifier = "sentry-dbid-f4f09ac9-2e08-4ebb-9a02-92a978229a17");
|
|
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.
|
|
307
|
+
const sdkVersion = "4.9.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.
|
|
402
|
+
sdkVersion: "4.9.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-
|
|
1058
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-DhZQIJxP.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.
|
|
1146
|
+
children: "4.9.2"
|
|
1147
1147
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
1148
1148
|
componentName,
|
|
1149
1149
|
rootLegalEntityId,
|
|
@@ -2,8 +2,7 @@ import type { Currency } from '../../../types/datasets/currency';
|
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated This hand-crafted interface duplicates `FinancialReportDto` from
|
|
4
4
|
* `src/api/legalEntity/legalEntity.contract.d.ts` and should be replaced by it.
|
|
5
|
-
*
|
|
6
|
-
* - `netAssets` — present in the backend spec but intentionally excluded from the UI
|
|
5
|
+
* One override will be needed in a `*.types.ts` file when migrating:
|
|
7
6
|
* - `currencyOfFinancialData` — needs narrowing from `string` to the stricter `Currency` type
|
|
8
7
|
*/
|
|
9
8
|
export interface FinancialReport {
|
|
@@ -11,5 +10,6 @@ export interface FinancialReport {
|
|
|
11
10
|
dateOfFinancialData?: string;
|
|
12
11
|
employeeCount?: string;
|
|
13
12
|
balanceSheetTotal?: string;
|
|
13
|
+
netAssets?: string;
|
|
14
14
|
annualTurnover?: string;
|
|
15
15
|
}
|
|
@@ -35,7 +35,7 @@ var Review = lazy(async () => (await import("./Review-nNDDLyLy.js")).Review);
|
|
|
35
35
|
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-DygENf2d.js")).SignPCIComponent);
|
|
36
36
|
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-DUEllUW-.js")).AcceptTermsOfServiceComponent);
|
|
37
37
|
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-53cxCQA-.js")).TaxReportingDropin);
|
|
38
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
38
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-Cykyoqxm.js")).PayoutDetailsPage);
|
|
39
39
|
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-DinhHQY-.js")).RootBusinessDetailsPage);
|
|
40
40
|
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Cq8HSU7U.js")).RootBusinessLinesPage);
|
|
41
41
|
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-CpL77xpx.js")).SoleProprietorshipPage);
|
|
@@ -47,7 +47,7 @@ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import(
|
|
|
47
47
|
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-Dr6ap4ao.js")).UnincorporatedPartnershipIndividualPage);
|
|
48
48
|
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-FGooutwg.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
49
49
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-CYv76pOg.js")).UnincorporatedPartnershipMembersOverview);
|
|
50
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
50
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-RQvWOuzI.js")).BusinessFinancingPage);
|
|
51
51
|
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-D-_3lCEz.js")).TrustDetailsPage);
|
|
52
52
|
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-D0TFuyNy.js")).SourceOfFundsPage);
|
|
53
53
|
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-D1j0wZoW.js")).RootIndividualDetailsPage);
|