Skip to content

Commit

Permalink
Switch using cross-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Jan 5, 2019
1 parent 896d4fa commit af3eb9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fetch from "cross-fetch";
import { JsonRpc, RpcError } from "eosjs";
import fetch from "node-fetch";
import { EosioTokenData, GetTransaction } from "./types";
import { Receipt } from "./types";
import { GetTicker } from "./types/coinmarketcap/getTicker";
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eos-receipt",
"version": "1.1.0",
"version": "1.1.1",
"description": "EOS Receipt",
"main": "index.js",
"types": "index.d.ts",
Expand All @@ -21,16 +21,14 @@
"author": "Denis Carriere <denis@eosnation.io>",
"license": "MIT",
"devDependencies": {
"@types/jest": "*",
"@types/node-fetch": "*",
"@types/text-encoding": "*",
"documentation": "*",
"tslint": "*",
"typescript": "*"
},
"dependencies": {
"axios": "*",
"eosjs": "^20.0.0-beta3",
"node-fetch": "*"
"cross-fetch": "3.x",
"eosjs": "20.0.0-beta3"
}
}

0 comments on commit af3eb9c

Please sign in to comment.