element-hq / element-hq/hydrogen-web
Don't include all encodings from TextEncoder polyfill as it blows up the legacy bundle by 500kb.
Open
maintenance
- Dominant language
- TypeScript
- Stars
- 714
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
As our [other dependency](https://github.com/ricmoo/aes-js#migrating-from-2x-to-3x) apparently has a similar API for just utf8 (which is the only encoding we need):
```js
aesjs.utils.utf8.toBytes(aString)
aesjs.utils.utf8.fromBytes(aString)
```
Contributor guide
Assessment
This issue has not been assessed yet.