/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.map (844B)
{"version":3,"file":"otp-sink.mjs","names":[],"sources":["../../../src/plugins/test-utils/otp-sink.ts"],"sourcesContent":["/**\n * Creates an instance-scoped OTP store for capturing OTPs during testing.\n * Each auth instance gets its own store to avoid cross-contamination.\n */\nexport function createOTPStore() {\n\tconst otpStore = new Map();\n\n\treturn {\n\t\tcapture(identifier: string, otp: string): void {\n\t\t\totpStore.set(identifier, otp);\n\t\t},\n\t\tget(identifier: string): string | undefined {\n\t\t\treturn otpStore.get(identifier);\n\t\t},\n\t\tclear(): void {\n\t\t\totpStore.clear();\n\t\t},\n\t};\n}\n"],"mappings":";;;;;AAIA,SAAgB,iBAAiB;CAChC,MAAM,2BAAW,IAAI,KAAqB;AAE1C,QAAO;EACN,QAAQ,YAAoB,KAAmB;AAC9C,YAAS,IAAI,YAAY,IAAI;;EAE9B,IAAI,YAAwC;AAC3C,UAAO,SAAS,IAAI,WAAW;;EAEhC,QAAc;AACb,YAAS,OAAO;;EAEjB"}