pg-boss 10.0.0 → 10.0.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-boss",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "Queueing jobs in Postgres from Node.js like a boss",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/index.js CHANGED
@@ -108,7 +108,7 @@ class PgBoss extends EventEmitter {
108
108
 
109
109
  async start () {
110
110
  if (this.#starting || this.#started) {
111
- return
111
+ return this
112
112
  }
113
113
 
114
114
  this.#starting = true