@scayle/storefront-nuxt 8.10.4 → 8.11.1

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/api/cacheAuth.d.ts +20 -5
  5. package/dist/runtime/api/purgeAll.d.ts +12 -0
  6. package/dist/runtime/api/purgeTags.d.ts +14 -0
  7. package/dist/runtime/api/rpcHandler.d.ts +17 -22
  8. package/dist/runtime/api/up.d.ts +8 -0
  9. package/dist/runtime/cached.d.ts +13 -0
  10. package/dist/runtime/campaignKey.d.ts +18 -0
  11. package/dist/runtime/composables/core/useAvailableShops.d.ts +10 -0
  12. package/dist/runtime/composables/core/useCurrentShop.d.ts +10 -0
  13. package/dist/runtime/composables/core/useFormatHelpers.d.ts +57 -6
  14. package/dist/runtime/composables/core/useIDP.d.ts +17 -0
  15. package/dist/runtime/composables/core/useLog.d.ts +12 -0
  16. package/dist/runtime/composables/core/useRpc.d.ts +76 -24
  17. package/dist/runtime/composables/core/useRpcCall.d.ts +40 -0
  18. package/dist/runtime/composables/core/useSession.d.ts +10 -0
  19. package/dist/runtime/composables/core/useUser.d.ts +24 -0
  20. package/dist/runtime/composables/storefront/useBasket.d.ts +24 -0
  21. package/dist/runtime/composables/storefront/useBrand.d.ts +21 -0
  22. package/dist/runtime/composables/storefront/useBrands.d.ts +21 -0
  23. package/dist/runtime/composables/storefront/useCategories.d.ts +28 -0
  24. package/dist/runtime/composables/storefront/useCategoryById.d.ts +21 -0
  25. package/dist/runtime/composables/storefront/useCategoryByPath.d.ts +21 -0
  26. package/dist/runtime/composables/storefront/useCurrentPromotions.d.ts +24 -0
  27. package/dist/runtime/composables/storefront/useFilters.d.ts +21 -0
  28. package/dist/runtime/composables/storefront/useNavigationTree.d.ts +42 -0
  29. package/dist/runtime/composables/storefront/useNavigationTrees.d.ts +21 -0
  30. package/dist/runtime/composables/storefront/useOrder.d.ts +23 -0
  31. package/dist/runtime/composables/storefront/useOrderConfirmation.d.ts +21 -0
  32. package/dist/runtime/composables/storefront/useProduct.d.ts +21 -0
  33. package/dist/runtime/composables/storefront/useProducts.d.ts +21 -0
  34. package/dist/runtime/composables/storefront/useProductsByIds.d.ts +21 -0
  35. package/dist/runtime/composables/storefront/useProductsByReferenceKeys.d.ts +21 -0
  36. package/dist/runtime/composables/storefront/useProductsCount.d.ts +19 -0
  37. package/dist/runtime/composables/storefront/usePromotions.d.ts +21 -0
  38. package/dist/runtime/composables/storefront/usePromotionsByIds.d.ts +21 -0
  39. package/dist/runtime/composables/storefront/useShopConfiguration.d.ts +21 -0
  40. package/dist/runtime/composables/storefront/useStorefrontSearch.d.ts +11 -1
  41. package/dist/runtime/composables/storefront/useUserAddresses.d.ts +21 -0
  42. package/dist/runtime/composables/storefront/useVariant.d.ts +21 -0
  43. package/dist/runtime/composables/storefront/useWishlist.d.ts +29 -0
  44. package/dist/runtime/composables/useCoreLog.d.ts +13 -0
  45. package/dist/runtime/context.d.ts +25 -0
  46. package/dist/runtime/context.js +25 -1
  47. package/dist/runtime/createLog.d.ts +16 -0
  48. package/dist/runtime/handler.d.ts +18 -4
  49. package/dist/runtime/rpc/rpcCall.d.ts +15 -3
  50. package/dist/runtime/server/middleware/bootstrap-utils.d.ts +1 -1
  51. package/dist/runtime/utils/promise.d.ts +30 -6
  52. package/dist/runtime/utils/route.d.ts +11 -0
  53. package/dist/runtime/utils/seo.d.ts +13 -0
  54. package/package.json +7 -7
