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

m2x

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m2x - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

25

lib/feeds.js

@@ -93,2 +93,27 @@ 'use strict';

// Post multiple values to multiple streams
//
// This method allows posting multiple values to multiple streams
// belonging to a feed. All the streams should be created before
// posting values using this method. The `values` parameters is a
// hash with the following format:
//
// {
// "stream-name-1": [
// { "at": <Time in ISO8601>, "value": x },
// { "value": y }
// ],
// "stream-name-2": [ ... ]
// }
//
// If the `at` attribute is missing the the current time of the
// server, in UTC, will be used.
Feeds.prototype.postMultiple = function(id, values, cb) {
return this.client.post(helpers.url("/feeds/%s", id), {
headers: { "Content-Type": "application/json" },
params: { values: values }
}, cb);
};
module.exports = Feeds;

2

package.json
{
"name": "m2x",
"version": "0.1.2",
"version": "0.1.3",
"description": "AT&T M2X API client for node.js",

@@ -5,0 +5,0 @@ "main": "./lib/m2x",

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