@munchi_oy/cart-engine 0.1.5 → 0.1.7
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.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1452,7 +1452,7 @@ var ApplyTo = /* @__PURE__ */ ((ApplyTo2) => {
|
|
|
1452
1452
|
})(ApplyTo || {});
|
|
1453
1453
|
|
|
1454
1454
|
// src/version.ts
|
|
1455
|
-
var VERSION = "0.1.
|
|
1455
|
+
var VERSION = "0.1.7";
|
|
1456
1456
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1457
1457
|
0 && (module.exports = {
|
|
1458
1458
|
ApplyTo,
|
package/dist/index.d.cts
CHANGED
|
@@ -244,6 +244,6 @@ declare function calculateOrderTaxSummary(details: {
|
|
|
244
244
|
currency: CurrencyCode;
|
|
245
245
|
}): PosOrderDtoTaxSummary;
|
|
246
246
|
|
|
247
|
-
declare const VERSION = "0.1.
|
|
247
|
+
declare const VERSION = "0.1.7";
|
|
248
248
|
|
|
249
249
|
export { ApplyTo, Cart, type CartCreateOptions, type CartItemAddData, type CartOptionPayload, type CartPriceSnapshot, type DiscountStrategyFn, type InternalPosDiscount, type SequentialDiscountCalculation, type SplitPricingResult, type SplitTargetAmount, type TaxInclusiveSplitResult, type UpdatableCartDetails, VERSION, allocateProportionalMinorUnits, calculateCartPriceSnapshot, calculateDiscountAmount, calculateEqualSplitPartPricing, calculateItemPrice, calculateItemSplitSeatPricing, calculateOrderTaxSummary, calculateSequentialDiscountTotal, splitTaxInclusiveAmount };
|
package/dist/index.d.ts
CHANGED
|
@@ -244,6 +244,6 @@ declare function calculateOrderTaxSummary(details: {
|
|
|
244
244
|
currency: CurrencyCode;
|
|
245
245
|
}): PosOrderDtoTaxSummary;
|
|
246
246
|
|
|
247
|
-
declare const VERSION = "0.1.
|
|
247
|
+
declare const VERSION = "0.1.7";
|
|
248
248
|
|
|
249
249
|
export { ApplyTo, Cart, type CartCreateOptions, type CartItemAddData, type CartOptionPayload, type CartPriceSnapshot, type DiscountStrategyFn, type InternalPosDiscount, type SequentialDiscountCalculation, type SplitPricingResult, type SplitTargetAmount, type TaxInclusiveSplitResult, type UpdatableCartDetails, VERSION, allocateProportionalMinorUnits, calculateCartPriceSnapshot, calculateDiscountAmount, calculateEqualSplitPartPricing, calculateItemPrice, calculateItemSplitSeatPricing, calculateOrderTaxSummary, calculateSequentialDiscountTotal, splitTaxInclusiveAmount };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@munchi_oy/cart-engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Headless settlement engine for Munchi POS, kiosk, and mobile flows",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@jest/globals": "^30.3.0",
|
|
42
|
-
"@munchi_oy/core": "^1.4.
|
|
42
|
+
"@munchi_oy/core": "^1.4.6",
|
|
43
43
|
"@paralleldrive/cuid2": "^3.3.0",
|
|
44
44
|
"@types/jest": "^30.0.0",
|
|
45
45
|
"@types/lodash": "^4.17.20",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"yalc": "^1.0.0-pre.53"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@munchi_oy/core": "^1.4.
|
|
55
|
+
"@munchi_oy/core": "^1.4.6",
|
|
56
56
|
"@paralleldrive/cuid2": "^3.3.0",
|
|
57
57
|
"dayjs": "^1.11.20",
|
|
58
58
|
"lodash": "^4.17.21"
|