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

kinvey-flex-sdk

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinvey-flex-sdk - npm Package Compare versions

Comparing version 2.0.0-b.1 to 2.0.0-b.2

10

lib/flex.js

@@ -23,2 +23,3 @@ /**

const receiver = require('kinvey-code-task-runner');
const kinveyErrors = require('kinvey-datalink-errors');

@@ -50,4 +51,9 @@ class Flex {

task.sdkVersion = this.version;
if (!this[task.taskType] || task.taskType === 'logger' || task.taskType === 'moduleGenerator') {
return new Error('Invalid task Type');
if ((!this[task.taskType] && task.taskType !== 'serviceDiscovery') || task.taskType === 'logger' || task.taskType === 'moduleGenerator') {
task.response = task.response || {};
const result = task.response;
result.body = kinveyErrors.generateKinveyError('BadRequest', 'Invalid task Type');
result.statusCode = result.body.statusCode;
delete result.body.statusCode;
return completionCallback(task);
}

@@ -54,0 +60,0 @@

2

package.json
{
"name": "kinvey-flex-sdk",
"version": "2.0.0-b.1",
"version": "2.0.0-b.2",
"description": "SDK for creating Kinvey Flex Services",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is too big to display

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