@@ -1,4 +1,25 @@
1
1
  import type { UseRpcOptions, UseRpcReturn, NormalizedRpcResponse, KeysOf } from '../core/useRpc.js';
2
+ /**
3
+ * Retrieves address data for a logged-in user using the `getCategoryById` RPC method.
4
+ *
5
+ * This function acts as a wrapper around the `useRpc` composable,
6
+ * simplifying the process of fetching data. It internally calls `useRpc`
7
+ * with the provided parameters and options.
8
+ *
9
+ * @see https://scayle.dev/en/api-guides/customer-account-api/resources/customer/address/list-addresses
10
+ *
11
+ * @template DataT The type of the normalized RPC response data. Defaults to `NormalizedRpcResponse<'getCategoryById'>`.
12
+ * @template PickKeys The keys to pick from the data. Defaults to all keys of `DataT`.
13
+ * @template DefaultT The default value to use if data is not available. Defaults to `null`.
14
+ *
15
+ * @param params An object containing parameters and options for the `getCategoryById` RPC call.
16
+ * @param params.params The parameters for the `getCategoryById` RPC method.
17
+ * @param params.options The options for the underlying `useRpc` call, controlling data handling and loading state.
18
+ * @param key A unique key for this RPC call. Used internally by `useRpc` for caching and state management.
19
+ *
20
+ * @returns The result of the `useRpc` call, which includes the fetched data,
21
+ * loading state, and any error information.
22
+ */
2
23
  export declare function useUserAddresses<DataT = NormalizedRpcResponse<'getShopUserAddresses'>, PickKeys extends KeysOf<DataT> = KeysOf<DataT>, DefaultT = null>({ options, }?: Partial<{
3
24
  options: UseRpcOptions<'getShopUserAddresses', DataT, PickKeys, DefaultT>;
4
25
  }>, key?: string): UseRpcReturn<'getShopUserAddresses', DataT, PickKeys, DefaultT>;
@@ -1,6 +1,27 @@
1
1
  import type { RpcMethodParameters } from '@scayle/storefront-core';
2
2
  import type { KeysOf, UseRpcOptions, UseRpcReturn, NormalizedRpcResponse } from '../core/useRpc.js';
3
3
  import type { MaybeRefOrGetter } from 'vue';
