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

@serverless/platform-sdk

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/platform-sdk - npm Package Compare versions

Comparing version 2.2.0-2-ge8b3a6c to 2.2.0-6-gfad84fc

2

dist/config.js

@@ -8,3 +8,3 @@ 'use strict';

frontendUrl: 'http://localhost:3000/',
backendUrl: 'https://localhost:3011/core/',
backendUrl: 'http://localhost:3011/core/',
loginBrokerUrl: 'https://api.serverless-dev.com/login/',

@@ -11,0 +11,0 @@ logDestinationUrl: 'https://api.serverless-dev.com/malt/',

@@ -43,3 +43,3 @@ 'use strict';

var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(tenant) {
var configFile, loginIdentityPromises, transactionId, scope, AUTH0_DOMAIN, auth0Queries, auth0Endpoint, data, decoded, id, updatedConfigFile, accessKey;
var configFile, loginIdentityPromises, transactionId, scope, AUTH0_DOMAIN, auth0Queries, auth0Endpoint, data, decoded, id, expiresAt, updatedConfigFile, accessKey;
return regeneratorRuntime.wrap(function _callee$(_context) {

@@ -87,2 +87,3 @@ while (1) {

id = decoded.tracking_id || decoded.sub;
expiresAt = data.expires_in ? Date.now() + data.expires_in : data.expires_at;

@@ -100,4 +101,4 @@ configFile.userId = id;

idToken: data.id_token,
expiresAt: Date.now() + data.expires_in,
username: decoded.nickname
expiresAt: expiresAt,
username: data.username
}

@@ -123,10 +124,10 @@

if (!(tenant && tenant !== 'tenantname')) {
_context.next = 32;
_context.next = 33;
break;
}
_context.next = 30;
_context.next = 31;
return (0, _accessKeys.createAccessKeyForTenant)(tenant);
case 30:
case 31:
accessKey = _context.sent;

@@ -140,6 +141,6 @@

case 32:
case 33:
return _context.abrupt('return', updatedConfigFile);
case 33:
case 34:
case 'end':

@@ -146,0 +147,0 @@ return _context.stop();

{
"name": "@serverless/platform-sdk",
"version": "2.2.0-2-ge8b3a6c",
"version": "2.2.0-6-gfad84fc",
"description": "Serverless Platform SDK",

@@ -5,0 +5,0 @@ "author": "Serverless, Inc.",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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