{"version":3,"file":"should-session-refresh.mjs","names":[],"sources":["../../../src/api/state/should-session-refresh.ts"],"sourcesContent":["import { defineRequestState } from \"@better-auth/core/context\";\n\n/**\n * State for skipping session refresh\n *\n * In some cases, such as when using server-side rendering (SSR) or when dealing with\n * certain types of requests, it may be necessary to skip session refresh to prevent\n * potential inconsistencies between the session data in the database and the session\n * data stored in cookies.\n */\nconst { get: getShouldSkipSessionRefresh, set: setShouldSkipSessionRefresh } =\n\tdefineRequestState<boolean | null>(() => false);\n\nexport { getShouldSkipSessionRefresh, setShouldSkipSessionRefresh };\n"],"mappings":";;;;;;;;;;;AAUA,MAAM,EAAE,KAAK,6BAA6B,KAAK,gCAC9C,yBAAyC,MAAM"}