meemup-library 1.7.0 → 1.7.1

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.
@@ -158,7 +158,9 @@ class TagToolController {
158
158
  return this.allTagsWithoutSeats(tags).filter(i => !i.startsWith(TagToolController.SharingTypeTagPreName));
159
159
  }
160
160
  allTagsWithoutBundles(tags) {
161
- return this.allTagsWithoutSeats(tags).filter(i => !i.startsWith(TagToolController.SharingTypeTagPreName));
161
+ if (!Array.isArray(tags))
162
+ return [];
163
+ return tags.filter(i => !i.startsWith(TagToolController.BundleGroupPreName) && !i.startsWith(TagToolController.BundleIdPreName) && !i.startsWith(TagToolController.BundleProductQuantityPreName) && !i.startsWith(TagToolController.BundleFeeKey));
162
164
  }
163
165
  createSeatLabel(num) {
164
166
  return `${TagToolController.SeatTagPreName}${num}`;
@@ -10,6 +10,7 @@ declare enum EnumPaymentType {
10
10
  StripeTerminal = 8,
11
11
  TapToPay = 9,
12
12
  DebitMachine = 10,
13
- MultipleMethods = 11
13
+ MultipleMethods = 11,
14
+ PoyntTerminal = 12
14
15
  }
15
16
  export default EnumPaymentType;
@@ -12,6 +12,7 @@ var EnumPaymentType;
12
12
  EnumPaymentType[EnumPaymentType["TapToPay"] = 9] = "TapToPay";
13
13
  EnumPaymentType[EnumPaymentType["DebitMachine"] = 10] = "DebitMachine";
14
14
  EnumPaymentType[EnumPaymentType["MultipleMethods"] = 11] = "MultipleMethods";
15
+ EnumPaymentType[EnumPaymentType["PoyntTerminal"] = 12] = "PoyntTerminal";
15
16
  })(EnumPaymentType || (EnumPaymentType = {}));
16
17
  export default EnumPaymentType;
17
18
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
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.7.0\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.7.1\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"