@zenky/storefront-vue 0.10.5 → 0.10.7
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 +19 -0
- package/dist/cart/index.js +5 -5
- package/dist/{chunk-SPMUTUNX.js → chunk-2SMSLZ6G.js} +6 -6
- package/dist/{chunk-SPMUTUNX.js.map → chunk-2SMSLZ6G.js.map} +1 -1
- package/dist/{chunk-4YAEIKLA.js → chunk-5YD4AIY2.js} +5 -5
- package/dist/chunk-5YD4AIY2.js.map +1 -0
- package/dist/{chunk-Q2TVQ3BG.js → chunk-B3UU7HF5.js} +27 -4
- package/dist/chunk-B3UU7HF5.js.map +1 -0
- package/dist/{chunk-CY6LA6C7.js → chunk-PTMSPB34.js} +3 -3
- package/dist/{chunk-CY6LA6C7.js.map → chunk-PTMSPB34.js.map} +1 -1
- package/dist/{chunk-CUSQYIEU.js → chunk-VFMVQR6Y.js} +4 -2
- package/dist/chunk-VFMVQR6Y.js.map +1 -0
- package/dist/{chunk-SHASMBMV.js → chunk-Z247QRDJ.js} +3 -3
- package/dist/{chunk-SHASMBMV.js.map → chunk-Z247QRDJ.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/products/index.d.ts +9 -1
- package/dist/products/index.js +3 -2
- package/dist/promotions/index.js +3 -3
- package/dist/seo/index.js +3 -2
- package/dist/seo/index.js.map +1 -1
- package/dist/stores/index.d.ts +3 -2
- package/dist/stores/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-4YAEIKLA.js.map +0 -1
- package/dist/chunk-CUSQYIEU.js.map +0 -1
- package/dist/chunk-Q2TVQ3BG.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ All notable changes to this project are documented in this file. The format foll
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and releases follow
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## Unreleased
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `useProductDetail` — catalog-first lookup plus the API fallback for a single product,
|
|
12
|
+
with the include list it actually needs (`variants.options`, so the variant picker does
|
|
13
|
+
not collapse to the first variant; `images`, so a product reached only through the
|
|
14
|
+
fallback still has a cover). Three call sites in the consuming app had grown their own
|
|
15
|
+
slightly different include lists by hand; this is the one meant to be reused.
|
|
16
|
+
|
|
17
|
+
## 0.10.6 - 2026-07-31
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `authStore.apiToken` — the single answer to "which token goes into an SDK call". It is
|
|
22
|
+
`undefined` unless the store holds a non-empty token, so an empty string can never reach
|
|
23
|
+
an `Authorization` header. Consumers should read it instead of deriving the rule from
|
|
24
|
+
`token` and `isAuthenticated` at each call site.
|
|
25
|
+
|
|
7
26
|
## 0.10.5 - 2026-07-31
|
|
8
27
|
|
|
9
28
|
### Changed
|
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-
|
|
2
|
-
export { useCartCredentials } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-SHASMBMV.js';
|
|
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
|
+
export { useCartCredentials } from '../chunk-5YD4AIY2.js';
|
|
3
|
+
import '../chunk-Z247QRDJ.js';
|
|
5
4
|
import '../chunk-E3G7NGCH.js';
|
|
6
5
|
import '../chunk-RO25KNM5.js';
|
|
7
6
|
import '../chunk-5QCUH3FF.js';
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-Z3IW4ODZ.js';
|
|
8
|
+
import '../chunk-VFMVQR6Y.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useCartCredentials, usePromotionsChecker } from './chunk-
|
|
2
|
-
import {
|
|
3
|
-
import { useCartStore, useOrderSettingsStore, usePromotionsStore } from './chunk-SHASMBMV.js';
|
|
1
|
+
import { useCartCredentials, usePromotionsChecker } from './chunk-5YD4AIY2.js';
|
|
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';
|
|
7
|
-
import {
|
|
6
|
+
import { useCatalogStore } from './chunk-Z3IW4ODZ.js';
|
|
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';
|
|
10
10
|
import { storeToRefs } from 'pinia';
|
|
@@ -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
|