@idealyst/storage 1.2.100 → 1.2.102
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/package.json +1 -1
- package/src/index.ts +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idealyst/storage",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.102",
|
|
4
4
|
"description": "Cross-platform storage abstraction for React and React Native",
|
|
5
5
|
"documentation": "https://github.com/IdealystIO/idealyst-framework/tree/main/packages/storage#readme",
|
|
6
6
|
"readme": "README.md",
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import BaseStorage from './storage';
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
|
|
3
|
+
// Platform-specific entry points (index.native.ts, index.web.ts) replace this with real instances
|
|
4
|
+
// This provides type compatibility for `import { storage } from '@idealyst/storage'`
|
|
5
|
+
const storage = null as unknown as BaseStorage;
|
|
6
|
+
|
|
7
|
+
export { BaseStorage, storage, storage as Storage };
|
|
6
8
|
export default BaseStorage;
|
|
7
9
|
export * from './types';
|