@infrab4a/connect-nestjs 1.10.2 → 1.10.4-beta.0

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.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./src/index";
1
+ export * from "./src\\index";
package/index.cjs.js CHANGED
@@ -479,6 +479,7 @@ class PagarmeCardAPIAdapter {
479
479
  api_key: this.credentials.API_KEY,
480
480
  amount: Math.floor(checkout.totalPrice * 100),
481
481
  card_id: card.cardId,
482
+ card_cvv: card.cardCvv,
482
483
  payment_method: 'credit_card',
483
484
  installments: card.installments,
484
485
  soft_descriptor: checkout.shop === connect.Shops.GLAMSHOP ? 'Glam' : "Men's Market",
@@ -1185,10 +1186,10 @@ exports.NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
1185
1186
  },
1186
1187
  {
1187
1188
  provide: connect.ProductErrorsHasuraGraphQLRepository,
1188
- useFactory: (options) => {
1189
- return new connect.ProductErrorsHasuraGraphQLRepository(options);
1189
+ useFactory: (options, productRepository) => {
1190
+ return new connect.ProductErrorsHasuraGraphQLRepository(options, productRepository);
1190
1191
  },
1191
- inject: ['HasuraConfig'],
1192
+ inject: ['HasuraConfig', connect.ProductHasuraGraphQLRepository],
1192
1193
  },
1193
1194
  {
1194
1195
  provide: 'ProductErrorsRepository',
package/index.esm.js CHANGED
@@ -471,6 +471,7 @@ class PagarmeCardAPIAdapter {
471
471
  api_key: this.credentials.API_KEY,
472
472
  amount: Math.floor(checkout.totalPrice * 100),
473
473
  card_id: card.cardId,
474
+ card_cvv: card.cardCvv,
474
475
  payment_method: 'credit_card',
475
476
  installments: card.installments,
476
477
  soft_descriptor: checkout.shop === Shops.GLAMSHOP ? 'Glam' : "Men's Market",
@@ -1177,10 +1178,10 @@ NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
1177
1178
  },
1178
1179
  {
1179
1180
  provide: ProductErrorsHasuraGraphQLRepository,
1180
- useFactory: (options) => {
1181
- return new ProductErrorsHasuraGraphQLRepository(options);
1181
+ useFactory: (options, productRepository) => {
1182
+ return new ProductErrorsHasuraGraphQLRepository(options, productRepository);
1182
1183
  },
1183
- inject: ['HasuraConfig'],
1184
+ inject: ['HasuraConfig', ProductHasuraGraphQLRepository],
1184
1185
  },
1185
1186
  {
1186
1187
  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.4-beta.0",
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.2-beta.1",
13
13
  "@nestjs/common": "^10.3.3",
14
14
  "@nestjs/core": "^10.3.3",
15
15
  "firebase-admin": "^12.0.0"