meemup-library 1.4.98 → 1.5.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.
@@ -222,6 +222,7 @@ export default new class ProductModalController {
222
222
  weight: extraItemModel.weight,
223
223
  options: extraItemModel.options,
224
224
  optionId: it.extraItemOptionId,
225
+ doNotPrintOnReceipt: extraItemModel.doNotPrintOnReceipt,
225
226
  optionTitle: ((_a = extraItemModel.options.find(i => i.id === it.extraItemOptionId)) === null || _a === void 0 ? void 0 : _a.title) + ""
226
227
  });
227
228
  }
@@ -22,6 +22,7 @@ interface IExtraItem {
22
22
  oldId: number;
23
23
  packagingCost: string;
24
24
  weight: number;
25
+ doNotPrintOnReceipt: boolean;
25
26
  options: IExtraItemOption[];
26
27
  }
27
28
  export declare const initExtraItem: IExtraItem;
@@ -21,5 +21,6 @@ export const initExtraItem = {
21
21
  oldId: -1,
22
22
  packagingCost: "0.00",
23
23
  weight: 0,
24
+ doNotPrintOnReceipt: false,
24
25
  options: []
25
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.98",
3
+ "version": "1.5.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.4.98\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.0\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"