File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
packages/graphiql-toolkit/src/create-fetcher Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' graphiql ' : patch
3
+ ' @graphiql/toolkit ' : patch
4
+ ---
5
+
6
+ Remove type definition from ` subscriptions-transport-ws `
Original file line number Diff line number Diff line change 1
1
import { DocumentNode , visit , GraphQLError } from 'graphql' ;
2
2
import { meros } from 'meros' ;
3
3
import { createClient , Client , ClientOptions } from 'graphql-ws' ;
4
- import { SubscriptionClient } from 'subscriptions-transport-ws' ;
5
4
import {
6
5
isAsyncIterable ,
7
6
makeAsyncIterableIteratorFromSink ,
@@ -116,9 +115,9 @@ export const createWebsocketsFetcherFromClient = (wsClient: Client) => (
116
115
} ) ,
117
116
) ;
118
117
119
- export const createLegacyWebsocketsFetcher = (
120
- legacyWsClient : SubscriptionClient ,
121
- ) => ( graphQLParams : FetcherParams ) => {
118
+ export const createLegacyWebsocketsFetcher = ( legacyWsClient : {
119
+ request : ( params : FetcherParams ) => unknown ;
120
+ } ) => ( graphQLParams : FetcherParams ) => {
122
121
const observable = legacyWsClient . request ( graphQLParams ) ;
123
122
return makeAsyncIterableIteratorFromSink < FetcherResult > (
124
123
// @ts -ignore
Original file line number Diff line number Diff line change 3288
3288
integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==
3289
3289
3290
3290
"@graphiql/toolkit@file:packages/graphiql-toolkit":
3291
- version "0.2.2 "
3291
+ version "0.3.0 "
3292
3292
dependencies:
3293
3293
"@n1ru4l/push-pull-async-iterable-iterator" "^3.0.0"
3294
3294
graphql-ws "^4.9.0"
@@ -11512,15 +11512,15 @@ grapheme-splitter@^1.0.4:
11512
11512
integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==
11513
11513
11514
11514
"graphiql@file:packages/graphiql":
11515
- version "1.4.2 "
11515
+ version "1.4.3 "
11516
11516
dependencies:
11517
- "@graphiql/toolkit" "^0.2 .0"
11517
+ "@graphiql/toolkit" "^0.3 .0"
11518
11518
codemirror "^5.58.2"
11519
11519
codemirror-graphql "^1.0.0"
11520
11520
copy-to-clipboard "^3.2.0"
11521
11521
dset "^3.1.0"
11522
11522
entities "^2.0.0"
11523
- graphql-language-service "^3.1.2 "
11523
+ graphql-language-service "^3.1.5 "
11524
11524
markdown-it "^10.0.0"
11525
11525
11526
11526
graphql-config@^3.0.2:
You can’t perform that action at this time.
0 commit comments