memorio 3.0.2 → 4.1.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/README.md +3 -7
- package/docs/README.md +3 -7
- package/index.cjs +520 -206
- package/index.js +518 -206
- package/package.json +20 -2
- package/types/memorio.d.ts +1 -0
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Zero friction. Zero bloat. Single import. Works everywhere JavaScript runs.
|
|
|
29
29
|
| **TypeScript** | ✅ Native | ✅ | ✅ |
|
|
30
30
|
| **Binary storage** | ✅ Built-in IDB | ❌ Add-on | ❌ |
|
|
31
31
|
| **Observer** | ✅ Built-in | ❌ Add-on | ❌ |
|
|
32
|
-
| **DevTools** | ✅ Built-in | ❌ Extension | ❌ |
|
|
32
|
+
| **DevTools** | ✅ Built-in + dphelper-manager extension | ❌ Extension | ❌ |
|
|
33
33
|
| **Running on the edge** | ✅ Workers, Deno | ⚠️ Limited | ⚠️ Limited |
|
|
34
34
|
|
|
35
35
|
If you need a `store` on the server. A `cache` in the edge worker.
|
|
@@ -184,6 +184,8 @@ memorio.devtools.exportData() // JSON snapshot
|
|
|
184
184
|
$state // console shortcut — same as globalThis.state
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
+
> **Browser Extension Integration:** When used with dphelper-manager browser extension, memorio's global state namespace is automatically detected and visualized through a dedicated DevTools panel, providing time-travel debugging and structural guardrails.
|
|
188
|
+
|
|
187
189
|
### `logger` — track every change
|
|
188
190
|
|
|
189
191
|
```javascript
|
|
@@ -298,14 +300,8 @@ basic | state | store | session | cache | idb | observer | useObserver
|
|
|
298
300
|
| Observer | 12 | ✅ |
|
|
299
301
|
| useObserver | 12 | ✅ |
|
|
300
302
|
|
|
301
|
-
```bash
|
|
302
|
-
npm test
|
|
303
|
-
```
|
|
304
|
-
|
|
305
303
|
---
|
|
306
304
|
|
|
307
305
|
## License
|
|
308
306
|
|
|
309
307
|
MIT © [Dario Passariello](https://dario.passariello.ca)
|
|
310
|
-
|
|
311
|
-
© [BigLogic Inc Canada](https://biglogic.ca)
|
package/docs/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Zero friction. Zero bloat. Single import. Works everywhere JavaScript runs.
|
|
|
29
29
|
| **TypeScript** | ✅ Native | ✅ | ✅ |
|
|
30
30
|
| **Binary storage** | ✅ Built-in IDB | ❌ Add-on | ❌ |
|
|
31
31
|
| **Observer** | ✅ Built-in | ❌ Add-on | ❌ |
|
|
32
|
-
| **DevTools** | ✅ Built-in | ❌ Extension | ❌ |
|
|
32
|
+
| **DevTools** | ✅ Built-in + dphelper-manager extension | ❌ Extension | ❌ |
|
|
33
33
|
| **Running on the edge** | ✅ Workers, Deno | ⚠️ Limited | ⚠️ Limited |
|
|
34
34
|
|
|
35
35
|
If you need a `store` on the server. A `cache` in the edge worker.
|
|
@@ -184,6 +184,8 @@ memorio.devtools.exportData() // JSON snapshot
|
|
|
184
184
|
$state // console shortcut — same as globalThis.state
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
+
> **Browser Extension Integration:** When used with dphelper-manager browser extension, memorio's global state namespace is automatically detected and visualized through a dedicated DevTools panel, providing time-travel debugging and structural guardrails.
|
|
188
|
+
|
|
187
189
|
### `logger` — track every change
|
|
188
190
|
|
|
189
191
|
```javascript
|
|
@@ -298,14 +300,8 @@ basic | state | store | session | cache | idb | observer | useObserver
|
|
|
298
300
|
| Observer | 12 | ✅ |
|
|
299
301
|
| useObserver | 12 | ✅ |
|
|
300
302
|
|
|
301
|
-
```bash
|
|
302
|
-
npm test
|
|
303
|
-
```
|
|
304
|
-
|
|
305
303
|
---
|
|
306
304
|
|
|
307
305
|
## License
|
|
308
306
|
|
|
309
307
|
MIT © [Dario Passariello](https://dario.passariello.ca)
|
|
310
|
-
|
|
311
|
-
© [BigLogic Inc Canada](https://biglogic.ca)
|