antietcd 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/antietcd.js +2 -2
  2. package/package.json +1 -1
package/antietcd.js CHANGED
@@ -20,7 +20,7 @@ const AntiCluster = require('./anticluster.js');
20
20
  const AntiLocker = require('./antilocker.js');
21
21
  const { runCallbacks, de64, b64, RequestError } = require('./common.js');
22
22
 
23
- const VERSION = '1.2.0';
23
+ const VERSION = '1.2.1';
24
24
 
25
25
  class AntiEtcd extends EventEmitter
26
26
  {
@@ -530,7 +530,7 @@ class AntiEtcd extends EventEmitter
530
530
  if (!data[key])
531
531
  continue;
532
532
  const actions = [];
533
- for (const item of data[actions])
533
+ for (const item of data[key])
534
534
  {
535
535
  const copy = {};
536
536
  let r;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antietcd",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Simplistic etcd replacement based on TinyRaft",
5
5
  "main": "antietcd.js",
6
6
  "scripts": {