Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/farmbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,6 @@ var Farmbot = (function () {
};
return Farmbot;
}());
Farmbot.VERSION = "4.0.5";
Farmbot.VERSION = "4.0.6";
Farmbot.defaults = { speed: 800, timeout: 6000, secure: true };
exports.Farmbot = Farmbot;
2 changes: 1 addition & 1 deletion dist/interfaces.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface Pin {
value: number;
}
export declare type Pins = Dictionary<Pin | undefined>;
export declare type ConfigurationName = "os_auto_update" | "fw_auto_update" | "steps_per_mm_x" | "steps_per_mm_y" | "steps_per_mm_z";
export declare type ConfigurationName = "os_auto_update" | "fw_auto_update" | "steps_per_mm_x" | "steps_per_mm_y" | "steps_per_mm_z" | "max_retries";
export declare type Configuration = Partial<Record<ConfigurationName, (boolean | number | undefined)>>;
/** The possible values for the sync_msg property on informational_settings */
export declare type SyncStatus = "locked" | "maintenance" | "sync_error" | "sync_now" | "synced" | "syncing" | "unknown";
Expand Down
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": "4.0.5",
"version": "4.0.6",
"description": "Farmbot Javascript client.",
"scripts": {
"build": "./build.sh"
Expand Down
2 changes: 1 addition & 1 deletion src/farmbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ declare var global: any;
const RECONNECT_THROTTLE = 45000;

export class Farmbot {
static VERSION = "4.0.5";
static VERSION = "4.0.6";
static defaults = { speed: 800, timeout: 6000, secure: true };

/** Storage area for all event handlers */
Expand Down
3 changes: 2 additions & 1 deletion src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export type ConfigurationName =
| "fw_auto_update"
| "steps_per_mm_x"
| "steps_per_mm_y"
| "steps_per_mm_z";
| "steps_per_mm_z"
| "max_retries";

export type Configuration =
Partial<Record<ConfigurationName, (boolean | number | undefined)>>;
Expand Down