I am trying to migrate a sveltekit app from older versions to the latest. session has been removed from $app/stores.
I have not been able to find references to new session in the current documentation.
I use this reference in +layout.svelte
<script lang="ts">
import { session } from '$app/stores';
</script>
and also call GetSession from hooks.ts:
import type { GetSession, Handle } from '@sveltejs/kit';
What is the new way of referencing them?
Ben.