@adyen/kyc-components 3.64.6 → 3.64.7
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/{AccountSetupRejected-DYZyjway.js → AccountSetupRejected-BY-Kfg6C.js} +1 -1
- package/dist/{CXEL7IU7-zJnI5vqw.js → CXEL7IU7-DWe37N_k.js} +2 -2
- package/dist/{CustomerSupport-fEPDd7KX.js → CustomerSupport-B6Z5Uwg0.js} +1 -1
- package/dist/{DebugModal-BztaaLKI.js → DebugModal-BFUkUKc4.js} +7 -7
- package/dist/{DecisionMakers-BM2li-aW.js → DecisionMakers-DFxbfJ_g.js} +1 -1
- package/dist/{HASRA6WW-DxzHmDp0.js → HASRA6WW-CDUOAJR8.js} +1 -1
- package/dist/{I3HPI4QX-CXX3pTw7.js → I3HPI4QX-BeUQHygB.js} +2 -2
- package/dist/{Introduction-BHLJOdKW.js → Introduction-D1420ArA.js} +1 -1
- package/dist/{Review-C8ib3kHl.js → Review-Cko9r5T0.js} +1 -1
- package/dist/{SingpassSelection-DOwieEdV.js → SingpassSelection-DBgJHkYK.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-DGXy4A_f.js → core-CZJjaZbA.js} +28 -18
- package/dist/{css-Bh0nyiFo.js → css-B7xW4JBR.js} +1 -1
- package/dist/{json-CLiYo3yu.js → json-DSNxkG4k.js} +1 -1
- package/dist/{plaintext-D0osfAlb.js → plaintext-DUYAf_KK.js} +1 -1
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
- package/dist/{yaml-DtJgPPI_.js → yaml-ejLZ1p9z.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, h as FormHeader, D as DropinLayout } from "./core-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, h as FormHeader, D as DropinLayout } from "./core-CZJjaZbA.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { i18n } = useI18nContext();
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-CDUOAJR8.js";
|
|
11
|
+
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-CZJjaZbA.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, c as useAnalyticsContext, l as useToastContext, H as useConfigurationApi, i as useLegalEntity, n as useUpdateLegalEntity, m as useQueryClient, I as resolveFieldMetadata, J as contactDetailsValidationRules, K as defaultFieldMetadata, M as fieldConfig, N as getAsyncPhoneValidationRules, O as useMultiForm, h as FormHeader, P as ContactDetails, G as ActionBar, Q as createLogger } from "./core-
|
|
11
|
+
import { b as useI18nContext, c as useAnalyticsContext, l as useToastContext, H as useConfigurationApi, i as useLegalEntity, n as useUpdateLegalEntity, m as useQueryClient, I as resolveFieldMetadata, J as contactDetailsValidationRules, K as defaultFieldMetadata, M as fieldConfig, N as getAsyncPhoneValidationRules, O as useMultiForm, h as FormHeader, P as ContactDetails, G as ActionBar, Q as createLogger } from "./core-CZJjaZbA.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
13
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
14
14
|
var _a, _b, _c;
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "0f0ab4c4-1f1c-4cec-aaa0-3a4e56a8b4c5", e._sentryDebugIdIdentifier = "sentry-dbid-0f0ab4c4-1f1c-4cec-aaa0-3a4e56a8b4c5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, Z as Tag, _ as entriesOf, $ as InputText, b as useI18nContext, a0 as splitTaskIdentifier, a1 as TaskItemStatus, a2 as useExperimentsContext, a3 as useSettingsContext, a4 as useGlobalStore, a5 as listToRecord, a6 as valuesOf, a7 as useTaskStatuses, a8 as Modal, Q as createLogger, a9 as Icon, aa as SettingNames, ab as ExperimentNames } from "./core-
|
|
12
|
+
import { B as Button, Z as Tag, _ as entriesOf, $ as InputText, b as useI18nContext, a0 as splitTaskIdentifier, a1 as TaskItemStatus, a2 as useExperimentsContext, a3 as useSettingsContext, a4 as useGlobalStore, a5 as listToRecord, a6 as valuesOf, a7 as useTaskStatuses, a8 as Modal, Q as createLogger, a9 as Icon, aa as SettingNames, ab as ExperimentNames } from "./core-CZJjaZbA.js";
|
|
13
13
|
const tabs = "adyen-kyc-tabs";
|
|
14
14
|
const styles$1 = {
|
|
15
15
|
tabs
|
|
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
144
144
|
};
|
|
145
145
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
146
146
|
const moduleMap = {
|
|
147
|
-
plaintext: () => import("./plaintext-
|
|
148
|
-
json: () => import("./json-
|
|
149
|
-
yaml: () => import("./yaml-
|
|
150
|
-
css: () => import("./css-
|
|
147
|
+
plaintext: () => import("./plaintext-DUYAf_KK.js"),
|
|
148
|
+
json: () => import("./json-DSNxkG4k.js"),
|
|
149
|
+
yaml: () => import("./yaml-ejLZ1p9z.js"),
|
|
150
|
+
css: () => import("./css-B7xW4JBR.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -438,7 +438,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
438
438
|
const [tab, setTab] = useState("metadata");
|
|
439
439
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
440
440
|
const metadata = {
|
|
441
|
-
sdkVersion: "3.64.
|
|
441
|
+
sdkVersion: "3.64.7",
|
|
442
442
|
locale: i18n.locale,
|
|
443
443
|
rootLegalEntityId: rootLegalEntity.id
|
|
444
444
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { i as useLegalEntity, j as Loader, k as useGetTaskStatus, b as useI18nContext, c as useAnalyticsContext, l as useToastContext, m as useQueryClient, n as useUpdateLegalEntity, o as getOwnDecisionMakers, p as getAvailableDecisionMakerRoleTypes, q as useDataMissingRemediations, T as TaskTypes, r as getAllowedDecisionMakerRoles, D as DropinLayout, h as FormHeader, E as EntityGuidanceStatus, s as iconStatus, v as ContextGuidance, w as DecisionMakerType, x as Alert, y as CardGroup, z as EntityAssociation, B as Button, G as ActionBar } from "./core-
|
|
11
|
+
import { i as useLegalEntity, j as Loader, k as useGetTaskStatus, b as useI18nContext, c as useAnalyticsContext, l as useToastContext, m as useQueryClient, n as useUpdateLegalEntity, o as getOwnDecisionMakers, p as getAvailableDecisionMakerRoleTypes, q as useDataMissingRemediations, T as TaskTypes, r as getAllowedDecisionMakerRoles, D as DropinLayout, h as FormHeader, E as EntityGuidanceStatus, s as iconStatus, v as ContextGuidance, w as DecisionMakerType, x as Alert, y as CardGroup, z as EntityAssociation, B as Button, G as ActionBar } from "./core-CZJjaZbA.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const DecisionMakers = (props) => {
|
|
14
14
|
const { data, isLoading } = useLegalEntity();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { af as createContext, ag as createSignal, ah as onMount, ai as createEffect, ad as createMemo, ae as createComponent, aj as Portal, ak as Show, al as template, am as insert, an as createRenderEffect, ao as className, ap as clearDelegatedEvents, aq as delegateEvents, ar as useContext, as as onCleanup, at as sortFns, au as mutationSortFns, av as on, aw as setAttribute, ax as getSidedProp, ay as use, az as createUniqueId, aA as batch, aB as getQueryStatusLabel, aC as getMutationStatusColor, aD as getQueryStatusColor, aE as getQueryStatusColorByLabel, aF as displayValue, aG as For, aH as convertRemToPixels, aI as untrack, aJ as $TRACK, aK as useTransition, aL as spread, aM as mergeProps, aN as createRoot, aO as serialize, aP as Index, aQ as updateNestedDataByPath, aR as addEventListener, aS as stringify, aT as Match, aU as Switch, aV as deleteNestedDataByPath, aW as splitProps, aX as Dynamic, aY as createComputed } from "./core-
|
|
13
|
+
import { af as createContext, ag as createSignal, ah as onMount, ai as createEffect, ad as createMemo, ae as createComponent, aj as Portal, ak as Show, al as template, am as insert, an as createRenderEffect, ao as className, ap as clearDelegatedEvents, aq as delegateEvents, ar as useContext, as as onCleanup, at as sortFns, au as mutationSortFns, av as on, aw as setAttribute, ax as getSidedProp, ay as use, az as createUniqueId, aA as batch, aB as getQueryStatusLabel, aC as getMutationStatusColor, aD as getQueryStatusColor, aE as getQueryStatusColorByLabel, aF as displayValue, aG as For, aH as convertRemToPixels, aI as untrack, aJ as $TRACK, aK as useTransition, aL as spread, aM as mergeProps, aN as createRoot, aO as serialize, aP as Index, aQ as updateNestedDataByPath, aR as addEventListener, aS as stringify, aT as Match, aU as Switch, aV as deleteNestedDataByPath, aW as splitProps, aX as Dynamic, aY as createComputed } from "./core-CZJjaZbA.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-CDUOAJR8.js";
|
|
11
|
+
import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-CZJjaZbA.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-
|
|
12
|
+
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-CZJjaZbA.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
14
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
15
15
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { U as useApiContext, V as useMutation, W as httpPost, b as useI18nContext, l as useToastContext, X as LoaderWrapper, h as FormHeader, Y as Checkbox, G as ActionBar, D as DropinLayout } from "./core-
|
|
12
|
+
import { U as useApiContext, V as useMutation, W as httpPost, b as useI18nContext, l as useToastContext, X as LoaderWrapper, h as FormHeader, Y as Checkbox, G as ActionBar, D as DropinLayout } from "./core-CZJjaZbA.js";
|
|
13
13
|
const confirmReview = async (legalEntityId, url) => {
|
|
14
14
|
return httpPost({
|
|
15
15
|
loadingContext: url,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, d as useForm, e as Typography, F as Field, R as RadioGroupCard, B as Button, f as Svg, L as LegalEntityType } from "./core-
|
|
12
|
+
import { b as useI18nContext, d as useForm, e as Typography, F as Field, R as RadioGroupCard, B as Button, f as Svg, L as LegalEntityType } from "./core-CZJjaZbA.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
package/dist/adyenConfig.js
CHANGED
|
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c88b4d05-1a8c-4fe5-9a10-7246f754f947", e._sentryDebugIdIdentifier = "sentry-dbid-c88b4d05-1a8c-4fe5-9a10-7246f754f947");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -39067,10 +39067,14 @@ const useServiceAgreement = ({
|
|
|
39067
39067
|
isError: isError2,
|
|
39068
39068
|
error
|
|
39069
39069
|
} = useTermsOfService(
|
|
39070
|
-
{
|
|
39070
|
+
{
|
|
39071
|
+
language: agreementLanguage,
|
|
39072
|
+
type: serviceAgreementType,
|
|
39073
|
+
termsOfServiceDocumentFormat: "JSON"
|
|
39074
|
+
},
|
|
39071
39075
|
{ enabled: !acceptanceId }
|
|
39072
39076
|
);
|
|
39073
|
-
const { data: acceptedServiceAgreement, isSuccess: isAcceptedServiceAgreementSuccess } = useAcceptedTermsOfService(acceptanceId);
|
|
39077
|
+
const { data: acceptedServiceAgreement, isSuccess: isAcceptedServiceAgreementSuccess } = useAcceptedTermsOfService(acceptanceId, "JSON");
|
|
39074
39078
|
if (isUnAcceptedServiceAgreementSuccess || isAcceptedServiceAgreementSuccess) {
|
|
39075
39079
|
const termsOfService = unAcceptedServiceAgreement ?? acceptedServiceAgreement;
|
|
39076
39080
|
const documentId = (unAcceptedServiceAgreement == null ? void 0 : unAcceptedServiceAgreement.termsOfServiceDocumentId) ?? (acceptedServiceAgreement == null ? void 0 : acceptedServiceAgreement.termsOfServiceAcceptanceReference);
|
|
@@ -40801,7 +40805,10 @@ function IndividualDropin({
|
|
|
40801
40805
|
parentLE: parentLegalEntity,
|
|
40802
40806
|
dataSubmitted
|
|
40803
40807
|
});
|
|
40804
|
-
queryClient.invalidateQueries({
|
|
40808
|
+
queryClient.invalidateQueries({
|
|
40809
|
+
queryKey: ["legalEntity", parentLegalEntity.id],
|
|
40810
|
+
refetchType: "all"
|
|
40811
|
+
});
|
|
40805
40812
|
}
|
|
40806
40813
|
setLoadingStatus("success");
|
|
40807
40814
|
clearToasts();
|
|
@@ -50752,21 +50759,21 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
50752
50759
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
50753
50760
|
};
|
|
50754
50761
|
const Introduction = lazy$1(
|
|
50755
|
-
async () => (await import("./Introduction-
|
|
50762
|
+
async () => (await import("./Introduction-D1420ArA.js")).Introduction
|
|
50756
50763
|
);
|
|
50757
50764
|
const SingpassSelection = lazy$1(
|
|
50758
|
-
async () => (await import("./SingpassSelection-
|
|
50765
|
+
async () => (await import("./SingpassSelection-DBgJHkYK.js")).SingpassSelection
|
|
50759
50766
|
);
|
|
50760
50767
|
const AccountSetupRejected = lazy$1(
|
|
50761
|
-
async () => (await import("./AccountSetupRejected-
|
|
50768
|
+
async () => (await import("./AccountSetupRejected-BY-Kfg6C.js")).AccountSetupRejected
|
|
50762
50769
|
);
|
|
50763
50770
|
const DecisionMakers = lazy$1(
|
|
50764
|
-
async () => (await import("./DecisionMakers-
|
|
50771
|
+
async () => (await import("./DecisionMakers-DFxbfJ_g.js")).DecisionMakers
|
|
50765
50772
|
);
|
|
50766
50773
|
const CustomerSupport = lazy$1(
|
|
50767
|
-
async () => (await import("./CustomerSupport-
|
|
50774
|
+
async () => (await import("./CustomerSupport-B6Z5Uwg0.js")).CustomerSupport
|
|
50768
50775
|
);
|
|
50769
|
-
const Review = lazy$1(async () => (await import("./Review-
|
|
50776
|
+
const Review = lazy$1(async () => (await import("./Review-Cko9r5T0.js")).Review);
|
|
50770
50777
|
const SignPCIComponent$2 = lazy$1(
|
|
50771
50778
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
50772
50779
|
);
|
|
@@ -51953,8 +51960,11 @@ function SignPCIComponent({
|
|
|
51953
51960
|
});
|
|
51954
51961
|
const signPci2 = useSignPci({
|
|
51955
51962
|
onSuccess: () => {
|
|
51956
|
-
queryClient.invalidateQueries({
|
|
51957
|
-
|
|
51963
|
+
queryClient.invalidateQueries({
|
|
51964
|
+
queryKey: ["legalEntity", legalEntityId],
|
|
51965
|
+
refetchType: "all"
|
|
51966
|
+
});
|
|
51967
|
+
queryClient.invalidateQueries({ queryKey: ["pciQuestionnaireList"], refetchType: "all" });
|
|
51958
51968
|
}
|
|
51959
51969
|
});
|
|
51960
51970
|
if (modalView) {
|
|
@@ -55437,7 +55447,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
55437
55447
|
if (__privateGet(this, _Component)) {
|
|
55438
55448
|
Devtools = __privateGet(this, _Component);
|
|
55439
55449
|
} else {
|
|
55440
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
55450
|
+
Devtools = lazy(() => import("./I3HPI4QX-BeUQHygB.js"));
|
|
55441
55451
|
__privateSet(this, _Component, Devtools);
|
|
55442
55452
|
}
|
|
55443
55453
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -55559,7 +55569,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
55559
55569
|
if (__privateGet(this, _Component2)) {
|
|
55560
55570
|
Devtools = __privateGet(this, _Component2);
|
|
55561
55571
|
} else {
|
|
55562
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
55572
|
+
Devtools = lazy(() => import("./CXEL7IU7-DWe37N_k.js"));
|
|
55563
55573
|
__privateSet(this, _Component2, Devtools);
|
|
55564
55574
|
}
|
|
55565
55575
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -55778,7 +55788,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
55778
55788
|
};
|
|
55779
55789
|
};
|
|
55780
55790
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
55781
|
-
const sdkVersion = "3.64.
|
|
55791
|
+
const sdkVersion = "3.64.7";
|
|
55782
55792
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
55783
55793
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
55784
55794
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -55853,7 +55863,7 @@ const AnalyticsProvider = ({
|
|
|
55853
55863
|
const { onboardingVersion } = useVersion();
|
|
55854
55864
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
55855
55865
|
const sessionData = {
|
|
55856
|
-
sdkVersion: "3.64.
|
|
55866
|
+
sdkVersion: "3.64.7",
|
|
55857
55867
|
componentName,
|
|
55858
55868
|
userAgent: navigator.userAgent,
|
|
55859
55869
|
legalEntityId,
|
|
@@ -55987,7 +55997,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
55987
55997
|
[baseUrl, rootLegalEntityId]
|
|
55988
55998
|
);
|
|
55989
55999
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
55990
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.64.
|
|
56000
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.64.7" }),
|
|
55991
56001
|
children2
|
|
55992
56002
|
] });
|
|
55993
56003
|
};
|
|
@@ -56462,7 +56472,7 @@ function StateProvider({
|
|
|
56462
56472
|
);
|
|
56463
56473
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
56464
56474
|
}
|
|
56465
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
56475
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-BFUkUKc4.js").then((n) => n.D)).DebugModal);
|
|
56466
56476
|
const DebugListener = () => {
|
|
56467
56477
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
56468
56478
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-BFUkUKc4.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-BFUkUKc4.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
|
|
@@ -2,8 +2,8 @@ import type { TermsOfServiceDocumentFormat } from '../../core/models/api/contrac
|
|
|
2
2
|
import type { QueryOptions } from '../types';
|
|
3
3
|
import type { components } from './termsOfService.contract';
|
|
4
4
|
type SuccessResponse = components['schemas']['GetAcceptedTermsOfServiceDocumentResponse'];
|
|
5
|
-
export declare const getAcceptedTermsOfService: (legalEntityId: string, url: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat
|
|
6
|
-
export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat
|
|
5
|
+
export declare const getAcceptedTermsOfService: (legalEntityId: string, url: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat) => Promise<SuccessResponse>;
|
|
6
|
+
export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat: TermsOfServiceDocumentFormat, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
|
|
7
7
|
document?: string;
|
|
8
8
|
id?: string;
|
|
9
9
|
termsOfServiceAcceptanceReference?: string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-BFUkUKc4.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|