Closed AlexGriffith10 closed 1 year ago
Can we just use the TextEncoder/TextDecoder that we get from the node utils? https://nodejs.org/api/util.html#class-utiltextencoder
We are already using it in src/tests/node.js and I tried it in our other unit tests and it worked there.
Can we just use the TextEncoder/TextDecoder that we get from the node utils? https://nodejs.org/api/util.html#class-utiltextencoder
We are already using it in src/tests/node.js and I tried it in our other unit tests and it worked there. good catch
Change
Original Issue: https://github.com/eosnetworkfoundation/mandel-eosjs/issues/4
The text-encoding package has been deprecated so I've substituted it with the text-encoder package made for node. This is only used in tests so should be low impact. Tests are all passing. I did have to add the types to the repo since typescript is set to not allow for
any
typingListing of Commits
fix: removed deprecated text-encoding package for text-encoder package
Listing of Files Changed
API Changes
N/A
Documentation Additions
Updated documentation in repo to point to new package.