File tree Expand file tree Collapse file tree 2 files changed +3
-19
lines changed
Expand file tree Collapse file tree 2 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " arduino-create-agent-js-client" ,
3- "version" : " 2.5 .0" ,
3+ "version" : " 2.6 .0" ,
44 "description" : " JS module providing discovery of the Arduino Create Plugin and communication with it" ,
55 "main" : " lib/index.js" ,
66 "module" : " es/index.js" ,
Original file line number Diff line number Diff line change 11import { BehaviorSubject } from 'rxjs' ;
2- import {
3- takeUntil ,
4- filter ,
5- first
6- } from 'rxjs/operators' ;
72import semverCompare from 'semver-compare' ;
3+ import { takeUntil , filter , first } from 'rxjs/operators' ;
84import { fwupdaterSignatures , oldFwupdaterSignatures } from './signatures' ;
95
106/* The status of the Firmware Updater Tool */
@@ -191,18 +187,6 @@ export default class FirmwareUpdater {
191187 }
192188 } ) ;
193189
194- let addresses = '' ;
195- const rootCertificates = [ {
196- domain : 'arduino.cc' ,
197- port : 443
198- } ] ;
199-
200- rootCertificates . forEach ( address => {
201- if ( address . domain && address . port ) {
202- addresses += `-address ${ address . domain } :${ address . port } ` ;
203- }
204- } ) ;
205-
206190 const [ programmer , signature ] = programmerFor ( boardId ) ;
207191
208192 if ( ! this . loaderPath ) {
@@ -217,7 +201,7 @@ export default class FirmwareUpdater {
217201 hex : '' ,
218202 extra : {
219203 auth : {
220- password : `"${ this . loaderPath } " -firmware "${ this . firmwareVersionData . Path } " ${ addresses } ` ,
204+ password : `"${ this . loaderPath } " -firmware "${ this . firmwareVersionData . Path } "` ,
221205 } ,
222206 } ,
223207 signature,
You can’t perform that action at this time.
0 commit comments