@scayle/storefront-nuxt 7.85.8 → 7.85.10

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 (131) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/index.d.mts +5 -15
  3. package/dist/index.d.ts +5 -15
  4. package/dist/index.mjs +2 -16
  5. package/dist/module.d.mts +4 -4
  6. package/dist/module.d.ts +4 -4
  7. package/dist/module.json +5 -1
  8. package/dist/module.mjs +5 -25
  9. package/dist/rpc.d.mts +1 -16
  10. package/dist/rpc.d.ts +1 -16
  11. package/dist/rpc.mjs +1 -20
  12. package/dist/runtime/api/{purgeAll.mjs → purgeAll.js} +1 -1
  13. package/dist/runtime/api/{purgeTags.mjs → purgeTags.js} +1 -1
  14. package/dist/runtime/api/rpcHandler.d.ts +55 -1
  15. package/dist/runtime/api/{rpcHandler.mjs → rpcHandler.js} +3 -3
  16. package/dist/runtime/composables/core/useAvailableShops.d.ts +2 -2
  17. package/dist/runtime/composables/core/useCurrentShop.d.ts +1 -1
  18. package/dist/runtime/composables/core/{useFormatHelpers.mjs → useFormatHelpers.js} +1 -1
  19. package/dist/runtime/composables/core/useIDP.d.ts +1 -1
  20. package/dist/runtime/composables/core/{useIDP.mjs → useIDP.js} +3 -3
  21. package/dist/runtime/composables/core/{useRpc.mjs → useRpc.js} +3 -3
  22. package/dist/runtime/composables/core/{useRpcCall.mjs → useRpcCall.js} +2 -2
  23. package/dist/runtime/composables/core/{useSession.mjs → useSession.js} +1 -1
  24. package/dist/runtime/composables/core/useUser.d.ts +1 -1
  25. package/dist/runtime/composables/core/{useUser.mjs → useUser.js} +4 -4
  26. package/dist/runtime/composables/index.d.ts +36 -36
  27. package/dist/runtime/composables/index.js +36 -0
  28. package/dist/runtime/composables/storefront/useBasket.d.ts +1 -1
  29. package/dist/runtime/composables/storefront/{useBasket.mjs → useBasket.js} +3 -3
  30. package/dist/runtime/composables/storefront/useBrand.d.ts +1 -1
  31. package/dist/runtime/composables/storefront/{useBrand.mjs → useBrand.js} +1 -1
  32. package/dist/runtime/composables/storefront/useBrands.d.ts +1 -1
  33. package/dist/runtime/composables/storefront/{useBrands.mjs → useBrands.js} +1 -1
  34. package/dist/runtime/composables/storefront/useCategories.d.ts +1 -1
  35. package/dist/runtime/composables/storefront/{useCategories.mjs → useCategories.js} +3 -3
  36. package/dist/runtime/composables/storefront/useCategoryById.d.ts +1 -1
  37. package/dist/runtime/composables/storefront/{useCategoryById.mjs → useCategoryById.js} +1 -1
  38. package/dist/runtime/composables/storefront/useCategoryByPath.d.ts +1 -1
  39. package/dist/runtime/composables/storefront/{useCategoryByPath.mjs → useCategoryByPath.js} +1 -1
  40. package/dist/runtime/composables/storefront/useCurrentPromotions.d.ts +1 -1
  41. package/dist/runtime/composables/storefront/{useCurrentPromotions.mjs → useCurrentPromotions.js} +1 -1
  42. package/dist/runtime/composables/storefront/useFacet.d.ts +28 -24
  43. package/dist/runtime/composables/storefront/{useFacet.mjs → useFacet.js} +5 -5
  44. package/dist/runtime/composables/storefront/useFilters.d.ts +1 -1
  45. package/dist/runtime/composables/storefront/{useFilters.mjs → useFilters.js} +1 -1
  46. package/dist/runtime/composables/storefront/useNavigationTree.d.ts +1 -1
  47. package/dist/runtime/composables/storefront/{useNavigationTree.mjs → useNavigationTree.js} +1 -1
  48. package/dist/runtime/composables/storefront/useNavigationTrees.d.ts +1 -1
  49. package/dist/runtime/composables/storefront/{useNavigationTrees.mjs → useNavigationTrees.js} +1 -1
  50. package/dist/runtime/composables/storefront/useOrder.d.ts +1 -1
  51. package/dist/runtime/composables/storefront/{useOrder.mjs → useOrder.js} +1 -1
  52. package/dist/runtime/composables/storefront/useOrderConfirmation.d.ts +1 -1
  53. package/dist/runtime/composables/storefront/{useOrderConfirmation.mjs → useOrderConfirmation.js} +1 -1
  54. package/dist/runtime/composables/storefront/useProduct.d.ts +1 -1
  55. package/dist/runtime/composables/storefront/{useProduct.mjs → useProduct.js} +1 -1
  56. package/dist/runtime/composables/storefront/useProducts.d.ts +1 -1
  57. package/dist/runtime/composables/storefront/{useProducts.mjs → useProducts.js} +1 -1
  58. package/dist/runtime/composables/storefront/useProductsByIds.d.ts +1 -1
  59. package/dist/runtime/composables/storefront/{useProductsByIds.mjs → useProductsByIds.js} +1 -1
  60. package/dist/runtime/composables/storefront/useProductsByReferenceKeys.d.ts +1 -1
  61. package/dist/runtime/composables/storefront/{useProductsByReferenceKeys.mjs → useProductsByReferenceKeys.js} +1 -1
  62. package/dist/runtime/composables/storefront/useProductsCount.d.ts +1 -1
  63. package/dist/runtime/composables/storefront/{useProductsCount.mjs → useProductsCount.js} +1 -1
  64. package/dist/runtime/composables/storefront/usePromotions.d.ts +1 -1
  65. package/dist/runtime/composables/storefront/{usePromotions.mjs → usePromotions.js} +1 -1
  66. package/dist/runtime/composables/storefront/usePromotionsByIds.d.ts +1 -1
  67. package/dist/runtime/composables/storefront/{usePromotionsByIds.mjs → usePromotionsByIds.js} +1 -1
  68. package/dist/runtime/composables/storefront/{useQueryFilterState.mjs → useQueryFilterState.js} +1 -1
  69. package/dist/runtime/composables/storefront/useSearch.d.ts +3 -3
  70. package/dist/runtime/composables/storefront/{useSearch.mjs → useSearch.js} +1 -1
  71. package/dist/runtime/composables/storefront/useShopConfiguration.d.ts +1 -1
  72. package/dist/runtime/composables/storefront/{useShopConfiguration.mjs → useShopConfiguration.js} +1 -1
  73. package/dist/runtime/composables/storefront/useStorefrontSearch.d.ts +2 -2
  74. package/dist/runtime/composables/storefront/{useStorefrontSearch.mjs → useStorefrontSearch.js} +1 -1
  75. package/dist/runtime/composables/storefront/useUserAddresses.d.ts +1 -1
  76. package/dist/runtime/composables/storefront/{useUserAddresses.mjs → useUserAddresses.js} +1 -1
  77. package/dist/runtime/composables/storefront/useVariant.d.ts +1 -1
  78. package/dist/runtime/composables/storefront/{useVariant.mjs → useVariant.js} +1 -1
  79. package/dist/runtime/composables/storefront/useWishlist.d.ts +1 -1
  80. package/dist/runtime/composables/storefront/{useWishlist.mjs → useWishlist.js} +3 -3
  81. package/dist/runtime/composables/{useCoreLog.mjs → useCoreLog.js} +1 -1
  82. package/dist/runtime/context.d.ts +1 -1
  83. package/dist/runtime/{context.mjs → context.js} +2 -2
  84. package/dist/runtime/createLog.d.ts +2 -2
  85. package/dist/runtime/{createLog.mjs → createLog.js} +1 -1
  86. package/dist/runtime/error/handler.d.ts +1 -1
  87. package/dist/runtime/nitro/plugins/cacheRuntimeConfig.d.ts +1 -1
  88. package/dist/runtime/nitro/plugins/{cacheRuntimeConfig.mjs → cacheRuntimeConfig.js} +2 -1
  89. package/dist/runtime/nitro/plugins/configValidation.d.ts +8 -3
  90. package/dist/runtime/nitro/plugins/{configValidation.mjs → configValidation.js} +8 -6
  91. package/dist/runtime/nitro/plugins/nitroLogger.d.ts +1 -1
  92. package/dist/runtime/nitro/plugins/{nitroLogger.mjs → nitroLogger.js} +3 -2
  93. package/dist/runtime/nitro/plugins/nitroRuntimeStorageConfig.d.ts +1 -1
  94. package/dist/runtime/nitro/plugins/{nitroRuntimeStorageConfig.mjs → nitroRuntimeStorageConfig.js} +9 -7
  95. package/dist/runtime/nitro/plugins/nitroSetXPoweredByHeader.d.ts +1 -1
  96. package/dist/runtime/nitro/plugins/{nitroSetXPoweredByHeader.mjs → nitroSetXPoweredByHeader.js} +1 -1
  97. package/dist/runtime/plugin/{log.client.mjs → log.client.js} +1 -1
  98. package/dist/runtime/plugin/{shop.mjs → shop.js} +2 -2
  99. package/dist/runtime/rpc/rpcCall.d.ts +1 -1
  100. package/dist/runtime/server/middleware/{bootstrap.utils.d.ts → bootstrap-utils.d.ts} +7 -3
  101. package/dist/runtime/server/middleware/{bootstrap.utils.mjs → bootstrap-utils.js} +2 -2
  102. package/dist/runtime/server/middleware/bootstrap.d.ts +1 -1
  103. package/dist/runtime/server/middleware/{bootstrap.mjs → bootstrap.js} +5 -5
  104. package/dist/runtime/server/middleware/{redirects.mjs → redirects.js} +1 -1
  105. package/dist/runtime/server/tsconfig.json +1 -1
  106. package/dist/runtime/server/utils/cacheStorage.d.ts +1 -1
  107. package/dist/runtime/utils/zodSchema.d.ts +261 -153
  108. package/dist/runtime/utils/{zodSchema.mjs → zodSchema.js} +16 -7
  109. package/dist/shared/storefront-nuxt.80aa5060.d.mts +102 -0
  110. package/dist/shared/storefront-nuxt.80aa5060.d.ts +102 -0
  111. package/dist/types.d.mts +48 -0
  112. package/dist/types.d.ts +48 -0
  113. package/package.json +15 -13
  114. package/dist/runtime/composables/index.mjs +0 -36
  115. package/dist/shared/storefront-nuxt.891170da.d.mts +0 -1205
  116. package/dist/shared/storefront-nuxt.891170da.d.ts +0 -1205
  117. /package/dist/runtime/api/{cacheAuth.mjs → cacheAuth.js} +0 -0
  118. /package/dist/runtime/api/{up.mjs → up.js} +0 -0
  119. /package/dist/runtime/{campaignKey.mjs → campaignKey.js} +0 -0
  120. /package/dist/runtime/composables/core/{useAvailableShops.mjs → useAvailableShops.js} +0 -0
  121. /package/dist/runtime/composables/core/{useCurrentShop.mjs → useCurrentShop.js} +0 -0
  122. /package/dist/runtime/composables/core/{useLog.mjs → useLog.js} +0 -0
  123. /package/dist/runtime/error/{handler.mjs → handler.js} +0 -0
  124. /package/dist/runtime/{handler.mjs → handler.js} +0 -0
  125. /package/dist/runtime/{log.mjs → log.js} +0 -0
  126. /package/dist/runtime/plugin/{log.server.mjs → log.server.js} +0 -0
  127. /package/dist/runtime/rpc/{rpcCall.mjs → rpcCall.js} +0 -0
  128. /package/dist/runtime/server/middleware/{redirects.utils.mjs → redirects.utils.js} +0 -0
  129. /package/dist/runtime/server/utils/{cacheStorage.mjs → cacheStorage.js} +0 -0
  130. /package/dist/runtime/utils/{promise.mjs → promise.js} +0 -0
  131. /package/dist/runtime/utils/{route.mjs → route.js} +0 -0
