Files
purewhiter--mobilegym/os/storageIsolationBootstrap.ts
wehub-resource-sync 2114b14ee0
Sync main into demo / sync (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:35:26 +08:00

9 lines
363 B
TypeScript

import { installLocalStorageNamespacing } from './storageIsolation';
// Install as early as possible (import this module at the very top of entry).
// This makes all existing localStorage usages automatically namespaced.
const installed = installLocalStorageNamespacing();
// Expose for debugging / automation scripts.
window.__STORAGE_ISOLATION__ = installed;