@everneed/worker 1.0.0 → 1.0.2

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/index.js CHANGED
@@ -32,7 +32,7 @@ import pseudoEnv from "./pseudoenv.js"
32
32
  }
33
33
  /* mongoose */
34
34
  let mongooseInstance = ()=>{}
35
- mongooseInstance.config = (object)=>{
35
+ mongooseInstance.config = async (object)=>{
36
36
  // config({
37
37
  // ENV: value,
38
38
  // ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everneed/worker",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/pseudoenv.js CHANGED
@@ -7,14 +7,6 @@ class Config {
7
7
  }
8
8
 
9
9
  config(envObject){
10
- // for(const env of envObject){
11
- // this.process.env[env] = envObject[env]
12
- // }
13
-
14
- // this.process.env = {
15
- // ...this.process.env,
16
- // ...envObject
17
- // }
18
10
  Object.assign(this.process.env, envObject)
19
11
  }
20
12
  }