Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apollo-link-polling

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-polling - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

2

lib/bundle.umd.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc