@shoppexio/storefront 1.0.108 → 1.0.109

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.109
4
+
5
+ - 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.
6
+
3
7
  ## 1.0.108
4
8
 
5
9
  - `dashboard()` (`@shoppexio/storefront/customer`) keeps a subscription's `discount` (the running checkout code: `code`, `discount_type`, `discount_value`, `max_discount`, `currency`, `duration`, `payments_total`, `payments_used`, `discounted_amount`, `full_amount`, `discount_amount`, `next_amount`; null without one) instead of stripping it. Optional: absent until the API that sends it is deployed.
@@ -20182,6 +20182,12 @@ var customerPortalDashboardSchema = external_exports.object({
20182
20182
  email: external_exports.string(),
20183
20183
  name: external_exports.string()
20184
20184
  }),
20185
+ /*
20186
+ * A merchant's portal link opened this session: the redeem and sign-in routes
20187
+ * refuse it with a 403. Undeclared here, the SDK stripped it and the code
20188
+ * storefront kept offering Redeem until the confirm failed.
20189
+ */
20190
+ opened_by_portal_link: external_exports.boolean(),
20185
20191
  stats: external_exports.object({
20186
20192
  invoices_count: external_exports.number(),
20187
20193
  licenses_count: external_exports.number(),
@@ -20304,4 +20310,4 @@ export {
20304
20310
  customerPortalNotificationPreferencesSchema,
20305
20311
  customerPortalAffiliateCreateLinkSchema
20306
20312
  };
20307
- //# sourceMappingURL=chunk-HMEEWD3P.js.map
20313
+ //# sourceMappingURL=chunk-RA26HK3B.js.map