@open-pioneer/local-storage 4.9.0-dev.20260930055642 → 4.9.0-dev.20261002130116
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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/api.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ storageService.removeAll();
|
|
|
80
80
|
|
|
81
81
|
You can use either service to manage hierarchical data, including objects and arrays (see above).
|
|
82
82
|
_Namespaces_ can help you treat an object as a group of (nested) properties.
|
|
83
|
-
Getting or setting entries in the namespace
|
|
83
|
+
Getting or setting entries in the namespace updates an object behind the scenes.
|
|
84
84
|
|
|
85
85
|
To use a namespace, call `getNamespace(key)` on either service or on another `StorageNamespace` object.
|
|
86
86
|
The `key` used in `getNamespace(key)` should either already be associated with an object or it should not be set to a value at all.
|
package/api.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export interface StorageAPI {
|
|
|
65
65
|
*/
|
|
66
66
|
remove(key: string): void;
|
|
67
67
|
/**
|
|
68
|
-
* Removes all entries
|
|
68
|
+
* Removes all entries managed by this instance.
|
|
69
69
|
*
|
|
70
70
|
* If `this` represents the root object, _all_ entries will be removed.
|
|
71
71
|
* If `this` represents a (possibly nested) namespace, only the contents of that
|
|
@@ -75,7 +75,7 @@ export interface StorageAPI {
|
|
|
75
75
|
/**
|
|
76
76
|
* Returns a storage namespace operating on the given `key` that can be used to group
|
|
77
77
|
* multiple related properties.
|
|
78
|
-
* `key` should either be associated with an object or
|
|
78
|
+
* `key` should either be associated with an object or its value should be undefined.
|
|
79
79
|
* If `key` is not associated with a value, a new empty object will be created.
|
|
80
80
|
*
|
|
81
81
|
* Namespaces allow you to treat an object in the storage as a group of properties.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/local-storage",
|
|
4
|
-
"version": "4.9.0-dev.
|
|
4
|
+
"version": "4.9.0-dev.20261002130116",
|
|
5
5
|
"description": "Provides access to the browser's local storage and session storage.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"directory": "src/packages/local-storage"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@open-pioneer/core": "4.9.0-dev.
|
|
18
|
-
"@open-pioneer/runtime": "4.9.0-dev.
|
|
17
|
+
"@open-pioneer/core": "4.9.0-dev.20261002130116",
|
|
18
|
+
"@open-pioneer/runtime": "4.9.0-dev.20261002130116"
|
|
19
19
|
},
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"directory": "dist",
|