Move device ID logic from @multica/store (Zustand persist) into a simple useDeviceId hook in the web app. SSR returns empty string, client reads/writes localStorage directly — no hydration mismatch, no suppressHydrationWarning needed. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
271 B
JSON
16 lines
271 B
JSON
{
|
|
"name": "@multica/store",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./*": "./src/*.ts"
|
|
},
|
|
"dependencies": {
|
|
"zustand": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|