@bondsports/types 2.2.182 → 2.2.183

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,8 +11,8 @@ exports.discountOnMapper = {
11
11
  *
12
12
  */
13
13
  const getUniqueKey = (cartItem) => {
14
- var _a;
15
- return (_a = cartItem.id.toString()) !== null && _a !== void 0 ? _a : cartItem.unique;
14
+ var _a, _b;
15
+ return (_b = (_a = cartItem.id) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : cartItem.unique;
16
16
  };
17
17
  exports.getUniqueKey = getUniqueKey;
18
18
  //# sourceMappingURL=invoice.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AACA,gFAAoG;AAEvF,QAAA,gBAAgB,GAA6C;IACzE,CAAC,+BAAc,CAAC,IAAI,CAAC,EAAE,sCAAqB,CAAC,SAAS;IACtD,CAAC,+BAAc,CAAC,GAAG,CAAC,EAAE,sCAAqB,CAAC,OAAO;CACnD,CAAC;AAEF;;;GAGG;AACI,MAAM,YAAY,GAAmC,CAAC,QAAkB,EAAU,EAAE;;IAC1F,OAAO,MAAA,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,mCAAI,QAAQ,CAAC,MAAM,CAAC;AAClD,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB"}
1
+ {"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AACA,gFAAoG;AAEvF,QAAA,gBAAgB,GAA6C;IACzE,CAAC,+BAAc,CAAC,IAAI,CAAC,EAAE,sCAAqB,CAAC,SAAS;IACtD,CAAC,+BAAc,CAAC,GAAG,CAAC,EAAE,sCAAqB,CAAC,OAAO;CACnD,CAAC;AAEF;;;GAGG;AACI,MAAM,YAAY,GAAmC,CAAC,QAAkB,EAAU,EAAE;;IAC1F,OAAO,MAAA,MAAA,QAAQ,CAAC,EAAE,0CAAE,QAAQ,EAAE,mCAAI,QAAQ,CAAC,MAAM,CAAC;AACnD,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.182",
3
+ "version": "2.2.183",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {