Open Keith-CY opened 2 months ago
This issue comes from https://github.com/Magickbase/neuron/pull/406
Fetch has been supported since Node.js@18 natively while Neuron uses Electron@30(https://github.com/nervosnetwork/neuron/blob/develop/packages/neuron-wallet/package.json#L96), delivered with Node.js@20, so the external module node-fetch can be removed.
Fetch
node-fetch
Ref:
My bad, the lib to remove is https://github.com/nodejs/undici, a temp lib before native node fetch is supported.
pr: https://github.com/nervosnetwork/neuron/pull/3213
This issue comes from https://github.com/Magickbase/neuron/pull/406
Fetch
has been supported since Node.js@18 natively while Neuron uses Electron@30(https://github.com/nervosnetwork/neuron/blob/develop/packages/neuron-wallet/package.json#L96), delivered with Node.js@20, so the external modulenode-fetch
can be removed.Ref: