@infrab4a/connect-nestjs 1.10.2 → 1.10.3

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.cjs.js CHANGED
@@ -1185,10 +1185,10 @@ exports.NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
1185
1185
  },
1186
1186
  {
1187
1187
  provide: connect.ProductErrorsHasuraGraphQLRepository,
1188
- useFactory: (options) => {
1189
- return new connect.ProductErrorsHasuraGraphQLRepository(options);
1188
+ useFactory: (options, productRepository) => {
1189
+ return new connect.ProductErrorsHasuraGraphQLRepository(options, productRepository);
1190
1190
  },
1191
- inject: ['HasuraConfig'],
1191
+ inject: ['HasuraConfig', connect.ProductHasuraGraphQLRepository],
1192
1192
  },
1193
1193
  {
1194
1194
  provide: 'ProductErrorsRepository',
package/index.esm.js CHANGED
@@ -1177,10 +1177,10 @@ NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
1177
1177
  },
1178
1178
  {
1179
1179
  provide: ProductErrorsHasuraGraphQLRepository,
1180
- useFactory: (options) => {
1181
- return new ProductErrorsHasuraGraphQLRepository(options);
1180
+ useFactory: (options, productRepository) => {
1181
+ return new ProductErrorsHasuraGraphQLRepository(options, productRepository);
1182
1182
  },
1183
- inject: ['HasuraConfig'],
1183
+ inject: ['HasuraConfig', ProductHasuraGraphQLRepository],
1184
1184
  },
1185
1185
  {
1186
1186
  provide: 'ProductErrorsRepository',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect-nestjs",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/B4AGroup/b4a-firebase-libs"
10
10
  },
11
11
  "peerDependencies": {
12
- "@infrab4a/connect": "4.23.0",
12
+ "@infrab4a/connect": "4.23.1",
13
13
  "@nestjs/common": "^10.3.3",
14
14
  "@nestjs/core": "^10.3.3",
15
15
  "firebase-admin": "^12.0.0"