@scayle/storefront-nuxt 8.25.2 → 8.25.4

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,28 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.25.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependency `@vercel/nft@0.29.2` to `@vercel/nft@0.29.3`
8
+
9
+ **Dependencies**
10
+
11
+ **@scayle/storefront-core v8.25.4**
12
+
13
+ - No changes in this release.
14
+
15
+ ## 8.25.3
16
+
17
+ ### Patch Changes
18
+
19
+ **Dependencies**
20
+
21
+ **@scayle/storefront-core v8.25.3**
22
+
23
+ - Patch
24
+ - Expose `MemberRole`, `FilterValuesEndpointParameters` and `GetRedirectsEndpointParameters` type
25
+
3
26
  ## 8.25.2
4
27
 
5
28
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.25.2",
3
+ "version": "8.25.4",
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.25.2";
57
+ const PACKAGE_VERSION = "8.25.4";
58
58
  const logger = createConsola({
59
59
  fancy: true,
60
60
  formatOptions: {
@@ -1,21 +1,102 @@
1
+ import * as fishery from 'fishery';
1
2
  import { Factory } from 'fishery';
2
3
  import { ModuleBaseOptions, ShopConfig } from '../../dist/runtime/types/module.js';
3
- import { RpcContext } from '@scayle/storefront-core';
4
+ import * as hookable from 'hookable';
5
+ import * as _scayle_storefront_core from '@scayle/storefront-core';
6
+ import { RpcContext, StorefrontAPIClient, Log, RuntimeConfiguration, ContextWithoutSession, ContextWithSession } from '@scayle/storefront-core';
4
7
  import { RouteLocationNormalizedLoadedGeneric } from 'vue-router';
5
8
  export * from '@scayle/storefront-core/dist/test/factories';
6
9
 
7
10
  interface ModuleOptionsFactoryParams {
8
11
  shops: ShopConfig[];
9
12
  }
10
- declare const moduleOptionsFactory: Factory<ModuleBaseOptions, ModuleOptionsFactoryParams, ModuleBaseOptions>;
13
+ declare const moduleOptionsFactory: Factory<ModuleBaseOptions, ModuleOptionsFactoryParams, ModuleBaseOptions, fishery.DeepPartialObject<ModuleBaseOptions>>;
11
14
 
12
- declare const shopConfigFactory: Factory<ShopConfig, any, ShopConfig>;
15
+ declare const shopConfigFactory: Factory<ShopConfig, any, ShopConfig, fishery.DeepPartialObject<ShopConfig>>;
13
16
 
14
17
  interface RpcContextFactoryParams {
15
18
  isLoggedIn: boolean;
16
19
  }
17
- declare const rpcContextFactory: Factory<RpcContext, RpcContextFactoryParams, RpcContext>;
20
+ declare const rpcContextFactory: Factory<RpcContext, RpcContextFactoryParams, RpcContext, fishery.DeepPartialObject<{
21
+ locale: string;
22
+ checkout: {
23
+ url: string;
24
+ token: string;
25
+ secret: string;
26
+ user: string;
27
+ accessHeader?: string;
28
+ cbdExpiration?: number;
29
+ };
30
+ sapiClient: StorefrontAPIClient;
31
+ cached: _scayle_storefront_core.CachedType;
32
+ shopId: number;
33
+ domain?: string;
34
+ withParams?: _scayle_storefront_core.WithParams;
35
+ campaignKey?: string;
36
+ destroySessionsForUserId: (userId: number, sessionsToKeep?: string[]) => Promise<void>;
37
+ generateBasketKeyForUserId: (userId: string) => Promise<string>;
38
+ generateWishlistKeyForUserId: (userId: string) => Promise<string>;
39
+ routerBasePath?: string;
40
+ ip?: string | undefined;
41
+ originalIp?: string;
42
+ log: Log;
43
+ auth: {
44
+ resetPasswordUrl?: string;
45
+ };
46
+ oauth?: {
47
+ clientId: string;
48
+ apiHost: string;
49
+ clientSecret: string;
50
+ };
51
+ runtimeConfiguration: RuntimeConfiguration;
52
+ idp?: _scayle_storefront_core.IDPConfig;
53
+ headers: Headers;
54
+ internalAccessHeader?: string;
55
+ callHook?: hookable.Hookable<_scayle_storefront_core.StorefrontHooks>["callHook"];
56
+ callHookParallel?: hookable.Hookable<_scayle_storefront_core.StorefrontHooks>["callHookParallel"];
57
+ callHookWith?: hookable.Hookable<_scayle_storefront_core.StorefrontHooks>["callHookWith"];
58
+ callRpc?: _scayle_storefront_core.RpcMethodCall;
59
+ } & _scayle_storefront_core.AdditionalRpcContext & ContextWithoutSession> | fishery.DeepPartialObject<{
60
+ locale: string;
61
+ checkout: {
62
+ url: string;
63
+ token: string;
64
+ secret: string;
65
+ user: string;
66
+ accessHeader?: string;
67
+ cbdExpiration?: number;
68
+ };
69
+ sapiClient: StorefrontAPIClient;
70
+ cached: _scayle_storefront_core.CachedType;
71
+ shopId: number;
72
+ domain?: string;
73
+ withParams?: _scayle_storefront_core.WithParams;
74
+ campaignKey?: string;
75
+ destroySessionsForUserId: (userId: number, sessionsToKeep?: string[]) => Promise<void>;
76
+ generateBasketKeyForUserId: (userId: string) => Promise<string>;
77
+ generateWishlistKeyForUserId: (userId: string) => Promise<string>;
78
+ routerBasePath?: string;
79
+ ip?: string | undefined;
80
+ originalIp?: string;
81
+ log: Log;
82
+ auth: {
83
+ resetPasswordUrl?: string;
84
+ };
85
+ oauth?: {
86
+ clientId: string;
87
+ apiHost: string;
88
+ clientSecret: string;
89
+ };
90
+ runtimeConfiguration: RuntimeConfiguration;
91
+ idp?: _scayle_storefront_core.IDPConfig;
92
+ headers: Headers;
93
+ internalAccessHeader?: string;
94
+ callHook?: hookable.Hookable<_scayle_storefront_core.StorefrontHooks>["callHook"];
95
+ callHookParallel?: hookable.Hookable<_scayle_storefront_core.StorefrontHooks>["callHookParallel"];
96
+ callHookWith?: hookable.Hookable<_scayle_storefront_core.StorefrontHooks>["callHookWith"];
97
+ callRpc?: _scayle_storefront_core.RpcMethodCall;
98
+ } & _scayle_storefront_core.AdditionalRpcContext & ContextWithSession>>;
18
99
 
19
- declare const routeFactory: Factory<RouteLocationNormalizedLoadedGeneric, any, RouteLocationNormalizedLoadedGeneric>;
100
+ declare const routeFactory: Factory<RouteLocationNormalizedLoadedGeneric, any, RouteLocationNormalizedLoadedGeneric, fishery.DeepPartialObject<RouteLocationNormalizedLoadedGeneric>>;
20
101
 
21
102
  export { moduleOptionsFactory, routeFactory, rpcContextFactory, shopConfigFactory };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "8.25.2",
4
+ "version": "8.25.4",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -81,9 +81,9 @@
81
81
  "dependencies": {
82
82
  "@opentelemetry/api": "^1.9.0",
83
83
  "@scayle/h3-session": "0.6.1",
84
- "@scayle/storefront-core": "8.25.2",
84
+ "@scayle/storefront-core": "8.25.4",
85
85
  "@scayle/unstorage-compression-driver": "^0.2.7",
86
- "@vercel/nft": "0.29.2",
86
+ "@vercel/nft": "0.29.3",
87
87
  "@vueuse/core": "13.1.0",
88
88
  "consola": "^3.2.3",
89
89
  "core-js": "^3.37.1",
@@ -100,31 +100,31 @@
100
100
  "schema-dts": "1.1.5"
101
101
  },
102
102
  "devDependencies": {
103
- "@arethetypeswrong/cli": "0.17.4",
103
+ "@arethetypeswrong/cli": "0.18.1",
104
104
  "@eslint/eslintrc": "3.3.1",
105
- "@nuxt/eslint": "1.3.0",
105
+ "@nuxt/eslint": "1.3.1",
106
106
  "@nuxt/kit": "3.16.2",
107
107
  "@nuxt/module-builder": "1.0.1",
108
108
  "@nuxt/schema": "3.16.2",
109
- "@nuxt/test-utils": "3.17.2",
110
- "@scayle/eslint-config-storefront": "4.5.0",
109
+ "@nuxt/test-utils": "3.18.0",
110
+ "@scayle/eslint-config-storefront": "4.5.2",
111
111
  "@scayle/eslint-plugin-vue-composable": "0.2.1",
112
112
  "@scayle/unstorage-scayle-kv-driver": "0.1.2",
113
- "@types/node": "22.15.3",
113
+ "@types/node": "22.15.17",
114
114
  "dprint": "0.49.1",
115
115
  "eslint-formatter-gitlab": "6.0.0",
116
- "eslint": "9.25.1",
117
- "fishery": "2.2.3",
116
+ "eslint": "9.26.0",
117
+ "fishery": "2.3.1",
118
118
  "h3": "1.15.3",
119
- "nitropack": "2.11.11",
119
+ "nitropack": "2.11.12",
120
120
  "nitro-test-utils": "0.9.2",
121
- "node-mocks-http": "1.17.0",
122
- "nuxi": "3.25.0",
121
+ "node-mocks-http": "1.17.2",
122
+ "nuxi": "3.25.1",
123
123
  "nuxt": "3.16.2",
124
124
  "publint": "0.2.12",
125
125
  "typescript": "5.8.3",
126
126
  "unbuild": "3.5.0",
127
- "vitest": "3.1.2",
127
+ "vitest": "3.1.3",
128
128
  "vue-tsc": "2.2.10"
129
129
  },
130
130
  "peerDependencies": {