@scayle/storefront-nuxt 8.17.0 → 8.18.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,32 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.18.0
4
+
5
+ ### Patch Changes
6
+
7
+ **@scayle/storefront-core v8.18.0**
8
+
9
+ - Minor
10
+ - Update RPC methods to use explicit typing. This is an internal change to enable Typescript's `isolatedDeclarations` option. It will not impact regular usage of RPC methods, however if you are importing one of the functions directly, the explicit rather than inferred type will be used.
11
+
12
+ **Dependencies**
13
+
14
+ ## 8.17.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependency `@scayle/storefront-core@8.16.0` to `@scayle/storefront-core@8.17.0`
19
+ - Updated dependency `@scayle/unstorage-compression-driver@^0.2.4` to `@scayle/unstorage-compression-driver@^0.2.5`
20
+
21
+ **@scayle/storefront-core v8.17.1**
22
+
23
+ - Patch
24
+ - Ensure that the `getAttribute` helper function can handle multi-value attributes.
25
+
26
+ **Dependencies**
27
+
28
+ - Updated dependency to @scayle/unstorage-compression-driver@0.2.6
29
+
3
30
  ## 8.17.0
4
31
 
5
32
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.17.0",
3
+ "version": "8.18.0",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -53,7 +53,7 @@ export default {
53
53
  }`;
54
54
  }
55
55
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
56
- const PACKAGE_VERSION = "8.17.0";
56
+ const PACKAGE_VERSION = "8.18.0";
57
57
  const logger = createConsola({
58
58
  fancy: true,
59
59
  formatOptions: {
@@ -9,27 +9,21 @@
9
9
  * @returns An object containing functions for various session management operations.
10
10
  */
11
11
  export declare function useSession(): {
12
- login: (params: import("utility-types").Optional<import("@scayle/storefront-core").LoginRequest, "shop_id">) => Promise<never>;
13
- register: (params: import("utility-types").Optional<import("@scayle/storefront-core").RegisterRequest, "shop_id">) => Promise<never>;
14
- guestLogin: (params: import("utility-types").Optional<import("@scayle/storefront-core").GuestRequest, "shop_id">) => Promise<never>;
12
+ login: (params: import("utility-types").Optional<import("@scayle/storefront-core").LoginRequest, "shop_id">) => Promise<void | undefined>;
13
+ register: (params: import("utility-types").Optional<import("@scayle/storefront-core").RegisterRequest, "shop_id">) => Promise<void | undefined>;
14
+ guestLogin: (params: import("utility-types").Optional<import("@scayle/storefront-core").GuestRequest, "shop_id">) => Promise<void | undefined>;
15
15
  refreshToken: () => Promise<{
16
- success: true;
17
- } | {
18
- success: false;
16
+ success: boolean;
19
17
  }>;
20
18
  revokeToken: () => Promise<{
21
- result: true;
22
- } | {
23
- result: false;
19
+ result: boolean;
24
20
  }>;
25
21
  forgetPassword: (params: {
26
22
  email: string;
27
23
  }) => Promise<{
28
- success: true;
29
- } | {
30
- success: false;
24
+ success: boolean;
31
25
  }>;
32
- resetPasswordByHash: (params: import("utility-types").Optional<import("@scayle/storefront-core").UpdatePasswordByHashRequest, "shop_id">) => Promise<never>;
26
+ resetPasswordByHash: (params: import("utility-types").Optional<import("@scayle/storefront-core").UpdatePasswordByHashRequest, "shop_id">) => Promise<void | undefined>;
33
27
  loginWithIDP: (params: {
34
28
  code: string;
35
29
  }) => Promise<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "8.17.0",
4
+ "version": "8.18.0",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -81,8 +81,8 @@
81
81
  "dependencies": {
82
82
  "@opentelemetry/api": "^1.9.0",
83
83
  "@scayle/h3-session": "0.6.0",
84
- "@scayle/storefront-core": "8.17.0",
85
- "@scayle/unstorage-compression-driver": "^0.2.5",
84
+ "@scayle/storefront-core": "8.18.0",
85
+ "@scayle/unstorage-compression-driver": "^0.2.6",
86
86
  "@vercel/nft": "0.29.2",
87
87
  "@vueuse/core": "13.0.0",
88
88
  "consola": "^3.2.3",
@@ -112,7 +112,7 @@
112
112
  "@types/node": "22.14.0",
113
113
  "dprint": "0.49.1",
114
114
  "eslint-formatter-gitlab": "5.1.0",
115
- "eslint": "9.23.0",
115
+ "eslint": "9.24.0",
116
116
  "fishery": "2.2.3",
117
117
  "h3": "1.15.0",
118
118
  "nitropack": "2.10.4",
@@ -120,7 +120,7 @@
120
120
  "nuxi": "3.24.1",
121
121
  "nuxt": "3.15.4",
122
122
  "publint": "0.2.12",
123
- "typescript": "5.8.2",
123
+ "typescript": "5.8.3",
124
124
  "unbuild": "2.0.0",
125
125
  "vitest": "2.1.9",
126
126
  "vue-tsc": "2.2.8"