grmjs / grm

MTProto API Client for Deno 🦕
https://t.me/grm_news
MIT License
46 stars 3 forks source link

Browser support #22

Open rojvv opened 1 year ago

rojvv commented 1 year ago

We need to support browsers. For this, we might want to keep away from std/node as much as we can, since it has many Deno-only code, and we have already faced enough problems with it.

rojvv commented 1 year ago

Our current problem is in generating the auth key. It is stuck here: https://github.com/grmjs/grm/blob/87751ebd313b1e3f62b73e322887934110d124f0/src/network/mtproto_plain_sender.ts#L31