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

@subql/apollo-links

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@subql/apollo-links - npm Package Compare versions

Comparing version 0.4.1-0 to 0.4.1-1

2

dist/errorLink.d.ts
import { Logger } from "./logger";
export declare const creatErrorLink: (logger: Logger) => import("@apollo/client").ApolloLink;
export declare const creatErrorLink: (logger: Logger) => import("@apollo/client/core").ApolloLink;

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

import { ApolloLink, Operation, NextLink, Observable, FetchResult } from '@apollo/client';
import { ApolloLink, Operation, NextLink, Observable, FetchResult } from '@apollo/client/core';
export declare class FallbackLink extends ApolloLink {

@@ -3,0 +3,0 @@ private url?;

@@ -6,4 +6,4 @@ "use strict";

exports.FallbackLink = void 0;
const client_1 = require("@apollo/client");
class FallbackLink extends client_1.ApolloLink {
const core_1 = require("@apollo/client/core");
class FallbackLink extends core_1.ApolloLink {
constructor(url) {

@@ -16,3 +16,3 @@ super();

return null;
return new client_1.Observable(observer => {
return new core_1.Observable(observer => {
var _a;

@@ -19,0 +19,0 @@ const url = (_a = operation.getContext().url) !== null && _a !== void 0 ? _a : this.url;

{
"name": "@subql/apollo-links",
"version": "0.4.1-0",
"version": "0.4.1-1",
"description": "SubQuery Network - graphql links",

@@ -28,3 +28,3 @@ "main": "dist/index.js",

},
"stableVersion": "0.4.0"
"stableVersion": "0.4.1-0"
}
// Copyright 2020-2022 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { ApolloLink, Operation, NextLink, Observable, FetchResult } from '@apollo/client';
import { ApolloLink, Operation, NextLink, Observable, FetchResult } from '@apollo/client/core';

@@ -21,2 +21,2 @@ export class FallbackLink extends ApolloLink {

}
}
}

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