Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@tryghost/admin-api

Package Overview
Dependencies
Maintainers
11
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tryghost/admin-api - npm Package Compare versions

Comparing version
0.2.0
to
0.3.0
+3
-0
lib/index.js

@@ -304,2 +304,5 @@ const axios = require('axios');

} else {
delete err.request;
delete err.config;
delete err.response;
throw err;

@@ -306,0 +309,0 @@ }

+2
-3

@@ -6,5 +6,4 @@ const jwt = require('jsonwebtoken');

return jwt.sign({
kid: id
}, Buffer.from(secret, 'hex'), { // eslint-disable-line no-undef
return jwt.sign({}, Buffer.from(secret, 'hex'), { // eslint-disable-line no-undef
keyid: id,
algorithm: 'HS256',

@@ -11,0 +10,0 @@ expiresIn: '5m',

{
"name": "@tryghost/admin-api",
"version": "0.2.0",
"version": "0.3.0",
"repository": "https://github.com/TryGhost/Ghost-SDKs/tree/master/packages/admin-api",

@@ -32,4 +32,3 @@ "author": "Ghost Foundation",

"jsonwebtoken": "^8.4.0"
},
"gitHead": "28a3651a34a304660e32f0890540c618a6c4c98d"
}
}