deepbase-redis 1.0.7 → 1.0.8
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/demo/demo.mjs +1 -1
- package/package.json +2 -2
package/demo/demo.mjs
CHANGED
|
@@ -12,7 +12,7 @@ console.log(configLang); // "en"
|
|
|
12
12
|
|
|
13
13
|
// ADD
|
|
14
14
|
const path = await mem.add("user", { name: "martin" });
|
|
15
|
-
console.log(path) // [ 'user', '
|
|
15
|
+
console.log(path) // [ 'user', 'CqtOILTDUg' ] / CqtOILTDUg is a random string
|
|
16
16
|
|
|
17
17
|
const userName = await mem.get(...path, "name");
|
|
18
18
|
console.log(userName); // "martin"
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepbase-redis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "⚡ Fastest and simplest way to add Redis persistence to your projects.",
|
|
5
|
-
"main": "index.
|
|
5
|
+
"main": "index.mjs",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"nanoid": "^5.0.4",
|
|
8
8
|
"redis": "^4.6.12"
|