apollo-link
Advanced tools
Comparing version 0.4.1 to 0.5.0
import ApolloLink from 'apollo-link-core'; | ||
import BatchLink from 'apollo-link-batch'; | ||
import BatchHttpLink from 'apollo-link-batch-http'; | ||
import DedupLink from 'apollo-link-dedup'; | ||
@@ -9,3 +11,3 @@ import HttpLink from 'apollo-link-http'; | ||
export * from 'apollo-link-core'; | ||
export { HttpLink, RetryLink, SetContextLink, PollingLink, WebSocketLink, DedupLink }; | ||
export { BatchLink, BatchHttpLink, HttpLink, RetryLink, SetContextLink, PollingLink, WebSocketLink, DedupLink }; | ||
export default ApolloLink; |
@@ -7,2 +7,6 @@ "use strict"; | ||
var apollo_link_core_1 = require("apollo-link-core"); | ||
var apollo_link_batch_1 = require("apollo-link-batch"); | ||
exports.BatchLink = apollo_link_batch_1.default; | ||
var apollo_link_batch_http_1 = require("apollo-link-batch-http"); | ||
exports.BatchHttpLink = apollo_link_batch_http_1.default; | ||
var apollo_link_dedup_1 = require("apollo-link-dedup"); | ||
@@ -9,0 +13,0 @@ exports.DedupLink = apollo_link_dedup_1.default; |
@@ -12,2 +12,12 @@ "use strict"; | ||
}); | ||
describe('BatchLink', function () { | ||
it('constructor', function () { | ||
chai_1.assert.doesNotThrow(function () { return new Allpollo.BatchLink({ batchHandler: function () { return void 0; } }); }); | ||
}); | ||
}); | ||
describe('BatchHttpLink', function () { | ||
it('constructor', function () { | ||
chai_1.assert.doesNotThrow(function () { return new Allpollo.BatchHttpLink(); }); | ||
}); | ||
}); | ||
describe('RetryLink', function () { | ||
@@ -14,0 +24,0 @@ it('constructor', function () { |
import ApolloLink from 'apollo-link-core'; | ||
import BatchLink from 'apollo-link-batch'; | ||
import BatchHttpLink from 'apollo-link-batch-http'; | ||
import DedupLink from 'apollo-link-dedup'; | ||
@@ -9,3 +11,3 @@ import HttpLink from 'apollo-link-http'; | ||
export * from 'apollo-link-core'; | ||
export { HttpLink, RetryLink, SetContextLink, PollingLink, WebSocketLink, DedupLink }; | ||
export { BatchLink, BatchHttpLink, HttpLink, RetryLink, SetContextLink, PollingLink, WebSocketLink, DedupLink }; | ||
export default ApolloLink; |
@@ -7,2 +7,6 @@ "use strict"; | ||
var apollo_link_core_1 = require("apollo-link-core"); | ||
var apollo_link_batch_1 = require("apollo-link-batch"); | ||
exports.BatchLink = apollo_link_batch_1.default; | ||
var apollo_link_batch_http_1 = require("apollo-link-batch-http"); | ||
exports.BatchHttpLink = apollo_link_batch_http_1.default; | ||
var apollo_link_dedup_1 = require("apollo-link-dedup"); | ||
@@ -9,0 +13,0 @@ exports.DedupLink = apollo_link_dedup_1.default; |
{ | ||
"name": "apollo-link", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Flexible, lightweight transport layer for GraphQL", | ||
@@ -42,9 +42,11 @@ "author": "Evans Hauser <evanshauser@gmail.com>", | ||
"dependencies": { | ||
"apollo-link-core": "^0.4.1", | ||
"apollo-link-dedup": "^0.2.1", | ||
"apollo-link-http": "^0.4.1", | ||
"apollo-link-polling": "^0.4.1", | ||
"apollo-link-retry": "^0.4.1", | ||
"apollo-link-set-context": "^0.4.1", | ||
"apollo-link-ws": "^0.2.1" | ||
"apollo-link-batch": "^0.1.0", | ||
"apollo-link-batch-http": "^0.1.0", | ||
"apollo-link-core": "^0.5.0", | ||
"apollo-link-dedup": "^0.3.0", | ||
"apollo-link-http": "^0.5.0", | ||
"apollo-link-polling": "^0.5.0", | ||
"apollo-link-retry": "^0.5.0", | ||
"apollo-link-set-context": "^0.5.0", | ||
"apollo-link-ws": "^0.3.0" | ||
}, | ||
@@ -51,0 +53,0 @@ "devDependencies": { |
import ApolloLink from 'apollo-link-core'; | ||
import BatchLink from 'apollo-link-batch'; | ||
import BatchHttpLink from 'apollo-link-batch-http'; | ||
import DedupLink from 'apollo-link-dedup'; | ||
@@ -13,2 +15,4 @@ import HttpLink from 'apollo-link-http'; | ||
export { | ||
BatchLink, | ||
BatchHttpLink, | ||
HttpLink, | ||
@@ -15,0 +19,0 @@ RetryLink, |
@@ -13,2 +13,16 @@ import * as Allpollo from '../src/index'; | ||
describe('BatchLink', () => { | ||
it('constructor', () => { | ||
assert.doesNotThrow( | ||
() => new Allpollo.BatchLink({ batchHandler: () => void 0 }), | ||
); | ||
}); | ||
}); | ||
describe('BatchHttpLink', () => { | ||
it('constructor', () => { | ||
assert.doesNotThrow(() => new Allpollo.BatchHttpLink()); | ||
}); | ||
}); | ||
describe('RetryLink', () => { | ||
@@ -15,0 +29,0 @@ it('constructor', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
19555
391
9
+ Addedapollo-link-batch@^0.1.0
+ Addedapollo-link-batch@0.1.4(transitive)
+ Addedapollo-link-batch-http@0.1.4(transitive)
+ Addedapollo-link-core@0.5.4(transitive)
+ Addedapollo-link-dedup@0.3.4(transitive)
+ Addedapollo-link-http@0.5.4(transitive)
+ Addedapollo-link-polling@0.5.4(transitive)
+ Addedapollo-link-retry@0.5.4(transitive)
+ Addedapollo-link-set-context@0.5.4(transitive)
+ Addedapollo-link-ws@0.3.4(transitive)
- Removedapollo-link-core@0.4.1(transitive)
- Removedapollo-link-dedup@0.2.1(transitive)
- Removedapollo-link-http@0.4.1(transitive)
- Removedapollo-link-polling@0.4.1(transitive)
- Removedapollo-link-retry@0.4.1(transitive)
- Removedapollo-link-set-context@0.4.1(transitive)
- Removedapollo-link-ws@0.2.1(transitive)
Updatedapollo-link-core@^0.5.0
Updatedapollo-link-dedup@^0.3.0
Updatedapollo-link-http@^0.5.0
Updatedapollo-link-polling@^0.5.0
Updatedapollo-link-retry@^0.5.0
Updatedapollo-link-ws@^0.3.0