Skip to content

Commit 2db8037

Browse files
chore(deps): update dependency @as-integrations/h3 to v2 (#148)
* chore(deps): update dependency @as-integrations/h3 to v2 * update imports * hide ts error * hide another ts error * disable ts exceptions again --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tobias Diez <[email protected]>
1 parent 831a0c7 commit 2db8037

File tree

4 files changed

+19
-14
lines changed

4 files changed

+19
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"devDependencies": {
4848
"@apollo/server": "4.11.3",
49-
"@as-integrations/h3": "1.2.1",
49+
"@as-integrations/h3": "2.0.0",
5050
"@nuxt/devtools": "2.3.2",
5151
"@nuxt/module-builder": "1.0.1",
5252
"@nuxt/schema": "3.16.2",

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"generate": "nuxi generate"
99
},
1010
"dependencies": {
11-
"@as-integrations/h3": "1.2.1",
11+
"@as-integrations/h3": "2.0.0",
1212
"graphql-subscriptions": "3.0.0",
1313
"nuxt": "3.16.2"
1414
}

playground/server/api/subscription.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
// https://github.com/apollographql/docs-examples/tree/main/apollo-server/v4/subscriptions-graphql-ws
33
import { ApolloServer } from '@apollo/server'
44
import { PubSub } from 'graphql-subscriptions'
5-
import {
6-
startServerAndCreateH3Handler,
7-
defineGraphqlWebSocket,
8-
} from '@as-integrations/h3'
5+
import { startServerAndCreateH3Handler } from '@as-integrations/h3'
6+
import { defineGraphqlWebSocket } from '@as-integrations/h3/websocket'
97
import { makeExecutableSchema } from '@graphql-tools/schema'
108
import type { Resolvers } from '#graphql/resolver'
119
import { typeDefs } from '#graphql/schema'

pnpm-lock.yaml

Lines changed: 15 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)