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

stockshark-api-access

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stockshark-api-access - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "stockshark-api-access",
"version": "1.0.7",
"version": "1.0.8",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "files": [

@@ -39,2 +39,6 @@ const axios = require("axios")

setToken(token) {
if (!token) {
delete this.http.defaults.headers.common['Authorization']
return
}
this.http.defaults.headers.common['Authorization'] = `Bearer ${token}`

@@ -41,0 +45,0 @@ }

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