@revenexx/cover 0.2.29 → 0.2.30
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revenexx/cover",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.30",
|
|
4
4
|
"description": "Cover \u2014 revenexx design system for Nuxt. Distributed as a Nuxt layer: generic UI components, theming tokens and stores shared by the demo shop, custom storefronts and the Blokkli theme.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./nuxt.config.ts",
|
|
@@ -65,7 +65,12 @@ function toCoverPosition(item: AppItem): OrderListPosition {
|
|
|
65
65
|
id: item.product_id ?? String(item.id),
|
|
66
66
|
sku: item.sku ?? "",
|
|
67
67
|
name: item.name,
|
|
68
|
-
|
|
68
|
+
// A resolved src the app froze when the item was saved, the same shape a
|
|
69
|
+
// cart line stores — and a list is meant to outlive far more deploys
|
|
70
|
+
// than a basket, so it goes back through the (idempotent) resolver
|
|
71
|
+
// instead of to the page verbatim. The two writers below keep storing
|
|
72
|
+
// what they are handed; healing happens on read.
|
|
73
|
+
...(item.image ? { image: liveImageSrc(item.image) } : {}),
|
|
69
74
|
quantity: Number(item.quantity) || 0,
|
|
70
75
|
...(item.unit ? { unit: item.unit } : {}),
|
|
71
76
|
price: item.price != null ? Number(item.price) : 0,
|