Skip to content

Commit

Permalink
fix: replace node-fetch with cross-fetch
Browse files Browse the repository at this point in the history
node-fetch don't give the same result if polyfilled with Node.js buffer or web stream.
(See node-fetch/node-fetch#1308 for details)
Vite bundling use polyfill while Webpack web stream: this lead to eosjs not being able to decode the wallet requests.
With cross-node this unreliable behavior is fixed.
  • Loading branch information
envin3 committed Mar 6, 2023
1 parent 9e87bde commit 8dd8644
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 255 deletions.

0 comments on commit 8dd8644

Please sign in to comment.