hey-pharmacist-ecommerce 1.1.24 → 1.1.25

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": "hey-pharmacist-ecommerce",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "Production-ready, multi-tenant e‑commerce UI + API adapter for Next.js with auth, carts, checkout, orders, theming, and pharmacist-focused UX.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -256,7 +256,7 @@ export function CheckoutScreen() {
256
256
  } catch (e: any) {
257
257
  setShippingRates([]);
258
258
  setSelectedShippingRateId(null);
259
- setShippingRatesError(e?.message || 'Failed to fetch shipping rates');
259
+ setShippingRatesError(e?.response?.data?.message || 'Failed to fetch shipping rates');
260
260
  } finally {
261
261
  setShippingRatesLoading(false);
262
262
  }