Skip to content

Commit

Permalink
v15.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielburnworth committed Nov 3, 2023
1 parent 056a832 commit b933c80
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dist/farmbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ var Farmbot = /** @class */ (function () {
var reason = (response.body || [])
.map(function (x) { return x.args.message; })
.join(", ");
return reject(new Error("Problem sending RPC command: " + reason));
return reject(new Error(reason));
default:
console.dir(response);
throw new Error("Got a bad CeleryScript node.");
Expand Down Expand Up @@ -454,7 +454,7 @@ var Farmbot = /** @class */ (function () {
enumerable: false,
configurable: true
});
Farmbot.VERSION = "15.8.4";
Farmbot.VERSION = "15.8.5";
return Farmbot;
}());
exports.Farmbot = Farmbot;
4 changes: 2 additions & 2 deletions dist/farmbot_single_file.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/farmbot_single_file.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "farmbot",
"version": "15.8.4",
"version": "15.8.5",
"description": "Farmbot Javascript client.",
"browserslist": "defaults",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/farmbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Farmbot {
private config: Conf;
public client?: MqttClient;
public resources: ResourceAdapter;
static VERSION = "15.8.4";
static VERSION = "15.8.5";

constructor(input: FarmbotConstructorParams) {
this._events = {};
Expand Down Expand Up @@ -427,7 +427,7 @@ export class Farmbot {
const reason = (response.body || [])
.map(x => x.args.message)
.join(", ");
return reject(new Error("Problem sending RPC command: " + reason));
return reject(new Error(reason));
default:
console.dir(response);
throw new Error("Got a bad CeleryScript node.");
Expand Down

0 comments on commit b933c80

Please sign in to comment.