@shoppexio/storefront 1.0.109 → 1.0.111
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/CHANGELOG.md +10 -0
- package/dist/{chunk-RA26HK3B.js → chunk-ZO3MHBVV.js} +12 -1
- package/dist/{chunk-RA26HK3B.js.map → chunk-ZO3MHBVV.js.map} +1 -1
- package/dist/customer.cjs +11 -0
- package/dist/customer.cjs.map +1 -1
- package/dist/customer.js +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -13
- package/dist/index.d.ts +18 -13
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.111
|
|
4
|
+
|
|
5
|
+
- Breaking: storefront add-on looks (`StorefrontAddon` in the bootstrap). The fixed colour presets and the scrolling announcement are retired: `theme_preset` gives way to `look` (`'theme' | 'accent' | 'custom'` on the announcement and countdown bars, `'theme' | 'custom'` on the promo card and coupon popup). `background_color`, `text_color` and `accent_color` stay and apply only when `look` is `'custom'`; otherwise paint the add-on from your theme. The announcement drops `display_mode` and `animation_speed_seconds`, the countdown drops `density`, `cta_style` and `timer_style`, and the promo card drops `density` and `icon_visibility`; its `cta_style` is `'link' | 'button'` and `icon` no longer offers `'sparkles'` (`'none'` hides the icon).
|
|
6
|
+
|
|
7
|
+
## 1.0.110
|
|
8
|
+
|
|
9
|
+
- `getShopReviewsPage()`: `ShopReviewsSummary` declares `verified` (the reviews among `total` written on a delivered order, the entries with `verified: true`) and `verified_average_score` (their own average, null when none is). A product's `feedback` (`ProductFeedback`) declares the same pair as `verified` and `verified_average`. All optional: absent until the API that sends them is deployed.
|
|
10
|
+
- `getStorefrontRecentSales()`: `StorefrontRecentSaleEntry` declares `product_uniqid`, the sold product's public id, to link the sale. Optional until the API that sends it is deployed.
|
|
11
|
+
- `Product` declares `warranty_period_days`: the warranty a buyer claims per purchase in their account, in days, null for none. Optional until the API that sends it is deployed.
|
|
12
|
+
|
|
3
13
|
## 1.0.109
|
|
4
14
|
|
|
5
15
|
- Breaking: customer favorites are retired (PR #3838). The customer module drops `favorites`, `addFavorite` and `removeFavorite`, and the headless customer client drops `favorites`, `addFavorite` and `removeFavorite` with the `HeadlessCustomerFavorites` and `HeadlessCustomerFavoriteMutation` types: the API removes `/v1/customer/favorites`, so these calls would only answer 404.
|
|
@@ -19972,6 +19972,17 @@ var customerPortalAffiliateSummarySchema = external_exports.object({
|
|
|
19972
19972
|
custom_links_require_approval: external_exports.boolean(),
|
|
19973
19973
|
affiliate_codes_accepted_at_checkout: external_exports.boolean(),
|
|
19974
19974
|
cash_payout_enabled: external_exports.boolean(),
|
|
19975
|
+
/** "Your rates" (`readAffiliateRatesSummary`); null until the main link is approved and active. */
|
|
19976
|
+
rates: external_exports.object({
|
|
19977
|
+
percent: external_exports.number(),
|
|
19978
|
+
disabled_products: external_exports.array(external_exports.string()),
|
|
19979
|
+
disabled_product_count: external_exports.number(),
|
|
19980
|
+
custom_rate_product_count: external_exports.number(),
|
|
19981
|
+
cap_usd: nullableStringSchema,
|
|
19982
|
+
minimum_order_usd: nullableStringSchema,
|
|
19983
|
+
binding_mode: external_exports.enum(["PER_ORDER", "LIFETIME_FIRST", "LIFETIME_LAST"]),
|
|
19984
|
+
binding_days: external_exports.number().nullable()
|
|
19985
|
+
}).nullable(),
|
|
19975
19986
|
links: external_exports.array(customerPortalAffiliateLinkSchema),
|
|
19976
19987
|
preferred_payout: external_exports.object({
|
|
19977
19988
|
asset: external_exports.string(),
|
|
@@ -20310,4 +20321,4 @@ export {
|
|
|
20310
20321
|
customerPortalNotificationPreferencesSchema,
|
|
20311
20322
|
customerPortalAffiliateCreateLinkSchema
|
|
20312
20323
|
};
|
|
20313
|
-
//# sourceMappingURL=chunk-
|
|
20324
|
+
//# sourceMappingURL=chunk-ZO3MHBVV.js.map
|