@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
16 lines (14 loc) • 597 B
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
//#region src/alternativePhoneCode.ts
const ALTERNATIVE_PHONE_CODE_PROVIDERS = [{
channel: "whatsapp",
name: "WhatsApp"
}];
const getAlternativePhoneCodeProviderData = (channel) => {
if (!channel) return null;
return ALTERNATIVE_PHONE_CODE_PROVIDERS.find((p) => p.channel === channel) || null;
};
//#endregion
exports.ALTERNATIVE_PHONE_CODE_PROVIDERS = ALTERNATIVE_PHONE_CODE_PROVIDERS;
exports.getAlternativePhoneCodeProviderData = getAlternativePhoneCodeProviderData;
//# sourceMappingURL=alternativePhoneCode.js.map