diff --git a/package.json b/package.json index dea8582..cc0735b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arduino-create-agent-js-client", - "version": "2.12.0", + "version": "2.13.0", "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/socket-daemon.js b/src/socket-daemon.js index 884c5ea..ba738a0 100644 --- a/src/socket-daemon.js +++ b/src/socket-daemon.js @@ -163,7 +163,7 @@ export default class SocketDaemon extends Daemon { }); if (found) { - return fetch('https://s3.amazonaws.com/arduino-create-static/agent-metadata/agent-version.json') + return fetch('https://downloads.arduino.cc/agent-metadata/agent-version.json') .then(response => response.json().then(data => { if (this.agentInfo.version && (semVerCompare(this.agentInfo.version, data.Version) === 0 || this.agentInfo.version.indexOf('dev') !== -1 || this.agentInfo.version.indexOf('rc') !== -1)) { return this.agentInfo;