meemup-library 1.0.24 → 1.0.26

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.
@@ -10,6 +10,7 @@ export default new class CustomerFacingDisplayPacketController {
10
10
  product.extras.forEach(ext => {
11
11
  extPro.push({
12
12
  q: ext.quantity,
13
+ s: ext.pizzaSide,
13
14
  t: ext.text,
14
15
  p: ext.totalAmount
15
16
  });
@@ -17,6 +18,7 @@ export default new class CustomerFacingDisplayPacketController {
17
18
  let pro = {
18
19
  q: product.quantity,
19
20
  t: product.title,
21
+ p: product.totalAmount,
20
22
  e: extPro
21
23
  };
22
24
  packet.d.push(pro);
@@ -1,5 +1,7 @@
1
+ import EnumPizzaSide from "../../enums/EnumPizzaSide";
1
2
  interface ICustomerFacingDisplayPacketExtra {
2
3
  q: number;
4
+ s: EnumPizzaSide;
3
5
  t: string;
4
6
  p: number;
5
7
  }
@@ -2,6 +2,7 @@ import ICustomerFacingDisplayPacketExtra from "./ICustomerFacingDisplayPacketExt
2
2
  interface ICustomerFacingDisplayPacketProduct {
3
3
  q: number;
4
4
  t: string;
5
+ p: number;
5
6
  e: ICustomerFacingDisplayPacketExtra[];
6
7
  }
7
8
  export default ICustomerFacingDisplayPacketProduct;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",