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 1.1.0 to 1.2.0

CONTRIBUTING.md

5

CHANGELOG.md
## Changelog
### 1.2.0
* Append flex SDK version to task response
* Upgrade code-task-receiver to v1.2.1 to fix null tasks sent via the TCP stream from crashing
* Fixed doc issue
### 1.1.0

@@ -4,0 +9,0 @@ * Added `modules.userStore` for creating, updating, finding, deleting, suspending, and restoring user entities.

9

lib/flex.js

@@ -15,8 +15,9 @@ /**

const data = require('./service/data');
const isNil = require('lodash.isnil');
const receiver = require('kinvey-code-task-runner');
const data = require('./service/data');
const flex = require('../package.json');
const functions = require('./service/functions');
const logger = require('./service/logger');
const moduleGenerator = require('./service/moduleGenerator');
const logger = require('./service/logger');
const receiver = require('kinvey-code-task-runner');

@@ -42,5 +43,7 @@ class Flex {

this.moduleGenerator = moduleGenerator;
this.version = flex.version;
// TODO Remove legacy taskType values
const taskReceivedCallback = (task, completionCallback) => {
task.sdkVersion = this.version;
if (task.taskType === 'data' || task.taskType === 'dataLink') {

@@ -47,0 +50,0 @@ return this.data.process(task, this.moduleGenerator.generate(task), completionCallback);

{
"name": "kinvey-flex-sdk",
"version": "1.1.0",
"version": "1.2.0",
"description": "SDK for creating Kinvey Flex Services",

@@ -20,3 +20,3 @@ "engines": {

"bson": "0.4.23",
"kinvey-code-task-runner": "1.0.0",
"kinvey-code-task-runner": "1.2.1",
"kinvey-datalink-errors": "0.2.2",

@@ -23,0 +23,0 @@ "lodash.forown": "4.2.0",

@@ -530,3 +530,3 @@ # Kinvey Flex SDK (beta)

const options = {
useBl: true,
skipBl: true,
useMasterSecret: false

@@ -1258,3 +1258,3 @@ }

const options = {
useBl: true,
skipBl: true,
useMasterSecret: false

@@ -1261,0 +1261,0 @@ }

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

const flexPackageJson = require('../../package.json');
const should = require('should');

@@ -35,2 +36,4 @@ const proxyquire = require('proxyquire');

should.exist(flex.logger);
should.exist(flex.version);
flex.version.should.eql(flexPackageJson.version);
return done();

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