@rpcbase/server 0.28.0 → 0.29.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.
Files changed (3) hide show
  1. package/database.js +1 -0
  2. package/index.js +0 -2
  3. package/package.json +1 -1
package/database.js CHANGED
@@ -15,6 +15,7 @@ if (typeof DATABASE_NAME !== "string") {
15
15
  const mongo_url = `mongodb://database:${DATABASE_PORT}/${DATABASE_NAME}`
16
16
 
17
17
  module.exports = async() => {
18
+ console.log("ICIIIII", mongo_url)
18
19
  const ret = await mongoose.connect(mongo_url)
19
20
  // TODO: handle connection ret
20
21
  // console.log(ret)
package/index.js CHANGED
@@ -2,7 +2,6 @@
2
2
  const client_router = require("./client/client_router")
3
3
  const database = require("./database")
4
4
  const express = require("./express")
5
- const mongoose = require("./mongoose")
6
5
  const rpc_router = require("./rpc/rpc_router")
7
6
 
8
7
 
@@ -10,6 +9,5 @@ module.exports = {
10
9
  client_router,
11
10
  database,
12
11
  express,
13
- mongoose,
14
12
  rpc_router,
15
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {