@voyantjs/promotions 0.77.1 → 0.77.6
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.
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* `originalPriceFromAmountCents` resolution: by default we read
|
|
24
24
|
* `products.sell_amount_cents` directly (works for simple products with
|
|
25
25
|
* row-level pricing). Operators with option-driven pricing should pass
|
|
26
|
-
* `loadOriginalPrice` to wire the same
|
|
26
|
+
* `loadOriginalPrice` to wire the same rate-plan-first resolver the
|
|
27
27
|
* pricing extension uses; otherwise the strikethrough may not match the
|
|
28
28
|
* customer-visible list price for option-driven products.
|
|
29
29
|
*
|
|
@@ -41,7 +41,7 @@ export interface PromotionsProjectionOptions {
|
|
|
41
41
|
* Defaults to a direct read of `products.sell_amount_cents` +
|
|
42
42
|
* `products.sell_currency` — works for simple row-priced products.
|
|
43
43
|
* Operators with option-driven pricing should wire this to the same
|
|
44
|
-
*
|
|
44
|
+
* rate-plan-first resolver the pricing extension uses.
|
|
45
45
|
*
|
|
46
46
|
* Returns `null` for amountCents when the product has no configured
|
|
47
47
|
* base price (the extension then short-circuits to an empty projection
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* `originalPriceFromAmountCents` resolution: by default we read
|
|
24
24
|
* `products.sell_amount_cents` directly (works for simple products with
|
|
25
25
|
* row-level pricing). Operators with option-driven pricing should pass
|
|
26
|
-
* `loadOriginalPrice` to wire the same
|
|
26
|
+
* `loadOriginalPrice` to wire the same rate-plan-first resolver the
|
|
27
27
|
* pricing extension uses; otherwise the strikethrough may not match the
|
|
28
28
|
* customer-visible list price for option-driven products.
|
|
29
29
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/promotions",
|
|
3
|
-
"version": "0.77.
|
|
3
|
+
"version": "0.77.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"drizzle-orm": "^0.45.2",
|
|
65
65
|
"hono": "^4.12.10",
|
|
66
66
|
"zod": "^4.3.6",
|
|
67
|
-
"@voyantjs/catalog": "0.77.
|
|
68
|
-
"@voyantjs/core": "0.77.
|
|
69
|
-
"@voyantjs/db": "0.77.
|
|
70
|
-
"@voyantjs/hono": "0.77.
|
|
71
|
-
"@voyantjs/products": "0.77.
|
|
72
|
-
"@voyantjs/storefront": "0.77.
|
|
73
|
-
"@voyantjs/workflows": "0.77.
|
|
67
|
+
"@voyantjs/catalog": "0.77.6",
|
|
68
|
+
"@voyantjs/core": "0.77.6",
|
|
69
|
+
"@voyantjs/db": "0.77.6",
|
|
70
|
+
"@voyantjs/hono": "0.77.6",
|
|
71
|
+
"@voyantjs/products": "0.77.6",
|
|
72
|
+
"@voyantjs/storefront": "0.77.6",
|
|
73
|
+
"@voyantjs/workflows": "0.77.6"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"typescript": "^6.0.2",
|