@medusajs/core-flows 2.8.8-snapshot-20250714120129 → 2.8.8-snapshot-20250714141211
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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"remove-draft-order-shipping-method.d.ts","sourceRoot":"","sources":["../../../src/draft-order/workflows/remove-draft-order-shipping-method.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"remove-draft-order-shipping-method.d.ts","sourceRoot":"","sources":["../../../src/draft-order/workflows/remove-draft-order-shipping-method.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,wCAAwC,uCACf,CAAA;AAEtC;;GAEG;AACH,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,sCAAsC,wJAiFlD,CAAA"}
|
@@ -49,11 +49,6 @@ exports.removeDraftOrderShippingMethodWorkflow = (0, workflows_sdk_1.createWorkf
|
|
49
49
|
list: false,
|
50
50
|
}).config({ name: "order-change-query" });
|
51
51
|
(0, validate_draft_order_change_1.validateDraftOrderChangeStep)({ order, orderChange });
|
52
|
-
order_1.updateOrderTaxLinesWorkflow.runAsStep({
|
53
|
-
input: {
|
54
|
-
order_id: order.id,
|
55
|
-
},
|
56
|
-
});
|
57
52
|
const appliedPromoCodes = (0, workflows_sdk_1.transform)(order, (order) => order.promotions?.map((promotion) => promotion.code) ?? []);
|
58
53
|
// If any the order has any promo codes, then we need to refresh the adjustments.
|
59
54
|
(0, workflows_sdk_1.when)(appliedPromoCodes, (appliedPromoCodes) => appliedPromoCodes.length > 0).then(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"remove-draft-order-shipping-method.js","sourceRoot":"","sources":["../../../src/draft-order/workflows/remove-draft-order-shipping-method.ts"],"names":[],"mappings":";;;AAAA,qDAIkC;AAClC,qEAM0C;AAE1C,yCAAiD;AACjD,
|
1
|
+
{"version":3,"file":"remove-draft-order-shipping-method.js","sourceRoot":"","sources":["../../../src/draft-order/workflows/remove-draft-order-shipping-method.ts"],"names":[],"mappings":";;;AAAA,qDAIkC;AAClC,qEAM0C;AAE1C,yCAAiD;AACjD,uCAGoB;AACpB,sFAAmF;AACnF,4CAAiE;AACjE,uFAAwF;AAE3E,QAAA,wCAAwC,GACnD,oCAAoC,CAAA;AAgBtC;;;;;;;;;;;;;;;;;;;GAmBG;AACU,QAAA,sCAAsC,GAAG,IAAA,8BAAc,EAClE,gDAAwC,EACxC,UAAU,KAAgE;IACxE,MAAM,KAAK,GAIP,IAAA,2BAAkB,EAAC;QACrB,WAAW,EAAE,QAAQ;QACrB,MAAM,EAAE,wCAA+B;QACvC,SAAS,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,QAAQ,EAAE;QACjC,IAAI,EAAE,KAAK;QACX,sBAAsB,EAAE,IAAI;KAC7B,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAA;IAElC,MAAM,WAAW,GAAmB,IAAA,2BAAkB,EAAC;QACrD,WAAW,EAAE,cAAc;QAC3B,MAAM,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC;QACnC,SAAS,EAAE;YACT,OAAO,EAAE;gBACP,QAAQ,EAAE,KAAK,CAAC,QAAQ;gBACxB,MAAM,EAAE,CAAC,yBAAiB,CAAC,OAAO,EAAE,yBAAiB,CAAC,SAAS,CAAC;aACjE;SACF;QACD,IAAI,EAAE,KAAK;KACZ,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,CAAA;IAEzC,IAAA,0DAA4B,EAAC,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAA;IAEpD,MAAM,iBAAiB,GAAa,IAAA,yBAAS,EAC3C,KAAK,EACL,C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A;IAEF,OAAO,IAAI,gCAAgB,CAAC,IAAA,8BAAsB,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAA;AAC/D,CAAC,CACF,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/core-flows",
|
3
|
-
"version": "2.8.8-snapshot-
|
3
|
+
"version": "2.8.8-snapshot-20250714141211",
|
4
4
|
"description": "Set of workflow definitions for Medusa",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"exports": {
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"author": "Medusa",
|
27
27
|
"license": "MIT",
|
28
28
|
"devDependencies": {
|
29
|
-
"@medusajs/framework": "2.8.8-snapshot-
|
29
|
+
"@medusajs/framework": "2.8.8-snapshot-20250714141211",
|
30
30
|
"@mikro-orm/core": "6.4.3",
|
31
31
|
"@mikro-orm/knex": "6.4.3",
|
32
32
|
"@mikro-orm/migrations": "6.4.3",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"json-2-csv": "^5.5.4"
|
46
46
|
},
|
47
47
|
"peerDependencies": {
|
48
|
-
"@medusajs/framework": "2.8.8-snapshot-
|
48
|
+
"@medusajs/framework": "2.8.8-snapshot-20250714141211",
|
49
49
|
"awilix": "^8.0.1"
|
50
50
|
},
|
51
51
|
"scripts": {
|