From 190afeb0c4f52d7f6118415da2f7040b874d6265 Mon Sep 17 00:00:00 2001 From: Alberto Iannaccone Date: Thu, 29 Apr 2021 16:15:02 +0200 Subject: [PATCH 1/2] support compilation extrafiles --- src/daemon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/daemon.js b/src/daemon.js index c448726..6fcfbd8 100644 --- a/src/daemon.js +++ b/src/daemon.js @@ -171,7 +171,8 @@ export default class Daemon { } }); }); - this._upload(uploadPayload, uploadCommandInfo); + const files = [...(uploadCommandInfo.files || []), ...(compilationResult.files || [])]; + this._upload(uploadPayload, { ...uploadCommandInfo, files }); }); } From dc2cf5c8788ebb4c9e0c7c7846efd13da528ebc2 Mon Sep 17 00:00:00 2001 From: Alberto Iannaccone Date: Thu, 29 Apr 2021 16:15:21 +0200 Subject: [PATCH 2/2] 2.4.9 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 41bdc1b..e26dd3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "arduino-create-agent-js-client", - "version": "2.4.8", + "version": "2.4.9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index fbd32ec..779e384 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arduino-create-agent-js-client", - "version": "2.4.8", + "version": "2.4.9", "description": "JS module providing discovery of the Arduino Create Plugin and communication with it", "main": "lib/index.js", "module": "es/index.js",