@akanjs/server 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/cjs/src/boot.js CHANGED
@@ -74,7 +74,6 @@ const createNestApp = async ({
74
74
  if (log)
75
75
  backendLogger.rawLog(import_base.logo);
76
76
  import_signal.signalInfo.initialize();
77
- const jwtSecret = (0, import_nest.generateJwtSecret)(env.appName, env.environment);
78
77
  const [redisUri, mongoUri, meiliUri] = await Promise.all([
79
78
  env.redisUri ?? (0, import_nest.generateRedisUri)({ ...env, ...env.redis?.sshOptions ? { sshOptions: env.redis.sshOptions } : {} }),
80
79
  env.mongoUri ?? (0, import_nest.generateMongoUri)({
@@ -145,7 +144,7 @@ const createNestApp = async ({
145
144
  })
146
145
  ], AppModule);
147
146
  const app = await import_core.NestFactory.create(AppModule, { logger: backendLogger, ...nestOptions });
148
- const redisIoAdapter = new import_nest.RedisIoAdapter(app, { jwtSecret });
147
+ const redisIoAdapter = new import_nest.RedisIoAdapter(app, { jwtSecret: "" });
149
148
  await redisIoAdapter.connectToRedis(redisUri);
150
149
  app.enableShutdownHooks();
151
150
  if (env.operationMode !== "local" && process.env.USE_REDIS_IO_ADAPTER !== "false")
package/esm/src/boot.js CHANGED
@@ -16,7 +16,6 @@ import {
16
16
  CacheClient,
17
17
  CacheInterceptor,
18
18
  DatabaseClient,
19
- generateJwtSecret,
20
19
  generateMeiliKey,
21
20
  generateMeiliUri,
22
21
  generateMongoUri,
@@ -59,7 +58,6 @@ const createNestApp = async ({
59
58
  if (log)
60
59
  backendLogger.rawLog(logo);
61
60
  signalInfo.initialize();
62
- const jwtSecret = generateJwtSecret(env.appName, env.environment);
63
61
  const [redisUri, mongoUri, meiliUri] = await Promise.all([
64
62
  env.redisUri ?? generateRedisUri({ ...env, ...env.redis?.sshOptions ? { sshOptions: env.redis.sshOptions } : {} }),
65
63
  env.mongoUri ?? generateMongoUri({
@@ -130,7 +128,7 @@ const createNestApp = async ({
130
128
  })
131
129
  ], AppModule);
132
130
  const app = await NestFactory.create(AppModule, { logger: backendLogger, ...nestOptions });
133
- const redisIoAdapter = new RedisIoAdapter(app, { jwtSecret });
131
+ const redisIoAdapter = new RedisIoAdapter(app, { jwtSecret: "" });
134
132
  await redisIoAdapter.connectToRedis(redisUri);
135
133
  app.enableShutdownHooks();
136
134
  if (env.operationMode !== "local" && process.env.USE_REDIS_IO_ADAPTER !== "false")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/server",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"