{"version":3,"file":"clear-token.mjs","names":["constants"],"sources":["../../../../src/services/auth/csrf/clear-token.ts"],"sourcesContent":["import { deleteCookie } from \"hono/cookie\";\nimport constants from \"../../../constants/constants.js\";\nimport type { LucidHonoContext } from \"../../../types/hono.js\";\nimport type { ServiceResponse } from \"../../../utils/services/types.js\";\n\nconst clearToken = (\n\tc: LucidHonoContext,\n): Awaited<ServiceResponse<undefined>> => {\n\tdeleteCookie(c, constants.cookies.csrf, { path: \"/\" });\n\n\treturn {\n\t\terror: undefined,\n\t\tdata: undefined,\n\t};\n};\n\nexport default clearToken;\n"],"mappings":"2FAKA,MAAM,EACL,IAEA,EAAa,EAAGA,EAAU,QAAQ,KAAM,CAAE,KAAM,GAAI,CAAC,EAE9C,CACN,MAAO,IAAA,GACP,KAAM,IAAA,EACP"}