/opt/canhelp/node_modules/better-auth/dist/plugins/phone-number
Edit: /opt/canhelp/node_modules/better-auth/dist/plugins/phone-number/client.mjs (520B)
import { PHONE_NUMBER_ERROR_CODES } from "./error-codes.mjs";
//#region src/plugins/phone-number/client.ts
const phoneNumberClient = () => {
return {
id: "phoneNumber",
$InferServerPlugin: {},
atomListeners: [{
matcher(path) {
return path === "/phone-number/update" || path === "/phone-number/verify" || path === "/sign-in/phone-number";
},
signal: "$sessionSignal"
}],
$ERROR_CODES: PHONE_NUMBER_ERROR_CODES
};
};
//#endregion
export { phoneNumberClient };
//# sourceMappingURL=client.mjs.map