File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 2121
2222 - uses : actions/setup-node@v2
2323 with :
24- node-version : ' 16 .x'
24+ node-version : ' 18 .x'
2525 registry-url : ' https://registry.npmjs.org'
2626
2727 - name : Variables
Original file line number Diff line number Diff line change 1919
2020 - uses : actions/setup-node@v2
2121 with :
22- node-version : ' 16 .x'
22+ node-version : ' 18 .x'
2323 registry-url : ' https://registry.npmjs.org'
2424
2525 - name : Package Name
Original file line number Diff line number Diff line change 99 " lib/**/*"
1010 ],
1111 "engines" : {
12- "node" : " >=14.16 "
12+ "node" : " >=18.* "
1313 },
1414 "scripts" : {
1515 "build" : " tsc" ,
6060 },
6161 "dependencies" : {
6262 "@blockcore/coininfo" : " ^5.2.2" ,
63- "@blockcore/dns" : " ^0.0.5" ,
64- "node-fetch" : " ^3.2.9"
63+ "@blockcore/dns" : " ^0.0.6"
6564 }
6665}
Original file line number Diff line number Diff line change 1- import fetch , { Response } from 'node-fetch' ;
2-
31export class WebRequest {
42 public static async fetchText ( url : string ) : Promise < string > {
53 const response = await WebRequest . fetchUrl ( url ) ;
You can’t perform that action at this time.
0 commit comments