apollo-link-set-context
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -19,2 +19,3 @@ "use strict"; | ||
apollo_link_core_1.execute(apollo_link_core_1.ApolloLink.from([ | ||
function (operation, forward) { return forward({}); }, | ||
context, | ||
@@ -21,0 +22,0 @@ function (operation) { |
{ | ||
"name": "apollo-link-set-context", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "HTTP transport layer for GraphQL", | ||
@@ -42,3 +42,3 @@ "author": "Evans Hauser <evanshauser@gmail.com>", | ||
"dependencies": { | ||
"apollo-link-core": "^0.1.1" | ||
"apollo-link-core": "^0.2.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
@@ -7,3 +7,3 @@ import { assert } from 'chai'; | ||
import { ApolloLink, execute } from 'apollo-link-core'; | ||
import { ApolloLink, execute, Operation } from 'apollo-link-core'; | ||
@@ -31,2 +31,3 @@ const query = gql` | ||
ApolloLink.from([ | ||
(operation, forward) => forward(<Operation>{}), | ||
context, | ||
@@ -33,0 +34,0 @@ operation => { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17654
364
+ Addedapollo-link-core@0.2.0(transitive)
+ Addedzen-observable-ts@0.1.0(transitive)
- Removedapollo-link-core@0.1.1(transitive)
Updatedapollo-link-core@^0.2.0