Skip to content

Commit 8665af6

Browse files
committed
match workspace dep
1 parent f6fd071 commit 8665af6

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphiql-explorer",
3-
"version": "8.0.1",
3+
"version": "0.9.1",
44
"module": "dist/index.js",
55
"types": "types/index.d.ts"
66
}

packages/graphiql-explorer/src/index.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,7 @@ class RootView extends React.PureComponent<
21372137
RootViewProps,
21382138
{ newOperationType: NewOperationType; displayTitleActions: boolean }
21392139
> {
2140-
static state = { newOperationType: 'query', displayTitleActions: false };
2140+
state = { newOperationType: 'query', displayTitleActions: false };
21412141
_previousOperationDef:
21422142
| null
21432143
| OperationDefinitionNode
@@ -2372,7 +2372,7 @@ class Explorer extends React.PureComponent<Props, State> {
23722372
getDefaultScalarArgValue: defaultGetDefaultScalarArgValue,
23732373
};
23742374

2375-
static state = {
2375+
state = {
23762376
newOperationType: 'query',
23772377
operation: null,
23782378
operationToScrollTo: null,
@@ -2987,5 +2987,6 @@ class ExplorerWrapper extends React.PureComponent<Props, {}> {
29872987
);
29882988
}
29892989
}
2990-
2990+
export type { Props as GraphiQLExplorerProps };
2991+
export { Explorer };
29912992
export default ExplorerWrapper;

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11421,11 +11421,6 @@ graphiql-code-exporter@^3.0.3:
1142111421
dependencies:
1142211422
copy-to-clipboard "^3.0.8"
1142311423

11424-
graphiql-explorer@^0.9.0:
11425-
version "0.9.0"
11426-
resolved "https://registry.yarnpkg.com/graphiql-explorer/-/graphiql-explorer-0.9.0.tgz#25f6b990bfc3e04e88c0cf419e28d12abe2c4fbe"
11427-
integrity sha512-fZC/wsuatqiQDO2otchxriFO0LaWIo/ovF/CQJ1yOudmY0P7pzDiP+l9CEHUiWbizk3e99x6DQG4XG1VxA+d6A==
11428-
1142911424
1143011425
version "5.0.2"
1143111426
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-5.0.2.tgz#7e962f94ccddcc2ee0aa71d75cf4491ec5092bdb"

0 commit comments

Comments
 (0)