@roll-network/api
v3.0.3
Published
API request functions for Roll
Downloads
5
Readme
@roll-network/api
Install
yarn add @roll-network/api
Setup
The library uses better-queue that is a browser compatible Node package. It requires util to be installed when used within browser environment.
CRA
If you use create-react-app, you have to
- Install craco.
- Update
package.json
to usecraco
instead ofreact-scripts
in thescripts
section. - Create a new
craco.config.js
file with the following content:
module.exports = {
webpack: {
configure: {
resolve: {
fallback: {
util: require.resolve("util"),
},
},
},
},
};