@adyen/kyc-components 2.65.0 → 2.66.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.
|
@@ -35826,7 +35826,7 @@ function DropinComposerComponent({
|
|
|
35826
35826
|
onNavigate = noop,
|
|
35827
35827
|
...args
|
|
35828
35828
|
}) {
|
|
35829
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
35829
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
35830
35830
|
const { contextCountry, accountHolder, setAccountHolder } = useCoreContext();
|
|
35831
35831
|
const { setCanSeeEntitySelection } = useCanSeeEntitySelection(legalEntityResponse.id);
|
|
35832
35832
|
const { i18n } = useI18nContext();
|
|
@@ -36650,7 +36650,7 @@ function DropinComposerComponent({
|
|
|
36650
36650
|
capabilities,
|
|
36651
36651
|
problems: getLegalEntityProblems(rootLegalEntity),
|
|
36652
36652
|
homeButtonLabel: i18n.get("saveAndGoToOverview"),
|
|
36653
|
-
country: legalEntityResponse.organization.registeredAddress.country ?? contextCountry,
|
|
36653
|
+
country: ((_f = (_e = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _e.registeredAddress) == null ? void 0 : _f.country) ?? contextCountry,
|
|
36654
36654
|
onChange: componentOnChange,
|
|
36655
36655
|
onSubmit: async (data) => {
|
|
36656
36656
|
onSubmit == null ? void 0 : onSubmit(data);
|
|
@@ -36683,7 +36683,7 @@ function DropinComposerComponent({
|
|
|
36683
36683
|
parentLegalEntity: associatedLegalArrangement,
|
|
36684
36684
|
legalEntityResponse: associatedLegalEntity,
|
|
36685
36685
|
capabilities,
|
|
36686
|
-
problems: (
|
|
36686
|
+
problems: (_g = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _g[rootLegalEntity.id],
|
|
36687
36687
|
onChange: componentOnChange,
|
|
36688
36688
|
onSubmit: (data) => refreshLegalArrangementAndRunOnSubmit(data, 2),
|
|
36689
36689
|
handleBackClick: navigateBack,
|
|
@@ -36701,7 +36701,7 @@ function DropinComposerComponent({
|
|
|
36701
36701
|
{
|
|
36702
36702
|
taskType: currentTask,
|
|
36703
36703
|
taskName: currentTask === TaskTypes.PAYIN ? "payinDetails" : "payoutDetails",
|
|
36704
|
-
problems: (
|
|
36704
|
+
problems: (_h = capabilityProblems == null ? void 0 : capabilityProblems.BankAccount) == null ? void 0 : _h[transferInstrument == null ? void 0 : transferInstrument.id],
|
|
36705
36705
|
transferInstrument,
|
|
36706
36706
|
setTransferInstrument,
|
|
36707
36707
|
legalEntityResponse: rootLegalEntity,
|
|
@@ -36728,7 +36728,7 @@ function DropinComposerComponent({
|
|
|
36728
36728
|
{
|
|
36729
36729
|
...args,
|
|
36730
36730
|
taskType: TaskTypes.TRUST,
|
|
36731
|
-
problems: (
|
|
36731
|
+
problems: (_i = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _i[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.id],
|
|
36732
36732
|
parentLegalEntity: rootLegalEntity,
|
|
36733
36733
|
legalEntityResponse: associatedLegalArrangement,
|
|
36734
36734
|
capabilities,
|
|
@@ -36736,7 +36736,7 @@ function DropinComposerComponent({
|
|
|
36736
36736
|
onSubmit: (data) => refreshLegalArrangementAndRunOnSubmit(data, 1),
|
|
36737
36737
|
handleHomeClick: navigateBack,
|
|
36738
36738
|
homeButtonLabel: i18n.get("saveAndGoToOverview"),
|
|
36739
|
-
country: (((
|
|
36739
|
+
country: (((_j = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.trust) == null ? void 0 : _j.countryOfGoverningLaw) || ((_k = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.trust) == null ? void 0 : _k.registeredAddress.country)) ?? rootLegalEntityCountry,
|
|
36740
36740
|
handleAddressSearch: args == null ? void 0 : args.handleAddressSearch,
|
|
36741
36741
|
handleFindAddress: args == null ? void 0 : args.handleFindAddress
|
|
36742
36742
|
}
|
|
@@ -36806,12 +36806,12 @@ function DropinComposerComponent({
|
|
|
36806
36806
|
parentLegalEntity: rootLegalEntity,
|
|
36807
36807
|
legalEntityResponse: associatedLegalArrangement,
|
|
36808
36808
|
capabilities,
|
|
36809
|
-
problems: (
|
|
36809
|
+
problems: (_l = capabilityProblems == null ? void 0 : capabilityProblems.LegalEntity) == null ? void 0 : _l[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.id],
|
|
36810
36810
|
onChange: componentOnChange,
|
|
36811
36811
|
onSubmit: (data) => refreshLegalArrangementAndRunOnSubmit(data, 1),
|
|
36812
36812
|
handleHomeClick: navigateBack,
|
|
36813
36813
|
homeButtonLabel: i18n.get("saveAndGoToOverview"),
|
|
36814
|
-
country: (((
|
|
36814
|
+
country: (((_m = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.soleProprietorship) == null ? void 0 : _m.countryOfGoverningLaw) || ((_o = (_n = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.soleProprietorship) == null ? void 0 : _n.registeredAddress) == null ? void 0 : _o.country)) ?? rootLegalEntityCountry,
|
|
36815
36815
|
handleAddressSearch: args == null ? void 0 : args.handleAddressSearch,
|
|
36816
36816
|
handleFindAddress: args == null ? void 0 : args.handleFindAddress
|
|
36817
36817
|
}
|
|
@@ -39649,7 +39649,7 @@ const ConfigurationApiProvider = ({
|
|
|
39649
39649
|
}) => {
|
|
39650
39650
|
const authContext = useAuthContext();
|
|
39651
39651
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
39652
|
-
const sdkVersion = "2.
|
|
39652
|
+
const sdkVersion = "2.66.0";
|
|
39653
39653
|
useAnalytics({
|
|
39654
39654
|
onUserEvent,
|
|
39655
39655
|
legalEntityId: rootLegalEntityId,
|
|
@@ -40283,7 +40283,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
40283
40283
|
};
|
|
40284
40284
|
const copyToClipboard = async () => {
|
|
40285
40285
|
const toCopy = {
|
|
40286
|
-
sdkVersion: "2.
|
|
40286
|
+
sdkVersion: "2.66.0",
|
|
40287
40287
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
40288
40288
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
40289
40289
|
};
|
|
@@ -40348,7 +40348,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
40348
40348
|
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
|
|
40349
40349
|
/* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
|
|
40350
40350
|
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
|
|
40351
|
-
/* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.
|
|
40351
|
+
/* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.66.0" })
|
|
40352
40352
|
] }) }),
|
|
40353
40353
|
/* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
|
|
40354
40354
|
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "rootLegalEntityId" }),
|