@ahoo-wang/fetcher-storage 3.15.1 → 3.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/README.zh-CN.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -841,11 +841,11 @@ class SessionManager {
|
|
|
841
841
|
### Cross-Tab Application State
|
|
842
842
|
|
|
843
843
|
```typescript
|
|
844
|
+
import { KeyStorage } from '@ahoo-wang/fetcher-storage';
|
|
844
845
|
import {
|
|
845
|
-
KeyStorage,
|
|
846
846
|
BroadcastTypedEventBus,
|
|
847
847
|
SerialTypedEventBus,
|
|
848
|
-
} from '@ahoo-wang/fetcher-
|
|
848
|
+
} from '@ahoo-wang/fetcher-eventbus';
|
|
849
849
|
|
|
850
850
|
interface AppState {
|
|
851
851
|
theme: 'light' | 'dark';
|
package/README.zh-CN.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ahoo-wang/fetcher-storage",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.3",
|
|
4
4
|
"description": "A lightweight, cross-environment storage library with key-based storage and automatic environment detection. Provides consistent API for browser localStorage and in-memory storage with change notifications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storage",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@vitest/coverage-v8": "^4.1.4",
|
|
49
49
|
"@vitest/ui": "^4.1.4",
|
|
50
50
|
"eslint": "^9.39.4",
|
|
51
|
-
"globals": "^17.
|
|
51
|
+
"globals": "^17.5.0",
|
|
52
52
|
"prettier": "^3.8.1",
|
|
53
53
|
"typescript": "^6.0.2",
|
|
54
|
-
"typescript-eslint": "^8.58.
|
|
54
|
+
"typescript-eslint": "^8.58.2",
|
|
55
55
|
"unplugin-dts": "1.0.0-beta.6",
|
|
56
56
|
"vite": "^8.0.8",
|
|
57
57
|
"vite-bundle-analyzer": "^1.3.7",
|