stack/packages/stack-sc/src/index.combined.ts
Zai Shi 7e622e7d9e
Auto detect https for cookies (#296)
* added auto https detection

* not catch all

* improved cookie logic

* fixed bugs

* Update packages/stack/src/lib/cookie.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update packages/stack/src/lib/cookie.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* improve logic flow

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-10 06:35:59 +02:00

7 lines
297 B
TypeScript

import * as def from "./index.default";
import * as reactServer from "./index.react-server";
export declare const cookies: typeof reactServer.cookies | typeof def.cookies;
export declare const headers: typeof reactServer.headers | typeof def.headers;
export declare const isReactServer: boolean;