@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.
17 lines (16 loc) • 840 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] = "0136261a-bcf3-4d8f-9428-9ef91886dcfa", e._sentryDebugIdIdentifier = "sentry-dbid-0136261a-bcf3-4d8f-9428-9ef91886dcfa");
} catch (e) {}
var isSummaryItem = (val) => typeof val === "object" && val !== null && "summaryLabel" in val && "summaryValue" in val;
var summaryItem = (summaryLabel, summaryValue) => ({
summaryLabel,
summaryValue
});
var preTranslatedSummaryItem = (summaryLabel, summaryValue) => ({
summaryLabel,
summaryValue,
preTranslated: true
});
//#endregion
export { preTranslatedSummaryItem as n, summaryItem as r, isSummaryItem as t };