feat: use cross-fetch instead of node-fetch (#19621)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Justin Starry
2021-09-07 17:09:13 -05:00
committed by GitHub
parent 529fefc7cc
commit 4c6f9bac32
4 changed files with 112 additions and 113 deletions

View File

@@ -1,6 +1,7 @@
import bs58 from 'bs58';
import {Buffer} from 'buffer';
import fetch, {Response} from 'node-fetch';
import fetch from 'cross-fetch';
import type {Response} from 'cross-fetch';
import {
type as pick,
number,