@lowdefy/connection-redis 4.0.0-rc.1 → 4.0.0-rc.11

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.
@@ -15,7 +15,7 @@
15
15
  */ import { type } from '@lowdefy/helpers';
16
16
  import { createClient } from 'redis';
17
17
  import schema from './schema.js';
18
- async function Redis({ request , connection }) {
18
+ async function Redis({ request, connection }) {
19
19
  const connectionObject = type.isString(connection.connection) ? {
20
20
  url: connection.connection
21
21
  } : connection.connection;
@@ -23,7 +23,7 @@ async function Redis({ request , connection }) {
23
23
  client.on('error', (error)=>{
24
24
  throw error;
25
25
  });
26
- const { command , parameters , modifiers } = request;
26
+ const { command, parameters, modifiers } = request;
27
27
  await client.connect();
28
28
  if (!type.isFunction(client[command.toUpperCase()])) {
29
29
  throw new Error(`Invalid redis command "${command}".`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/connection-redis",
3
- "version": "4.0.0-rc.1",
3
+ "version": "4.0.0-rc.11",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -45,19 +45,19 @@
45
45
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
46
46
  },
47
47
  "dependencies": {
48
- "@lowdefy/helpers": "4.0.0-rc.1",
49
- "redis": "4.5.1"
48
+ "@lowdefy/helpers": "4.0.0-rc.11",
49
+ "redis": "4.6.10"
50
50
  },
51
51
  "devDependencies": {
52
- "@jest/globals": "28.1.0",
53
- "@lowdefy/ajv": "4.0.0-rc.1",
54
- "@swc/cli": "0.1.59",
55
- "@swc/core": "1.3.24",
56
- "@swc/jest": "0.2.24",
57
- "jest": "28.1.0"
52
+ "@jest/globals": "28.1.3",
53
+ "@lowdefy/ajv": "4.0.0-rc.11",
54
+ "@swc/cli": "0.1.62",
55
+ "@swc/core": "1.3.92",
56
+ "@swc/jest": "0.2.29",
57
+ "jest": "28.1.3"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "ecc4f16c19eede929eda177db524cf13a8053379"
62
+ "gitHead": "dbc49d3688a6d2f44de25cc3f4bc071627f7ebfa"
63
63
  }