deepbase-redis 1.0.8 → 1.0.9

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 CHANGED
@@ -38,6 +38,7 @@ console.log({
38
38
  user: await mem.get("user")
39
39
  })
40
40
 
41
+ await mem.disconnect();
41
42
  // {
42
43
  // "config": {
43
44
  // "lang": "EN"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepbase-redis",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "⚡ Fastest and simplest way to add Redis persistence to your projects.",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {
package/test/test.mjs CHANGED
@@ -13,6 +13,7 @@ describe('DeepBaseRedis', () => {
13
13
 
14
14
  afterEach(async () => {
15
15
  await db.del('foo');
16
+ await db.disconnect();
16
17
  });
17
18
 
18
19
  describe('#set()', () => {
@@ -131,6 +132,7 @@ describe('DeepBaseRedis', () => {
131
132
  await db.upd('foo', 'bar', n => n * 3);
132
133
  assert.deepEqual(await db.get('foo', 'bar'), 6);
133
134
  });
134
-
135
135
  });
136
+
137
+
136
138
  });