Comparing version 2.1.1 to 2.1.2
@@ -9,3 +9,3 @@ "use strict"; | ||
// reference: https://code.google.com/p/v8/ | ||
var USER_AGENT = "M2X-Nodejs/2.1.1 ECMAScript/5.1 (" + process.arch + "-" + process.platform + ")"; | ||
var USER_AGENT = "M2X-Nodejs/2.1.2 ECMAScript/5.1 (" + process.arch + "-" + process.platform + ")"; | ||
var Client; | ||
@@ -12,0 +12,0 @@ var createVerb; |
@@ -253,3 +253,3 @@ "use strict"; | ||
Devices.prototype.deleteStreamValues = function(id, name, params, callback) { | ||
return this.del( | ||
return this.client.del( | ||
helpers.url("/devices/%s/streams/%s/values", id, name), | ||
@@ -353,3 +353,3 @@ { params: params }, | ||
Devices.prototype.deleteDevice = function(id, callback) { | ||
return this.del(helpers.url("/devices/%s", id), callback); | ||
return this.client.del(helpers.url("/devices/%s", id), callback); | ||
}; | ||
@@ -356,0 +356,0 @@ |
{ | ||
"name": "m2x", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "AT&T M2X API client for node.js", | ||
@@ -5,0 +5,0 @@ "main": "./lib/m2x", |
# AT&T's M2X Node.js Client | ||
[AT&T’s M2X](https://m2x.att.com/) is a cloud-based fully managed data storage service for network connected machine-to-machine (M2M) devices. From trucks and turbines to vending machines and freight containers, M2X enables the devices that power your business to connect and share valuable data. | ||
[AT&T M2X](http://m2x.att.com) is a cloud-based fully managed time-series data storage service for network connected machine-to-machine (M2M) devices and the Internet of Things (IoT). | ||
This library aims to provide a simple wrapper to interact with [AT&T M2X API](https://m2x.att.com/developer/documentation/overview). Refer to the [Glossary of Terms](https://m2x.att.com/developer/documentation/glossary) to understand the nomenclature used through this documentation. | ||
The [AT&T M2X API](https://m2x.att.com/developer/documentation/overview) provides all the needed operations and methods to connect your devices to AT&T's M2X service. This library aims to provide a simple wrapper to interact with the AT&T M2X API for [Node.js](http://nodejs.org/). Refer to the [Glossary of Terms](https://m2x.att.com/developer/documentation/glossary) to understand the nomenclature used throughout this documentation. | ||
@@ -7,0 +7,0 @@ |
38093