@rpcbase/server 0.414.0 → 0.415.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.414.0",
3
+ "version": "0.415.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "scripts": {
package/src/initServer.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Application } from "express"
2
- import dotenv from "dotenv"
2
+ import env from "@rpcbase/env"
3
3
  import session, { SessionOptions } from "express-session"
4
4
  import {RedisStore} from "connect-redis"
5
5
  import {createClient} from "redis"
@@ -10,7 +10,7 @@ import * as Sentry from "@sentry/node"
10
10
  process.env = {
11
11
  ...__vite_env__,
12
12
  ...process.env,
13
- ...dotenv.config().parsed
13
+ ...env.config().parsed
14
14
  }
15
15
 
16
16
  import { getDerivedKey } from "./getDerivedKey"