since lumos/toolkit use peerDependencies for cross-fetch/jsbi, the version 0.1.4 of provider might throw the following error:
./node_modules/@ckb-lumos/toolkit/lib/rpc.js
Module not found: Can't resolve 'cross-fetch' in '/Users/retric/Desktop/release-workspace/polyjuice-provider-example/node_modules/@ckb-lumos/toolkit/lib'
this PR fix this by:
install cross-fetch/jsbi in godwoken submodules, other submodules all depend on godwoken, so that should be enough
remove the un-needed cross-fetch in devDependencies in all submodules.
since lumos/toolkit use peerDependencies for cross-fetch/jsbi, the version 0.1.4 of provider might throw the following error:
this PR fix this by: