i've been wanting to name a commit like this for my entire life, lol. seriously though, a lot has changed: - extracted TL-related stuff to `@mtcute/tl-utils` and `@mtcute/tl-runtime`, rewrote codegen in TS - updated to layer 134, moved to int64 identifiers - rewritten networking (mtproto), rewritten updates handling - *lots* of refactoring still a very early version though, there are a lot of improvements to be made, but at least it runs, lol also tl-reference will not be updated anytime soon because i want to rewrite it
33 lines
1,010 B
JSON
33 lines
1,010 B
JSON
{
|
|
"name": "@mtcute/core",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "Core functions and base MTProto client",
|
|
"author": "Alisa Sireneva <me@tei.su>",
|
|
"license": "LGPL-3.0",
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"test": "mocha -r ts-node/register tests/**/*.spec.ts",
|
|
"build": "tsc",
|
|
"docs": "npx typedoc"
|
|
},
|
|
"browser": {
|
|
"./utils/platform/crypto.js": "./utils/platform/crypto.web.js",
|
|
"./utils/platform/transport.js": "./utils/platform/transport.web.js",
|
|
"./utils/platform/logging.js": "./utils/platform/logging.web.js",
|
|
"./storage/json-file.js": false
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^15.12.1",
|
|
"@types/events": "^3.0.0",
|
|
"@mtcute/tl": "^134.0.0",
|
|
"@mtcute/tl-runtime": "^1.0.0",
|
|
"big-integer": "1.6.48",
|
|
"long": "^4.0.0",
|
|
"events": "3.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/ws": "^7.4.1",
|
|
"ws": "^7.4.4"
|
|
}
|
|
}
|