@rpcbase/server 0.385.0 → 0.386.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.385.0",
3
+ "version": "0.386.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "scripts": {
package/src/initServer.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Application } from "express"
2
2
  import session, { SessionOptions } from "express-session"
3
3
  import {RedisStore} from "connect-redis"
4
- import {createClient} from "redis"
4
+ import {createClient} from "redis"
5
5
 
6
6
  import { getDerivedKey } from "./getDerivedKey"
7
7
 
@@ -22,6 +22,7 @@ export const initServer = async (app: Application, serverEnv: { [key: string]:
22
22
  return new Error("max retries expiered")
23
23
  }
24
24
  }
25
+ console.log("RECO REDISSSSS", process.env.REDIS_URL)
25
26
 
26
27
  const redisClient = createClient({
27
28
  url: process.env.REDIS_URL,
@@ -37,6 +38,7 @@ export const initServer = async (app: Application, serverEnv: { [key: string]:
37
38
  })
38
39
 
39
40
  redisClient.on("error", (error) => {
41
+ console.log("2222REDISSSSS", process.env.REDIS_URL)
40
42
  console.log("session-storage::redis_client ERROR", error)
41
43
  })
42
44