Skip to content

Commit

Permalink
Merge pull request #230 from steemit/change-fetch-dep
Browse files Browse the repository at this point in the history
Change isomorphic-fetch to fetch-ponyfill
  • Loading branch information
bonustrack authored Aug 15, 2017
2 parents ebf4ccb + 7d9bb24 commit 19e166c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"debug": "^2.6.8",
"detect-node": "^2.0.3",
"ecurve": "^1.0.5",
"isomorphic-fetch": "^2.2.1",
"fetch-ponyfill": "^4.1.0",
"lodash": "^4.16.4",
"postinstall-build": "^5.0.1",
"secure-random": "^1.1.1",
Expand Down
5 changes: 3 additions & 2 deletions src/api/transports/http.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import fetch from 'isomorphic-fetch';
import fetchPonyfill from 'fetch-ponyfill';
import Promise from 'bluebird';
import newDebug from 'debug';

import Transport from './base';

const { fetch } = fetchPonyfill(Promise);
const debug = newDebug('steem:http');

export default class HttpTransport extends Transport {
Expand Down

0 comments on commit 19e166c

Please sign in to comment.