apollo-link-polling
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -53,3 +53,3 @@ (function (global, factory) { | ||
exports['default'] = PollingLink; | ||
exports.PollingLink = PollingLink; | ||
@@ -56,0 +56,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
import { ApolloLink, Operation, NextLink, FetchResult, Observable } from 'apollo-link'; | ||
export default class PollingLink extends ApolloLink { | ||
export declare class PollingLink extends ApolloLink { | ||
private pollInterval; | ||
@@ -4,0 +4,0 @@ private timer; |
@@ -47,3 +47,3 @@ var __extends = (this && this.__extends) || (function () { | ||
}(ApolloLink)); | ||
export default PollingLink; | ||
export { PollingLink }; | ||
//# sourceMappingURL=pollingLink.js.map |
{ | ||
"name": "apollo-link-polling", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "Polling Apollo Link for GraphQL Network Stack", | ||
@@ -43,10 +43,11 @@ "author": "Evans Hauser <evanshauser@gmail.com>", | ||
"peerDependencies": { | ||
"apollo-link": "^0.7.0" | ||
"apollo-link": "^0.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/graphql": "0.11.4", | ||
"@types/jest": "21.1.1", | ||
"apollo-link": "^0.7.0", | ||
"@types/graphql": "0.11.5", | ||
"@types/jest": "21.1.2", | ||
"@types/zen-observable": "^0.5.3", | ||
"apollo-link": "^0.8.0", | ||
"browserify": "14.4.0", | ||
"graphql": "0.11.6", | ||
"graphql": "0.11.7", | ||
"graphql-tag": "2.4.2", | ||
@@ -56,3 +57,3 @@ "jest": "21.2.1", | ||
"rollup": "0.45.2", | ||
"ts-jest": "21.0.1", | ||
"ts-jest": "21.1.2", | ||
"tslint": "5.7.0", | ||
@@ -59,0 +60,0 @@ "typescript": "2.5.1", |
import { execute, Observable } from 'apollo-link'; | ||
import gql from 'graphql-tag'; | ||
import PollingLink from '../pollingLink'; | ||
import { PollingLink } from '../pollingLink'; | ||
@@ -6,0 +6,0 @@ const query = gql` |
@@ -7,6 +7,5 @@ import { | ||
Observable, | ||
ZenObservable, | ||
} from 'apollo-link'; | ||
export default class PollingLink extends ApolloLink { | ||
export class PollingLink extends ApolloLink { | ||
private pollInterval: (operation: Operation) => number | null; | ||
@@ -13,0 +12,0 @@ private timer; |
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
15874
14
258