mirror of
https://github.com/wassname/talk.git
synced 2026-09-21 13:30:11 +08:00
* feat: dropped cookie support due to ITP issues * feat: added improved accessToken handling * fix: linting * fix: removed variadic part of JWT * fix: bump long-settimeout version * review: removed management classes * fix: updated snaps * review: renamed based on review * review: removed guard clauses around errors surrounding auth
17 lines
466 B
TypeScript
17 lines
466 B
TypeScript
import { Environment } from "relay-runtime";
|
|
|
|
import { AuthState } from "coral-framework/lib/auth";
|
|
import { CoralContext } from "coral-framework/lib/bootstrap";
|
|
import { initLocalBaseState } from "coral-framework/lib/relay";
|
|
|
|
/**
|
|
* Initializes the local state, before we start the App.
|
|
*/
|
|
export default async function initLocalState(
|
|
environment: Environment,
|
|
context: CoralContext,
|
|
auth?: AuthState
|
|
) {
|
|
initLocalBaseState(environment, context, auth);
|
|
}
|