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

chipchat-tokens-to-google-secretmanager-mixin

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chipchat-tokens-to-google-secretmanager-mixin - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

package.json
{
"name": "chipchat-tokens-to-google-secretmanager-mixin",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -13,4 +13,4 @@ "main": "src/index.js",

"@google-cloud/secret-manager": "^3.2.0",
"chipchat": "git://github.com/chatshipper/chipchat#development"
"chipchat": "git://github.com/chatshipper/chipchat.git#development"
}
}

@@ -39,3 +39,3 @@ const debug = require('debug');

async function setTokens(tokens) {
const tokenid = (ChipChat.decodeJwt(tokens) || {})._id;
const tokenid = (ChipChat.decodeJwt(tokens.token) || {})._id;
if (tokenid) {

@@ -47,3 +47,3 @@ log(`setTokens: using tokenid ${tokenid}`);

payload: {
data: Buffer.from(tokens, 'utf8')
data: Buffer.from(JSON.stringify(tokens), 'utf8')
}

@@ -50,0 +50,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