memorio 4.2.2 → 4.2.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 +5 -2
- package/index.cjs +3 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/types/memorio.d.ts +2 -0
package/README.md
CHANGED
|
@@ -78,9 +78,12 @@ npm i react react-dom
|
|
|
78
78
|
## **Setup**
|
|
79
79
|
|
|
80
80
|
```typescript
|
|
81
|
-
//
|
|
81
|
+
// IMPORT ONCE AT YOUR APP ENTRY POINT
|
|
82
|
+
|
|
82
83
|
import 'memorio'
|
|
84
|
+
```
|
|
83
85
|
|
|
86
|
+
```typescript
|
|
84
87
|
// Memory
|
|
85
88
|
state.user = { name: 'Sara', role: 'admin' }
|
|
86
89
|
state.counter++
|
|
@@ -249,7 +252,7 @@ Manage your `Memorio` on `dphelper Manager Browser Extension*` environment, moni
|
|
|
249
252
|
|
|
250
253
|
Memorio runs in every JavaScript environment, with automatic fallbacks.
|
|
251
254
|
|
|
252
|
-
| | Browser | Node.js | Deno | Edge / Workers |
|
|
255
|
+
| Tool | Browser | Node.js | Deno | Edge / Workers |
|
|
253
256
|
|---|---|---|---|---|
|
|
254
257
|
| `state` | ✅ | ✅ | ✅ | ✅ |
|
|
255
258
|
| `observer` / `useObserver` | ✅ | ✅ | ✅ | ✅ |
|
package/index.cjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
var e = Object.getOwnPropertyNames, o = (o, t) => function() {
|
|
2
4
|
return o && (t = (0, o[e(o)[0]])(o = 0)), t;
|
|
3
5
|
}, t = {}, r = o({
|
|
@@ -315,7 +317,7 @@ function J(e) {
|
|
|
315
317
|
};
|
|
316
318
|
}
|
|
317
319
|
|
|
318
|
-
var z = "4.2.
|
|
320
|
+
var z = "4.2.3";
|
|
319
321
|
|
|
320
322
|
Object.defineProperty(globalThis, "memorio", {
|
|
321
323
|
value: {},
|
package/index.js
CHANGED
package/package.json
CHANGED