@scayle/storefront-nuxt 8.41.2 → 8.41.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 +27 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/rpcHandler.d.ts +5 -5
- package/dist/runtime/utils/zodSchema.d.ts +27 -9
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 8.41.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `@vercel/nft@0.30.0` to `@vercel/nft@0.30.1`
|
|
8
|
+
|
|
9
|
+
**Dependencies**
|
|
10
|
+
|
|
11
|
+
- Updated dependency to @scayle/unstorage-compression-driver@1.1.0
|
|
12
|
+
|
|
13
|
+
**@scayle/storefront-core v8.41.4**
|
|
14
|
+
|
|
15
|
+
- No changes in this release.
|
|
16
|
+
|
|
17
|
+
## 8.41.3
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
**Dependencies**
|
|
22
|
+
|
|
23
|
+
- Updated dependency to @scayle/unstorage-compression-driver@1.0.2
|
|
24
|
+
|
|
25
|
+
**@scayle/storefront-core v8.41.3**
|
|
26
|
+
|
|
27
|
+
- Patch
|
|
28
|
+
- Fixed the case where a `postLogin` function was inadvertently registered as an RPC method.
|
|
29
|
+
|
|
3
30
|
## 8.41.2
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
* @returns The result of the RPC call or a `Response` object with an error status.
|
|
12
12
|
*/
|
|
13
13
|
declare const _default: import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<string | boolean | void | string[] | import("@scayle/storefront-api").Campaign | import("@scayle/storefront-core").ShopUser | Record<string, string> | 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
|
+
success: boolean;
|
|
15
|
+
} | {
|
|
16
|
+
result: boolean;
|
|
17
|
+
} | {
|
|
14
18
|
basket: import("@scayle/storefront-api").BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>;
|
|
15
19
|
} | {
|
|
16
20
|
fromBasketKey: string;
|
|
@@ -40,11 +44,7 @@ declare const _default: import("h3").EventHandler<import("h3").EventHandlerReque
|
|
|
40
44
|
} | import("@scayle/storefront-api").Wishlist | import("@scayle/storefront-core").ShopUserAddress[] | {
|
|
41
45
|
accessToken: string | undefined;
|
|
42
46
|
checkoutJwt: string;
|
|
43
|
-
} | import("@scayle/storefront-api").VariantDetail[] | import("@scayle/storefront-api").NavigationAllEndpointResponseData | import("@scayle/storefront-api").NavigationTree | {
|
|
44
|
-
success: boolean;
|
|
45
|
-
} | {
|
|
46
|
-
result: boolean;
|
|
47
|
-
} | import("@scayle/storefront-api").PromotionsEndpointResponseData | {
|
|
47
|
+
} | import("@scayle/storefront-api").VariantDetail[] | import("@scayle/storefront-api").NavigationAllEndpointResponseData | import("@scayle/storefront-api").NavigationTree | import("@scayle/storefront-api").PromotionsEndpointResponseData | {
|
|
48
48
|
message: string;
|
|
49
49
|
} | null>>;
|
|
50
50
|
export default _default;
|
|
@@ -95,6 +95,8 @@ declare const StorageSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
|
95
95
|
vercelBlob: "vercelBlob";
|
|
96
96
|
"vercel-kv": "vercel-kv";
|
|
97
97
|
vercelKV: "vercelKV";
|
|
98
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
99
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
98
100
|
}>;
|
|
99
101
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
100
102
|
none: "none";
|
|
@@ -120,7 +122,7 @@ declare const StorageSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
|
120
122
|
}>>;
|
|
121
123
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
122
124
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
123
|
-
}, z.core.$strip>]>;
|
|
125
|
+
}, z.core.$strip>], "driver">;
|
|
124
126
|
declare const CheckoutShopConfigSchema: z.ZodMiniObject<{
|
|
125
127
|
token: z.ZodMiniString<string>;
|
|
126
128
|
secret: z.ZodMiniString<string>;
|
|
@@ -246,6 +248,8 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
|
|
|
246
248
|
vercelBlob: "vercelBlob";
|
|
247
249
|
"vercel-kv": "vercel-kv";
|
|
248
250
|
vercelKV: "vercelKV";
|
|
251
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
252
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
249
253
|
}>;
|
|
250
254
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
251
255
|
none: "none";
|
|
@@ -271,7 +275,7 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
|
|
|
271
275
|
}>>;
|
|
272
276
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
273
277
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
274
|
-
}, z.core.$strip>]>>;
|
|
278
|
+
}, z.core.$strip>], "driver">>;
|
|
275
279
|
cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
276
280
|
driver: z.ZodMiniEnum<{
|
|
277
281
|
null: "null";
|
|
@@ -323,6 +327,8 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
|
|
|
323
327
|
vercelBlob: "vercelBlob";
|
|
324
328
|
"vercel-kv": "vercel-kv";
|
|
325
329
|
vercelKV: "vercelKV";
|
|
330
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
331
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
326
332
|
}>;
|
|
327
333
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
328
334
|
none: "none";
|
|
@@ -348,7 +354,7 @@ declare const ShopConfigSchema: z.ZodMiniObject<{
|
|
|
348
354
|
}>>;
|
|
349
355
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
350
356
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
351
|
-
}, z.core.$strip>]>>;
|
|
357
|
+
}, z.core.$strip>], "driver">>;
|
|
352
358
|
}, z.core.$strip>>;
|
|
353
359
|
isDefault: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniString<string>]>>;
|
|
354
360
|
}, z.core.$strip>;
|
|
@@ -439,6 +445,8 @@ declare const StorefrontConfigSchema: z.ZodMiniObject<{
|
|
|
439
445
|
vercelBlob: "vercelBlob";
|
|
440
446
|
"vercel-kv": "vercel-kv";
|
|
441
447
|
vercelKV: "vercelKV";
|
|
448
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
449
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
442
450
|
}>;
|
|
443
451
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
444
452
|
none: "none";
|
|
@@ -464,7 +472,7 @@ declare const StorefrontConfigSchema: z.ZodMiniObject<{
|
|
|
464
472
|
}>>;
|
|
465
473
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
466
474
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
467
|
-
}, z.core.$strip>]>>;
|
|
475
|
+
}, z.core.$strip>], "driver">>;
|
|
468
476
|
cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
469
477
|
driver: z.ZodMiniEnum<{
|
|
470
478
|
null: "null";
|
|
@@ -516,6 +524,8 @@ declare const StorefrontConfigSchema: z.ZodMiniObject<{
|
|
|
516
524
|
vercelBlob: "vercelBlob";
|
|
517
525
|
"vercel-kv": "vercel-kv";
|
|
518
526
|
vercelKV: "vercelKV";
|
|
527
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
528
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
519
529
|
}>;
|
|
520
530
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
521
531
|
none: "none";
|
|
@@ -541,7 +551,7 @@ declare const StorefrontConfigSchema: z.ZodMiniObject<{
|
|
|
541
551
|
}>>;
|
|
542
552
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
543
553
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
544
|
-
}, z.core.$strip>]>>;
|
|
554
|
+
}, z.core.$strip>], "driver">>;
|
|
545
555
|
}, z.core.$strip>>;
|
|
546
556
|
oauth: z.ZodMiniObject<{
|
|
547
557
|
apiHost: z.ZodMiniURL;
|
|
@@ -730,6 +740,8 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
730
740
|
vercelBlob: "vercelBlob";
|
|
731
741
|
"vercel-kv": "vercel-kv";
|
|
732
742
|
vercelKV: "vercelKV";
|
|
743
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
744
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
733
745
|
}>;
|
|
734
746
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
735
747
|
none: "none";
|
|
@@ -755,7 +767,7 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
755
767
|
}>>;
|
|
756
768
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
757
769
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
758
|
-
}, z.core.$strip>]>>;
|
|
770
|
+
}, z.core.$strip>], "driver">>;
|
|
759
771
|
cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
760
772
|
driver: z.ZodMiniEnum<{
|
|
761
773
|
null: "null";
|
|
@@ -807,6 +819,8 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
807
819
|
vercelBlob: "vercelBlob";
|
|
808
820
|
"vercel-kv": "vercel-kv";
|
|
809
821
|
vercelKV: "vercelKV";
|
|
822
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
823
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
810
824
|
}>;
|
|
811
825
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
812
826
|
none: "none";
|
|
@@ -832,7 +846,7 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
832
846
|
}>>;
|
|
833
847
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
834
848
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
835
|
-
}, z.core.$strip>]>>;
|
|
849
|
+
}, z.core.$strip>], "driver">>;
|
|
836
850
|
}, z.core.$strip>>;
|
|
837
851
|
isDefault: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniString<string>]>>;
|
|
838
852
|
}, z.core.$strip>>;
|
|
@@ -917,6 +931,8 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
917
931
|
vercelBlob: "vercelBlob";
|
|
918
932
|
"vercel-kv": "vercel-kv";
|
|
919
933
|
vercelKV: "vercelKV";
|
|
934
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
935
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
920
936
|
}>;
|
|
921
937
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
922
938
|
none: "none";
|
|
@@ -942,7 +958,7 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
942
958
|
}>>;
|
|
943
959
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
944
960
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
945
|
-
}, z.core.$strip>]>>;
|
|
961
|
+
}, z.core.$strip>], "driver">>;
|
|
946
962
|
cache: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
947
963
|
driver: z.ZodMiniEnum<{
|
|
948
964
|
null: "null";
|
|
@@ -994,6 +1010,8 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
994
1010
|
vercelBlob: "vercelBlob";
|
|
995
1011
|
"vercel-kv": "vercel-kv";
|
|
996
1012
|
vercelKV: "vercelKV";
|
|
1013
|
+
"vercel-runtime-cache": "vercel-runtime-cache";
|
|
1014
|
+
vercelRuntimeCache: "vercelRuntimeCache";
|
|
997
1015
|
}>;
|
|
998
1016
|
compression: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
999
1017
|
none: "none";
|
|
@@ -1019,7 +1037,7 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
1019
1037
|
}>>;
|
|
1020
1038
|
ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1021
1039
|
disableClusterMode: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1022
|
-
}, z.core.$strip>]>>;
|
|
1040
|
+
}, z.core.$strip>], "driver">>;
|
|
1023
1041
|
}, z.core.$strip>>;
|
|
1024
1042
|
oauth: z.ZodMiniObject<{
|
|
1025
1043
|
apiHost: z.ZodMiniURL;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.41.
|
|
4
|
+
"version": "8.41.4",
|
|
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.1",
|
|
77
|
-
"@vercel/nft": "0.30.
|
|
77
|
+
"@vercel/nft": "0.30.1",
|
|
78
78
|
"@vueuse/core": "13.7.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.41.
|
|
94
|
-
"@scayle/unstorage-compression-driver": "1.0
|
|
93
|
+
"@scayle/storefront-core": "8.41.4",
|
|
94
|
+
"@scayle/unstorage-compression-driver": "1.1.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@arethetypeswrong/cli": "0.18.2",
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
"@nuxt/module-builder": "1.0.2",
|
|
103
103
|
"@nuxt/schema": "3.17.7",
|
|
104
104
|
"@nuxt/test-utils": "3.19.2",
|
|
105
|
-
"@types/node": "22.
|
|
105
|
+
"@types/node": "22.18.0",
|
|
106
106
|
"@vitest/coverage-v8": "3.2.4",
|
|
107
107
|
"dprint": "0.50.1",
|
|
108
108
|
"eslint-formatter-gitlab": "6.0.1",
|
|
109
|
-
"eslint": "9.
|
|
109
|
+
"eslint": "9.34.0",
|
|
110
110
|
"fishery": "2.3.1",
|
|
111
111
|
"h3": "1.15.4",
|
|
112
112
|
"nitro-test-utils": "0.9.2",
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"unbuild": "3.6.1",
|
|
119
119
|
"vitest": "3.2.4",
|
|
120
120
|
"vue-tsc": "3.0.6",
|
|
121
|
-
"@scayle/eslint-config-storefront": "4.7.
|
|
121
|
+
"@scayle/eslint-config-storefront": "4.7.6",
|
|
122
122
|
"@scayle/eslint-plugin-vue-composable": "0.2.1",
|
|
123
123
|
"@scayle/vitest-config-storefront": "1.0.0",
|
|
124
|
-
"@scayle/unstorage-scayle-kv-driver": "1.0
|
|
124
|
+
"@scayle/unstorage-scayle-kv-driver": "1.1.0"
|
|
125
125
|
},
|
|
126
126
|
"volta": {
|
|
127
127
|
"node": "22.18.0"
|