@zenky/storefront-vue 0.10.6 → 0.10.8
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 +20 -0
- package/dist/cart/index.js +2 -2
- package/dist/{chunk-E4DUFN2M.js → chunk-2SMSLZ6G.js} +3 -3
- package/dist/{chunk-E4DUFN2M.js.map → chunk-2SMSLZ6G.js.map} +1 -1
- package/dist/{chunk-RAJDWCJU.js → chunk-3FDM6T7F.js} +64 -3
- package/dist/chunk-3FDM6T7F.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/products/index.d.ts +22 -2
- package/dist/products/index.js +2 -1
- package/dist/seo/index.js +2 -1
- package/dist/seo/index.js.map +1 -1
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-RAJDWCJU.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,26 @@ All notable changes to this project are documented in this file. The format foll
|
|
|
8
8
|
|
|
9
9
|
### Added
|
|
10
10
|
|
|
11
|
+
- `useProductList` — fetches a page of products for a category or collection, with the
|
|
12
|
+
include list that keeps per-stock pricing working (`variants.prices`). Three call sites
|
|
13
|
+
in the consuming app built this fetch by hand and had drifted apart; one of them was
|
|
14
|
+
missing `variants.prices` and silently showed every product's store-wide price instead
|
|
15
|
+
of the price of the stock the customer was actually browsing.
|
|
16
|
+
|
|
17
|
+
## 0.10.7 - 2026-08-02
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `useProductDetail` — catalog-first lookup plus the API fallback for a single product,
|
|
22
|
+
with the include list it actually needs (`variants.options`, so the variant picker does
|
|
23
|
+
not collapse to the first variant; `images`, so a product reached only through the
|
|
24
|
+
fallback still has a cover). Three call sites in the consuming app had grown their own
|
|
25
|
+
slightly different include lists by hand; this is the one meant to be reused.
|
|
26
|
+
|
|
27
|
+
## 0.10.6 - 2026-07-31
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
11
31
|
- `authStore.apiToken` — the single answer to "which token goes into an SDK call". It is
|
|
12
32
|
`undefined` unless the store holds a non-empty token, so an empty string can never reach
|
|
13
33
|
an `Authorization` header. Consumers should read it instead of deriving the rule from
|
package/dist/cart/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { CASH_DENOMINATIONS_MAJOR, DEFAULT_ROUND_STEPS_MAJOR, ORDER_EVENTS, ORDER_WITH, buildCartLineKey, buildCashChangePresets, buildMainPaymentRequest, getCartErrorCode, getCartErrorHttpCode, getCartErrorMessage, getCashDenominationsMinor, getDefaultRoundStepsMinor, getValidationErrors, logCartError, normalizeAddress, useBonusesReconciliation, useCartAddressSync, useCartCustomerAttachment, useCartDeliveryAttachment, useCartInitialization, useCartMutation, useCartOperations, useCartQuantities, useCartRecalculation, useCartStockWatcher, useCheckoutFlow, useCheckoutSubmit, useCustomerAttach, useOnlinePaymentRetry, useOrderBonuses, useOrderChannel, useOrderDelivery, useOrderPromocode, useOrderSettings, useOrderTotal, usePaymentSelection, useRestrictedAddToCart, useRestrictionGate, useStorefrontCart, useVisibleCartVariants, variantLineKey } from '../chunk-
|
|
1
|
+
export { CASH_DENOMINATIONS_MAJOR, DEFAULT_ROUND_STEPS_MAJOR, ORDER_EVENTS, ORDER_WITH, buildCartLineKey, buildCashChangePresets, buildMainPaymentRequest, getCartErrorCode, getCartErrorHttpCode, getCartErrorMessage, getCashDenominationsMinor, getDefaultRoundStepsMinor, getValidationErrors, logCartError, normalizeAddress, useBonusesReconciliation, useCartAddressSync, useCartCustomerAttachment, useCartDeliveryAttachment, useCartInitialization, useCartMutation, useCartOperations, useCartQuantities, useCartRecalculation, useCartStockWatcher, useCheckoutFlow, useCheckoutSubmit, useCustomerAttach, useOnlinePaymentRetry, useOrderBonuses, useOrderChannel, useOrderDelivery, useOrderPromocode, useOrderSettings, useOrderTotal, usePaymentSelection, useRestrictedAddToCart, useRestrictionGate, useStorefrontCart, useVisibleCartVariants, variantLineKey } from '../chunk-2SMSLZ6G.js';
|
|
2
2
|
export { useCartCredentials } from '../chunk-5YD4AIY2.js';
|
|
3
|
-
import '../chunk-Z3IW4ODZ.js';
|
|
4
3
|
import '../chunk-Z247QRDJ.js';
|
|
5
4
|
import '../chunk-E3G7NGCH.js';
|
|
6
5
|
import '../chunk-RO25KNM5.js';
|
|
7
6
|
import '../chunk-5QCUH3FF.js';
|
|
7
|
+
import '../chunk-Z3IW4ODZ.js';
|
|
8
8
|
import '../chunk-VFMVQR6Y.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCartCredentials, usePromotionsChecker } from './chunk-5YD4AIY2.js';
|
|
2
|
-
import { useCatalogStore } from './chunk-Z3IW4ODZ.js';
|
|
3
2
|
import { useCartStore, useOrderSettingsStore, usePromotionsStore } from './chunk-Z247QRDJ.js';
|
|
4
3
|
import { getRemoteCatalog } from './chunk-E3G7NGCH.js';
|
|
5
4
|
import { minorToMajor, majorToMinor } from './chunk-RO25KNM5.js';
|
|
6
5
|
import { createRuntimeState } from './chunk-5QCUH3FF.js';
|
|
6
|
+
import { useCatalogStore } from './chunk-Z3IW4ODZ.js';
|
|
7
7
|
import { useRuntime, useStoreProfileStore, useAuthStore } from './chunk-VFMVQR6Y.js';
|
|
8
8
|
import { PaymentMethod, OrderAuthenticationMethod, DeliveryMethod, OrderCartCheckerResultAction, RecaptchaAction } from '@zenky/storefront-api';
|
|
9
9
|
import { ref, computed, watch, watchEffect, getCurrentScope, onScopeDispose, toValue } from 'vue';
|
|
@@ -2007,5 +2007,5 @@ function useVisibleCartVariants() {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
|
|
2009
2009
|
export { CASH_DENOMINATIONS_MAJOR, DEFAULT_ROUND_STEPS_MAJOR, ORDER_EVENTS, ORDER_WITH, buildCartLineKey, buildCashChangePresets, buildMainPaymentRequest, getCartErrorCode, getCartErrorHttpCode, getCartErrorMessage, getCashDenominationsMinor, getDefaultRoundStepsMinor, getValidationErrors, logCartError, normalizeAddress, useBonusesReconciliation, useCartAddressSync, useCartCustomerAttachment, useCartDeliveryAttachment, useCartInitialization, useCartMutation, useCartOperations, useCartQuantities, useCartRecalculation, useCartStockWatcher, useCheckoutFlow, useCheckoutSubmit, useCustomerAttach, useOnlinePaymentRetry, useOrderBonuses, useOrderChannel, useOrderDelivery, useOrderPromocode, useOrderSettings, useOrderTotal, usePaymentSelection, useRestrictedAddToCart, useRestrictionGate, useStorefrontCart, useVisibleCartVariants, variantLineKey };
|
|
2010
|
-
//# sourceMappingURL=chunk-
|
|
2011
|
-
//# sourceMappingURL=chunk-
|
|
2010
|
+
//# sourceMappingURL=chunk-2SMSLZ6G.js.map
|
|
2011
|
+
//# sourceMappingURL=chunk-2SMSLZ6G.js.map
|