New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tryvital/vital-node

Package Overview
Dependencies
Maintainers
1
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tryvital/vital-node - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

15

dist/index.js
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -58,5 +69,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

token = _a.sent();
config.headers = {
Authorization: "Bearer " + token,
};
config.headers = __assign(__assign({}, config.headers), { Authorization: "Bearer " + token });
return [2 /*return*/, config];

@@ -63,0 +72,0 @@ }

1

index.ts

@@ -38,2 +38,3 @@ import {

config.headers = {
...config.headers,
Authorization: `Bearer ${token}`,

@@ -40,0 +41,0 @@ };

{
"name": "@tryvital/vital-node",
"version": "0.2.2",
"version": "0.2.3",
"description": "Node client for Vital",

@@ -5,0 +5,0 @@ "author": "maitham",

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