Introduces a script which can be used to generate a package.json for the distributed module.
Adapts the current src/package.json to support {npm run|yarn} commands to generate the required package.json, as well as adapt the exports and imports fields.
Removes some redundant reexports from the top level src/index.ts.
Fixes a nasty bug only happening in production regarding the calculation of maxUint256.
package.json
for the distributed module.src/package.json
to support{npm run|yarn}
commands to generate the requiredpackage.json
, as well as adapt theexports
andimports
fields.src/index.ts
.maxUint256
.