pg-boss 10.3.0 → 10.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-boss",
3
- "version": "10.3.0",
3
+ "version": "10.3.2",
4
4
  "description": "Queueing jobs in Postgres from Node.js like a boss",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/manager.js CHANGED
@@ -521,7 +521,7 @@ class Manager extends EventEmitter {
521
521
  async retry (name, id, options = {}) {
522
522
  Attorney.assertQueueName(name)
523
523
  const db = options.db || this.db
524
- const ids = this.mapCompletionIdArg(id, 'resume')
524
+ const ids = this.mapCompletionIdArg(id, 'retry')
525
525
  const result = await db.executeSql(this.retryJobsCommand, [name, ids])
526
526
  return this.mapCommandResponse(ids, result)
527
527
  }
package/types.d.ts CHANGED
@@ -129,6 +129,7 @@ declare namespace PgBoss {
129
129
  includeMetadata?: boolean;
130
130
  priority?: boolean;
131
131
  batchSize?: number;
132
+ ignoreStartAfter?: boolean;
132
133
  }
133
134
 
134
135
  type WorkOptions = JobFetchOptions & JobPollingOptions