@react-pakistan/util-functions 1.24.23 → 1.24.25

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.
@@ -166,7 +166,7 @@ var postQuoteInvoice = function (_a) { return __awaiter(void 0, [_a], void 0, fu
166
166
  })];
167
167
  case 1:
168
168
  quoteInvoice = _e.sent();
169
- return [4 /*yield*/, ((_c = products === null || products === void 0 ? void 0 : products.filter(function (product) { return product.productId; })) === null || _c === void 0 ? void 0 : _c.forEach(function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
169
+ return [4 /*yield*/, ((_c = products === null || products === void 0 ? void 0 : products.filter(function (product) { return product.id; })) === null || _c === void 0 ? void 0 : _c.forEach(function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
170
170
  var _id = _b.id, quantity = _b.quantity;
171
171
  return __generator(this, function (_c) {
172
172
  switch (_c.label) {
@@ -0,0 +1,12 @@
1
+ export interface Currency {
2
+ symbol: string;
3
+ name: string;
4
+ symbolNative: string;
5
+ decimalDigits: number;
6
+ rounding: number;
7
+ code: string;
8
+ namePlural: string;
9
+ }
10
+ export declare const currencies: {
11
+ [key: string]: Currency;
12
+ };