@@ -1,5 +1,6 @@
1
- import { defineNitroPlugin, useRuntimeConfig } from "#imports";
2
- import { RuntimeConfigSchema } from "../../utils/zodSchema.mjs";
1
+ import { defineNitroPlugin } from "nitropack/runtime/plugin";
2
+ import { useRuntimeConfig } from "#imports";
3
+ import { RuntimeConfigSchema } from "../../utils/zodSchema.js";
3
4
  import { purifySensitiveValue } from "@scayle/storefront-core";
4
5
  export const sensitiveKeys = [
5
6
  "token",
@@ -9,9 +10,10 @@ export const sensitiveKeys = [
9
10
  "secret"
10
11
  ];
11
12
  export const getValue = (object, pathArray) => {
12
- return String(pathArray.reduce((acc, key) => {
13
- return acc ? acc[key] : void 0;
14
- }, object));
13
+ return JSON.stringify(pathArray.reduce(
14
+ (acc, key) => typeof acc === "object" ? acc[key] : void 0,
15
+ object
16
+ ));
15
17
  };
16
18
  export const formatZodError = (issues, runtimeConfig) => {
17
19
  const errorMessages = [];
@@ -22,7 +24,7 @@ export const formatZodError = (issues, runtimeConfig) => {
22
24
  });
23
25
  }