4
+ /**
5
+ * Retrieves data for a single or multiple product variant by its ID using the `getVariantById` RPC method.
6
+ *
7
+ * This function acts as a wrapper around the `useRpc` composable,
8
+ * simplifying the process of fetching data. It internally calls `useRpc`
9
+ * with the provided parameters and options.
10
+ *
11
+ * @see https://scayle.dev/en/api-guides/storefront-api/resources/variants/get-a-variant
12
+ *
13
+ * @template DataT The type of the normalized RPC response data. Defaults to `NormalizedRpcResponse<'getVariantById'>`.
14
+ * @template PickKeys The keys to pick from the data. Defaults to all keys of `DataT`.
15
+ * @template DefaultT The default value to use if data is not available. Defaults to `null`.
16
+ *
17
+ * @param params An object containing parameters and options for the `getVariantById` RPC call.
18
+ * @param params.params The parameters for the `getVariantById` RPC method.
19
+ * @param params.options The options for the underlying `useRpc` call, controlling data handling and loading state.
20
+ * @param key A unique key for this RPC call. Used internally by `useRpc` for caching and state management.
21
+ *
22
+ * @returns The result of the `useRpc` call, which includes the fetched data,
23
+ * loading state, and any error information.
24
+ */
4
25
  export declare function useVariant<DataT = NormalizedRpcResponse<'getVariantById'>, PickKeys extends KeysOf<DataT> = KeysOf<DataT>, DefaultT = null>({ params, options, }?: Partial<{
5
26
  params: MaybeRefOrGetter<RpcMethodParameters<'getVariantById'>>;
6
27
  options: UseRpcOptions<'getVariantById', DataT, PickKeys, DefaultT>;
@@ -1,6 +1,9 @@
1
1
  import type { Product, WishlistItem, RpcMethodParameters } from '@scayle/storefront-core';
2
2
  import { type UseRpcReturn } from '../core/useRpc.js';
3
3
  import { type MaybeRefOrGetter, type ComputedRef } from 'vue';
4
+ /**
5
+ * Representation of options for configuring the `useWishlist` composable.
6
+ */
4
7
  type Options = Partial<{
5
8
  params: MaybeRefOrGetter<RpcMethodParameters<'getWishlist'>>;
6
9
  }>;
@@ -39,5 +42,31 @@ type UseWishlistBaseReturn = Awaited<UseRpcReturn<'getWishlist'>> & {
39
42
  items: ComputedRef<WishlistItem[] | undefined>;
40
43
  products: ComputedRef<Product[]>;
41
44
  };
45
+ /**
46
+ * Manages wishlist interactions. Fetches wishlist data, provides methods for adding, removing,
47
+ * replacing, clearing, finding, and toggling items. It leverages RPC calls for data manipulation
48
+ * and provides reactive properties for count, items, and products.
49
+ *
50
+ * This function acts as a wrapper around the `useRpc` composable for wishlist data,
51
+ * simplifying the process of fetching brand data. It internally calls `useRpc`
52
+ * with the provided parameters and options. It utilizes the `getCachedData` option
53
+ * within `useRpc` to retrieve cached wishlist data during hydration or from async data otherwise.
54
+ * This helps avoid unnecessary re-fetches and improves performance. Specifically,
55
+ * it checks `nuxtApp._asyncData` for existing data associated with the provided key.
56
+ * This approach addresses a [Nuxt typing issue](https://github.com/nuxt/nuxt/issues/26093)
57
+ * requiring a type assertion to `WishlistResponseData`.
58
+ *
59
+ * @see https://scayle.dev/en/api-guides/storefront-api/resources/wishlists/get-a-wishlist
60
+ * @see https://scayle.dev/en/storefront-guide/developer-guide/basic-setup/rpc-methods#managing-shared-state-with-userpc
61
+ *
62
+ * @param params An object containing parameters and options for all wishlist-related RPC calls.
63
+ * @param params.params The parameters for the `useWishlist` RPC method.
64
+ * @param params.options The options for the underlying `useRpc` call, controlling data handling and loading state.
65
+ * @param key A unique key for this RPC call. Used internally by `useRpc` for caching and state management.
66
+ *
67
+ * @returns A promise that resolves to an object containing wishlist data, methods, and reactive properties.
68
+ *
69
+ * @throws {Error} If an item cannot be found during removal or replacement.
70
+ */
42
71
  export declare function useWishlist({ params, }?: Options, key?: string): UseWishlistBaseReturn & Promise<UseWishlistBaseReturn>;
43
72
  export {};
@@ -1 +1,14 @@
1
+ /**
2
+ * Creates a logger instance with an `sfc` prefix.
3
+ *
4
+ * This composable provides a logging function specifically for storefront-nuxt internal operations.
5
+ * It wraps the generic `useLog` function and prefixes the provided subspace with `sfc` to distinguish
6
+ * storefront-nuxt logs from application logs. This aids in debugging and troubleshooting by clearly
7
+ * identifying the origin of log messages.
8
+ *
9
+ * @param subSpace The subspace for the logger. If provided, it will be prefixed with `sfc.`.
10
+ * If not provided, the subspace will be just `sfc`.
11
+ *
12
+ * @returns A logger instance.
13
+ */
1
14
  export declare function useCoreLog(subSpace: string): import("@scayle/storefront-core").Log;
@@ -4,6 +4,9 @@ import { type H3Event } from 'h3';
4
4
  import type { Log, RpcContext, Cache as CacheInterface } from '@scayle/storefront-core';
5
5
  import { StorefrontAPIClient } from '@scayle/storefront-core';
6
6
  import type { ShopConfig, StorefrontConfig } from '../module.js';
7
+ /**
8
+ * Interface defining the options for the context builder.
9
+ */
7
10
  export interface ContextBuilderOptions {
8
11
  $cache: CacheInterface;
9
12
  $shopConfig: ShopConfig;
@@ -14,6 +17,28 @@ export interface ContextBuilderOptions {
14
17
  config: RuntimeConfig;
15
18
  event: H3Event;
16
19
  }
20
+ /**
21
+ * Builds the RPC context.
22
+ *
23
+ * It builds the RPC context by gathering data from different sources like
24
+ * shop config, storefront config, session, etc.
25
+ * It initializes the SAPI client, caching function, and various context properties.
26
+ * It also sets up getters for IP, headers, user, access tokens,
27
+ * and functions for session management and user updates.
28
+ *
29
+ * @see https://scayle.dev/en/storefront-guide/developer-guide/basic-setup/rpc-methods#rpc-context
30
+ *
31
+ * @param context The context builder options.
32
+ * @param context.$cache The cache instance.
33
+ * @param context.$shopConfig The shop configuration.
34
+ * @param context.$storefront The storefront configuration.
35
+ * @param context.$log The log instance.
36
+ * @param context.config The runtime configuration.
37
+ * @param context.event The H3 event.
38
+ * @param context.session The session object.
39
+ *
40
+ * @returns The built RPC context.
41
+ */
17
42
  export declare const buildContext: (context: ContextBuilderOptions) => Promise<RpcContext>;
18
43
  declare module '@scayle/storefront-core' {
19
44
  interface AdditionalRpcContext {
@@ -9,6 +9,8 @@ import {
9
9
  } from "@scayle/storefront-core/dist/utils/keys";
10
10
  import { useNitroApp } from "nitropack/runtime";
11
11
  import { getCachedFunction } from "./cached.js";
12
+ import { getApiBasePath } from "./server/middleware/bootstrap-utils.js";
13
+ import { unwrap } from "@scayle/storefront-core/dist/utils/response";
12
14
  import { fetchCampaignKey } from "./campaignKey.js";
13
15
  async function getWishlistKey(appKeys, session, $log, $shopConfig) {
14
16
  return session.data.user ? await generateWishlistKey({
@@ -28,6 +30,22 @@ async function getBasketKey(appKeys, session, $log, $shopConfig) {
28
30
  log: $log
29
31
  }) : session?.id;
30
32
  }
33
+ function buildRpcCall(event, shopConfig, apiBasePath) {
34
+ const fetch = event.$fetch;
35
+ return async function rpcCall(method, params = void 0) {
36
+ const data = await fetch(`${apiBasePath}/rpc/${method}`, {
37
+ // @ts-expect-error Type '"POST"' is not assignable to type 'AvailableRouterMethod<`${string}/rpc/${N}`> | Uppercase<AvailableRouterMethod<`${string}/rpc/${N}`>> | undefined'.ts(2322)
38
+ method: "POST",
39
+ body: {
40
+ payload: params
41
+ },
42
+ headers: {
43
+ "x-shop-id": shopConfig.shopId.toString()
44
+ }
45
+ });
46
+ return await unwrap(data);
47
+ };
48
+ }
31
49
  export const buildContext = async (context) => {
32
50
  const { $cache, $shopConfig, $storefront, $log, config, event, session } = context;
33
51
  const sapiConfig = $shopConfig.sapi ?? $storefront.sapi;
@@ -50,6 +68,11 @@ export const buildContext = async (context) => {
50
68
  $storefront.cache?.enabled
51
69
  );
52
70
  const { hooks } = useNitroApp();
71
+ const callRpc = buildRpcCall(
72
+ context.event,
73
+ $shopConfig,
74
+ getApiBasePath($storefront, "/")
75
+ );
53
76
  const rpcContext = {
54
77
  cached,
55
78
  sapiClient,
@@ -135,7 +158,8 @@ export const buildContext = async (context) => {
135
158
  updateTokens: session ? async (tokens) => {
136
159
  Object.assign(session.data, tokens);
137
160
  await session.save();
138
- } : void 0
161
+ } : void 0,
162
+ callRpc
139
163
  };
140
164
  await hooks?.callHook("storefront:context:created", rpcContext);
141
165
  return rpcContext;
@@ -1,4 +1,20 @@
1
1
  import type { ConsolaInstance, ConsolaOptions } from 'consola';
2
2
  import type { LogLevel } from '../index.js';
3
3
  import { Log } from '@scayle/storefront-core';
4
+ /**
5
+ * Creates a Consola log instance.
6
+ *
7
+ * It creates a new log instance using the provided `createConsola` function.
8
+ * It sets up a handler that formats log entries with the `space` and logs them
9
+ * using the consola instance.
10
+ *
11
+ * @see https://github.com/unjs/consola?tab=readme-ov-file#creating-a-new-instance
12
+ *
13
+ * @param createConsola Function to create a consola instance.
14
+ * @param createConsola.options Options for the consola instance.
15
+ * @param space The space for the log. Defaults to 'default-storefront'.
16
+ * @param level The log level.
17
+ *
18
+ * @returns The created Consola log instance.
19
+ */
4
20
  export default function createLog(createConsola: (options?: Partial<ConsolaOptions>) => ConsolaInstance, space: string | undefined, level: LogLevel): Log;
@@ -1,8 +1,22 @@
1
1
  import type { RpcContext, RpcMethodName, RpcMethodParameters, RpcMethodReturnType } from '@scayle/storefront-core';
2
2
  /**
3
- * Handler for RPC methods
4
- * @param method
5
- * @param payload
6
- * @param rpcContext
3
+ * Handles RPC method calls, combining core RPC methods with custom Storefront RPC methods.
4
+ * This function acts as a central dispatcher for invoking RPC methods, determining
5
+ * whether the method takes parameters or not, and executing it accordingly.
6
+ * It additionally logs the execution time of each RPC call.
7
+ *
8
+ * @template N The RPC method name.
9
+ * @template P The RPC method parameters.
10
+ * @template TResult The awaited return type of the RPC method. This can include a `Response` object.
11
+ * @template TakesParameters A boolean indicating whether the method takes parameters (undefined if it doesn't).
12
+ * @template TParams The type of the parameters if the method takes any, otherwise null.
13
+ *
14
+ * @param method The name of the RPC method to call.
15
+ * @param payload The parameters for the RPC method (if any).
16
+ * @param rpcContext The RPC context object.
17
+ *
18
+ * @returns A Promise resolving to the result of the RPC call, which can be any valid return type or a `Response` object.
19
+ *
20
+ * @throws {Error} If the specified RPC method is not found.
7
21
  */
8
22
  export declare const handler: <N extends RpcMethodName, P extends RpcMethodParameters<N>, TResult extends Awaited<RpcMethodReturnType<N>>, TakesParameters = P extends RpcContext ? undefined : boolean, TParams = TakesParameters extends undefined ? null : P>(method: N, payload: TParams, rpcContext: RpcContext) => Promise<TResult | Response>;
@@ -2,8 +2,20 @@ import type { RpcContext, RpcMethodName, RpcMethodParameters, RpcMethodReturnTyp
2
2
  import type { NuxtApp } from 'nuxt/app';
3
3
  import type { PublicShopConfig } from '../../index.js';
4
4
  /**
5
- * rpcCall can be used to invoke an RPC method either on the client or server
6
- * It makes an HTTP request on the client and direct call on the server using $fetch
7
- * https://nuxt.com/docs/api/utils/dollarfetch
5
+ * Invokes an RPC method on the client or server.
6
+ * Uses an HTTP request on the client and a direct call on the server via `$fetch`.
7
+ *
8
+ * @see https://nuxt.com/docs/api/utils/dollarfetch
9
+ *
10
+ * @template N The RPC method name.
11
+ * @template P The RPC method parameters.
12
+ * @template TResult The unwrapped return type of the RPC method, excluding the Response type.
13
+ * @template TakesParameters A boolean indicating whether the method takes parameters (undefined if it doesn't).
14
+ *
15
+ * @param nuxtApp The Nuxt app instance.
16
+ * @param method The name of the RPC method to call.
17
+ * @param shop The public shop configuration.
18
+ *
19
+ * @returns A function that takes parameters (if required) and returns a Promise resolving to the result.
8
20
  */
9
21
  export declare const rpcCall: <N extends RpcMethodName, P extends RpcMethodParameters<N>, TResult extends Exclude<Awaited<RpcMethodReturnType<N>>, Response>, TakesParameters = P extends RpcContext ? undefined : boolean>(nuxtApp: NuxtApp, method: N, shop: PublicShopConfig) => TakesParameters extends undefined ? () => Promise<TResult> : (params: P) => Promise<TResult>;
@@ -48,7 +48,7 @@ export declare const convertShopsToList: (shops: ShopConfig[] | ShopConfigIndexe
48
48
  *
49
49
  * @returns The API base path.
50
50
  */
51
- export declare function getApiBasePath(storefrontConfig: ModuleBaseOptions, baseUrl: string): string;
51
+ export declare function getApiBasePath(storefrontConfig: Pick<ModuleBaseOptions, 'apiBasePath'>, baseUrl: string): string;
52
52
  /**
53
53
  * Retrieves the current shop configuration for a given request.
54
54
  *
@@ -1,9 +1,33 @@
1
1
  /**
2
- * This function accepts a Promise which has the same interface as its resolved value.
3
- * It returns a new Promise which extends the original Promise and the original Promise's resolve value
4
- * with all the properties in source.
5
- * @param promise
6
- * @param source
7
- * @returns
2
+ * Extends a Promise and its resolved value with properties from a source object.
3
+ *
4
+ * This effectively allows to treat a Promise as a regular object and
5
+ * extend it with custom properties, while maintaining its asynchronous behavior.
6
+ * These added properties are then available on the Promise itself as well as on its resolved value.
7
+ *
8
+ * @template T The type of the `Promise` and its resolved value. This should be an object type.
9
+ * @template U The type of the source object.
10
+ *
11
+ * @param promise The original Promise. The Promise's resolved value must have the same interface as the Promise itself.
12
+ * @param source The source object to merge with the Promise and its resolved value.
13
+ *
14
+ * @returns A new Promise with the properties of both the original Promise and the `source` object.
15
+ * The resolved value of the new Promise also includes the merged properties.
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * const originalPromise = Promise.resolve({ initial: 'value' }) as { initial: string } & Promise<{ initial: string }>
20
+ * const sourceObject = { added: 'objectProperty' }
21
+ * const extendedPromise = extendPromise(originalPromise, sourceObject)
22
+ *
23
+ * // Access `added` property directly on the Promise:
24
+ * console.log(extendedPromise.added) // 'objectProperty'
25
+ *
26
+ * extendedPromise.then(result => {
27
+ * // Access added property on the resolved value:
28
+ * console.log(result.initial) // 'value'
29
+ * console.log(result.added) // 'objectProperty'
30
+ * })
31
+ * ```
8
32
  */
9
33
  export declare function extendPromise<T extends object, U>(promise: T & Promise<T>, source: U): T & U & Promise<T & U>;
@@ -1,2 +1,13 @@
1
1
  import type { LocationQuery } from 'vue-router';
2
+ /**
3
+ * Retrieves the current page number from the Vue Router query object.
4
+ *
5
+ * This function attempts to extract the 'page' parameter from the provided `query` object.
6
+ * It handles cases where the 'page' parameter is a string and parses it as an integer.
7
+ * If the 'page' parameter is not a string or not present, it returns undefined.
8
+ *
9
+ * @param query The Vue Router query object.
10
+ *
11
+ * @returns The current page number as a number, or undefined if not found or invalid.
12
+ */
2
13
  export declare const getCurrentPage: (query: LocationQuery) => number | undefined;
@@ -12,4 +12,17 @@ import type { BreadcrumbItem } from '@scayle/storefront-core';
12
12
  * @returns The sanitized URL.
13
13
  */
14
14
  export declare const sanitizeCanonicalURL: (url: string, whitelistParams?: string[]) => string;
15
+ /**
16
+ * Generates a BreadcrumbList schema for structured data based on an array of BreadcrumbItems.
17
+ *
18
+ * This function iterates through the provided `breadcrumbs` array and creates a
19
+ * `BreadcrumbList` object conforming to the schema.org specification.
20
+ * Each breadcrumb item is transformed into a `ListItem` with its position, name, and URL.
21
+ *
22
+ * @see https://schema.org/BreadcrumbList
23
+ *
24
+ * @param breadcrumbs An array of breadcrumb items used to generate the schema.
25
+ *
26
+ * @returns A BreadcrumbList schema object ready to be included in structured data.
27
+ */
15
28
  export declare const generateCategoryBreadcrumbSchema: (breadcrumbs: BreadcrumbItem[]) => WithContext<BreadcrumbList>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "8.10.4",
4
+ "version": "8.11.1",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -72,8 +72,8 @@
72
72
  "dependencies": {
73
73
  "@opentelemetry/api": "^1.9.0",
74
74
  "@scayle/h3-session": "0.6.0",
75
- "@scayle/storefront-core": "8.8.0",
76
- "@scayle/unstorage-compression-driver": "^0.2.3",
75
+ "@scayle/storefront-core": "8.10.0",
76
+ "@scayle/unstorage-compression-driver": "^0.2.4",
77
77
  "@vercel/nft": "0.29.2",
78
78
  "@vueuse/core": "12.7.0",
79
79
  "consola": "^3.2.3",
@@ -95,12 +95,12 @@
95
95
  "@nuxt/kit": "3.14.1592",
96
96
  "@nuxt/module-builder": "0.8.4",
97
97
  "@nuxt/schema": "3.14.1592",
98
- "@nuxt/test-utils": "3.16.0",
98
+ "@nuxt/test-utils": "3.17.0",
99
99
  "@scayle/eslint-config-storefront": "4.4.1",
100
100
  "@scayle/eslint-plugin-vue-composable": "0.2.1",
101
- "@types/node": "22.13.4",
101
+ "@types/node": "22.13.5",
102
102
  "dprint": "0.49.0",
103
- "eslint": "9.20.1",
103
+ "eslint": "9.21.0",
104
104
  "eslint-formatter-gitlab": "5.1.0",
105
105
  "fishery": "2.2.3",
106
106
  "h3": "1.15.0",
@@ -110,7 +110,7 @@
110
110
  "nuxt": "3.14.1592",
111
111
  "publint": "0.2.12",
112
112
  "typescript": "5.7.3",
113
- "vue-tsc": "2.2.2",
113
+ "vue-tsc": "2.2.4",
114
114
  "vitest": "2.1.9"
115
115
  },
116
116
  "peerDependencies": {