@scayle/storefront-nuxt 8.53.0 → 8.53.2

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
@@ -1,5 +1,44 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.53.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Introduced the `rpcDefaultLazy` configuration flag to streamline data fetching. When enabled via the `NUXT_PUBLIC_STOREFRONT_RPC_DEFAULT_LAZY` environment variable or by setting `rpcDefaultLazy` in your `nuxt.config.ts`, `useRpc` and derived composables like `useProducts` or `useBasket` will behave lazily by default. This eliminates the need to repeatedly pass `{ lazy: true }` in your component logic.
8
+
9
+ **Examples:**
10
+
11
+ ```ts
12
+ // Before (or when `rpcDefaultLazy: false`)
13
+ // You had to explicitly opt-in to lazy behavior
14
+ const { data } = useRpc('someMethod', { some: 'param' }, { lazy: true })
15
+
16
+ // After (when `rpcDefaultLazy: true`)
17
+ // Lazy behavior is now the default
18
+ const { data } = useRpc('someMethod', { some: 'param' })
19
+ ```
20
+
21
+ **Dependencies**
22
+
23
+ **@scayle/storefront-core v8.53.2**
24
+
25
+ - No changes in this release.
26
+
27
+ ## 8.53.1
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependency `@vercel/nft@0.30.3` to `@vercel/nft@1.0.0`
32
+
33
+ **Dependencies**
34
+
35
+ - Updated dependency to @scayle/unstorage-compression-driver@1.2.4
36
+
37
+ **@scayle/storefront-core v8.53.1**
38
+
39
+ - Patch
40
+ - Updated `fetchAllFiltersForCategory`, `getFilters`, `getProductsCount`, and `getProductsByCategory` RPC methods to support `includeSoldOut`, `includeSellableForFree`, and `orFiltersOperator` parameters. These parameters are now correctly passed to the Storefront API client, ensuring consistent filtering behavior.
41
+
3
42
  ## 8.53.0
4
43
 
