@scayle/storefront-nuxt 7.53.0 → 7.54.0
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,24 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 7.54.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Authentication RPC methods include status codes in error cases
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @scayle/storefront-core@7.39.0
|
|
13
|
+
|
|
14
|
+
## 7.53.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Fix potential empty user after login
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @scayle/storefront-core@7.38.1
|
|
21
|
+
|
|
3
22
|
## 7.53.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://cdn-prod.scayle.com/public/media/general/SCAYLE-Commerce-Engine-header.png" />
|
|
3
|
+
</div>
|
|
4
|
+
|
|
5
|
+
<div align="center">
|
|
6
|
+
<h1>SCAYLE Storefront Nuxt</h1>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<div align="center">
|
|
10
|
+
<h4><a href="https://scayle.dev">Documentation</a> | <a href="https://www.scayle.com/">Website</a></h4>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<div align="center">
|
|
14
|
+
The SCAYLE <strong>Storefront Nuxt</strong> package provides an integration into the Nuxt 3 Framework for the SCAYLE Commerce Engine.
|
|
15
|
+
</div>
|
|
16
|
+
<br/>
|
|
17
|
+
<div align="center">
|
|
18
|
+
<a href="https://www.npmjs.com/package/@scayle/storefront-nuxt"><img src="https://img.shields.io/npm/v/@scayle/storefront-nuxt/latest.svg?style=flat&colorB=007ec6" /></a>
|
|
19
|
+
<a href="https://www.npmjs.com/package/@scayle/storefront-nuxt"><img src="https://img.shields.io/npm/dm/@scayle/storefront-nuxt.svg?style=flat&colorB=007ec6" /></a>
|
|
20
|
+
<a href="https://www.npmjs.com/package/@scayle/storefront-nuxt"><img src="https://img.shields.io/badge/license-MIT-blue.svg" /></a>
|
|
21
|
+
<a href="https://nuxt.com"><img src="https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js" /></a>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
13
25
|
|
|
14
26
|
```bash
|
|
15
27
|
# Using pnpm
|
|
@@ -22,38 +34,26 @@ yarn add --dev @scayle/storefront-nuxt
|
|
|
22
34
|
npm install --save-dev @scayle/storefront-nuxt
|
|
23
35
|
```
|
|
24
36
|
|
|
25
|
-
|
|
37
|
+
## Getting Started
|
|
26
38
|
|
|
27
|
-
|
|
28
|
-
export default defineNuxtConfig({
|
|
29
|
-
modules: ['@scayle/storefront-nuxt'],
|
|
30
|
-
})
|
|
31
|
-
```
|
|
39
|
+
Visit the [Quickstart Guide](https://scayle.dev/en/dev/storefront-core/getting-started-sfb) to get started with Storefront Nuxt.
|
|
32
40
|
|
|
33
|
-
|
|
41
|
+
Visit the [Docs](https://scayle.dev) to learn more about our system requirements.
|
|
34
42
|
|
|
35
|
-
##
|
|
43
|
+
## What is SCAYLE?
|
|
36
44
|
|
|
37
|
-
|
|
38
|
-
# Install dependencies
|
|
39
|
-
yarn install
|
|
45
|
+
[SCAYLE](https://scayle.com) is a full-featured e-commerce software solution that comes with flexible APIs. Within SCAYLE, you can manage all aspects of your shop, such as products, stocks, customers, and transactions.
|
|
40
46
|
|
|
41
|
-
|
|
42
|
-
yarn dev:prepare
|
|
47
|
+
Learn more about [Scayle’s architecture](https://scayle.dev/en/dev/getting-started/introduction) and [commerce modules](https://scayle.dev/en/dev/getting-started/introduction) in the Docs.
|
|
43
48
|
|
|
44
|
-
|
|
45
|
-
yarn dev
|
|
49
|
+
## Other channels
|
|
46
50
|
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
- [LinkedIn](https://www.linkedin.com/company/scaylecommerce/)
|
|
52
|
+
- [Jobs](https://careers.smartrecruiters.com/ABOUTYOUGmbH/scayle)
|
|
49
53
|
|
|
50
|
-
|
|
51
|
-
yarn lint
|
|
54
|
+
## License
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
yarn test
|
|
55
|
-
yarn test:watch
|
|
56
|
-
```
|
|
56
|
+
Licensed under the [MIT](https://opensource.org/license/mit/)
|
|
57
57
|
|
|
58
58
|
<!-- Badges -->
|
|
59
59
|
|
package/dist/module.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function useSession(): {
|
|
2
|
-
login: (params: import("utility-types").Optional<import("@scayle/storefront-core").LoginRequest, "shop_id">) => Promise<undefined>;
|
|
3
|
-
register: (params: import("utility-types").Optional<import("@scayle/storefront-core").RegisterRequest, "shop_id">) => Promise<undefined>;
|
|
4
|
-
guestLogin: (params: import("utility-types").Optional<import("@scayle/storefront-core").GuestRequest, "shop_id">) => Promise<undefined>;
|
|
2
|
+
login: (params: import("utility-types").Optional<import("@scayle/storefront-core").LoginRequest, "shop_id">) => Promise<void | undefined>;
|
|
3
|
+
register: (params: import("utility-types").Optional<import("@scayle/storefront-core").RegisterRequest, "shop_id">) => Promise<void | undefined>;
|
|
4
|
+
guestLogin: (params: import("utility-types").Optional<import("@scayle/storefront-core").GuestRequest, "shop_id">) => Promise<void | undefined>;
|
|
5
5
|
refreshToken: () => Promise<{
|
|
6
6
|
success: boolean;
|
|
7
7
|
}>;
|
|
@@ -13,5 +13,5 @@ export declare function useSession(): {
|
|
|
13
13
|
}) => Promise<{
|
|
14
14
|
success: boolean;
|
|
15
15
|
}>;
|
|
16
|
-
resetPasswordByHash: (params: import("utility-types").Optional<import("@scayle/storefront-core").UpdatePasswordByHashRequest, "shop_id">) => Promise<undefined>;
|
|
16
|
+
resetPasswordByHash: (params: import("utility-types").Optional<import("@scayle/storefront-core").UpdatePasswordByHashRequest, "shop_id">) => Promise<void | undefined>;
|
|
17
17
|
};
|
|
@@ -7,11 +7,7 @@ type Options = Partial<{
|
|
|
7
7
|
key: string;
|
|
8
8
|
}>;
|
|
9
9
|
export declare function useProducts({ params, options, key, }?: Options): Promise<{
|
|
10
|
-
data: import("vue").Ref<import("@scayle/storefront-core").ProductsResponse
|
|
11
|
-
pagination: import("@scayle/storefront-core").Pagination;
|
|
12
|
-
} & {
|
|
13
|
-
products: import("@scayle/storefront-core").Product[];
|
|
14
|
-
})>;
|
|
10
|
+
data: import("vue").Ref<import("@scayle/storefront-core").ProductsResponse>;
|
|
15
11
|
fetching: import("vue").Ref<boolean>;
|
|
16
12
|
fetch: () => Promise<void>;
|
|
17
13
|
error: import("vue").Ref<import("nuxt/app").NuxtError<unknown> | undefined>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.54.0",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@nuxt/kit": "3.9.3",
|
|
64
64
|
"@scayle/h3-session": "0.3.5",
|
|
65
|
-
"@scayle/storefront-core": "7.
|
|
65
|
+
"@scayle/storefront-core": "7.39.0",
|
|
66
66
|
"@scayle/unstorage-compression-driver": "0.1.1",
|
|
67
67
|
"@vueuse/core": "10.7.2",
|
|
68
68
|
"consola": "3.2.3",
|
|
69
69
|
"core-js": "3.35.1",
|
|
70
70
|
"defu": "6.1.4",
|
|
71
|
-
"h3": "1.10.
|
|
71
|
+
"h3": "1.10.1",
|
|
72
72
|
"jose": "^5.2.0",
|
|
73
73
|
"knitwork": "1.0.0",
|
|
74
74
|
"nitropack": "2.8.1",
|
|
@@ -82,17 +82,17 @@
|
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@nuxt/module-builder": "0.5.5",
|
|
84
84
|
"@nuxt/schema": "3.9.3",
|
|
85
|
-
"@nuxt/test-utils": "3.
|
|
85
|
+
"@nuxt/test-utils": "3.11.0",
|
|
86
86
|
"@scayle/eslint-config-storefront": "3.2.6",
|
|
87
87
|
"@scayle/prettier-config-storefront": "2.0.2",
|
|
88
|
-
"@types/node": "20.11.
|
|
88
|
+
"@types/node": "20.11.10",
|
|
89
89
|
"eslint": "8.56.0",
|
|
90
90
|
"eslint-formatter-gitlab": "5.1.0",
|
|
91
91
|
"node-mocks-http": "1.14.1",
|
|
92
92
|
"nuxt": "3.9.3",
|
|
93
93
|
"prettier": "3.0.0",
|
|
94
94
|
"publint": "0.2.7",
|
|
95
|
-
"vitest": "1.2.
|
|
95
|
+
"vitest": "1.2.2",
|
|
96
96
|
"vue-tsc": "1.8.27"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|