antietcd 1.0.3 → 1.0.4

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/etctree.js +1 -1
  2. package/package.json +1 -1
package/etctree.js CHANGED
@@ -279,7 +279,7 @@ class EtcTree
279
279
  {
280
280
  cur_old.value = cur_new.value;
281
281
  const key_watchers = (cur_old.key_watchers ? [ ...watchers, ...(cur_old.key_watchers||[]) ] : watchers);
282
- const notify = { watchers: key_watchers, key, value: cur_new.value, mod_revision: cur_new.mod_revision };
282
+ const notify = { watchers: key_watchers, key: this.b64(key), value: this.b64(cur_new.value), mod_revision: cur_new.mod_revision };
283
283
  if (cur_new.lease)
284
284
  {
285
285
  notify.lease = cur_new.lease;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antietcd",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Simplistic etcd replacement based on TinyRaft",
5
5
  "main": "antietcd.js",
6
6
  "scripts": {