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

@fusebit/add-on-sdk

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fusebit/add-on-sdk - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

lib/index.js

@@ -405,5 +405,6 @@ const Superagent = require('superagent');

exports.getStorageClient = (ctx) => {
const expiry = 60 * 16; // 15+1 min to align with Lambda lifecycle plus some buffer
const accessToken = Jwt.sign({}, Buffer.from(ctx.configuration.fusebit_storage_key, 'base64').toString('utf8'), {
algorithm: 'RS256',
expiresIn: 60 * 16, // 15+1 min to align with Lambda lifecycle plus some buffer
expiresIn: expiry,
audience: ctx.configuration.fusebit_storage_audience,

@@ -420,2 +421,3 @@ issuer: ctx.configuration.fusebit_storage_issuer_id,

etag: null,
expiration: Date.now() + expiry * 1000,
get: async function () {

@@ -422,0 +424,0 @@ const response = await Superagent.get(url)

{
"name": "@fusebit/add-on-sdk",
"version": "2.0.0",
"version": "2.1.0",
"description": "SDK for implementing Fusebit Add-Ons",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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