dynst

Results 111 issues of dynst

- [x] The EVM chains migrated with the update to ethers v6 and most packages dropped `bip32` in #1424 - [ ] #1469 - [x] replace `bech32` with `@scure/base` -...

``` 7.6M node_modules/@radixdlt/radix-engine-toolkit/dist/radix-engine-toolkit.umd.js ``` https://bundlephobia.com/package/@xchainjs/[email protected] https://bundlephobia.com/package/@radixdlt/[email protected] How did this library end up at 7 MB, excluding dependencies?

https://github.com/xchainjs/xchainjs-lib/blob/f72dd403f8aa3546c545f665e1007ddb02b889bb/packages/xchain-mayachain/genMsgs.sh#L19 ``` 120K packages/xchain-mayachain/src/types/proto/MsgCompiled.js 308K packages/xchain-thorchain/src/types/proto/MsgCompiled.js ``` xchain-thorchain itself is ~ 45.64 kB bundled, before you add its dependencies. https://bundlephobia.com/package/@xchainjs/[email protected] There's got to be a better way. https://buf.build/blog/protobuf-es-the-protocol-buffers-typescript-javascript-runtime-we-all-deserve https://www.npmjs.com/package/@bufbuild/protobuf

```sh $ du -hs node_modules/lodash/ 5.0M node_modules/lodash/ ``` `lodash` is over 96 kB of the bundle size. https://bundlephobia.com/package/@xchainjs/[email protected] There are 5 dependencies and 1 devDependencies that pull in `lodash`, a...

https://nodejs.org/api/packages.html#exports Without this field, Node.js import logic believes it's just a CJS package - node doesn't recognize the old non-standard `"module"` field (while transpilers like webpack do).

https://packagephobia.com/[email protected] ``` └─ @dashevo/dashcore-lib@npm:0.25.0 └─ tsd@npm:0.28.1 (via npm:^0.28.1) ``` `@dashevo/dashcore-lib` continues to list this CLI tool in `dependencies` instead of in `devDependencies`. https://github.com/dashpay/dashcore-lib/pull/295

- unpacked size of `axios` 1.9.0: [2.16 MB](https://www.npmjs.com/package/axios/v/1.9.0) - unpacked size of `node-fetch` 2.7.0: [162 kB](https://www.npmjs.com/package/node-fetch/v/2.7.0) - native support for `fetch` in Node.js: [priceless](https://nodejs.org/dist/latest-v22.x/docs/api/globals.html#fetch) ### Impact on tests `axios-mock-adapter` in...

https://github.com/xchainjs/xchainjs-lib/blob/7f0cc58f7d67419e2efbfb329d8d2eff9271a7d1/packages/xchain-util/src/ninerealms.ts#L39 It's used in all of the examples/ and README files, but is this function still needed? Its only call sites in Asgardex were removed in https://github.com/asgardex/asgardex-desktop/pull/400

Migrating away from Jest/`ts-jest` to the native `test` module that got stabilized in Node.js 20 might be worthwhile at some point. (Most of its API is similar to Jest's.) https://nodejs.org/en/blog/announcements/v20-release-announce#stable-test-runner...

But it was removed in #997. ```sh grep @cosmos-client -rl packages/ ```