@shoppexio/storefront 1.0.99 → 1.0.100
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 +4 -0
- package/dist/index.cjs +2489 -2487
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +121 -119
- package/dist/index.d.ts +121 -119
- package/dist/index.js +2482 -2480
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.100
|
|
4
|
+
|
|
5
|
+
- `shoppex.client()` (the typed API client) is keyed on the active config: after `shoppex.init()` with a different `apiBaseUrl`, the next `shoppex.client().GET(...)` goes to the new host instead of the first one (#3863).
|
|
6
|
+
|
|
3
7
|
## 1.0.99
|
|
4
8
|
|
|
5
9
|
- Variants carry `visibility` (`public`, `on_hold` or `private`) (#684). `is_private` stays for this release, true when `visibility` is `private`, and is removed in a later one: read `visibility`. A private variant (`visibility: "private"`) is listed only on `getProduct(idOrSlug, { variant })` naming it. An `on_hold` option is listed on the product page but cannot be bought: show it disabled as unavailable (not sold out) and never open the buy box on it. The server refuses it in carts and checkout with `errors.checkout.variant_on_hold`.
|