@abinnovision/nestjs-hatchet 0.7.0-beta.2 → 0.7.1-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.0](https://github.com/abinnovision/nestjs-commons/compare/nestjs-hatchet-v0.6.1...nestjs-hatchet-v0.7.0) (2026-05-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * add nestjs-toolkit and nestjs-exceptions packages ([#106](https://github.com/abinnovision/nestjs-commons/issues/106)) ([1655e03](https://github.com/abinnovision/nestjs-commons/commit/1655e03d4a0202bdd59e00be634a22ea69bdb8b1))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **hatchet:** tolerate startup with no forFeature registrations ([#119](https://github.com/abinnovision/nestjs-commons/issues/119)) ([7b4cb4c](https://github.com/abinnovision/nestjs-commons/commit/7b4cb4cc1f6252d7810f9d1b7567cde7f70b542b))
14
+
3
15
  ## [0.6.1](https://github.com/abinnovision/nestjs-commons/compare/nestjs-hatchet-v0.6.0...nestjs-hatchet-v0.6.1) (2026-05-12)
4
16
 
5
17
 
@@ -60,10 +60,15 @@ var Client = class {
60
60
  * ```
61
61
  */ async emitBulk(event, inputs, options) {
62
62
  if (inputs.length === 0) return [];
63
- return (await this.client.events.bulkPush(event.name, inputs.map((input) => ({ payload: {
64
- ...input,
65
- [require_event_definition.EVENT_MARKER]: event.name
66
- } })), options)).events;
63
+ return (await this.client.events.bulkPush(event.name, inputs.map((input) => ({
64
+ payload: {
65
+ ...input,
66
+ [require_event_definition.EVENT_MARKER]: event.name
67
+ },
68
+ ...options?.additionalMetadata !== void 0 && { additionalMetadata: options.additionalMetadata },
69
+ ...options?.priority !== void 0 && { priority: options.priority },
70
+ ...options?.scope !== void 0 && { scope: options.scope }
71
+ })), options)).events;
67
72
  }
68
73
  };
69
74
  Client = _ts_decorate([
@@ -60,10 +60,15 @@ var Client = class {
60
60
  * ```
61
61
  */ async emitBulk(event, inputs, options) {
62
62
  if (inputs.length === 0) return [];
63
- return (await this.client.events.bulkPush(event.name, inputs.map((input) => ({ payload: {
64
- ...input,
65
- [EVENT_MARKER]: event.name
66
- } })), options)).events;
63
+ return (await this.client.events.bulkPush(event.name, inputs.map((input) => ({
64
+ payload: {
65
+ ...input,
66
+ [EVENT_MARKER]: event.name
67
+ },
68
+ ...options?.additionalMetadata !== void 0 && { additionalMetadata: options.additionalMetadata },
69
+ ...options?.priority !== void 0 && { priority: options.priority },
70
+ ...options?.scope !== void 0 && { scope: options.scope }
71
+ })), options)).events;
67
72
  }
68
73
  };
69
74
  Client = _ts_decorate([
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@abinnovision/nestjs-hatchet",
4
- "version": "0.7.0-beta.2",
4
+ "version": "0.7.1-beta.1",
5
5
  "description": "NestJS integration for Hatchet workflow orchestration with declarative task and workflow decorators for building distributed job systems.",
6
6
  "keywords": [
7
7
  "nestjs",