@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
12 lines (11 loc) • 701 B
JavaScript
try {
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c56fc35-eedc-4b69-b5b4-120cf234620a", e._sentryDebugIdIdentifier = "sentry-dbid-3c56fc35-eedc-4b69-b5b4-120cf234620a");
} catch (e) {}
var resolveFieldMetadata = (countryEntry, params, defaultMetadata) => {
if (typeof countryEntry === "object") return countryEntry;
if (typeof countryEntry === "function") return countryEntry(params);
return defaultMetadata;
};
//#endregion
export { resolveFieldMetadata as t };