/opt/canhelp/node_modules/better-auth/dist/plugins/test-utils
NameSizeModeActions
auth-helpers.mjs10250644editdlrm
auth-helpers.mjs.map22610644editdlrm
cookie-builder.mjs17950644editdlrm
cookie-builder.mjs.map33210644editdlrm
db-helpers.mjs16200644editdlrm
db-helpers.mjs.map32200644editdlrm
factories.mjs15100644editdlrm
factories.mjs.map27660644editdlrm
index.d.mts17520644editdlrm
index.mjs28520644editdlrm
index.mjs.map58690644editdlrm
otp-sink.mjs5290644editdlrm
otp-sink.mjs.map8440644editdlrm
types.d.mts14890644editdlrm
Edit: /opt/canhelp/node_modules/better-auth/dist/plugins/test-utils/otp-sink.mjs (529B)
//#region src/plugins/test-utils/otp-sink.ts /** * Creates an instance-scoped OTP store for capturing OTPs during testing. * Each auth instance gets its own store to avoid cross-contamination. */ function createOTPStore() { const otpStore = /* @__PURE__ */ new Map(); return { capture(identifier, otp) { otpStore.set(identifier, otp); }, get(identifier) { return otpStore.get(identifier); }, clear() { otpStore.clear(); } }; } //#endregion export { createOTPStore }; //# sourceMappingURL=otp-sink.mjs.map