memorio 2.9.0 → 3.0.0
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/CONTRIBUTING.md +8 -11
- package/README.md +430 -470
- package/docs/README.md +430 -470
- package/docs/markdown/USEOBSERVER.md +5 -3
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -9
|
@@ -96,9 +96,11 @@ function StoreWatcher() {
|
|
|
96
96
|
### Callback Parameters
|
|
97
97
|
|
|
98
98
|
```javascript
|
|
99
|
-
useObserver(
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
useObserver(
|
|
100
|
+
() => {
|
|
101
|
+
console.debug('Changed:', state.key);
|
|
102
|
+
}, [state.key]
|
|
103
|
+
);
|
|
102
104
|
```
|
|
103
105
|
|
|
104
106
|
### Auto-Discovery Mode
|
package/index.cjs
CHANGED
|
@@ -310,7 +310,7 @@ Object.defineProperty(globalThis, "memorio", {
|
|
|
310
310
|
}), Object.defineProperty(memorio, "version", {
|
|
311
311
|
writable: !1,
|
|
312
312
|
enumerable: !1,
|
|
313
|
-
value: "
|
|
313
|
+
value: "3.0.0"
|
|
314
314
|
});
|
|
315
315
|
|
|
316
316
|
var B = [ "list", "state", "store", "idb", "observer", "useObserver", "remove", "removeAll", "_platform", "_capabilities", "_sessionId" ];
|
package/index.js
CHANGED
|
@@ -310,7 +310,7 @@ Object.defineProperty(globalThis, "memorio", {
|
|
|
310
310
|
}), Object.defineProperty(memorio, "version", {
|
|
311
311
|
writable: !1,
|
|
312
312
|
enumerable: !1,
|
|
313
|
-
value: "
|
|
313
|
+
value: "3.0.0"
|
|
314
314
|
});
|
|
315
315
|
|
|
316
316
|
var B = [ "list", "state", "store", "idb", "observer", "useObserver", "remove", "removeAll", "_platform", "_capabilities", "_sessionId" ];
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memorio",
|
|
3
3
|
"code": "memorio",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"description": "Memorio, State + Observer, Store and iDB for an easy life - Cross-platform compatible",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"browser": "./index.cjs",
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"types": "./index.d.ts",
|
|
10
10
|
"typing": "./types/*",
|
|
11
|
-
"homepage": "https://a51.gitbook.io/memorio",
|
|
12
11
|
"license": "MIT",
|
|
13
12
|
"copyright": "Dario Passariello",
|
|
14
13
|
"author": "Dario Passariello",
|
|
@@ -50,13 +49,6 @@
|
|
|
50
49
|
"files": [
|
|
51
50
|
"**/*"
|
|
52
51
|
],
|
|
53
|
-
"repository": {
|
|
54
|
-
"type": "git",
|
|
55
|
-
"url": "git+https://github.com/a51-dev/a51.memorio.git"
|
|
56
|
-
},
|
|
57
|
-
"bugs": {
|
|
58
|
-
"url": "https://github.com/a51-dev/a51.memorio/issues"
|
|
59
|
-
},
|
|
60
52
|
"support": {
|
|
61
53
|
"name": "Dario Passariello",
|
|
62
54
|
"url": "https://dario.passariello.ca/",
|