@scayle/storefront-nuxt 8.45.0 → 8.45.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.
- package/CHANGELOG.md +18 -2
- package/README.md +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/campaignKey.d.ts +1 -1
- package/dist/runtime/composables/core/useIDP.d.ts +1 -1
- package/dist/runtime/composables/core/useRpc.d.ts +1 -1
- package/dist/runtime/composables/core/useSession.d.ts +2 -2
- package/dist/runtime/composables/storefront/useCurrentPromotions.d.ts +1 -1
- package/dist/runtime/composables/storefront/useWishlist.d.ts +1 -1
- package/dist/runtime/context.d.ts +1 -1
- package/dist/runtime/server/middleware/redirects.d.ts +2 -2
- package/dist/runtime/types/module.d.ts +11 -11
- package/dist/runtime/utils/zodSchema.d.ts +7 -7
- package/dist/runtime/utils/zodSchema.js +3 -3
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 8.45.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `@vercel/nft@0.30.2` to `@vercel/nft@0.30.3`
|
|
8
|
+
- Updated SCAYLE Resource Center references
|
|
9
|
+
|
|
10
|
+
**Dependencies**
|
|
11
|
+
|
|
12
|
+
- Updated dependency to @scayle/unstorage-compression-driver@1.2.1
|
|
13
|
+
|
|
14
|
+
**@scayle/storefront-core v8.45.1**
|
|
15
|
+
|
|
16
|
+
- Patch
|
|
17
|
+
- Updated SCAYLE Resource Center references
|
|
18
|
+
|
|
3
19
|
## 8.45.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -2031,7 +2047,7 @@
|
|
|
2031
2047
|
Legacy configuration options `provider` and `redis` configuration are no longer supported and have been deprecated since Storefront Boilerplate v1.0.0-rc.05.
|
|
2032
2048
|
|
|
2033
2049
|
You'll need to migrate your existing storage settings to the new `storefront.storage` format.
|
|
2034
|
-
Check the [SCAYLE Resource Center](https://scayle.dev/en/storefront-guide/
|
|
2050
|
+
Check the [SCAYLE Resource Center](https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/storage) for more details.
|
|
2035
2051
|
|
|
2036
2052
|
- _No Longer Supported: Legacy Storage Setup in (`nuxt.config.ts`):_
|
|
2037
2053
|
|
|
@@ -2235,7 +2251,7 @@
|
|
|
2235
2251
|
|
|
2236
2252
|
- **\[💥 BREAKING\]** The `store` option in the module configuration has been removed. `@scayle/storefront-nuxt@7.84.0` introduced the `shops` option as a replacement, but maintained backward compatibility with the `store` option. Going forward, configuring shops must be done using the `shops` keyword.
|
|
2237
2253
|
|
|
2238
|
-
- For more information, please refer to the [documentation](https://scayle.dev/en/storefront-guide/
|
|
2254
|
+
- For more information, please refer to the [documentation](https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#shops).
|
|
2239
2255
|
- **NOTE:** These changes might impact your environment variables used for deployments. Please check your infrastructure and deployment setup and adapt accordingly!
|
|
2240
2256
|
- _Previous Store Configuration in `nuxt.config.ts`:_
|
|
2241
2257
|
|
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ npm install --save-dev @scayle/storefront-nuxt
|
|
|
36
36
|
|
|
37
37
|
## Getting Started
|
|
38
38
|
|
|
39
|
-
Visit the [Quickstart Guide](https://scayle.dev/en/
|
|
39
|
+
Visit the [Quickstart Guide](https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/readme/setup-your-storefront) to get started with Storefront Nuxt.
|
|
40
40
|
|
|
41
41
|
Visit the [Docs](https://scayle.dev) to learn more about our system requirements.
|
|
42
42
|
|
|
@@ -45,7 +45,7 @@ Visit the [Docs](https://scayle.dev) to learn more about our system requirements
|
|
|
45
45
|
[SCAYLE](https://scayle.com) is a full-featured e-commerce software solution that comes with flexible APIs.
|
|
46
46
|
Within SCAYLE, you can manage all aspects of your shop, such as products, stocks, customers, and transactions.
|
|
47
47
|
|
|
48
|
-
Learn more about [SCAYLE’s architecture](https://scayle.dev/en/
|
|
48
|
+
Learn more about [SCAYLE’s architecture](https://scayle.dev/en/core-documentation/welcome-to-scayle/getting-started) and commerce modules in the docs.
|
|
49
49
|
|
|
50
50
|
## Other channels
|
|
51
51
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import type { StorefrontAPIClient, CachedType, Log } from '@scayle/storefront-co
|
|
|
6
6
|
* sorts them, and returns the key of the first active one.
|
|
7
7
|
* The retrieved campaigns are cached for a specified duration.
|
|
8
8
|
*
|
|
9
|
-
* @see https://scayle.dev/en/
|
|
9
|
+
* @see https://scayle.dev/en/core-documentation/checkout-guide/features/promotions/discounts-and-offers/price-campaigns
|
|
10
10
|
* @see https://scayle.dev/en/api-guides/storefront-api/resources/campaigns/list-campaigns
|
|
11
11
|
*
|
|
12
12
|
* @param sapiClient The Storefront API client.
|
|
@@ -10,7 +10,7 @@ type UseIDPBaseReturn = Pick<Awaited<UseRpcReturn<'getExternalIdpRedirect'>>, 'd
|
|
|
10
10
|
*
|
|
11
11
|
* This composables uses the `useRpc` composable to call the `getExternalIdpRedirect` RPC method.
|
|
12
12
|
*
|
|
13
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
13
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/sessions#idp-redirect-url
|
|
14
14
|
*
|
|
15
15
|
* @param params The parameters for the `getExternalIdpRedirect` RPC call.
|
|
16
16
|
* @param key A unique key for the RPC call. Used for caching and invalidation. Defaults to 'useIDP'.
|
|
@@ -62,7 +62,7 @@ export type ExtendedAsyncData<ResT, ErrorT = unknown, DataT = ResT, PickKeys ext
|
|
|
62
62
|
* disabled globally via the `disableDefaultGetCachedDataOverride` option in the public runtime config, or individually per call using the `options` parameter.
|
|
63
63
|
*
|
|
64
64
|
* @see https://nuxt.com/docs/api/composables/use-async-data#params
|
|
65
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
65
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/rpc-methods#userpc
|
|
66
66
|
*
|
|
67
67
|
* @param method The name of the RPC method to call (e.g., 'useBrand).
|
|
68
68
|
* @param key A unique key for caching, persisting the data between server and client,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* This composable leverages `useRpcCall` to interact with corresponding RPC methods.
|
|
5
5
|
*
|
|
6
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
7
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
6
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/sessions
|
|
7
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/login-and-registration
|
|
8
8
|
*
|
|
9
9
|
* @returns An object containing functions for various session management operations.
|
|
10
10
|
*/
|
|
@@ -11,7 +11,7 @@ import type { MaybeRefOrGetter } from 'vue';
|
|
|
11
11
|
* or from async data otherwise.
|
|
12
12
|
*
|
|
13
13
|
* @see https://scayle.dev/en/api-guides/storefront-api/resources/promotions/list-promotions
|
|
14
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
14
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/data-and-state#shared-state-and-caching
|
|
15
15
|
*
|
|
16
16
|
* @template DataT The type of the normalized RPC response data. Defaults to `NormalizedRpcResponse<'getCurrentPromotions'>`.
|
|
17
17
|
* @template PickKeys The keys to pick from the data. Defaults to all keys of `DataT`.
|
|
@@ -57,7 +57,7 @@ type UseWishlistBaseReturn = Awaited<UseRpcReturn<'getWishlist'>> & {
|
|
|
57
57
|
* requiring a type assertion to `WishlistResponseData`.
|
|
58
58
|
*
|
|
59
59
|
* @see https://scayle.dev/en/api-guides/storefront-api/resources/wishlists/get-a-wishlist
|
|
60
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
60
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/data-and-state#shared-state-and-caching
|
|
61
61
|
*
|
|
62
62
|
* @param params An object containing parameters and options for all wishlist-related RPC calls.
|
|
63
63
|
* @param params.params The parameters for the `useWishlist` RPC method.
|
|
@@ -27,7 +27,7 @@ export interface ContextBuilderOptions {
|
|
|
27
27
|
* It also sets up getters for IP, headers, user, access tokens,
|
|
28
28
|
* and functions for session management and user updates.
|
|
29
29
|
*
|
|
30
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
30
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/rpc-methods#rpc-context
|
|
31
31
|
*
|
|
32
32
|
* @param context The context builder options.
|
|
33
33
|
* @param context.$cache The cache instance.
|
|
@@ -7,8 +7,8 @@ import type { H3Event } from 'h3';
|
|
|
7
7
|
* It utilizes a cache to store redirect results and falls back to the
|
|
8
8
|
* Storefront API if no cached redirect is available.
|
|
9
9
|
*
|
|
10
|
-
* @see https://scayle.dev/en/
|
|
11
|
-
* @see https://scayle.dev/en/
|
|
10
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/redirects#overview
|
|
11
|
+
* @see https://scayle.dev/en/core-documentation/the-basics/shops/redirects
|
|
12
12
|
*
|
|
13
13
|
* @param event The H3 event object.
|
|
14
14
|
*/
|
|
@@ -7,13 +7,13 @@ export type { LogLevel } from '@scayle/storefront-core';
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents shop-specific configuration relating to the SCAYLE Checkout.
|
|
9
9
|
*
|
|
10
|
-
* @see https://scayle.dev/en/checkout-guide/authentication-accounts/
|
|
10
|
+
* @see https://scayle.dev/en/core-documentation/checkout-guide/authentication-accounts/authetication/headless/authenticate#creating-api-clients
|
|
11
11
|
*/
|
|
12
12
|
export type CheckoutShopConfig = CheckoutShopConfigType;
|
|
13
13
|
/**
|
|
14
14
|
* Representation of options to configure how the storefront core manages sessions
|
|
15
15
|
*
|
|
16
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
16
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/sessions#session-configuration
|
|
17
17
|
*/
|
|
18
18
|
export type SessionConfig = SessionType;
|
|
19
19
|
/**
|
|
@@ -30,7 +30,7 @@ type CustomDriverName = string & {
|
|
|
30
30
|
* @template Driver The storage driver.
|
|
31
31
|
* @template DriverOptions The driver options.
|
|
32
32
|
*
|
|
33
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
33
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/storage#configuration-of-storage-mounts
|
|
34
34
|
*/
|
|
35
35
|
export type StorageEntity<Driver extends SupportedDriverName | CustomDriverName | unknown = unknown, DriverOptions = Driver extends keyof BuiltinDriverOptions ? BuiltinDriverOptions[Driver] : unknown> = {
|
|
36
36
|
driver: Driver;
|
|
@@ -41,7 +41,7 @@ export type StorageEntity<Driver extends SupportedDriverName | CustomDriverName
|
|
|
41
41
|
* Storefront Core utilizes pre-configured and reusable mount points built on top of Unstorage
|
|
42
42
|
* and the Nitro Storage Layer, providing various caching capabilities.
|
|
43
43
|
*
|
|
44
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
44
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/storage
|
|
45
45
|
*/
|
|
46
46
|
export interface StorageConfig {
|
|
47
47
|
/**
|
|
@@ -50,7 +50,7 @@ export interface StorageConfig {
|
|
|
50
50
|
* Should no dedicated `StorageType` / `StorageEntity` be configured,
|
|
51
51
|
* Storefront Core will use an In-Memory driver as default for this storage mountpoints.
|
|
52
52
|
*
|
|
53
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
53
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/storage#configuration-of-storage-mounts
|
|
54
54
|
*/
|
|
55
55
|
cache?: StorageType;
|
|
56
56
|
/**
|
|
@@ -59,7 +59,7 @@ export interface StorageConfig {
|
|
|
59
59
|
* Should no dedicated `StorageType` / `StorageEntity` be configured,
|
|
60
60
|
* Storefront Core will use an In-Memory driver as default for this storage mountpoints.
|
|
61
61
|
*
|
|
62
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
62
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/storage#configuration-of-storage-mounts
|
|
63
63
|
*/
|
|
64
64
|
session?: StorageType;
|
|
65
65
|
}
|
|
@@ -67,14 +67,14 @@ export interface StorageConfig {
|
|
|
67
67
|
* Represents the Storefront API configuration used authenticate with it.
|
|
68
68
|
*
|
|
69
69
|
* @see https://scayle.dev/en/api-guides/storefront-api/getting-started/authentication
|
|
70
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
70
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#storefront-api
|
|
71
71
|
*/
|
|
72
72
|
export type SapiConfig = SapiConfigType;
|
|
73
73
|
/**
|
|
74
74
|
* Representation of Application-specific keys,
|
|
75
75
|
* defining how keys are generated for baskets and wishlists.
|
|
76
76
|
*
|
|
77
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
77
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/sessions#app-keys-for-baskets-and-wishlists
|
|
78
78
|
*/
|
|
79
79
|
export interface AppKeys {
|
|
80
80
|
/** The wishlist key used as prefix to generate user-specific wishlist identifier. */
|
|
@@ -89,7 +89,7 @@ export interface AppKeys {
|
|
|
89
89
|
* Extending this interface allows to add custom metadata to each shop's settings
|
|
90
90
|
* in a Storefront application.
|
|
91
91
|
*
|
|
92
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
92
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#additional-shop-data
|
|
93
93
|
*/
|
|
94
94
|
export interface AdditionalShopConfig {
|
|
95
95
|
}
|
|
@@ -125,7 +125,7 @@ export type ModuleOptions = ModuleOptionType;
|
|
|
125
125
|
/**
|
|
126
126
|
* Checkout event used for tracking with Google Tag Manager.
|
|
127
127
|
*
|
|
128
|
-
* @see https://scayle.dev/en/checkout-guide/
|
|
128
|
+
* @see https://scayle.dev/en/core-documentation/storefront/checkout-guide/implementation/webcomponent#tracking
|
|
129
129
|
*/
|
|
130
130
|
export interface CheckoutEvent {
|
|
131
131
|
/** Action. */
|
|
@@ -146,7 +146,7 @@ export interface CheckoutEvent {
|
|
|
146
146
|
* This field is optional and is only used when tracking specific actions
|
|
147
147
|
* like `add_to_cart` or `remove_from_cart`.
|
|
148
148
|
*
|
|
149
|
-
* @see https://scayle.dev/en/checkout-guide/
|
|
149
|
+
* @see https://scayle.dev/en/core-documentation/storefront/checkout-guide/tracking
|
|
150
150
|
*/
|
|
151
151
|
event?: {
|
|
152
152
|
/** Event name. */
|
|
@@ -371,7 +371,7 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
371
371
|
* Determines how the application identifies and switches between different shops.
|
|
372
372
|
* It influences how the `domain` and `path` properties are used within the `shops` configuration.
|
|
373
373
|
*
|
|
374
|
-
* @see https://scayle.dev/en/
|
|
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
377
|
domain: "domain";
|
|
@@ -386,7 +386,7 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
386
386
|
* is returned with the target in the `Location` header and the appropriate
|
|
387
387
|
* status code.
|
|
388
388
|
*
|
|
389
|
-
* @see https://scayle.dev/en/
|
|
389
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/redirects
|
|
390
390
|
*/
|
|
391
391
|
redirects: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
392
392
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -400,7 +400,7 @@ declare const StorefrontRuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
400
400
|
* Configures the available shops in the Storefront Application. Each shop represents a specific region or language,
|
|
401
401
|
* with each shop identified by its unique shop ID from the SCAYLE tenant.
|
|
402
402
|
*
|
|
403
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
403
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#shops
|
|
404
404
|
*/
|
|
405
405
|
shops: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
406
406
|
idp: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -886,7 +886,7 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
886
886
|
* Determines how the application identifies and switches between different shops.
|
|
887
887
|
* It influences how the `domain` and `path` properties are used within the `shops` configuration.
|
|
888
888
|
*
|
|
889
|
-
* @see https://scayle.dev/en/
|
|
889
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/internationalization/configuration#routing-configuration
|
|
890
890
|
*/
|
|
891
891
|
shopSelector: z.ZodMiniEnum<{
|
|
892
892
|
domain: "domain";
|
|
@@ -901,7 +901,7 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
901
901
|
* is returned with the target in the `Location` header and the appropriate
|
|
902
902
|
* status code.
|
|
903
903
|
*
|
|
904
|
-
* @see https://scayle.dev/en/
|
|
904
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/redirects
|
|
905
905
|
*/
|
|
906
906
|
redirects: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
907
907
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -915,7 +915,7 @@ export declare const RuntimeConfigSchema: z.ZodMiniObject<{
|
|
|
915
915
|
* Configures the available shops in the Storefront Application. Each shop represents a specific region or language,
|
|
916
916
|
* with each shop identified by its unique shop ID from the SCAYLE tenant.
|
|
917
917
|
*
|
|
918
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
918
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#shops
|
|
919
919
|
*/
|
|
920
920
|
shops: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
921
921
|
idp: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -1508,7 +1508,7 @@ type StorefrontRuntimeConfigType = z.infer<typeof StorefrontRuntimeConfigSchema>
|
|
|
1508
1508
|
* },
|
|
1509
1509
|
* },
|
|
1510
1510
|
* }
|
|
1511
|
-
* @see https://scayle.dev/en/storefront-guide/support-and-resources/upgrade-guides/
|
|
1511
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/support-and-resources/upgrade-guides/migrate-to-storefront-v8
|
|
1512
1512
|
*/
|
|
1513
1513
|
withParams?: WithParams;
|
|
1514
1514
|
};
|
|
@@ -129,7 +129,7 @@ const StorefrontRuntimeConfigSchema = z.object({
|
|
|
129
129
|
* Determines how the application identifies and switches between different shops.
|
|
130
130
|
* It influences how the `domain` and `path` properties are used within the `shops` configuration.
|
|
131
131
|
*
|
|
132
|
-
* @see https://scayle.dev/en/
|
|
132
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/internationalization/configuration#routing-configuration
|
|
133
133
|
*/
|
|
134
134
|
shopSelector: ShopSelectorSchema,
|
|
135
135
|
/**
|
|
@@ -140,14 +140,14 @@ const StorefrontRuntimeConfigSchema = z.object({
|
|
|
140
140
|
* is returned with the target in the `Location` header and the appropriate
|
|
141
141
|
* status code.
|
|
142
142
|
*
|
|
143
|
-
* @see https://scayle.dev/en/
|
|
143
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/features/redirects
|
|
144
144
|
*/
|
|
145
145
|
redirects: z.optional(RedirectsSchema),
|
|
146
146
|
/**
|
|
147
147
|
* Configures the available shops in the Storefront Application. Each shop represents a specific region or language,
|
|
148
148
|
* with each shop identified by its unique shop ID from the SCAYLE tenant.
|
|
149
149
|
*
|
|
150
|
-
* @see https://scayle.dev/en/storefront-guide/
|
|
150
|
+
* @see https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/technical-foundation/configuration#shops
|
|
151
151
|
*/
|
|
152
152
|
shops: z.record(z.string(), ShopConfigSchema),
|
|
153
153
|
session: z.optional(SessionSchema),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.45.
|
|
4
|
+
"version": "8.45.1",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"keywords": [
|
|
16
16
|
"nuxt"
|
|
17
17
|
],
|
|
18
|
-
"website": "https://scayle.dev/en/
|
|
18
|
+
"website": "https://scayle.dev/en/core-documentation/storefront-guide/storefront-application/readme/what-is-storefront",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"exports": {
|
|
21
21
|
"./rpc": {
|
|
@@ -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.3",
|
|
78
78
|
"@vueuse/core": "13.9.0",
|
|
79
79
|
"consola": "^3.2.3",
|
|
80
80
|
"core-js": "^3.37.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
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.45.
|
|
93
|
+
"@scayle/storefront-core": "8.45.1",
|
|
94
94
|
"@scayle/unstorage-compression-driver": "1.2.1"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@nuxt/module-builder": "1.0.2",
|
|
103
103
|
"@nuxt/schema": "3.19.3",
|
|
104
104
|
"@nuxt/test-utils": "3.19.2",
|
|
105
|
-
"@types/node": "22.18.
|
|
105
|
+
"@types/node": "22.18.11",
|
|
106
106
|
"@vitest/coverage-v8": "3.2.4",
|
|
107
107
|
"dprint": "0.50.2",
|
|
108
108
|
"eslint-formatter-gitlab": "6.0.1",
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
"unbuild": "3.6.1",
|
|
119
119
|
"vitest": "3.2.4",
|
|
120
120
|
"vue-tsc": "3.1.1",
|
|
121
|
-
"happy-dom": "20.0.
|
|
121
|
+
"happy-dom": "20.0.7",
|
|
122
122
|
"@scayle/eslint-config-storefront": "4.7.10",
|
|
123
123
|
"@scayle/eslint-plugin-vue-composable": "0.2.1",
|
|
124
124
|
"@scayle/vitest-config-storefront": "1.0.0",
|
|
125
|
-
"@scayle/unstorage-scayle-kv-driver": "2.0.
|
|
125
|
+
"@scayle/unstorage-scayle-kv-driver": "2.0.6"
|
|
126
126
|
},
|
|
127
127
|
"volta": {
|
|
128
128
|
"node": "22.20.0"
|