File tree Expand file tree Collapse file tree 3 files changed +1510
-961
lines changed Expand file tree Collapse file tree 3 files changed +1510
-961
lines changed Original file line number Diff line number Diff line change 38
38
},
39
39
"dependencies" : {
40
40
"defu" : " ^6.1.4" ,
41
- "laravel-echo" : " ^2.1.6 " ,
41
+ "laravel-echo" : " ^2.1.7 " ,
42
42
"ofetch" : " ^1.4.1" ,
43
43
"pusher-js" : " ^8.4.0"
44
44
},
45
45
"devDependencies" : {
46
46
"@nuxt/devtools" : " ^2.6.2" ,
47
- "@nuxt/eslint-config" : " ^1.5.2 " ,
48
- "@nuxt/kit" : " ^3.17.6 " ,
47
+ "@nuxt/eslint-config" : " ^1.7.0 " ,
48
+ "@nuxt/kit" : " ^4.0.1 " ,
49
49
"@nuxt/module-builder" : " ^1.0.1" ,
50
- "@nuxt/schema" : " ^3.17.6 " ,
50
+ "@nuxt/schema" : " ^4.0.1 " ,
51
51
"@nuxt/test-utils" : " ^3.19.2" ,
52
- "@types/node" : " ^24.0.10 " ,
52
+ "@types/node" : " ^24.1.0 " ,
53
53
"changelogen" : " ^0.6.2" ,
54
- "eslint" : " ^9.30.1 " ,
55
- "nuxt" : " ^3.17.6 " ,
54
+ "eslint" : " ^9.31.0 " ,
55
+ "nuxt" : " ^4.0.1 " ,
56
56
"typescript" : " ^5.8.3" ,
57
57
"vitest" : " ^3.2.4" ,
58
58
"vue-tsc" : " ^2.2.12"
59
59
},
60
- "packageManager" : " pnpm@10.6.5 +sha512.cdf928fca20832cd59ec53826492b7dc25dc524d4370b6b4adbf65803d32efaa6c1c88147c0ae4e8d579a6c9eec715757b50d4fa35eea179d868eada4ed043af " ,
60
+ "packageManager" : " pnpm@10.13.1 +sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad " ,
61
61
"pnpm" : {
62
62
"onlyBuiltDependencies" : [
63
+ " @parcel/watcher" ,
63
64
" esbuild" ,
64
65
" unrs-resolver"
65
66
]
Original file line number Diff line number Diff line change
1
+ import type { NuxtApp } from '#app'
2
+ import type { FetchContext } from 'ofetch'
3
+ import type { ConsolaInstance } from 'consola'
4
+
1
5
export default defineAppConfig ( {
2
6
echo : {
3
7
interceptors : {
4
- async onRequest ( _app , ctx , logger ) {
8
+ async onRequest (
9
+ _app : NuxtApp ,
10
+ ctx : FetchContext ,
11
+ logger : ConsolaInstance
12
+ ) : Promise < void > {
5
13
const tenant = 'random-string'
6
14
7
15
ctx . options . headers . set ( 'X-Echo-Tenant' , tenant )
You can’t perform that action at this time.
0 commit comments