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

apollo-link

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

dist/tests/tests.d.ts

15

dist/src/index.d.ts

@@ -1,7 +0,8 @@

import HttpLink from './httpLink';
import RetryLink from './retryLink';
import PollingLink from './pollingLink';
import { execute, ApolloLink } from './link';
import { makePromise } from './linkUtils';
import * as Observable from 'zen-observable';
export { ApolloLink, execute, Observable, HttpLink, RetryLink, PollingLink, makePromise };
import ApolloLink from 'apollo-link-core';
import HttpLink from 'apollo-link-http';
import RetryLink from 'apollo-link-retry';
import SetContextLink from 'apollo-link-set-context';
import PollingLink from 'apollo-link-polling';
export * from 'apollo-link-core';
export { HttpLink, RetryLink, SetContextLink, PollingLink };
export default ApolloLink;
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
var httpLink_1 = require("./httpLink");
exports.HttpLink = httpLink_1.default;
var retryLink_1 = require("./retryLink");
exports.RetryLink = retryLink_1.default;
var pollingLink_1 = require("./pollingLink");
exports.PollingLink = pollingLink_1.default;
var link_1 = require("./link");
exports.execute = link_1.execute;
exports.ApolloLink = link_1.ApolloLink;
var linkUtils_1 = require("./linkUtils");
exports.makePromise = linkUtils_1.makePromise;
var Observable = require("zen-observable");
exports.Observable = Observable;
var apollo_link_core_1 = require("apollo-link-core");
var apollo_link_http_1 = require("apollo-link-http");
exports.HttpLink = apollo_link_http_1.default;
var apollo_link_retry_1 = require("apollo-link-retry");
exports.RetryLink = apollo_link_retry_1.default;
var apollo_link_set_context_1 = require("apollo-link-set-context");
exports.SetContextLink = apollo_link_set_context_1.default;
var apollo_link_polling_1 = require("apollo-link-polling");
exports.PollingLink = apollo_link_polling_1.default;
__export(require("apollo-link-core"));
exports.default = apollo_link_core_1.default;
//# sourceMappingURL=index.js.map
{
"name": "apollo-link",
"version": "0.0.3",
"version": "0.1.0",
"description": "Flexible, lightweight transport layer for GraphQL",

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

"license": "MIT",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"repository": {

@@ -35,5 +35,6 @@ "type": "git",

"build": "tsc",
"postbuild": "cp -R ./dist/src/. ./lib",
"watch": "tsc -w",
"clean": "npm run clean:dist && npm run clean:coverage",
"clean:dist": "rimraf dist/*",
"clean:dist": "rimraf dist/* && rimraf lib/*",
"clean:coverage": "rimraf coverage/*",

@@ -43,6 +44,7 @@ "prepublishOnly": "npm run clean && npm run build"

"dependencies": {
"apollo-fetch": "^0.3.0",
"graphql": "^0.10.3",
"graphql-tag": "^2.4.2",
"zen-observable": "git+https://github.com/evanshauser/zen-observable.git"
"apollo-link-core": "^0.1.0",
"apollo-link-http": "^0.1.0",
"apollo-link-polling": "^0.1.0",
"apollo-link-retry": "^0.1.0",
"apollo-link-set-context": "^0.1.0"
},

@@ -57,3 +59,2 @@ "devDependencies": {

"fetch-mock": "^5.11.0",
"graphql-tag": "^2.2.2",
"istanbul": "^0.4.4",

@@ -68,7 +69,3 @@ "lodash": "^4.17.4",

"typescript": "^2.2.1"
},
"optionalDependencies": {
"@types/graphql": "^0.9.4",
"@types/zen-observable": "^0.5.1"
}
}

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