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

@serverless/platform-sdk

Package Overview
Dependencies
Maintainers
2
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 0.1.2 to 0.1.3

dist/tenants/index.js

2

dist/config.js

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

preview: {
frontendUrl: 'https://deploy-preview-124--eg-dashboard-dev.netlify.com/',
frontendUrl: 'https://deploy-preview-162--eg-dashboard-dev.netlify.com/',
backendUrl: 'https://garkuu3a57.execute-api.us-east-1.amazonaws.com/dev/'

@@ -14,0 +14,0 @@ },

@@ -12,6 +12,7 @@ 'use strict';

var service = require('./service');
var tenants = require('./tenants');
var accessKeys = require('./accessKeys');
var login = require('./login');
module.exports = Object.assign({}, service, accessKeys, login);
module.exports = Object.assign({}, service, tenants, accessKeys, login);
//# sourceMappingURL=index.js.map

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

var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
var app, server, queries, opnRes;
var app, server, beginLoginQueries, endLoginQueries, opnRes;
return regeneratorRuntime.wrap(function _callee$(_context) {

@@ -25,18 +25,21 @@ while (1) {

server = app.listen(8000);
queries = querystring.stringify({ cli: 'true' });
_context.next = 7;
return openBrowser(`${platformConfig.frontendUrl}?${queries}`);
beginLoginQueries = querystring.stringify({ cli: 'true' });
endLoginQueries = querystring.stringify({ cli: 'true', cliLoginSuccessful: 'true' });
_context.next = 8;
return openBrowser(`${platformConfig.frontendUrl}?${beginLoginQueries}`);
case 7:
case 8:
opnRes = _context.sent;
return _context.abrupt('return', new Promise(function (resolve) {
app.post('/', function (req, res) {
app.get('/', function (req, res) {
if (opnRes) opnRes.kill();
opnRes.kill();
res.redirect(`${platformConfig.frontendUrl}?${endLoginQueries}`);
res.end();
server.close();
return resolve(req.body);
return resolve(req.query);
});
}));
case 9:
case 10:
case 'end':

@@ -43,0 +46,0 @@ return _context.stop();

{
"name": "@serverless/platform-sdk",
"version": "0.1.2",
"version": "0.1.3",
"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

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