@adyen/kyc-components 3.80.0 → 3.80.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/{AcceptTermsOfServiceComponent-DKDi6iRX.js → AcceptTermsOfServiceComponent-CchhPHen.js} +5 -5
- package/dist/{AccountSetupRejected-P-8-WKZp.js → AccountSetupRejected-CeCbf8TR.js} +2 -2
- package/dist/{Avatar-Bsc58neS.js → Avatar-YuzwcXlA.js} +1 -1
- package/dist/{BusinessDetailsDropin-CL-7UQcT.js → BusinessDetailsDropin-rMjpsAAF.js} +6 -6
- package/dist/{BusinessFinancingComponent-D1XrIsPc.js → BusinessFinancingComponent-BdvWchzq.js} +2 -2
- package/dist/{BusinessFinancingDropin-DQ56QSPj.js → BusinessFinancingDropin-CBjrAEAT.js} +8 -8
- package/dist/{BusinessFinancingPage-B6M7ESoA.js → BusinessFinancingPage-C_5JaGP-.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CFignJ19.js → BusinessTypeSelectionPage-B0PA2cvS.js} +3 -3
- package/dist/{ContractViewer-DiT_8GRM.js → ContractViewer-CkFNb5hj.js} +1 -1
- package/dist/{CreateIndividualComponent-DkX98cSx.js → CreateIndividualComponent-1Pj39l5M.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-SaPgQY2J.js → CreateTransferInstrumentComponent-BiHk5YcO.js} +1 -1
- package/dist/{CustomerSupport-XD8NZGtZ.js → CustomerSupport-CGf6faBc.js} +4 -4
- package/dist/{DebugModal-Dx55VMz1.js → DebugModal-BAQQynXv.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-3fUQSm8D.js → DecisionMakerDetailsPage-CNyYr16F.js} +2 -2
- package/dist/{DecisionMakers-DHeZux6T.js → DecisionMakers-B4DRgAfI.js} +6 -6
- package/dist/{EmbeddedStatus-BXBTxeW1.js → EmbeddedStatus-DGn4Yju8.js} +2 -2
- package/dist/{FormEndState-D_8_v1NU.js → FormEndState-14p8_tBF.js} +1 -1
- package/dist/{FormFlow-Urrg9vMm.js → FormFlow-u6da3P1H.js} +1 -1
- package/dist/{IndividualOnfidoDropin-VYVSjf_C.js → IndividualOnfidoDropin-CKeRasHX.js} +21 -14
- package/dist/{Introduction-DZCNLnIC.js → Introduction-DBnCXYKa.js} +2 -2
- package/dist/{LandingLayout-CddoBOJ4.js → LandingLayout-D3qJDWw3.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-zEJCKboy.js → LegalRepresentativeDetailsPage-DD46NKN9.js} +2 -2
- package/dist/{ManageIndividualComponent-BPI2aesr.js → ManageIndividualComponent-BRwAXfIw.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BzkhmJMD.js → ManageTermsOfServiceComponent-B-J2K4oE.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-nlmjHqMN.js → ManageTransferInstrumentComponent-BF7YCO2r.js} +3 -3
- package/dist/{OnboardingDropinComponent-DkkC-O2y.js → OnboardingDropinComponent-DxG3DZEe.js} +30 -30
- package/dist/{Review-CrcnPOYr.js → Review-DIzjJeSN.js} +2 -2
- package/dist/{RootBusinessDetailsPage-DHv2mk_-.js → RootBusinessDetailsPage-xG8YmqDu.js} +6 -6
- package/dist/{RootIndividualDetailsPage-D6AiPFI0.js → RootIndividualDetailsPage-BIipWvfE.js} +2 -2
- package/dist/{SignPCIComponent-B3UDh5F8.js → SignPCIComponent-ja5fHjMw.js} +4 -4
- package/dist/{SingpassSelection-DDoYQM_e.js → SingpassSelection-C91hFgsv.js} +1 -1
- package/dist/{SoleProprietorshipPage-CKWYdVS_.js → SoleProprietorshipPage-uqvhoHy1.js} +2 -2
- package/dist/{SourceOfFundsPage-D0kJCtH3.js → SourceOfFundsPage-DXubPDLZ.js} +10 -10
- package/dist/{StoreProvider-nqVR_kWS.js → StoreProvider-Daji6PiS.js} +5 -5
- package/dist/{TaskItemStatus-o-rpFU9k.js → TaskItemStatus-YVj7sKQs.js} +1 -1
- package/dist/{TaskStatusIndicator-6bpYVt4Z.js → TaskStatusIndicator-D7hHw7fn.js} +1 -1
- package/dist/{TaxReportingDropin-wcsNHxqr.js → TaxReportingDropin-DnV5JkEh.js} +7 -7
- package/dist/{TileGroup-BrD32_Y0.js → TileGroup-D-OlOSxh.js} +1 -1
- package/dist/{TrustDetailsPage-DBoP1d57.js → TrustDetailsPage-QB1Cyhd0.js} +4 -4
- package/dist/{TrustMemberCompanyPage-CH47pq1l.js → TrustMemberCompanyPage-CpVb9N3q.js} +3 -3
- package/dist/{TrustMemberIndividualPage-g6tCyoZp.js → TrustMemberIndividualPage-DJgvfv8P.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-BANlV7bn.js → UnincorporatedPartnershipIndividualPage-DG1PFhbJ.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BSrxjjH_.js → UnincorporatedPartnershipMemberCompanyPage-B-DCZCun.js} +2 -2
- package/dist/{VerificationErrorAlert-w9MIQ2hH.js → VerificationErrorAlert-BMUrrVA4.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DAx2BfA6.js → ViewVerificationStatusComponent-t9RAwP27.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{getFieldsWithExistingData-D1vVVeaf.js → getFieldsWithExistingData-wPtcG5-S.js} +1 -1
- package/dist/{hasDataChanged-DIVMD4Rh.js → hasDataChanged-zEBfxyhI.js} +1 -1
- package/dist/{localizeDateString-DLWgJuND.js → localizeDateString-38jx8AEh.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-anU-0sl0.js → mapFinancialReportsToFinancialInformation-BCasygg0.js} +1 -1
- package/dist/{resolveEnvironment-BOHs0YoH.js → resolveEnvironment-CXTBCukC.js} +3 -3
- package/dist/{rules-DF6nIpnn.js → rules-Dp9Jubid.js} +1 -1
- package/dist/{useMultiForm-CD30RFXS.js → useMultiForm-B-0xGDru.js} +1 -1
- package/dist/{useOnboardingStatus-_s90wk5C.js → useOnboardingStatus-BF9KjZG-.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DCkVaRvN.js → useTermsOfServiceStatus-Cde4K3gz.js} +1 -1
- package/dist/{useUpdateLegalEntity-xfJlMkrb.js → useUpdateLegalEntity-CKzDdLS1.js} +1 -1
- package/dist/{utils-CusOxwr8.js → utils-CJKSzNzi.js} +3 -3
- package/dist/{validate-Dnz1cwsS.js → validate-D5YuF24e.js} +1 -1
- package/dist/{validate-C3WaahoD.js → validate-RlBXFGTF.js} +1 -1
- package/package.json +2 -2
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CXTBCukC.js";
|
|
13
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CchhPHen.js";
|
|
14
14
|
const AdyenTermsOfService = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CXTBCukC.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BiHk5YcO.js";
|
|
14
14
|
const AdyenTransferInstrument = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import register from "preact-custom-element";
|
|
12
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
12
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CXTBCukC.js";
|
|
13
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-t9RAwP27.js";
|
|
14
14
|
const AdyenVerificationStatus = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
package/dist/{getFieldsWithExistingData-D1vVVeaf.js → getFieldsWithExistingData-wPtcG5-S.js}
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { dK as getNestedPropertyKeys } from "./StoreProvider-
|
|
10
|
+
import { dK as getNestedPropertyKeys } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
12
12
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
13
13
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bm as entriesOf, b3 as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { bm as entriesOf, b3 as objectsDeepEqual } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
12
12
|
if (typeof value === "object") {
|
|
13
13
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a0 as createLogger } from "./StoreProvider-
|
|
10
|
+
import { a0 as createLogger } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { dL as isDateOlderThanAYear, co as drop } from "./StoreProvider-
|
|
10
|
+
import { dL as isDateOlderThanAYear, co as drop } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const mapFinancialInformationToFinancialReport = ({
|
|
12
12
|
currency,
|
|
13
13
|
financialReportingDate,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62f4129d-5cbb-41bf-85a7-ac47688a2356", e._sentryDebugIdIdentifier = "sentry-dbid-62f4129d-5cbb-41bf-85a7-ac47688a2356");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { bs as refreshSession, G as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, q as setSdkTokenHandler, o as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { bs as refreshSession, G as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, q as setSdkTokenHandler, o as normalizeEnvironment } from "./StoreProvider-Daji6PiS.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.80.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.80.2" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { cR as createFormRules, as as CountryCodes, cT as allowedCountriesForNominee, cQ as DecisionMakerTypes, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, $ as TaskTypes, cj as getLocalizedIdDocumentTypeOptions, cU as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { cR as createFormRules, as as CountryCodes, cT as allowedCountriesForNominee, cQ as DecisionMakerTypes, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, $ as TaskTypes, cj as getLocalizedIdDocumentTypeOptions, cU as Scenarios } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const REQUIRED = "REQUIRED";
|
|
12
12
|
const OPTIONAL = "OPTIONAL";
|
|
13
13
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { b3 as objectsDeepEqual, dG as ValidationResult, a0 as createLogger, dH as isNotEmptyValidator, at as isEmpty } from "./StoreProvider-
|
|
11
|
+
import { b3 as objectsDeepEqual, dG as ValidationResult, a0 as createLogger, dH as isNotEmptyValidator, at as isEmpty } from "./StoreProvider-Daji6PiS.js";
|
|
12
12
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
13
13
|
a[c] = obj[c];
|
|
14
14
|
return a;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-
|
|
10
|
+
import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-
|
|
10
|
+
import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as useApiContext, bp as useMutation, t as httpPost, bo as useInvalidateRootLegalEntity, br as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { a as useApiContext, bp as useMutation, t as httpPost, bo as useInvalidateRootLegalEntity, br as useQueryClient } from "./StoreProvider-Daji6PiS.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { g as getLegalEntityCountry, dR as getCapabilities, O as LegalEntityTypes, V as hasOwnEntityAssociationOfType, Y as CompanyTypesValues, as as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-
|
|
11
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
10
|
+
import { g as getLegalEntityCountry, dR as getCapabilities, O as LegalEntityTypes, V as hasOwnEntityAssociationOfType, Y as CompanyTypesValues, as as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-Daji6PiS.js";
|
|
11
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DxG3DZEe.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-Dp9Jubid.js";
|
|
13
13
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
14
14
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
15
15
|
CountryCodes.UnitedStates,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { a as useApiContext, t as httpPost, dJ as emailPattern } from "./StoreProvider-
|
|
11
|
+
import { a as useApiContext, t as httpPost, dJ as emailPattern } from "./StoreProvider-Daji6PiS.js";
|
|
12
12
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "3.80.
|
|
3
|
+
"version": "3.80.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -132,7 +132,6 @@
|
|
|
132
132
|
"@tanstack/react-query-devtools": "^5.85.5",
|
|
133
133
|
"classnames": "^2.5.1",
|
|
134
134
|
"container-query-polyfill": "^1.0.2",
|
|
135
|
-
"eslint-plugin-unicorn": "^61.0.2",
|
|
136
135
|
"i18next": "^25.5.3",
|
|
137
136
|
"i18next-resources-to-backend": "^1.2.1",
|
|
138
137
|
"monogon": "0.3.0",
|
|
@@ -187,6 +186,7 @@
|
|
|
187
186
|
"eslint-plugin-react-you-might-not-need-an-effect": "^0.5.1",
|
|
188
187
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
189
188
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
189
|
+
"eslint-plugin-unicorn": "^61.0.2",
|
|
190
190
|
"happy-dom": "^17.4.4",
|
|
191
191
|
"inquirer": "^11.1.0",
|
|
192
192
|
"jsonc-eslint-parser": "^2.4.0",
|