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

@codecraftkit/apollo

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codecraftkit/apollo - npm Package Compare versions

Comparing version 1.1.21 to 1.1.22

6

dist/cjs/ApolloClient/index.js

@@ -30,2 +30,4 @@ "use strict";

var _cookiesNext = require("cookies-next");
var defaultLink = new _client.HttpLink({

@@ -42,3 +44,3 @@ uri: process.env.NEXT_PUBLIC_GRAPHQL_GATEWAY_URL

var headers = _ref.headers;
var token = Cookies.get(process.env.NEXT_PUBLIC_TOKEN_KEY);
var token = (0, _cookiesNext.getCookie)(process.env.NEXT_PUBLIC_TOKEN_KEY);

@@ -193,3 +195,3 @@ if ((0, _isElectron["default"])()) {

default:
token = Cookies.get(config.tokenKey);
token = (0, _cookiesNext.getCookie)(config.tokenKey);
break;

@@ -196,0 +198,0 @@ }

@@ -10,2 +10,3 @@ import _extends from "@babel/runtime/helpers/extends";

import { createClient } from 'graphql-ws';
import { getCookie } from 'cookies-next';
var defaultLink = new HttpLink({

@@ -24,3 +25,3 @@ uri: process.env.NEXT_PUBLIC_GRAPHQL_GATEWAY_URL

} = _ref;
var token = Cookies.get(process.env.NEXT_PUBLIC_TOKEN_KEY);
var token = getCookie(process.env.NEXT_PUBLIC_TOKEN_KEY);

@@ -173,3 +174,3 @@ if (isElectron()) {

default:
token = Cookies.get(config.tokenKey);
token = getCookie(config.tokenKey);
break;

@@ -176,0 +177,0 @@ }

{
"name": "@codecraftkit/apollo",
"version": "1.1.21",
"version": "1.1.22",
"description": "Made with create-react-library",

@@ -40,3 +40,3 @@ "author": "cc-dev-leader",

],
"gitHead": "9dcb5a2c86b30435e04f1bfa21a4d444eeb51d6c"
"gitHead": "f5ccf371388de37ae801bcce05beacd47cb7f133"
}

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