@abinnovision/nestjs-hatchet 0.2.0 → 0.2.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 +7 -0
- package/dist/hatchet.module.js +2 -4
- package/package.json +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.1](https://github.com/abinnovision/nestjs-commons/compare/nestjs-hatchet-v0.2.0...nestjs-hatchet-v0.2.1) (2025-12-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* remove dual registration of host providers ([#64](https://github.com/abinnovision/nestjs-commons/issues/64)) ([2c262f2](https://github.com/abinnovision/nestjs-commons/commit/2c262f2877a7676854324ac841ae5f58f9dbd97f))
|
|
9
|
+
|
|
3
10
|
## [0.2.0](https://github.com/abinnovision/nestjs-commons/compare/nestjs-hatchet-v0.1.0...nestjs-hatchet-v0.2.0) (2025-12-15)
|
|
4
11
|
|
|
5
12
|
|
package/dist/hatchet.module.js
CHANGED
|
@@ -54,17 +54,15 @@ let HatchetModule = class HatchetModule extends ConfigurableModuleClass {
|
|
|
54
54
|
*/
|
|
55
55
|
static forFeature(...refs) {
|
|
56
56
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-return
|
|
57
|
-
const
|
|
57
|
+
const hostRefs = refs.map((ref) => ref.host);
|
|
58
58
|
return {
|
|
59
59
|
module: HatchetFeatureModule,
|
|
60
60
|
providers: [
|
|
61
|
-
...hostProviders,
|
|
62
61
|
{
|
|
63
62
|
provide: internal_1.HatchetFeatureRegistration,
|
|
64
|
-
useValue: new internal_1.HatchetFeatureRegistration(
|
|
63
|
+
useValue: new internal_1.HatchetFeatureRegistration(hostRefs),
|
|
65
64
|
},
|
|
66
65
|
],
|
|
67
|
-
exports: hostProviders,
|
|
68
66
|
};
|
|
69
67
|
}
|
|
70
68
|
};
|
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.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nestjs",
|
|
7
7
|
"hatchet"
|
|
@@ -64,5 +64,10 @@
|
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@nestjs/common": "^11.0.0",
|
|
66
66
|
"@nestjs/core": "^11.0.0"
|
|
67
|
+
},
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"ghpr": true,
|
|
70
|
+
"npm": true,
|
|
71
|
+
"npmAccess": "public"
|
|
67
72
|
}
|
|
68
73
|
}
|