import type { AsyncStorage } from "./AsyncStorage.js"; const store = new Map(); export const inMemoryStorage: AsyncStorage = { getItem: async (key: string) => { return store.get(key) ?? null; }, removeItem: async (key: string) => { store.delete(key); }, setItem: async (key: string, value: string) => { store.set(key, value); }, };