24
26
  const key = issue.path[issue.path.length - 1];
25
- let value;
27
+ let value = "";
26
28
  if (sensitiveKeys.includes(key)) {
27
29
  value = purifySensitiveValue(getValue(runtimeConfig, issue.path), true);
28
30
  } else if (issue.code !== "too_small") {
@@ -4,5 +4,5 @@ declare module 'h3' {
4
4
  $log: Log;
5
5
  }
6
6
  }
7
- declare const _default: any;
7
+ declare const _default: import("nitropack").NitroAppPlugin;
8
8
  export default _default;
@@ -1,6 +1,7 @@
1
1
  import { createConsola } from "consola";
2
- import createLog from "../../createLog.mjs";
3
- import { defineNitroPlugin, useRuntimeConfig } from "#imports";
2
+ import { defineNitroPlugin } from "nitropack/runtime/plugin";
3
+ import { useRuntimeConfig } from "#imports";
4
+ import createLog from "../../createLog.js";
4
5
  export default defineNitroPlugin((nitroApp) => {
5
6
  const config = useRuntimeConfig();
6
7
  const logConfig = config.public.storefront.log;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("nitropack").NitroAppPlugin;
2
2
  export default _default;
@@ -2,10 +2,12 @@ import { createConsola } from "consola";
2
2
  import {
3
3
  STORAGE_MOUNT_CACHE,
4
4
  STORAGE_MOUNT_SESSION
5
- } from "../../server/utils/cacheStorage.mjs";
6
- import createLog from "../../createLog.mjs";
5
+ } from "../../server/utils/cacheStorage.js";
6
+ import createLog from "../../createLog.js";
7
7
  import drivers from "#virtual/storage-drivers";
8
- import { defineNitroPlugin, useRuntimeConfig, useStorage } from "#imports";
8
+ import { defineNitroPlugin } from "nitropack/runtime/plugin";
9
+ import { useStorage } from "nitropack/runtime/storage";
10
+ import { useRuntimeConfig } from "#imports";
9
11
  function createMountDriver(options) {
10
12
  if (options?.driver) {
11
13
  const compression = options?.compression;
@@ -50,7 +52,7 @@ function getCacheConfig(config, log) {
50
52
  log.error(
51
53
  `Failed to initialize global cache storage configuration. Neither new 'storefront.storage.cache' option nor legacy 'storefront.cache.provider' is set.`
52
54
  );
53
- return {};
55
+ return void 0;
54
56
  }
55
57
  return transformLegacyConfig(
56
58
  config.storefront.cache?.provider,
@@ -67,7 +69,7 @@ function getSessionConfig(config, log) {
67
69
  log.error(
68
70
  `Failed to initialize global session storage configuration. Neither new 'storefront.storage.session' option nor legacy 'storefront.session.provider' is set.`
69
71
  );
70
- return {};
72
+ return void 0;
71
73
  }
72
74
  return transformLegacyConfig(
73
75
  config.storefront.session?.provider,
@@ -87,7 +89,7 @@ function getShopCacheConfig(config, shop, log) {
87
89
  log.error(
88
90
  `Failed to initialize shop ${shop.shopId} cache storage configuration. Neither new 'storefront.storage.session' option nor legacy 'storefront.session.provider' is set.`
89
91
  );
90
- return {};
92
+ return void 0;
91
93
  }
92
94
  return transformLegacyConfig(
93
95
  cacheProvider,
@@ -108,7 +110,7 @@ function getShopSessionConfig(config, shop, log) {
108
110
  log.error(
109
111
  `Failed to initialize shop ${shop.shopId} session storage configuration. Neither new 'storefront.storage.session' option nor legacy 'storefront.session.provider' is set.`
110
112
  );
111
- return {};
113
+ return void 0;
112
114
  }
113
115
  return transformLegacyConfig(
114
116
  sessionProvider,
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("nitropack").NitroAppPlugin;
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineNitroPlugin } from "#imports";
1
+ import { defineNitroPlugin } from "nitropack/runtime/plugin";
2
2
  export default defineNitroPlugin((nitroApp) => {
3
3
  nitroApp.hooks.hook("render:response", (response) => {
4
4
  if (response?.headers?.["x-powered-by"]) {
@@ -1,6 +1,6 @@
1
1
  import { defineNuxtPlugin, useRuntimeConfig } from "nuxt/app";
2
2
  import { createConsola } from "consola/browser";
3
- import createLog from "../createLog.mjs";
3
+ import createLog from "../createLog.js";
4
4
  export default defineNuxtPlugin((nuxtApp) => {
5
5
  const config = useRuntimeConfig().public;
6
6
  const log = createLog(
@@ -1,6 +1,6 @@
1
1
  import { defineNuxtPlugin } from "nuxt/app";
2
- import { useCurrentShop } from "../composables/core/useCurrentShop.mjs";
3
- import { useAvailableShops } from "../composables/core/useAvailableShops.mjs";
2
+ import { useCurrentShop } from "../composables/core/useCurrentShop.js";
3
+ import { useAvailableShops } from "../composables/core/useAvailableShops.js";
4
4
  export default defineNuxtPlugin((nuxtApp) => {
5
5
  const currentShop = useCurrentShop();
6
6
  const availableShops = useAvailableShops();
@@ -1,6 +1,6 @@
1
1
  import type { RpcContext, RpcMethodName, RpcMethodParameters, RpcMethodReturnType } from '@scayle/storefront-core';
2
2
  import type { NuxtApp } from 'nuxt/app';
3
- import type { PublicShopConfig } from '../../types/module';
3
+ import type { PublicShopConfig } from '../../types/module.js';
4
4
  /**
5
5
  * rpcCall can be used to invoke an RPC method either on the client or server
6
6
  * It makes an HTTP request on the client and direct call on the server using $fetch
@@ -1,6 +1,6 @@
1
1
  import { type H3Event } from 'h3';
2
- import type { ModuleBaseOptions, PublicShopConfig, ShopConfig, ShopConfigIndexed } from '../../../module';
3
- import type { NitroRuntimeConfig } from 'nitropack';
2
+ import type { ModuleBaseOptions, PublicShopConfig, ShopConfig, ShopConfigIndexed } from '../../../module.js';
3
+ import type { NitroRuntimeConfigApp } from 'nitropack';
4
4
  type BootstrapPath = {
5
5
  path: string;
6
6
  originalPath: string;
@@ -9,7 +9,11 @@ export declare function getBootstrapPath(event: H3Event): BootstrapPath;
9
9
  export declare const getShopByPath: (event: H3Event, shops: ShopConfig[], appBasePath: string) => ShopConfig | undefined;
10
10
  export declare const convertShopsToList: (shops: ShopConfig[] | ShopConfigIndexed) => ShopConfig[];
11
11
  export declare function getApiBasePath(storefrontConfig: ModuleBaseOptions, shop: ShopConfig, baseUrl: string): string;
12
- export declare function getCurrentShopConfigForRequest(event: H3Event, storefrontConfig: ModuleBaseOptions, runtimeConfig: NitroRuntimeConfig): ShopConfig | undefined;
12
+ export declare function getCurrentShopConfigForRequest(event: H3Event, storefrontConfig: Pick<Extract<ModuleBaseOptions, {
13
+ shops: ShopConfigIndexed;
14
+ }>, 'shops' | 'shopSelector'> | Pick<Extract<ModuleBaseOptions, {
15
+ stores: ShopConfigIndexed;
16
+ }>, 'stores' | 'shopSelector'>, runtimeConfig: NitroRuntimeConfigApp): ShopConfig | undefined;
13
17
  export declare function getPublicShopData(data: ShopConfig, currentShopId: number, apiBasePath: string, publicShopData?: (keyof ShopConfig)[]): PublicShopConfig & {
14
18
  isActive: boolean;
15
19
  };
@@ -59,12 +59,12 @@ export function getCurrentShopConfigForRequest(event, storefrontConfig, runtimeC
59
59
  } else if (shopSelector === "domain") {
60
60
  $shopConfig = getShopByDomain(event, shopsList);
61
61
  } else if (shopSelector === "path") {
62
- $shopConfig = getShopByPath(event, shopsList, runtimeConfig.app.baseURL);
62
+ $shopConfig = getShopByPath(event, shopsList, runtimeConfig.baseURL);
63
63
  } else if (shopSelector === "path_or_default") {
64
64
  $shopConfig = getShopByPathOrDefault(
65
65
  event,
66
66
  shopsList,
67
- runtimeConfig.app.baseURL
67
+ runtimeConfig.baseURL
68
68
  );
69
69
  }
70
70
  return $shopConfig;
@@ -1,5 +1,5 @@
1
1
  import type { RpcContext, Cache, ShopUser } from '@scayle/storefront-core';
2
- import type { PublicShopConfig } from '../../../module';
2
+ import type { PublicShopConfig } from '../../../module.js';
3
3
  declare module 'h3' {
4
4
  interface H3EventContext {
5
5
  $rpcContext: RpcContext;
@@ -5,16 +5,16 @@ import {
5
5
  useSession,
6
6
  unsignCookie
7
7
  } from "@scayle/h3-session";
8
- import { buildContext } from "../../context.mjs";
9
- import { useCacheStorage, useSessionStorage } from "../utils/cacheStorage.mjs";
8
+ import { buildContext } from "../../context.js";
9
+ import { useCacheStorage, useSessionStorage } from "../utils/cacheStorage.js";
10
10
  import {
11
11
  convertShopsToList,
12
12
  getCurrentShopConfigForRequest,
13
13
  getPublicShopData,
14
14
  getBootstrapPath,
15
15
  getApiBasePath
16
- } from "./bootstrap.utils.mjs";
17
- import { useRedirects } from "./redirects.mjs";
16
+ } from "./bootstrap-utils.js";
17
+ import { useRedirects } from "./redirects.js";
18
18
  import { useRuntimeConfig } from "#imports";
19
19
  const generateSessionId = (event) => {
20
20
  let userId;
@@ -152,7 +152,7 @@ export default defineEventHandler(async (event) => {
152
152
  const $shopConfig = getCurrentShopConfigForRequest(
153
153
  event,
154
154
  $storefrontConfig,
155
- config
155
+ config.app
156
156
  );
157
157
  if (!$shopConfig) {
158
158
  event.context.$log.debug(
@@ -1,6 +1,6 @@
1
1
  import { sendRedirect, getRequestURL } from "h3";
2
2
  import { UnstorageCache } from "@scayle/storefront-core/dist/cache/providers/unstorage";
3
- import { getRedirectLookupUrls, getTargetLocation } from "./redirects.utils.mjs";
3
+ import { getRedirectLookupUrls, getTargetLocation } from "./redirects.utils.js";
4
4
  import { useRuntimeConfig } from "#imports";
5
5
  const REDIS_REDIRECT_PREFIX = ":REDIRECT";
6
6
  const REDIRECT_NOT_SET = "REDIRECT_NOT_SET";
@@ -1,4 +1,4 @@
1
1
  {
2
- "extends": "../../../playground/.nuxt/tsconfig.server.json",
2
+ "extends": "../../../.nuxt/tsconfig.server.json",
3
3
  "exclude": ["../../../dist", "../../../test", "../../../playground"]
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import type { Log } from '@scayle/storefront-core';
2
2
  import { UnstorageCache } from '@scayle/storefront-core/dist/cache/providers/unstorage';
3
3
  import { type SessionStore } from '@scayle/h3-session';
4
- import type { SessionConfig } from '../../../types/module';
4
+ import type { SessionConfig } from '../../../types/module.js';
5
5
  export declare const STORAGE_MOUNT_BASE = "storefront";
6
6
  export declare const STORAGE_MOUNT_CACHE = "storefront-cache";
7
7
  export declare const STORAGE_MOUNT_SESSION = "storefront-session";