5
44
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.53.0",
3
+ "version": "8.53.2",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -54,7 +54,7 @@ export default {
54
54
  }`;
55
55
  }
56
56
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
57
- const PACKAGE_VERSION = "8.53.0";
57
+ const PACKAGE_VERSION = "8.53.2";
58
58
  const logger = createConsola({
59
59
  fancy: true,
60
60
  formatOptions: {
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * @returns The result of the RPC call or a `Response` object with an error status.
12
12
  */
13
- declare const _default: import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<string | boolean | void | string[] | Response | import("@scayle/storefront-api").Campaign | Record<string, unknown> | import("@scayle/storefront-core").ShopUser | import("@scayle/storefront-api").Product | import("@scayle/storefront-api").Product[] | import("@scayle/storefront-core").FetchProductsCountResponse | import("@scayle/storefront-core").FetchFiltersResponse | import("@scayle/storefront-core").FetchProductsByCategoryResponse | {
13
+ declare const _default: import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<string | boolean | void | string[] | import("@scayle/storefront-api").Campaign | Record<string, unknown> | import("@scayle/storefront-core").ShopUser | Response | import("@scayle/storefront-api").Product | import("@scayle/storefront-api").Product[] | import("@scayle/storefront-core").FetchProductsCountResponse | import("@scayle/storefront-core").FetchFiltersResponse | import("@scayle/storefront-core").FetchProductsByCategoryResponse | {
14
14
  success: boolean;
15
15
  } | {
16
16
  result: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { RpcContext, RpcMethodName, RpcMethodParameters, RpcMethodReturnType } from '@scayle/storefront-core';
2
2
  import { useAsyncData } from 'nuxt/app';
3
- import type { AsyncDataOptions } from 'nuxt/app';
3
+ import type { AsyncDataOptions, NuxtApp } from 'nuxt/app';
4
4
  import type { MaybeRefOrGetter } from 'vue';
5
5
  /**
6
6
  * Extracts keys from a type `T` as an array of strings.
@@ -47,6 +47,7 @@ type AwaitedAsyncData<ResT, ErrorT = unknown, DataT = ResT, PickKeys extends Key
47
47
  * @template DefaultT The default value type. Defaults to `null`.
48
48
  */
49
49
  export type ExtendedAsyncData<ResT, ErrorT = unknown, DataT = ResT, PickKeys extends KeysOf<DataT> = KeysOf<DataT>, DefaultT = null> = AwaitedAsyncData<ResT, ErrorT, DataT, PickKeys, DefaultT> & Promise<AwaitedAsyncData<ResT, ErrorT, DataT, PickKeys, DefaultT>>;
50
+ export declare const defaultCachedData: <ResponseT>(key: string, nuxtApp: NuxtApp) => ResponseT | undefined;
50
51
  /**
51
52
  * `useRpc` is a wrapper around `useAsyncData` for registered RPC methods.
52
53
  *
@@ -1,9 +1,8 @@
1
1
  import { unwrap } from "@scayle/storefront-core";
2
- import { useNuxtApp, useAsyncData } from "nuxt/app";
2
+ import { useAsyncData, useRuntimeConfig, useNuxtApp } from "nuxt/app";
3
3
  import { useCoreLog } from "../useCoreLog.js";
4
4
  import { useCurrentShop } from "./useCurrentShop.js";
5
5
  import { toValue, isRef } from "vue";
6
- import { useRuntimeConfig } from "#app/nuxt";
7
6
  function getFetch(nuxtApp, log) {
8
7
  const fetch = nuxtApp.ssrContext?.event.context.$fetchWithContext ?? $fetch;
9
8
  if (nuxtApp.ssrContext?.event && !nuxtApp.ssrContext?.event.context.$fetchWithContext) {
@@ -11,6 +10,10 @@ function getFetch(nuxtApp, log) {
11
10
  }
12
11
  return fetch;
13
12
  }
13
+ export const defaultCachedData = (key, nuxtApp) => {
14
+ const hydrationData = nuxtApp.isHydrating ? nuxtApp.payload.data[key] : nuxtApp.static.data[key];
15
+ return hydrationData ?? nuxtApp._asyncData[key]?.data.value;
16
+ };
14
17
  export function useRpc(method, key, params, options) {
15
18
  const currentShop = useCurrentShop();
16
19
  const log = useCoreLog("rpc");
@@ -18,6 +21,8 @@ export function useRpc(method, key, params, options) {
18
21
  const {
19
22
  public: { storefront }
20
23
  } = useRuntimeConfig();
24
+ options ??= {};
25
+ options.lazy ??= storefront.rpcDefaultLazy;
21
26
  const asyncData = useAsyncData(
22
27
  key,
23
28
  async () => {
@@ -40,10 +45,7 @@ export function useRpc(method, key, params, options) {
40
45
  {
41
46
  // Both refs and getter functions are valid watch sources
42
47
  ...isRef(params) || typeof params === "function" ? { watch: [params] } : {},
43
- getCachedData: storefront.legacy?.enableDefaultGetCachedDataOverride ? (key2, nuxtApp2) => {
44
- const hydrationData = nuxtApp2.isHydrating ? nuxtApp2.payload.data[key2] : nuxtApp2.static.data[key2];
45
- return hydrationData ?? nuxtApp2._asyncData[key2]?.data.value;
46
- } : void 0,
48
+ getCachedData: storefront.legacy?.enableDefaultGetCachedDataOverride ? defaultCachedData : void 0,
47
49
  ...options
48
50
  }
49
51
  );
@@ -3,7 +3,7 @@ export * from './core/useCurrentShop.js';
3
3
  export * from './core/useFormatHelpers.js';
4
4
  export * from './core/useIDP.js';
5
5
  export * from './core/useLog.js';
6
- export * from './core/useRpc.js';
6
+ export { useRpc, type KeysOf, type NormalizedRpcResponse, type UseRpcOptions, type UseRpcReturn, type Status, type ExtendedAsyncData, } from './core/useRpc.js';
7
7
  export * from './core/useRpcCall.js';
8
8
  export * from './core/useSession.js';
9
9
  export * from './core/useUser.js';
@@ -3,7 +3,9 @@ export * from "./core/useCurrentShop.js";
3
3
  export * from "./core/useFormatHelpers.js";
4
4
  export * from "./core/useIDP.js";
5
5
  export * from "./core/useLog.js";
6
- export * from "./core/useRpc.js";
6
+ export {
7
+ useRpc
8
+ } from "./core/useRpc.js";
7
9
  export * from "./core/useRpcCall.js";
8
10
  export * from "./core/useSession.js";
9
11
  export * from "./core/useUser.js";
@@ -6,7 +6,7 @@
6
6
  * @returns A standardized error object with statusCode, statusMessage, and name.
7
7
  */
8
8
  declare const resolveError: (error: Error | unknown) => {
9
- statusCode: 404 | 204 | 200 | 100 | 101 | 102 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 400 | 401 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 506 | 507 | 508 | 510 | 511 | 306 | 505;
9
+ statusCode: 100 | 101 | 102 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 506 | 507 | 508 | 510 | 511 | 306 | 505;
10
10
  statusMessage: string;
11
11
  name: string;
12
12
  };
@@ -46,56 +46,56 @@ declare const IdpSchema: z.ZodMiniObject<{
46
46
  }, z.core.$strip>;
47
47
  declare const StorageSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
48
48
  driver: z.ZodMiniEnum<{
49
+ null: "null";
49
50
  "azure-app-configuration": "azure-app-configuration";
51
+ azureAppConfiguration: "azureAppConfiguration";
50
52
  "azure-cosmos": "azure-cosmos";
53
+ azureCosmos: "azureCosmos";
51
54
  "azure-key-vault": "azure-key-vault";
55
+ azureKeyVault: "azureKeyVault";
52
56
  "azure-storage-blob": "azure-storage-blob";
57
+ azureStorageBlob: "azureStorageBlob";
53
58
  "azure-storage-table": "azure-storage-table";
59
+ azureStorageTable: "azureStorageTable";
54
60
  "capacitor-preferences": "capacitor-preferences";
61
+ capacitorPreferences: "capacitorPreferences";
55
62
  "cloudflare-kv-binding": "cloudflare-kv-binding";
63
+ cloudflareKVBinding: "cloudflareKVBinding";
56
64
  "cloudflare-kv-http": "cloudflare-kv-http";
65
+ cloudflareKVHttp: "cloudflareKVHttp";
57
66
  "cloudflare-r2-binding": "cloudflare-r2-binding";
67
+ cloudflareR2Binding: "cloudflareR2Binding";
58
68
  db0: "db0";
59
69
  "deno-kv-node": "deno-kv-node";
70
+ denoKVNode: "denoKVNode";
60
71
  "deno-kv": "deno-kv";
72
+ denoKV: "denoKV";
61
73
  "fs-lite": "fs-lite";
74
+ fsLite: "fsLite";
62
75
  fs: "fs";
63
76
  github: "github";
64
77
  http: "http";
78
+ indexedb: "indexedb";
65
79
  localstorage: "localstorage";
66
- sessionStorage: "sessionStorage";
67
80
  "lru-cache": "lru-cache";
81
+ lruCache: "lruCache";
82
+ memory: "memory";
68
83
  mongodb: "mongodb";
69
84
  "netlify-blobs": "netlify-blobs";
85
+ netlifyBlobs: "netlifyBlobs";
70
86
  overlay: "overlay";
71
87
  planetscale: "planetscale";
72
88
  redis: "redis";
73
89
  s3: "s3";
74
90
  "session-storage": "session-storage";
91
+ sessionStorage: "sessionStorage";
75
92
  uploadthing: "uploadthing";
76
93
  upstash: "upstash";
77
94
  "vercel-blob": "vercel-blob";
78
- "vercel-kv": "vercel-kv";
79
- "vercel-runtime-cache": "vercel-runtime-cache";
80
- null: "null";
81
- azureAppConfiguration: "azureAppConfiguration";
82
- azureCosmos: "azureCosmos";
83
- azureKeyVault: "azureKeyVault";
84
- azureStorageBlob: "azureStorageBlob";
85
- azureStorageTable: "azureStorageTable";
86
- capacitorPreferences: "capacitorPreferences";
87
- cloudflareKVBinding: "cloudflareKVBinding";
88
- cloudflareKVHttp: "cloudflareKVHttp";
89
- cloudflareR2Binding: "cloudflareR2Binding";
90
- denoKVNode: "denoKVNode";
91
- denoKV: "denoKV";
92
- fsLite: "fsLite";
93
- indexedb: "indexedb";
94
- lruCache: "lruCache";
95
- memory: "memory";
96
- netlifyBlobs: "netlifyBlobs";
97
95
  vercelBlob: "vercelBlob";
96
+ "vercel-kv": "vercel-kv";
98
97
  vercelKV: "vercelKV";
98
+ "vercel-runtime-cache": "vercel-runtime-cache";
99
99
  vercelRuntimeCache: "vercelRuntimeCache";
100
100
  }>;
101
101
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -201,56 +201,56 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
201
201
  storage: z.ZodMiniOptional<z.ZodMiniObject<{
202
202
  session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
203
203
  driver: z.ZodMiniEnum<{
204
+ null: "null";
204
205
  "azure-app-configuration": "azure-app-configuration";
206
+ azureAppConfiguration: "azureAppConfiguration";
205
207
  "azure-cosmos": "azure-cosmos";
208
+ azureCosmos: "azureCosmos";
206
209
  "azure-key-vault": "azure-key-vault";
210
+ azureKeyVault: "azureKeyVault";
207
211
  "azure-storage-blob": "azure-storage-blob";
212
+ azureStorageBlob: "azureStorageBlob";
208
213
  "azure-storage-table": "azure-storage-table";
214
+ azureStorageTable: "azureStorageTable";
209
215
  "capacitor-preferences": "capacitor-preferences";
216
+ capacitorPreferences: "capacitorPreferences";
210
217
  "cloudflare-kv-binding": "cloudflare-kv-binding";
218
+ cloudflareKVBinding: "cloudflareKVBinding";
211
219
  "cloudflare-kv-http": "cloudflare-kv-http";
220
+ cloudflareKVHttp: "cloudflareKVHttp";
212
221
  "cloudflare-r2-binding": "cloudflare-r2-binding";
222
+ cloudflareR2Binding: "cloudflareR2Binding";
213
223
  db0: "db0";
214
224
  "deno-kv-node": "deno-kv-node";
225
+ denoKVNode: "denoKVNode";
215
226
  "deno-kv": "deno-kv";
227
+ denoKV: "denoKV";
216
228
  "fs-lite": "fs-lite";
229
+ fsLite: "fsLite";
217
230
  fs: "fs";
218
231
  github: "github";
219
232
  http: "http";
233
+ indexedb: "indexedb";
220
234
  localstorage: "localstorage";
221
- sessionStorage: "sessionStorage";
222
235
  "lru-cache": "lru-cache";
236
+ lruCache: "lruCache";
237
+ memory: "memory";
223
238
  mongodb: "mongodb";
224
239
  "netlify-blobs": "netlify-blobs";
240
+ netlifyBlobs: "netlifyBlobs";
225
241
  overlay: "overlay";
226
242
  planetscale: "planetscale";
227
243
  redis: "redis";
228
244
  s3: "s3";
229
245
  "session-storage": "session-storage";
246
+ sessionStorage: "sessionStorage";
230
247
  uploadthing: "uploadthing";
231
248
  upstash: "upstash";
232
249
  "vercel-blob": "vercel-blob";
233
- "vercel-kv": "vercel-kv";
234
- "vercel-runtime-cache": "vercel-runtime-cache";
235
- null: "null";
236
- azureAppConfiguration: "azureAppConfiguration";
237
- azureCosmos: "azureCosmos";
238
- azureKeyVault: "azureKeyVault";
239
- azureStorageBlob: "azureStorageBlob";
240
- azureStorageTable: "azureStorageTable";
241
- capacitorPreferences: "capacitorPreferences";
242
- cloudflareKVBinding: "cloudflareKVBinding";
243
- cloudflareKVHttp: "cloudflareKVHttp";
244
- cloudflareR2Binding: "cloudflareR2Binding";
245
- denoKVNode: "denoKVNode";
246
- denoKV: "denoKV";
247
- fsLite: "fsLite";
248
- indexedb: "indexedb";
249
- lruCache: "lruCache";
250
- memory: "memory";
251
- netlifyBlobs: "netlifyBlobs";
252
250
  vercelBlob: "vercelBlob";
251
+ "vercel-kv": "vercel-kv";
253
252
  vercelKV: "vercelKV";
253
+ "vercel-runtime-cache": "vercel-runtime-cache";
254
254
  vercelRuntimeCache: "vercelRuntimeCache";
255
255
  }>;
256
256
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -280,56 +280,56 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
280
280
  }, z.core.$strip>], "driver">>;
281
281
  cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
282
282
  driver: z.ZodMiniEnum<{
283
+ null: "null";
283
284
  "azure-app-configuration": "azure-app-configuration";
285
+ azureAppConfiguration: "azureAppConfiguration";
284
286
  "azure-cosmos": "azure-cosmos";
287
+ azureCosmos: "azureCosmos";
285
288
  "azure-key-vault": "azure-key-vault";
289
+ azureKeyVault: "azureKeyVault";
286
290
  "azure-storage-blob": "azure-storage-blob";
291
+ azureStorageBlob: "azureStorageBlob";
287
292
  "azure-storage-table": "azure-storage-table";
293
+ azureStorageTable: "azureStorageTable";
288
294
  "capacitor-preferences": "capacitor-preferences";
295
+ capacitorPreferences: "capacitorPreferences";
289
296
  "cloudflare-kv-binding": "cloudflare-kv-binding";
297
+ cloudflareKVBinding: "cloudflareKVBinding";
290
298
  "cloudflare-kv-http": "cloudflare-kv-http";
299
+ cloudflareKVHttp: "cloudflareKVHttp";
291
300
  "cloudflare-r2-binding": "cloudflare-r2-binding";
301
+ cloudflareR2Binding: "cloudflareR2Binding";
292
302
  db0: "db0";
293
303
  "deno-kv-node": "deno-kv-node";
304
+ denoKVNode: "denoKVNode";
294
305
  "deno-kv": "deno-kv";
306
+ denoKV: "denoKV";
295
307
  "fs-lite": "fs-lite";
308
+ fsLite: "fsLite";
296
309
  fs: "fs";
297
310
  github: "github";
298
311
  http: "http";
312
+ indexedb: "indexedb";
299
313
  localstorage: "localstorage";
300
- sessionStorage: "sessionStorage";
301
314
  "lru-cache": "lru-cache";
315
+ lruCache: "lruCache";
316
+ memory: "memory";
302
317
  mongodb: "mongodb";
303
318
  "netlify-blobs": "netlify-blobs";
319
+ netlifyBlobs: "netlifyBlobs";
304
320
  overlay: "overlay";
305
321
  planetscale: "planetscale";
306
322
  redis: "redis";
307
323
  s3: "s3";
308
324
  "session-storage": "session-storage";
325
+ sessionStorage: "sessionStorage";
309
326
  uploadthing: "uploadthing";
310
327
  upstash: "upstash";
311
328
  "vercel-blob": "vercel-blob";
312
- "vercel-kv": "vercel-kv";
313
- "vercel-runtime-cache": "vercel-runtime-cache";
314
- null: "null";
315
- azureAppConfiguration: "azureAppConfiguration";
316
- azureCosmos: "azureCosmos";
317
- azureKeyVault: "azureKeyVault";
318
- azureStorageBlob: "azureStorageBlob";
319
- azureStorageTable: "azureStorageTable";
320
- capacitorPreferences: "capacitorPreferences";
321
- cloudflareKVBinding: "cloudflareKVBinding";
322
- cloudflareKVHttp: "cloudflareKVHttp";
323
- cloudflareR2Binding: "cloudflareR2Binding";
324
- denoKVNode: "denoKVNode";
325
- denoKV: "denoKV";
326
- fsLite: "fsLite";
327
- indexedb: "indexedb";
328
- lruCache: "lruCache";
329
- memory: "memory";
330
- netlifyBlobs: "netlifyBlobs";
331
329
  vercelBlob: "vercelBlob";
330
+ "vercel-kv": "vercel-kv";
332
331
  vercelKV: "vercelKV";
332
+ "vercel-runtime-cache": "vercel-runtime-cache";
333
333
  vercelRuntimeCache: "vercelRuntimeCache";
334
334
  }>;
335
335
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -361,8 +361,8 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
361
361
  isDefault: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniString<string>]>>;
362
362
  }, z.core.$strip>;
363
363
  declare const ShopSelectorSchema: z.ZodMiniEnum<{
364
- path: "path";
365
364
  domain: "domain";
365
+ path: "path";
366
366
  path_or_default: "path_or_default";
367
367
  }>;
368
368
  type ShopConfigType = z.infer<typeof ShopConfigSchema>;
@@ -374,8 +374,8 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
374
374
  * @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/internationalization/configuration#routing-configuration
375
375
  */
376
376
  shopSelector: z.ZodMiniEnum<{
377
- path: "path";
378
377
  domain: "domain";
378
+ path: "path";
379
379
  path_or_default: "path_or_default";
380
380
  }>;
381
381
  /**
@@ -472,56 +472,56 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
472
472
  storage: z.ZodMiniOptional<z.ZodMiniObject<{
473
473
  session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
474
474
  driver: z.ZodMiniEnum<{
475
+ null: "null";
475
476
  "azure-app-configuration": "azure-app-configuration";
477
+ azureAppConfiguration: "azureAppConfiguration";
476
478
  "azure-cosmos": "azure-cosmos";
479
+ azureCosmos: "azureCosmos";
477
480
  "azure-key-vault": "azure-key-vault";
481
+ azureKeyVault: "azureKeyVault";
478
482
  "azure-storage-blob": "azure-storage-blob";
483
+ azureStorageBlob: "azureStorageBlob";
479
484
  "azure-storage-table": "azure-storage-table";
485
+ azureStorageTable: "azureStorageTable";
480
486
  "capacitor-preferences": "capacitor-preferences";
487
+ capacitorPreferences: "capacitorPreferences";
481
488
  "cloudflare-kv-binding": "cloudflare-kv-binding";
489
+ cloudflareKVBinding: "cloudflareKVBinding";
482
490
  "cloudflare-kv-http": "cloudflare-kv-http";
491
+ cloudflareKVHttp: "cloudflareKVHttp";
483
492
  "cloudflare-r2-binding": "cloudflare-r2-binding";
493
+ cloudflareR2Binding: "cloudflareR2Binding";
484
494
  db0: "db0";
485
495
  "deno-kv-node": "deno-kv-node";
496
+ denoKVNode: "denoKVNode";
486
497
  "deno-kv": "deno-kv";
498
+ denoKV: "denoKV";
487
499
  "fs-lite": "fs-lite";
500
+ fsLite: "fsLite";
488
501
  fs: "fs";
489
502
  github: "github";
490
503
  http: "http";
504
+ indexedb: "indexedb";
491
505
  localstorage: "localstorage";
492
- sessionStorage: "sessionStorage";
493
506
  "lru-cache": "lru-cache";
507
+ lruCache: "lruCache";
508
+ memory: "memory";
494
509
  mongodb: "mongodb";
495
510
  "netlify-blobs": "netlify-blobs";
511
+ netlifyBlobs: "netlifyBlobs";
496
512
  overlay: "overlay";
497
513
  planetscale: "planetscale";
498
514
  redis: "redis";
499
515
  s3: "s3";
500
516
  "session-storage": "session-storage";
517
+ sessionStorage: "sessionStorage";
501
518
  uploadthing: "uploadthing";
502
519
  upstash: "upstash";
503
520
  "vercel-blob": "vercel-blob";
504
- "vercel-kv": "vercel-kv";
505
- "vercel-runtime-cache": "vercel-runtime-cache";
506
- null: "null";
507
- azureAppConfiguration: "azureAppConfiguration";
508
- azureCosmos: "azureCosmos";
509
- azureKeyVault: "azureKeyVault";
510
- azureStorageBlob: "azureStorageBlob";
511
- azureStorageTable: "azureStorageTable";
512
- capacitorPreferences: "capacitorPreferences";
513
- cloudflareKVBinding: "cloudflareKVBinding";
514
- cloudflareKVHttp: "cloudflareKVHttp";
515
- cloudflareR2Binding: "cloudflareR2Binding";
516
- denoKVNode: "denoKVNode";
517
- denoKV: "denoKV";
518
- fsLite: "fsLite";
519
- indexedb: "indexedb";
520
- lruCache: "lruCache";
521
- memory: "memory";
522
- netlifyBlobs: "netlifyBlobs";
523
521
  vercelBlob: "vercelBlob";
522
+ "vercel-kv": "vercel-kv";
524
523
  vercelKV: "vercelKV";
524
+ "vercel-runtime-cache": "vercel-runtime-cache";
525
525
  vercelRuntimeCache: "vercelRuntimeCache";
526
526
  }>;
527
527
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -551,56 +551,56 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
551
551
  }, z.core.$strip>], "driver">>;
552
552
  cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
553
553
  driver: z.ZodMiniEnum<{
554
+ null: "null";
554
555
  "azure-app-configuration": "azure-app-configuration";
556
+ azureAppConfiguration: "azureAppConfiguration";
555
557
  "azure-cosmos": "azure-cosmos";
558
+ azureCosmos: "azureCosmos";
556
559
  "azure-key-vault": "azure-key-vault";
560
+ azureKeyVault: "azureKeyVault";
557
561
  "azure-storage-blob": "azure-storage-blob";
562
+ azureStorageBlob: "azureStorageBlob";
558
563
  "azure-storage-table": "azure-storage-table";
564
+ azureStorageTable: "azureStorageTable";
559
565
  "capacitor-preferences": "capacitor-preferences";
566
+ capacitorPreferences: "capacitorPreferences";
560
567
  "cloudflare-kv-binding": "cloudflare-kv-binding";
568
+ cloudflareKVBinding: "cloudflareKVBinding";
561
569
  "cloudflare-kv-http": "cloudflare-kv-http";
570
+ cloudflareKVHttp: "cloudflareKVHttp";
562
571
  "cloudflare-r2-binding": "cloudflare-r2-binding";
572
+ cloudflareR2Binding: "cloudflareR2Binding";
563
573
  db0: "db0";
564
574
  "deno-kv-node": "deno-kv-node";
575
+ denoKVNode: "denoKVNode";
565
576
  "deno-kv": "deno-kv";
577
+ denoKV: "denoKV";
566
578
  "fs-lite": "fs-lite";
579
+ fsLite: "fsLite";
567
580
  fs: "fs";
568
581
  github: "github";
569
582
  http: "http";
583
+ indexedb: "indexedb";
570
584
  localstorage: "localstorage";
571
- sessionStorage: "sessionStorage";
572
585
  "lru-cache": "lru-cache";
586
+ lruCache: "lruCache";
587
+ memory: "memory";
573
588
  mongodb: "mongodb";
574
589
  "netlify-blobs": "netlify-blobs";
590
+ netlifyBlobs: "netlifyBlobs";
575
591
  overlay: "overlay";
576
592
  planetscale: "planetscale";
577
593
  redis: "redis";
578
594
  s3: "s3";
579
595
  "session-storage": "session-storage";
596
+ sessionStorage: "sessionStorage";
580
597
  uploadthing: "uploadthing";
581
598
  upstash: "upstash";
582
599
  "vercel-blob": "vercel-blob";
583
- "vercel-kv": "vercel-kv";
584
- "vercel-runtime-cache": "vercel-runtime-cache";
585
- null: "null";
586
- azureAppConfiguration: "azureAppConfiguration";
587
- azureCosmos: "azureCosmos";
588
- azureKeyVault: "azureKeyVault";
589
- azureStorageBlob: "azureStorageBlob";
590
- azureStorageTable: "azureStorageTable";
591
- capacitorPreferences: "capacitorPreferences";
592
- cloudflareKVBinding: "cloudflareKVBinding";
593
- cloudflareKVHttp: "cloudflareKVHttp";
594
- cloudflareR2Binding: "cloudflareR2Binding";
595
- denoKVNode: "denoKVNode";
596
- denoKV: "denoKV";
597
- fsLite: "fsLite";
598
- indexedb: "indexedb";
599
- lruCache: "lruCache";
600
- memory: "memory";
601
- netlifyBlobs: "netlifyBlobs";
602
600
  vercelBlob: "vercelBlob";
601
+ "vercel-kv": "vercel-kv";
603
602
  vercelKV: "vercelKV";
603
+ "vercel-runtime-cache": "vercel-runtime-cache";
604
604
  vercelRuntimeCache: "vercelRuntimeCache";
605
605
  }>;
606
606
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -664,56 +664,56 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
664
664
  storage: z.ZodMiniOptional<z.ZodMiniObject<{
665
665
  session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
666
666
  driver: z.ZodMiniEnum<{
667
+ null: "null";
667
668
  "azure-app-configuration": "azure-app-configuration";
669
+ azureAppConfiguration: "azureAppConfiguration";
668
670
  "azure-cosmos": "azure-cosmos";
671
+ azureCosmos: "azureCosmos";
669
672
  "azure-key-vault": "azure-key-vault";
673
+ azureKeyVault: "azureKeyVault";
670
674
  "azure-storage-blob": "azure-storage-blob";
675
+ azureStorageBlob: "azureStorageBlob";
671
676
  "azure-storage-table": "azure-storage-table";
677
+ azureStorageTable: "azureStorageTable";
672
678
  "capacitor-preferences": "capacitor-preferences";
679
+ capacitorPreferences: "capacitorPreferences";
673
680
  "cloudflare-kv-binding": "cloudflare-kv-binding";
681
+ cloudflareKVBinding: "cloudflareKVBinding";
674
682
  "cloudflare-kv-http": "cloudflare-kv-http";
683
+ cloudflareKVHttp: "cloudflareKVHttp";
675
684
  "cloudflare-r2-binding": "cloudflare-r2-binding";
685
+ cloudflareR2Binding: "cloudflareR2Binding";
676
686
  db0: "db0";
677
687
  "deno-kv-node": "deno-kv-node";
688
+ denoKVNode: "denoKVNode";
678
689
  "deno-kv": "deno-kv";
690
+ denoKV: "denoKV";
679
691
  "fs-lite": "fs-lite";
692
+ fsLite: "fsLite";
680
693
  fs: "fs";
681
694
  github: "github";
682
695
  http: "http";
696
+ indexedb: "indexedb";
683
697
  localstorage: "localstorage";
684
- sessionStorage: "sessionStorage";
685
698
  "lru-cache": "lru-cache";
699
+ lruCache: "lruCache";
700
+ memory: "memory";
686
701
  mongodb: "mongodb";
687
702
  "netlify-blobs": "netlify-blobs";
703
+ netlifyBlobs: "netlifyBlobs";
688
704
  overlay: "overlay";
689
705
  planetscale: "planetscale";
690
706
  redis: "redis";
691
707
  s3: "s3";
692
708
  "session-storage": "session-storage";
709
+ sessionStorage: "sessionStorage";
693
710
  uploadthing: "uploadthing";
694
711
  upstash: "upstash";
695
712
  "vercel-blob": "vercel-blob";
696
- "vercel-kv": "vercel-kv";
697
- "vercel-runtime-cache": "vercel-runtime-cache";
698
- null: "null";
699
- azureAppConfiguration: "azureAppConfiguration";
700
- azureCosmos: "azureCosmos";
701
- azureKeyVault: "azureKeyVault";
702
- azureStorageBlob: "azureStorageBlob";
703
- azureStorageTable: "azureStorageTable";
704
- capacitorPreferences: "capacitorPreferences";
705
- cloudflareKVBinding: "cloudflareKVBinding";
706
- cloudflareKVHttp: "cloudflareKVHttp";
707
- cloudflareR2Binding: "cloudflareR2Binding";
708
- denoKVNode: "denoKVNode";
709
- denoKV: "denoKV";
710
- fsLite: "fsLite";
711
- indexedb: "indexedb";
712
- lruCache: "lruCache";
713
- memory: "memory";
714
- netlifyBlobs: "netlifyBlobs";
715
713
  vercelBlob: "vercelBlob";
714
+ "vercel-kv": "vercel-kv";
716
715
  vercelKV: "vercelKV";
716
+ "vercel-runtime-cache": "vercel-runtime-cache";
717
717
  vercelRuntimeCache: "vercelRuntimeCache";
718
718
  }>;
719
719
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -743,56 +743,56 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
743
743
  }, z.core.$strip>], "driver">>;
744
744
  cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
745
745
  driver: z.ZodMiniEnum<{
746
+ null: "null";
746
747
  "azure-app-configuration": "azure-app-configuration";
748
+ azureAppConfiguration: "azureAppConfiguration";
747
749
  "azure-cosmos": "azure-cosmos";
750
+ azureCosmos: "azureCosmos";
748
751
  "azure-key-vault": "azure-key-vault";
752
+ azureKeyVault: "azureKeyVault";
749
753
  "azure-storage-blob": "azure-storage-blob";
754
+ azureStorageBlob: "azureStorageBlob";
750
755
  "azure-storage-table": "azure-storage-table";
756
+ azureStorageTable: "azureStorageTable";
751
757
  "capacitor-preferences": "capacitor-preferences";
758
+ capacitorPreferences: "capacitorPreferences";
752
759
  "cloudflare-kv-binding": "cloudflare-kv-binding";
760
+ cloudflareKVBinding: "cloudflareKVBinding";
753
761
  "cloudflare-kv-http": "cloudflare-kv-http";
762
+ cloudflareKVHttp: "cloudflareKVHttp";
754
763
  "cloudflare-r2-binding": "cloudflare-r2-binding";
764
+ cloudflareR2Binding: "cloudflareR2Binding";
755
765
  db0: "db0";
756
766
  "deno-kv-node": "deno-kv-node";
767
+ denoKVNode: "denoKVNode";
757
768
  "deno-kv": "deno-kv";
769
+ denoKV: "denoKV";
758
770
  "fs-lite": "fs-lite";
771
+ fsLite: "fsLite";
759
772
  fs: "fs";
760
773
  github: "github";
761
774
  http: "http";
775
+ indexedb: "indexedb";
762
776
  localstorage: "localstorage";
763
- sessionStorage: "sessionStorage";
764
777
  "lru-cache": "lru-cache";
778
+ lruCache: "lruCache";
779
+ memory: "memory";
765
780
  mongodb: "mongodb";
766
781
  "netlify-blobs": "netlify-blobs";
782
+ netlifyBlobs: "netlifyBlobs";
767
783
  overlay: "overlay";
768
784
  planetscale: "planetscale";
769
785
  redis: "redis";
770
786
  s3: "s3";
771
787
  "session-storage": "session-storage";
788
+ sessionStorage: "sessionStorage";
772
789
  uploadthing: "uploadthing";
773
790
  upstash: "upstash";
774
791
  "vercel-blob": "vercel-blob";
775
- "vercel-kv": "vercel-kv";
776
- "vercel-runtime-cache": "vercel-runtime-cache";
777
- null: "null";
778
- azureAppConfiguration: "azureAppConfiguration";
779
- azureCosmos: "azureCosmos";
780
- azureKeyVault: "azureKeyVault";
781
- azureStorageBlob: "azureStorageBlob";
782
- azureStorageTable: "azureStorageTable";
783
- capacitorPreferences: "capacitorPreferences";
784
- cloudflareKVBinding: "cloudflareKVBinding";
785
- cloudflareKVHttp: "cloudflareKVHttp";
786
- cloudflareR2Binding: "cloudflareR2Binding";
787
- denoKVNode: "denoKVNode";
788
- denoKV: "denoKV";
789
- fsLite: "fsLite";
790
- indexedb: "indexedb";
791
- lruCache: "lruCache";
792
- memory: "memory";
793
- netlifyBlobs: "netlifyBlobs";
794
792
  vercelBlob: "vercelBlob";
793
+ "vercel-kv": "vercel-kv";
795
794
  vercelKV: "vercelKV";
795
+ "vercel-runtime-cache": "vercel-runtime-cache";
796
796
  vercelRuntimeCache: "vercelRuntimeCache";
797
797
  }>;
798
798
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -879,6 +879,13 @@ declare const StorefrontPublicRuntimeConfigSchema: z.ZodMiniObject<{
879
879
  legacy: z.ZodMiniOptional<z.ZodMiniObject<{
880
880
  enableDefaultGetCachedDataOverride: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
881
881
  }, z.core.$strip>>;
882
+ /**
883
+ * Controls the default lazy loading behavior for useRpc.
884
+ * If set to true,the useRpc composable will not block during data fetching.
885
+ *
886
+ * @default false
887
+ */
888
+ rpcDefaultLazy: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
882
889
  }, z.core.$strip>;
883
890
  export declare const RuntimeConfigSchema: z.ZodMiniObject<{
884
891
  storefront: z.ZodMiniObject<{
@@ -889,8 +896,8 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
889
896
  * @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/internationalization/configuration#routing-configuration
890
897
  */
891
898
  shopSelector: z.ZodMiniEnum<{
892
- path: "path";
893
899
  domain: "domain";
900
+ path: "path";
894
901
  path_or_default: "path_or_default";
895
902
  }>;
896
903
  /**
@@ -987,56 +994,56 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
987
994
  storage: z.ZodMiniOptional<z.ZodMiniObject<{
988
995
  session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
989
996
  driver: z.ZodMiniEnum<{
997
+ null: "null";
990
998
  "azure-app-configuration": "azure-app-configuration";
999
+ azureAppConfiguration: "azureAppConfiguration";
991
1000
  "azure-cosmos": "azure-cosmos";
1001
+ azureCosmos: "azureCosmos";
992
1002
  "azure-key-vault": "azure-key-vault";
1003
+ azureKeyVault: "azureKeyVault";
993
1004
  "azure-storage-blob": "azure-storage-blob";
1005
+ azureStorageBlob: "azureStorageBlob";
994
1006
  "azure-storage-table": "azure-storage-table";
1007
+ azureStorageTable: "azureStorageTable";
995
1008
  "capacitor-preferences": "capacitor-preferences";
1009
+ capacitorPreferences: "capacitorPreferences";
996
1010
  "cloudflare-kv-binding": "cloudflare-kv-binding";
1011
+ cloudflareKVBinding: "cloudflareKVBinding";
997
1012
  "cloudflare-kv-http": "cloudflare-kv-http";
1013
+ cloudflareKVHttp: "cloudflareKVHttp";
998
1014
  "cloudflare-r2-binding": "cloudflare-r2-binding";
1015
+ cloudflareR2Binding: "cloudflareR2Binding";
999
1016
  db0: "db0";
1000
1017
  "deno-kv-node": "deno-kv-node";
1018
+ denoKVNode: "denoKVNode";
1001
1019
  "deno-kv": "deno-kv";
1020
+ denoKV: "denoKV";
1002
1021
  "fs-lite": "fs-lite";
1022
+ fsLite: "fsLite";
1003
1023
  fs: "fs";
1004
1024
  github: "github";
1005
1025
  http: "http";
1026
+ indexedb: "indexedb";
1006
1027
  localstorage: "localstorage";
1007
- sessionStorage: "sessionStorage";
1008
1028
  "lru-cache": "lru-cache";
1029
+ lruCache: "lruCache";
1030
+ memory: "memory";
1009
1031
  mongodb: "mongodb";
1010
1032
  "netlify-blobs": "netlify-blobs";
1033
+ netlifyBlobs: "netlifyBlobs";
1011
1034
  overlay: "overlay";
1012
1035
  planetscale: "planetscale";
1013
1036
  redis: "redis";
1014
1037
  s3: "s3";
1015
1038
  "session-storage": "session-storage";
1039
+ sessionStorage: "sessionStorage";
1016
1040
  uploadthing: "uploadthing";
1017
1041
  upstash: "upstash";
1018
1042
  "vercel-blob": "vercel-blob";
1019
- "vercel-kv": "vercel-kv";
1020
- "vercel-runtime-cache": "vercel-runtime-cache";
1021
- null: "null";
1022
- azureAppConfiguration: "azureAppConfiguration";
1023
- azureCosmos: "azureCosmos";
1024
- azureKeyVault: "azureKeyVault";
1025
- azureStorageBlob: "azureStorageBlob";
1026
- azureStorageTable: "azureStorageTable";
1027
- capacitorPreferences: "capacitorPreferences";
1028
- cloudflareKVBinding: "cloudflareKVBinding";
1029
- cloudflareKVHttp: "cloudflareKVHttp";
1030
- cloudflareR2Binding: "cloudflareR2Binding";
1031
- denoKVNode: "denoKVNode";
1032
- denoKV: "denoKV";
1033
- fsLite: "fsLite";
1034
- indexedb: "indexedb";
1035
- lruCache: "lruCache";
1036
- memory: "memory";
1037
- netlifyBlobs: "netlifyBlobs";
1038
1043
  vercelBlob: "vercelBlob";
1044
+ "vercel-kv": "vercel-kv";
1039
1045
  vercelKV: "vercelKV";
1046
+ "vercel-runtime-cache": "vercel-runtime-cache";
1040
1047
  vercelRuntimeCache: "vercelRuntimeCache";
1041
1048
  }>;
1042
1049
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -1066,56 +1073,56 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
1066
1073
  }, z.core.$strip>], "driver">>;
1067
1074
  cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1068
1075
  driver: z.ZodMiniEnum<{
1076
+ null: "null";
1069
1077
  "azure-app-configuration": "azure-app-configuration";
1078
+ azureAppConfiguration: "azureAppConfiguration";
1070
1079
  "azure-cosmos": "azure-cosmos";
1080
+ azureCosmos: "azureCosmos";
1071
1081
  "azure-key-vault": "azure-key-vault";
1082
+ azureKeyVault: "azureKeyVault";
1072
1083
  "azure-storage-blob": "azure-storage-blob";
1084
+ azureStorageBlob: "azureStorageBlob";
1073
1085
  "azure-storage-table": "azure-storage-table";
1086
+ azureStorageTable: "azureStorageTable";
1074
1087
  "capacitor-preferences": "capacitor-preferences";
1088
+ capacitorPreferences: "capacitorPreferences";
1075
1089
  "cloudflare-kv-binding": "cloudflare-kv-binding";
1090
+ cloudflareKVBinding: "cloudflareKVBinding";
1076
1091
  "cloudflare-kv-http": "cloudflare-kv-http";
1092
+ cloudflareKVHttp: "cloudflareKVHttp";
1077
1093
  "cloudflare-r2-binding": "cloudflare-r2-binding";
1094
+ cloudflareR2Binding: "cloudflareR2Binding";
1078
1095
  db0: "db0";
1079
1096
  "deno-kv-node": "deno-kv-node";
1097
+ denoKVNode: "denoKVNode";
1080
1098
  "deno-kv": "deno-kv";
1099
+ denoKV: "denoKV";
1081
1100
  "fs-lite": "fs-lite";
1101
+ fsLite: "fsLite";
1082
1102
  fs: "fs";
1083
1103
  github: "github";
1084
1104
  http: "http";
1105
+ indexedb: "indexedb";
1085
1106
  localstorage: "localstorage";
1086
- sessionStorage: "sessionStorage";
1087
1107
  "lru-cache": "lru-cache";
1108
+ lruCache: "lruCache";
1109
+ memory: "memory";
1088
1110
  mongodb: "mongodb";
1089
1111
  "netlify-blobs": "netlify-blobs";
1112
+ netlifyBlobs: "netlifyBlobs";
1090
1113
  overlay: "overlay";
1091
1114
  planetscale: "planetscale";
1092
1115
  redis: "redis";
1093
1116
  s3: "s3";
1094
1117
  "session-storage": "session-storage";
1118
+ sessionStorage: "sessionStorage";
1095
1119
  uploadthing: "uploadthing";
1096
1120
  upstash: "upstash";
1097
1121
  "vercel-blob": "vercel-blob";
1098
- "vercel-kv": "vercel-kv";
1099
- "vercel-runtime-cache": "vercel-runtime-cache";
1100
- null: "null";
1101
- azureAppConfiguration: "azureAppConfiguration";
1102
- azureCosmos: "azureCosmos";
1103
- azureKeyVault: "azureKeyVault";
1104
- azureStorageBlob: "azureStorageBlob";
1105
- azureStorageTable: "azureStorageTable";
1106
- capacitorPreferences: "capacitorPreferences";
1107
- cloudflareKVBinding: "cloudflareKVBinding";
1108
- cloudflareKVHttp: "cloudflareKVHttp";
1109
- cloudflareR2Binding: "cloudflareR2Binding";
1110
- denoKVNode: "denoKVNode";
1111
- denoKV: "denoKV";
1112
- fsLite: "fsLite";
1113
- indexedb: "indexedb";
1114
- lruCache: "lruCache";
1115
- memory: "memory";
1116
- netlifyBlobs: "netlifyBlobs";
1117
1122
  vercelBlob: "vercelBlob";
1123
+ "vercel-kv": "vercel-kv";
1118
1124
  vercelKV: "vercelKV";
1125
+ "vercel-runtime-cache": "vercel-runtime-cache";
1119
1126
  vercelRuntimeCache: "vercelRuntimeCache";
1120
1127
  }>;
1121
1128
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -1179,56 +1186,56 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
1179
1186
  storage: z.ZodMiniOptional<z.ZodMiniObject<{
1180
1187
  session: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1181
1188
  driver: z.ZodMiniEnum<{
1189
+ null: "null";
1182
1190
  "azure-app-configuration": "azure-app-configuration";
1191
+ azureAppConfiguration: "azureAppConfiguration";
1183
1192
  "azure-cosmos": "azure-cosmos";
1193
+ azureCosmos: "azureCosmos";
1184
1194
  "azure-key-vault": "azure-key-vault";
1195
+ azureKeyVault: "azureKeyVault";
1185
1196
  "azure-storage-blob": "azure-storage-blob";
1197
+ azureStorageBlob: "azureStorageBlob";
1186
1198
  "azure-storage-table": "azure-storage-table";
1199
+ azureStorageTable: "azureStorageTable";
1187
1200
  "capacitor-preferences": "capacitor-preferences";
1201
+ capacitorPreferences: "capacitorPreferences";
1188
1202
  "cloudflare-kv-binding": "cloudflare-kv-binding";
1203
+ cloudflareKVBinding: "cloudflareKVBinding";
1189
1204
  "cloudflare-kv-http": "cloudflare-kv-http";
1205
+ cloudflareKVHttp: "cloudflareKVHttp";
1190
1206
  "cloudflare-r2-binding": "cloudflare-r2-binding";
1207
+ cloudflareR2Binding: "cloudflareR2Binding";
1191
1208
  db0: "db0";
1192
1209
  "deno-kv-node": "deno-kv-node";
1210
+ denoKVNode: "denoKVNode";
1193
1211
  "deno-kv": "deno-kv";
1212
+ denoKV: "denoKV";
1194
1213
  "fs-lite": "fs-lite";
1214
+ fsLite: "fsLite";
1195
1215
  fs: "fs";
1196
1216
  github: "github";
1197
1217
  http: "http";
1218
+ indexedb: "indexedb";
1198
1219
  localstorage: "localstorage";
1199
- sessionStorage: "sessionStorage";
1200
1220
  "lru-cache": "lru-cache";
1221
+ lruCache: "lruCache";
1222
+ memory: "memory";
1201
1223
  mongodb: "mongodb";
1202
1224
  "netlify-blobs": "netlify-blobs";
1225
+ netlifyBlobs: "netlifyBlobs";
1203
1226
  overlay: "overlay";
1204
1227
  planetscale: "planetscale";
1205
1228
  redis: "redis";
1206
1229
  s3: "s3";
1207
1230
  "session-storage": "session-storage";
1231
+ sessionStorage: "sessionStorage";
1208
1232
  uploadthing: "uploadthing";
1209
1233
  upstash: "upstash";
1210
1234
  "vercel-blob": "vercel-blob";
1211
- "vercel-kv": "vercel-kv";
1212
- "vercel-runtime-cache": "vercel-runtime-cache";
1213
- null: "null";
1214
- azureAppConfiguration: "azureAppConfiguration";
1215
- azureCosmos: "azureCosmos";
1216
- azureKeyVault: "azureKeyVault";
1217
- azureStorageBlob: "azureStorageBlob";
1218
- azureStorageTable: "azureStorageTable";
1219
- capacitorPreferences: "capacitorPreferences";
1220
- cloudflareKVBinding: "cloudflareKVBinding";
1221
- cloudflareKVHttp: "cloudflareKVHttp";
1222
- cloudflareR2Binding: "cloudflareR2Binding";
1223
- denoKVNode: "denoKVNode";
1224
- denoKV: "denoKV";
1225
- fsLite: "fsLite";
1226
- indexedb: "indexedb";
1227
- lruCache: "lruCache";
1228
- memory: "memory";
1229
- netlifyBlobs: "netlifyBlobs";
1230
1235
  vercelBlob: "vercelBlob";
1236
+ "vercel-kv": "vercel-kv";
1231
1237
  vercelKV: "vercelKV";
1238
+ "vercel-runtime-cache": "vercel-runtime-cache";
1232
1239
  vercelRuntimeCache: "vercelRuntimeCache";
1233
1240
  }>;
1234
1241
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -1258,56 +1265,56 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
1258
1265
  }, z.core.$strip>], "driver">>;
1259
1266
  cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1260
1267
  driver: z.ZodMiniEnum<{
1268
+ null: "null";
1261
1269
  "azure-app-configuration": "azure-app-configuration";
1270
+ azureAppConfiguration: "azureAppConfiguration";
1262
1271
  "azure-cosmos": "azure-cosmos";
1272
+ azureCosmos: "azureCosmos";
1263
1273
  "azure-key-vault": "azure-key-vault";
1274
+ azureKeyVault: "azureKeyVault";
1264
1275
  "azure-storage-blob": "azure-storage-blob";
1276
+ azureStorageBlob: "azureStorageBlob";
1265
1277
  "azure-storage-table": "azure-storage-table";
1278
+ azureStorageTable: "azureStorageTable";
1266
1279
  "capacitor-preferences": "capacitor-preferences";
1280
+ capacitorPreferences: "capacitorPreferences";
1267
1281
  "cloudflare-kv-binding": "cloudflare-kv-binding";
1282
+ cloudflareKVBinding: "cloudflareKVBinding";
1268
1283
  "cloudflare-kv-http": "cloudflare-kv-http";
1284
+ cloudflareKVHttp: "cloudflareKVHttp";
1269
1285
  "cloudflare-r2-binding": "cloudflare-r2-binding";
1286
+ cloudflareR2Binding: "cloudflareR2Binding";
1270
1287
  db0: "db0";
1271
1288
  "deno-kv-node": "deno-kv-node";
1289
+ denoKVNode: "denoKVNode";
1272
1290
  "deno-kv": "deno-kv";
1291
+ denoKV: "denoKV";
1273
1292
  "fs-lite": "fs-lite";
1293
+ fsLite: "fsLite";
1274
1294
  fs: "fs";
1275
1295
  github: "github";
1276
1296
  http: "http";
1297
+ indexedb: "indexedb";
1277
1298
  localstorage: "localstorage";
1278
- sessionStorage: "sessionStorage";
1279
1299
  "lru-cache": "lru-cache";
1300
+ lruCache: "lruCache";
1301
+ memory: "memory";
1280
1302
  mongodb: "mongodb";
1281
1303
  "netlify-blobs": "netlify-blobs";
1304
+ netlifyBlobs: "netlifyBlobs";
1282
1305
  overlay: "overlay";
1283
1306
  planetscale: "planetscale";
1284
1307
  redis: "redis";
1285
1308
  s3: "s3";
1286
1309
  "session-storage": "session-storage";
1310
+ sessionStorage: "sessionStorage";
1287
1311
  uploadthing: "uploadthing";
1288
1312
  upstash: "upstash";
1289
1313
  "vercel-blob": "vercel-blob";
1290
- "vercel-kv": "vercel-kv";
1291
- "vercel-runtime-cache": "vercel-runtime-cache";
1292
- null: "null";
1293
- azureAppConfiguration: "azureAppConfiguration";
1294
- azureCosmos: "azureCosmos";
1295
- azureKeyVault: "azureKeyVault";
1296
- azureStorageBlob: "azureStorageBlob";
1297
- azureStorageTable: "azureStorageTable";
1298
- capacitorPreferences: "capacitorPreferences";
1299
- cloudflareKVBinding: "cloudflareKVBinding";
1300
- cloudflareKVHttp: "cloudflareKVHttp";
1301
- cloudflareR2Binding: "cloudflareR2Binding";
1302
- denoKVNode: "denoKVNode";
1303
- denoKV: "denoKV";
1304
- fsLite: "fsLite";
1305
- indexedb: "indexedb";
1306
- lruCache: "lruCache";
1307
- memory: "memory";
1308
- netlifyBlobs: "netlifyBlobs";
1309
1314
  vercelBlob: "vercelBlob";
1315
+ "vercel-kv": "vercel-kv";
1310
1316
  vercelKV: "vercelKV";
1317
+ "vercel-runtime-cache": "vercel-runtime-cache";
1311
1318
  vercelRuntimeCache: "vercelRuntimeCache";
1312
1319
  }>;
1313
1320
  compression: z.ZodMiniOptional<z.ZodMiniEnum<{
@@ -1395,6 +1402,13 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
1395
1402
  legacy: z.ZodMiniOptional<z.ZodMiniObject<{
1396
1403
  enableDefaultGetCachedDataOverride: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1397
1404
  }, z.core.$strip>>;
1405
+ /**
1406
+ * Controls the default lazy loading behavior for useRpc.
1407
+ * If set to true,the useRpc composable will not block during data fetching.
1408
+ *
1409
+ * @default false
1410
+ */
1411
+ rpcDefaultLazy: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1398
1412
  }, z.core.$strip>;
1399
1413
  }, z.core.$strip>;
1400
1414
  }, z.core.$strip>;
@@ -190,7 +190,14 @@ const StorefrontPublicRuntimeConfigSchema = z.object({
190
190
  /** Collection of feature flags regarding legacy features and functionalities */
191
191
  legacy: z.optional(z.object({
192
192
  enableDefaultGetCachedDataOverride: z.optional(z.boolean())
193
- }))
193
+ })),
194
+ /**
195
+ * Controls the default lazy loading behavior for useRpc.
196
+ * If set to true,the useRpc composable will not block during data fetching.
197
+ *
198
+ * @default false
199
+ */
200
+ rpcDefaultLazy: z.optional(z.boolean())
194
201
  });
195
202
  export const RuntimeConfigSchema = z.object({
196
203
  storefront: StorefrontRuntimeConfigSchema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "8.53.0",
4
+ "version": "8.53.2",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -74,7 +74,7 @@
74
74
  "dependencies": {
75
75
  "@opentelemetry/api": "^1.9.0",
76
76
  "@scayle/h3-session": "0.6.2",
77
- "@vercel/nft": "0.30.3",
77
+ "@vercel/nft": "1.0.0",
78
78
  "@vueuse/core": "13.9.0",
79
79
  "consola": "^3.2.3",
80
80
  "core-js": "^3.37.1",
@@ -90,8 +90,8 @@
90
90
  "utility-types": "^3.11.0",
91
91
  "vue-router": "^4.4.0",
92
92
  "zod": "^4.0.0",
93
- "@scayle/storefront-core": "8.53.0",
94
- "@scayle/unstorage-compression-driver": "1.2.3"
93
+ "@scayle/storefront-core": "8.53.2",
94
+ "@scayle/unstorage-compression-driver": "1.2.4"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@arethetypeswrong/cli": "0.18.2",
@@ -103,7 +103,7 @@
103
103
  "@nuxt/schema": "3.20.0",
104
104
  "@nuxt/test-utils": "3.20.1",
105
105
  "@types/node": "22.19.1",
106
- "@vitest/coverage-v8": "4.0.10",
106
+ "@vitest/coverage-v8": "4.0.13",
107
107
  "dprint": "0.50.2",
108
108
  "eslint-formatter-gitlab": "6.0.1",
109
109
  "eslint": "9.39.1",
@@ -116,13 +116,13 @@
116
116
  "publint": "0.3.15",
117
117
  "typescript": "5.9.3",
118
118
  "unbuild": "3.6.1",
119
- "vitest": "4.0.10",
120
- "vue-tsc": "3.1.4",
119
+ "vitest": "4.0.13",
120
+ "vue-tsc": "3.1.5",
121
121
  "happy-dom": "20.0.10",
122
+ "@scayle/eslint-config-storefront": "4.7.14",
122
123
  "@scayle/eslint-plugin-vue-composable": "0.2.2",
123
- "@scayle/eslint-config-storefront": "4.7.13",
124
124
  "@scayle/vitest-config-storefront": "1.0.0",
125
- "@scayle/unstorage-scayle-kv-driver": "2.0.8"
125
+ "@scayle/unstorage-scayle-kv-driver": "2.0.9"
126
126
  },
127
127
  "volta": {
128
128
  "node": "22.21.1"