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

fh-wfm-sync

Package Overview
Dependencies
Maintainers
6
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fh-wfm-sync - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3-pre.1

10

lib/server.js

@@ -8,2 +8,4 @@ 'use strict';

var shortid = require('shortid');
function initSync(mediator, mbaasApi, datasetId, syncOptions) {

@@ -13,4 +15,10 @@ syncOptions = syncOptions || defaultConfig.syncOptions;

var dataListHandler = function(datasetId, queryParams, cb) {
mediator.request('wfm:cloud:' + datasetId + ':list', queryParams, {uid: null, timeout: 5000})
queryParams = queryParams || {};
var uid = shortid.generate();
queryParams.topicUid = uid;
mediator.request('wfm:cloud:' + datasetId + ':list', queryParams, {uid: uid})
.then(function(data) {
var syncData = {};

@@ -17,0 +25,0 @@ data.forEach(function(object) {

5

package.json
{
"name": "fh-wfm-sync",
"version": "0.3.2",
"version": "0.3.3-pre.1",
"description": "An sync module for WFM",

@@ -28,3 +28,4 @@ "main": "lib/angular/sync-ng.js",

"q": "1.4.1",
"rx": "4.1.0"
"rx": "4.1.0",
"shortid": "2.2.8"
},

@@ -31,0 +32,0 @@ "devDependencies": {

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