@zenky/storefront-vue 0.10.6 → 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 CHANGED
@@ -8,6 +8,16 @@ All notable changes to this project are documented in this file. The format foll
8
8
 
9
9
  ### Added
10
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
+
11
21
  - `authStore.apiToken` — the single answer to "which token goes into an SDK call". It is
12
22
  `undefined` unless the store holds a non-empty token, so an empty string can never reach
13
23
  an `Authorization` header. Consumers should read it instead of deriving the rule from
@@ -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-E4DUFN2M.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
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-E4DUFN2M.js.map
2011
- //# sourceMappingURL=chunk-E4DUFN2M.js.map
2010
+ //# sourceMappingURL=chunk-2SMSLZ6G.js.map
2011
+ //# sourceMappingURL=chunk-2SMSLZ6G.js.map