@shoppexio/storefront 1.0.105 → 1.0.106

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.106
4
+
5
+ - `dashboard()` (`@shoppexio/storefront/customer`) keeps a subscription's `open_renewal` (the renewal invoice to pay now: `uniqid`, `amount`, `currency`, `pay_by`, `pay_url`) and `hold_ends_at` (when an unpaid renewal's hold ends the subscription) instead of stripping them (PR #4099). Show "Pay now" from `open_renewal.pay_url`. It also keeps `ends_at`: when a subscription set to end without renewing ends (cancelled at the period end, or a voided renewal); show "Ends" from it instead of reading `cancel_at_period_end`. The three fields are optional: absent until the API that sends them is deployed.
6
+
3
7
  ## 1.0.105
4
8
 
5
9
  - The headless customer client drops `walletTopupQuote`, `createWalletTopup`, `resellerTopupQuote` and `createResellerTopup` (PR #4064): `hcs_` tokens no longer reach the top-up routes. Balance and reseller top-ups run on the hosted top-up page (`/topup/{shopId}`, `?for=reseller` for reseller funds).
@@ -20058,7 +20058,20 @@ var customerPortalSubscriptionSummarySchema = external_exports.object({
20058
20058
  }),
20059
20059
  // The open renewal's hosted checkout ("Pay now"). Optional until the backend
20060
20060
  // that sends it is deployed: a storefront script can reach buyers first.
20061
- renewal_checkout_url: nullableStringSchema.optional()
20061
+ renewal_checkout_url: nullableStringSchema.optional(),
20062
+ // When an unpaid renewal's hold ends the subscription, and the renewal to pay now
20063
+ // (me.routes.ts dashboard wire). Optional for the same deploy order.
20064
+ hold_ends_at: nullableStringSchema.optional(),
20065
+ // Set to end without renewing (cancelled at the period end, or a voided renewal): the instant
20066
+ // it ends; null while it renews. Buyer surfaces read it for "Ends" over "Renews". Same deploy order.
20067
+ ends_at: nullableStringSchema.optional(),
20068
+ open_renewal: external_exports.object({
20069
+ uniqid: external_exports.string(),
20070
+ amount: external_exports.string(),
20071
+ currency: external_exports.string(),
20072
+ pay_by: external_exports.string(),
20073
+ pay_url: external_exports.string()
20074
+ }).nullable().optional()
20062
20075
  });
20063
20076
  var customerLoyaltySchema = external_exports.object({
20064
20077
  enabled: external_exports.boolean(),
@@ -20239,4 +20252,4 @@ export {
20239
20252
  customerPortalNotificationPreferencesSchema,
20240
20253
  customerPortalAffiliateCreateLinkSchema
20241
20254
  };
20242
- //# sourceMappingURL=chunk-NTLZJQ6I.js.map
20255
+ //# sourceMappingURL=chunk-INBEHRZN.js.map