@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
13 lines (12 loc) • 446 B
JavaScript
//#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
export { ALTERNATIVE_PHONE_CODE_PROVIDERS, getAlternativePhoneCodeProviderData };
//# sourceMappingURL=alternativePhoneCode.mjs.map