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 8, 2023
1 parent 5db02d7 commit 3e668e2
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 255 deletions.

0 comments on commit 3e668e2

Please sign in to comment.