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

@8base/apollo-client

Package Overview
Dependencies
Maintainers
5
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@8base/apollo-client - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.2.0](https://github.com/8base/sdk/compare/v2.1.0...v2.2.0) (2021-04-30)
### Features
* move subscription check to the helper ([5b1bab9](https://github.com/8base/sdk/commit/5b1bab9a8ae752a1f8c08723ddbd0d09d18a6ec8))
# [2.1.0](https://github.com/8base/sdk/compare/v2.0.2...v2.1.0) (2021-04-14)

@@ -8,0 +19,0 @@

6

dist/index.js

@@ -24,3 +24,2 @@ "use strict";

const error_1 = require("@apollo/client/link/error");
const utilities_1 = require("@apollo/client/utilities");
const graphql_tag_1 = __importDefault(require("graphql-tag"));

@@ -55,6 +54,3 @@ exports.gql = graphql_tag_1.default;

links = [
client_1.ApolloLink.split(({ query }) => {
const definition = utilities_1.getMainDefinition(query);
return definition.kind === 'OperationDefinition' && definition.operation === 'subscription';
}, new apollo_links_1.SubscriptionLink({
client_1.ApolloLink.split(apollo_links_1.isSubscriptionRequest, new apollo_links_1.SubscriptionLink({
uri: 'wss://ws.8base.com',

@@ -61,0 +57,0 @@ getAuthState,

{
"name": "@8base/apollo-client",
"version": "2.1.0",
"version": "2.2.0",
"repository": "https://github.com/8base/sdk",

@@ -18,4 +18,4 @@ "homepage": "https://github.com/8base/sdk/tree/master/packages-core/apollo-client#readme",

"dependencies": {
"@8base/apollo-links": "^2.1.0",
"@8base/utils": "^2.1.0"
"@8base/apollo-links": "^2.2.0",
"@8base/utils": "^2.2.0"
},

@@ -22,0 +22,0 @@ "devDependencies": {

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