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

apollo-link-retry

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-retry - npm Package Compare versions

Comparing version 2.2.15 to 3.0.0-beta.0

6

lib/bundle.cjs.js

@@ -6,3 +6,3 @@ 'use strict';

var tslib = require('tslib');
var apolloLink = require('apollo-link');
var core = require('@apollo/client/core');

@@ -159,3 +159,3 @@ function buildDelayFunction(delayOptions) {

retryable.start();
return new apolloLink.Observable(function (observer) {
return new core.Observable(function (observer) {
retryable.subscribe(observer);

@@ -168,5 +168,5 @@ return function () {

return RetryLink;
}(apolloLink.ApolloLink));
}(core.ApolloLink));
exports.RetryLink = RetryLink;
//# sourceMappingURL=bundle.cjs.js.map
import { __extends, __awaiter, __generator } from 'tslib';
import { Observable, ApolloLink } from 'apollo-link';
import { Observable, ApolloLink } from '@apollo/client/core';

@@ -4,0 +4,0 @@ function buildDelayFunction(delayOptions) {

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('tslib'), require('apollo-link')) :
typeof define === 'function' && define.amd ? define(['exports', 'tslib', 'apollo-link'], factory) :
(global = global || self, factory((global.apolloLink = global.apolloLink || {}, global.apolloLink.retry = {}), global.tslib, global.apolloLink.core));
}(this, function (exports, tslib_1, apolloLink) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('tslib'), require('@apollo/client/core')) :
typeof define === 'function' && define.amd ? define(['exports', 'tslib', '@apollo/client/core'], factory) :
(global = global || self, factory((global.apolloLink = global.apolloLink || {}, global.apolloLink.retry = {}), global.tslib, global.apollo.core));
}(this, (function (exports, tslib_1, core) { 'use strict';

@@ -157,3 +157,3 @@ function buildDelayFunction(delayOptions) {

retryable.start();
return new apolloLink.Observable(function (observer) {
return new core.Observable(function (observer) {
retryable.subscribe(observer);

@@ -166,3 +166,3 @@ return function () {

return RetryLink;
}(apolloLink.ApolloLink));
}(core.ApolloLink));

@@ -173,3 +173,3 @@ exports.RetryLink = RetryLink;

}));
})));
//# sourceMappingURL=bundle.umd.js.map

@@ -1,2 +0,2 @@

import { Operation } from 'apollo-link';
import { Operation } from '@apollo/client/core';
export interface DelayFunction {

@@ -3,0 +3,0 @@ (count: number, operation: Operation, error: any): number;

@@ -1,2 +0,2 @@

import { Operation } from 'apollo-link';
import { Operation } from '@apollo/client/core';
export interface RetryFunction {

@@ -3,0 +3,0 @@ (count: number, operation: Operation, error: any): boolean | Promise<boolean>;

@@ -1,2 +0,2 @@

import { ApolloLink, Observable, Operation, NextLink, FetchResult } from 'apollo-link';
import { ApolloLink, Operation, NextLink, FetchResult, Observable } from '@apollo/client/core';
import { DelayFunction, DelayFunctionOptions } from './delayFunction';

@@ -3,0 +3,0 @@ import { RetryFunction, RetryFunctionOptions } from './retryFunction';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var apollo_link_1 = require("apollo-link");
var core_1 = require("@apollo/client/core");
var delayFunction_1 = require("./delayFunction");

@@ -136,3 +136,3 @@ var retryFunction_1 = require("./retryFunction");

retryable.start();
return new apollo_link_1.Observable(function (observer) {
return new core_1.Observable(function (observer) {
retryable.subscribe(observer);

@@ -145,4 +145,4 @@ return function () {

return RetryLink;
}(apollo_link_1.ApolloLink));
}(core_1.ApolloLink));
exports.RetryLink = RetryLink;
//# sourceMappingURL=retryLink.js.map
{
"name": "apollo-link-retry",
"version": "2.2.15",
"version": "3.0.0-beta.0",
"description": "Retry Apollo Link for GraphQL Network Stack",

@@ -37,4 +37,3 @@ "author": "Evans Hauser <evanshauser@gmail.com>",

"dependencies": {
"@types/zen-observable": "0.8.0",
"apollo-link": "^1.2.13",
"@apollo/client": "^3.0.0-beta.10",
"tslib": "^1.9.3"

@@ -44,10 +43,10 @@ },

"@types/graphql": "14.2.3",
"@types/jest": "24.0.18",
"graphql": "14.5.4",
"@types/jest": "24.0.23",
"graphql": "14.5.8",
"graphql-tag": "2.10.1",
"jest": "24.9.0",
"rimraf": "2.7.1",
"rollup": "1.20.3",
"rollup": "1.27.0",
"ts-jest": "22.4.6",
"tslint": "5.17.0",
"tslint": "5.20.1",
"typescript": "3.0.3",

@@ -69,3 +68,3 @@ "wait-for-observables": "1.0.3"

},
"gitHead": "74d412528dd474fc41ee0bf504e36e01d7e05e2b"
"gitHead": "150213d6b1ee2ecf5a6c8f7f46acf53b639edb0d"
}

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

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

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