alik0211 / mtproto-core

Telegram API JS (MTProto) client library for Node.js and browser
https://mtproto-core.js.org
GNU General Public License v3.0
630 stars 113 forks source link

Fix "pako" import #207

Closed RuslanAsadov closed 2 years ago

RuslanAsadov commented 3 years ago

The package doesn't work. If you replace this import, then everything will work again. I was getting this error: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/inflate.js' is not defined by "exports"

We have already written about this error here: https://www.gitmemory.com/issue/alik0211/mtproto-core/178/835937201 https://githubmemory.com/repo/alik0211/mtproto-core/issues/178

mamiu commented 2 years ago

@alik0211 Is there a reason why this PR is not merged yet? This PR fixed this issue for me: https://github.com/alik0211/mtproto-core/issues/178

tamdc123 commented 2 years ago

This PR should be merged asap. We all got the same error

alik0211 commented 2 years ago

Thanks! Released in version 6.1.1 - https://t.me/mtproto_core/32