@scayle/storefront-nuxt 7.84.0 → 7.84.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 7.84.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Improve typing of `H3EventContext` and `Session.data`
8
+
3
9
  ## 7.84.0
4
10
 
5
11
  ### Minor Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "7.84.0",
3
+ "version": "7.84.1",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -66,7 +66,7 @@ export default {
66
66
  }`;
67
67
  }
68
68
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
69
- const PACKAGE_VERSION = "7.84.0";
69
+ const PACKAGE_VERSION = "7.84.1";
70
70
  const logger = createConsola({
71
71
  fancy: true,
72
72
  formatOptions: {
@@ -1,4 +1,4 @@
1
- import type { RpcContext, Cache } from '@scayle/storefront-core';
1
+ import type { RpcContext, Cache, ShopUser } from '@scayle/storefront-core';
2
2
  import type { PublicShopConfig } from '../../../module';
3
3
  declare module 'h3' {
4
4
  interface H3EventContext {
@@ -8,5 +8,15 @@ declare module 'h3' {
8
8
  $availableShops: PublicShopConfig[];
9
9
  }
10
10
  }
11
+ export interface ShopSessionData {
12
+ user?: ShopUser;
13
+ accessToken?: string;
14
+ refreshToken?: string;
15
+ shopId?: number;
16
+ }
17
+ declare module '@scayle/h3-session' {
18
+ interface SessionDataT extends ShopSessionData {
19
+ }
20
+ }
11
21
  declare const _default: import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<void>>;
12
22
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "7.84.0",
4
+ "version": "7.84.1",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -86,7 +86,7 @@
86
86
  "@nuxt/test-utils": "3.14.0",
87
87
  "@scayle/eslint-config-storefront": "4.3.0",
88
88
  "@scayle/eslint-plugin-vue-composable": "0.2.0",
89
- "@types/node": "20.14.13",
89
+ "@types/node": "20.14.14",
90
90
  "dprint": "0.47.2",
91
91
  "eslint": "9.8.0",
92
92
  "eslint-formatter-gitlab": "5.1.0",