@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 &&
|
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,
|
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"}
|