File tree 2 files changed +3
-19
lines changed
2 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " arduino-create-agent-js-client" ,
3
- "version" : " 2.5 .0" ,
3
+ "version" : " 2.6 .0" ,
4
4
"description" : " JS module providing discovery of the Arduino Create Plugin and communication with it" ,
5
5
"main" : " lib/index.js" ,
6
6
"module" : " es/index.js" ,
Original file line number Diff line number Diff line change 1
1
import { BehaviorSubject } from 'rxjs' ;
2
- import {
3
- takeUntil ,
4
- filter ,
5
- first
6
- } from 'rxjs/operators' ;
7
2
import semverCompare from 'semver-compare' ;
3
+ import { takeUntil , filter , first } from 'rxjs/operators' ;
8
4
import { fwupdaterSignatures , oldFwupdaterSignatures } from './signatures' ;
9
5
10
6
/* The status of the Firmware Updater Tool */
@@ -191,18 +187,6 @@ export default class FirmwareUpdater {
191
187
}
192
188
} ) ;
193
189
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
-
206
190
const [ programmer , signature ] = programmerFor ( boardId ) ;
207
191
208
192
if ( ! this . loaderPath ) {
@@ -217,7 +201,7 @@ export default class FirmwareUpdater {
217
201
hex : '' ,
218
202
extra : {
219
203
auth : {
220
- password : `"${ this . loaderPath } " -firmware "${ this . firmwareVersionData . Path } " ${ addresses } ` ,
204
+ password : `"${ this . loaderPath } " -firmware "${ this . firmwareVersionData . Path } "` ,
221
205
} ,
222
206
} ,
223
207
signature,
You can’t perform that action at this time.
0 commit comments