New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wapp-api

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wapp-api - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

1

models/generic-class.js

@@ -228,2 +228,3 @@ const fetch = require('node-fetch');

savedResponse.responseJSON = jsonResponse;
this.emit("response:handled", this, jsonResponse, savedResponse);
this._fireResponse("success", this, [this, jsonResponse, savedResponse], options);

@@ -230,0 +231,0 @@ })

@@ -268,2 +268,3 @@ const fetch = require('node-fetch');

savedResponse.responseJSON = jsonResponse;
this.emit("response:handled", this, jsonResponse, savedResponse);
this._fireResponse("success", this, [this, jsonResponse, savedResponse], options);

@@ -270,0 +271,0 @@ })

2

package.json
{
"name": "wapp-api",
"version": "1.0.11",
"version": "1.0.12",
"description": "Helper functions to speed up wapp development process.",

@@ -5,0 +5,0 @@ "main": "wappsto/index.js",

@@ -99,13 +99,17 @@ const Request = require('../models/request');

callStatusChange.call(context, options, STATUS.ACCEPTED, context, response);
if(options.subscribe === true && this._wStream){
this._wStream.subscribe(context);
}
resolve(response);
context.on("response:handled", () => {
if(options.subscribe === true && this._wStream){
this._wStream.subscribe(context);
}
});
}
} else {
callStatusChange.call(context, options, STATUS.ACCEPTED);
if(options.subscribe === true && this._wStream){
this._wStream.subscribe(context);
}
resolve(response);
context.on("response:handled", () => {
if(options.subscribe === true && this._wStream){
this._wStream.subscribe(context);
}
});
}

@@ -112,0 +116,0 @@ }

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