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

remote-pay-cloud

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remote-pay-cloud - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "remote-pay-cloud",
"version": "0.0.2",
"version": "0.0.3",
"description": "Access Clover devices through the cloud",

@@ -5,0 +5,0 @@ "keywords": [

@@ -268,4 +268,15 @@ var LanMethod = require("./LanMethod.js");

/**
* @private
* @returns {json} a break message
*/
this.buildBreak = function (payload) {
payload.method = LanMethod.BREAK;
return this.buildRemoteMessage(LanMethod.BREAK, RemoteMessageBuilder.COMMAND, payload);
}
/**
* @private
* @returns {json} the pong message

@@ -272,0 +283,0 @@ */

@@ -766,2 +766,20 @@ //*********************************************

/**
*
* @param [ackId] - an optional id for the message. If set then the break will be acknowledged,
* otherwise there will be no response.
*/
WebSocketDevice.prototype.sendBreak = function(ackId) {
var payload = {
};
var lanMessage = this.messageBuilder.buildBreak(payload);
// If an id is included, then an "ACK" message will be sent for this message
if(ackId) lanMessage.id = ackId;
this.sendMessage(lanMessage);
}
//

@@ -1239,2 +1257,1 @@ /**

}

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