@adyen/kyc-components 3.80.0 → 3.80.1
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-CBo99CUy.js} +5 -5
- package/dist/{AccountSetupRejected-P-8-WKZp.js → AccountSetupRejected-D-1m4fMJ.js} +2 -2
- package/dist/{Avatar-Bsc58neS.js → Avatar-D7gB0Saw.js} +1 -1
- package/dist/{BusinessDetailsDropin-CL-7UQcT.js → BusinessDetailsDropin-CvHc7K2D.js} +6 -6
- package/dist/{BusinessFinancingComponent-D1XrIsPc.js → BusinessFinancingComponent-R6rCdgmn.js} +2 -2
- package/dist/{BusinessFinancingDropin-DQ56QSPj.js → BusinessFinancingDropin-CQrU63pm.js} +8 -8
- package/dist/{BusinessFinancingPage-B6M7ESoA.js → BusinessFinancingPage-BCm4SOHe.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CFignJ19.js → BusinessTypeSelectionPage-DY8sYzVi.js} +3 -3
- package/dist/{ContractViewer-DiT_8GRM.js → ContractViewer-DJT5MQaL.js} +1 -1
- package/dist/{CreateIndividualComponent-DkX98cSx.js → CreateIndividualComponent-BmJuouW7.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-SaPgQY2J.js → CreateTransferInstrumentComponent-C9k2EbZi.js} +1 -1
- package/dist/{CustomerSupport-XD8NZGtZ.js → CustomerSupport-CTjYlSe-.js} +4 -4
- package/dist/{DebugModal-Dx55VMz1.js → DebugModal-C0HeQp4U.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-3fUQSm8D.js → DecisionMakerDetailsPage-Dgss4k-v.js} +2 -2
- package/dist/{DecisionMakers-DHeZux6T.js → DecisionMakers-CRI4YTSe.js} +6 -6
- package/dist/{EmbeddedStatus-BXBTxeW1.js → EmbeddedStatus-p346P3Mw.js} +2 -2
- package/dist/{FormEndState-D_8_v1NU.js → FormEndState-D1zC0SDZ.js} +1 -1
- package/dist/{FormFlow-Urrg9vMm.js → FormFlow-CZjh_1oa.js} +1 -1
- package/dist/{IndividualOnfidoDropin-VYVSjf_C.js → IndividualOnfidoDropin-BZxBVfuh.js} +21 -14
- package/dist/{Introduction-DZCNLnIC.js → Introduction-Cx4QJedF.js} +2 -2
- package/dist/{LandingLayout-CddoBOJ4.js → LandingLayout-UrMjxNq1.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-zEJCKboy.js → LegalRepresentativeDetailsPage-C3cYdOBO.js} +2 -2
- package/dist/{ManageIndividualComponent-BPI2aesr.js → ManageIndividualComponent-ZZkPLlk4.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BzkhmJMD.js → ManageTermsOfServiceComponent-B35zgurW.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-nlmjHqMN.js → ManageTransferInstrumentComponent-EhlEdNQn.js} +3 -3
- package/dist/{OnboardingDropinComponent-DkkC-O2y.js → OnboardingDropinComponent-r3pQZ1LP.js} +30 -30
- package/dist/{Review-CrcnPOYr.js → Review-C2y1taYY.js} +2 -2
- package/dist/{RootBusinessDetailsPage-DHv2mk_-.js → RootBusinessDetailsPage-BNYAlkfj.js} +6 -6
- package/dist/{RootIndividualDetailsPage-D6AiPFI0.js → RootIndividualDetailsPage-SL7uyokB.js} +2 -2
- package/dist/{SignPCIComponent-B3UDh5F8.js → SignPCIComponent-ykUHZjV9.js} +4 -4
- package/dist/{SingpassSelection-DDoYQM_e.js → SingpassSelection-D3q7cKix.js} +1 -1
- package/dist/{SoleProprietorshipPage-CKWYdVS_.js → SoleProprietorshipPage-Dj623tRi.js} +2 -2
- package/dist/{SourceOfFundsPage-D0kJCtH3.js → SourceOfFundsPage-rl4s35Is.js} +10 -10
- package/dist/{StoreProvider-nqVR_kWS.js → StoreProvider-RXRSsThB.js} +4 -4
- package/dist/{TaskItemStatus-o-rpFU9k.js → TaskItemStatus-BO056tHa.js} +1 -1
- package/dist/{TaskStatusIndicator-6bpYVt4Z.js → TaskStatusIndicator-rXS0bCYb.js} +1 -1
- package/dist/{TaxReportingDropin-wcsNHxqr.js → TaxReportingDropin-EqH-iK76.js} +7 -7
- package/dist/{TileGroup-BrD32_Y0.js → TileGroup-DaFljt90.js} +1 -1
- package/dist/{TrustDetailsPage-DBoP1d57.js → TrustDetailsPage-DUlY9x9j.js} +4 -4
- package/dist/{TrustMemberCompanyPage-CH47pq1l.js → TrustMemberCompanyPage-pxIWAGX0.js} +3 -3
- package/dist/{TrustMemberIndividualPage-g6tCyoZp.js → TrustMemberIndividualPage-C3nKKf_3.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-BANlV7bn.js → UnincorporatedPartnershipIndividualPage-BT6Tm4Ua.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BSrxjjH_.js → UnincorporatedPartnershipMemberCompanyPage-DGvOGs8J.js} +2 -2
- package/dist/{VerificationErrorAlert-w9MIQ2hH.js → VerificationErrorAlert-6ubY86Vl.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DAx2BfA6.js → ViewVerificationStatusComponent-hu_cOu51.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-fH6JZffU.js} +1 -1
- package/dist/{hasDataChanged-DIVMD4Rh.js → hasDataChanged-BawZl0GS.js} +1 -1
- package/dist/{localizeDateString-DLWgJuND.js → localizeDateString-xLBj-hqm.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-anU-0sl0.js → mapFinancialReportsToFinancialInformation-Bup7CODB.js} +1 -1
- package/dist/{resolveEnvironment-BOHs0YoH.js → resolveEnvironment-dR7kYeyC.js} +3 -3
- package/dist/{rules-DF6nIpnn.js → rules-DTWi6N7M.js} +1 -1
- package/dist/{useMultiForm-CD30RFXS.js → useMultiForm-CQoUf0ou.js} +1 -1
- package/dist/{useOnboardingStatus-_s90wk5C.js → useOnboardingStatus-BluF5BQh.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DCkVaRvN.js → useTermsOfServiceStatus-ml-UFEZI.js} +1 -1
- package/dist/{useUpdateLegalEntity-xfJlMkrb.js → useUpdateLegalEntity-DAKjfiC1.js} +1 -1
- package/dist/{utils-CusOxwr8.js → utils-C-Tajqgb.js} +3 -3
- package/dist/{validate-Dnz1cwsS.js → validate-N8LS8DPC.js} +1 -1
- package/dist/{validate-C3WaahoD.js → validate-cOdXnIbx.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-dR7kYeyC.js";
|
|
13
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CBo99CUy.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-dR7kYeyC.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-C9k2EbZi.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-dR7kYeyC.js";
|
|
13
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-hu_cOu51.js";
|
|
14
14
|
const AdyenVerificationStatus = ({
|
|
15
15
|
rootlegalentityid,
|
|
16
16
|
fetchToken,
|
package/dist/{getFieldsWithExistingData-D1vVVeaf.js → getFieldsWithExistingData-fH6JZffU.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-RXRSsThB.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-RXRSsThB.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-RXRSsThB.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-RXRSsThB.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] = "55115ec9-bc8e-4c79-9787-74d3514048d0", e._sentryDebugIdIdentifier = "sentry-dbid-55115ec9-bc8e-4c79-9787-74d3514048d0");
|
|
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-RXRSsThB.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.1" }),
|
|
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-RXRSsThB.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-RXRSsThB.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-RXRSsThB.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-RXRSsThB.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-RXRSsThB.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-RXRSsThB.js";
|
|
11
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-r3pQZ1LP.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-DTWi6N7M.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-RXRSsThB.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.1",
|
|
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",
|