@react-pakistan/util-functions 1.22.82 → 1.22.83

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.
@@ -108,7 +108,7 @@ products, createdAt, phone, lastName, firstName, email, country, city, address,
108
108
  products: true,
109
109
  },
110
110
  });
111
- products === null || products === void 0 ? void 0 : products.forEach((_f) => __awaiter(void 0, [_f], void 0, function* ({ id: _id, productQuantity }) {
111
+ const res = yield (products === null || products === void 0 ? void 0 : products.forEach((_f) => __awaiter(void 0, [_f], void 0, function* ({ id: _id, productQuantity }) {
112
112
  yield prisma.quotesInvoicesOnStellarProducts.create({
113
113
  data: {
114
114
  quoteInvoiceId: quoteInvoice === null || quoteInvoice === void 0 ? void 0 : quoteInvoice.id,
@@ -116,7 +116,8 @@ products, createdAt, phone, lastName, firstName, email, country, city, address,
116
116
  productQuantity,
117
117
  },
118
118
  });
119
- }));
119
+ })));
120
+ console.log('->', res);
120
121
  // await prisma.quotesInvoicesOnStellarProducts.create({
121
122
  // data: {
122
123
  // quoteInvoiceId: quoteInvoice.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.22.82",
3
+ "version": "1.22.83",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {