diff --git a/package-lock.json b/package-lock.json index 3574eaf4..1d3b8913 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "arduino-create-agent-js-client", - "version": "2.1.10", + "version": "2.1.11", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 07f8713a..2a78beff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arduino-create-agent-js-client", - "version": "2.1.10", + "version": "2.1.11", "description": "JS module providing discovery of the Arduino Create Plugin and communication with it", "main": "lib/index.js", "module": "es/index.js", diff --git a/src/daemon.js b/src/daemon.js index 4e4c508b..343dd863 100644 --- a/src/daemon.js +++ b/src/daemon.js @@ -119,7 +119,7 @@ export default class Daemon { // Fetch command line for the board fetch(`${this.BOARDS_URL}/${target.board}/compute`, { method: 'POST', - body: JSON.stringify({ action: 'upload', verbose }) + body: JSON.stringify({ action: 'upload', verbose, os: this.agentInfo.os }) }) .then(result => result.json()) .then(uploadCommandInfo => {