Comparing version 5.0.0 to 5.0.1
# node-influx Changelog | ||
## 2016-11-12, 5.0.1 | ||
* bug: `.grantPrivilege` generating invalid queries ([#239](https://github.com/node-influx/node-influx/issues/239)) | ||
* doc: a documentation issue in `.createRetentionPolicy`'s options ([#238](https://github.com/node-influx/node-influx/issues/238)) | ||
* doc: `tags` and `fields` being swapped in a couple of usage examples | ||
## 2016-10-27, 5.0.0 | ||
Stable release! No new changes. | ||
## 2016-10-24, 5.0.0-alpha.4 | ||
@@ -4,0 +14,0 @@ |
@@ -447,3 +447,3 @@ import { IPingStats, IPoolOptions } from './pool'; | ||
* should be replicated to. | ||
* @param {Boolean} [options.default] Whether the retention policy should | ||
* @param {Boolean} [options.isDefault] Whether the retention policy should | ||
* be the default policy on the database. | ||
@@ -573,4 +573,4 @@ * @returns {Promise<void>} | ||
* measurement: 'perf', | ||
* fields: { host: 'box1.example.com' }, | ||
* tags: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* tags: { host: 'box1.example.com' }, | ||
* fields: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* } | ||
@@ -584,4 +584,4 @@ * ]) | ||
* measurement: 'perf', | ||
* fields: { host: 'box1.example.com' }, | ||
* tags: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* tags: { host: 'box1.example.com' }, | ||
* fields: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* timestamp: getLastRecordedTime(), | ||
@@ -607,4 +607,4 @@ * } | ||
* { | ||
* fields: { host: 'box1.example.com' }, | ||
* tags: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* tags: { host: 'box1.example.com' }, | ||
* fields: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* } | ||
@@ -611,0 +611,0 @@ * ]) |
@@ -427,4 +427,4 @@ "use strict"; | ||
return this.pool.json(this.getQueryOpts({ | ||
q: ("grant " + privilege + " to " + grammar.escape.quoted(username) + " on ") | ||
+ grammar.escape.quoted(database), | ||
q: ("grant " + privilege + " on " + grammar.escape.quoted(database) + " ") | ||
+ ("to " + grammar.escape.quoted(username)), | ||
}, 'POST')).then(results_1.assertNoErrors); | ||
@@ -546,3 +546,3 @@ }; | ||
* should be replicated to. | ||
* @param {Boolean} [options.default] Whether the retention policy should | ||
* @param {Boolean} [options.isDefault] Whether the retention policy should | ||
* be the default policy on the database. | ||
@@ -689,4 +689,4 @@ * @returns {Promise<void>} | ||
* measurement: 'perf', | ||
* fields: { host: 'box1.example.com' }, | ||
* tags: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* tags: { host: 'box1.example.com' }, | ||
* fields: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* } | ||
@@ -700,4 +700,4 @@ * ]) | ||
* measurement: 'perf', | ||
* fields: { host: 'box1.example.com' }, | ||
* tags: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* tags: { host: 'box1.example.com' }, | ||
* fields: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* timestamp: getLastRecordedTime(), | ||
@@ -762,4 +762,4 @@ * } | ||
* { | ||
* fields: { host: 'box1.example.com' }, | ||
* tags: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* tags: { host: 'box1.example.com' }, | ||
* fields: { cpu: getCpuUsage(), mem: getMemUsage() }, | ||
* } | ||
@@ -766,0 +766,0 @@ * ]) |
{ | ||
"name": "influx", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "InfluxDB Client", | ||
@@ -5,0 +5,0 @@ "main": "./lib/src/index.js", |
@@ -14,3 +14,3 @@ <p align="center"> | ||
<a href="https://saucelabs.com/u/node-influx"><img src="https://saucelabs.com/browser-matrix/node-influx.svg" alt="Browser Test Status"></a> | ||
<a href="https://saucelabs.com/u/influx"><img src="https://saucelabs.com/browser-matrix/influx.svg" alt="Browser Test Status"></a> | ||
</p> | ||
@@ -17,0 +17,0 @@ |
171090