bdy 1.9.14-dev → 1.9.15-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.9.14-dev",
4
+ "version": "1.9.15-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -131,6 +131,7 @@ class AgentManagerClass {
131
131
  }
132
132
  try {
133
133
  await buddy_js_1.default.enableTarget(this.id, this.host, this.token);
134
+ this.agent.target = true;
134
135
  }
135
136
  catch (err) {
136
137
  this.serverError(res, err.message);
@@ -145,6 +146,7 @@ class AgentManagerClass {
145
146
  }
146
147
  try {
147
148
  await buddy_js_1.default.disableTarget(this.id, this.host, this.token);
149
+ this.agent.target = false;
148
150
  }
149
151
  catch (err) {
150
152
  this.serverError(res, err.message);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.9.14-dev",
4
+ "version": "1.9.15-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {