@graphql-codegen/typescript-graphql-apollo 1.1.2-alpha-643ff6c1d.0 → 1.1.2-alpha-df7bf6266.0

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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -41,7 +41,7 @@ class GraphQLApolloVisitor extends visitorPluginCommon.ClientSideBaseVisitor {
41
41
  }
42
42
  get sdkContent() {
43
43
  const sdkOperations = this._operationsToInclude.map(x => {
44
- const documentVariableName = x.documentVariableName;
44
+ const { documentVariableName } = x;
45
45
  const optionType = GraphQLApolloVisitor.getApolloOperationOptionType(x.operationType);
46
46
  const generics = [x.operationResultType, x.operationVariablesTypes];
47
47
  const operationName = x.node.name.value;
package/index.mjs CHANGED
@@ -35,7 +35,7 @@ class GraphQLApolloVisitor extends ClientSideBaseVisitor {
35
35
  }
36
36
  get sdkContent() {
37
37
  const sdkOperations = this._operationsToInclude.map(x => {
38
- const documentVariableName = x.documentVariableName;
38
+ const { documentVariableName } = x;
39
39
  const optionType = GraphQLApolloVisitor.getApolloOperationOptionType(x.operationType);
40
40
  const generics = [x.operationResultType, x.operationVariablesTypes];
41
41
  const operationName = x.node.name.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/typescript-graphql-apollo",
3
- "version": "1.1.2-alpha-643ff6c1d.0",
3
+ "version": "1.1.2-alpha-df7bf6266.0",
4
4
  "description": "GraphQL Code Generator plugin for generating a ready-to-use SDK based on apollo client and GraphQL operations",
5
5
  "peerDependencies": {
6
6
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@graphql-codegen/plugin-helpers": "^2.3.2",
11
- "@graphql-codegen/visitor-plugin-common": "2.7.2-alpha-643ff6c1d.0",
11
+ "@graphql-codegen/visitor-plugin-common": "^2.9.0-alpha-df7bf6266.0",
12
12
  "auto-bind": "~4.0.0",
13
13
  "change-case-all": "1.0.14",
14
- "tslib": "~2.3.0"
14
+ "tslib": "~2.4.0"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",