v0.16.7
This commit is contained in:
parent
92ab16cead
commit
907fe4300e
21 changed files with 542 additions and 542 deletions
146
package.json
146
package.json
|
@ -1,75 +1,75 @@
|
|||
{
|
||||
"name": "mtcute-workspace",
|
||||
"type": "module",
|
||||
"version": "0.16.6",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.0.6",
|
||||
"description": "Type-safe library for MTProto (Telegram API) for browser and NodeJS",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"homepage": "https://mtcute.dev",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mtcute/mtcute"
|
||||
},
|
||||
"keywords": [
|
||||
"telegram",
|
||||
"telegram-api",
|
||||
"telegram-bot",
|
||||
"telegram-library",
|
||||
"mtproto",
|
||||
"tgbot",
|
||||
"userbot",
|
||||
"api"
|
||||
],
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"postinstall": "node scripts/validate-deps-versions.js && node scripts/remove-jsr-sourcefiles.js",
|
||||
"test": "pnpm run -r test && vitest --config .config/vite.ts run",
|
||||
"test:dev": "vitest --config .config/vite.ts watch",
|
||||
"test:ui": "vitest --config .config/vite.ts --ui",
|
||||
"test:coverage": "vitest --config .config/vite.ts run --coverage",
|
||||
"test:ci": "vitest --config .config/vite.ts run --coverage.enabled --coverage.reporter=json",
|
||||
"test:browser": "vitest --config .config/vite.browser.ts run",
|
||||
"test:browser:dev": "vitest --config .config/vite.browser.ts watch",
|
||||
"lint": "eslint",
|
||||
"lint:ci": "CI=1 NODE_OPTIONS=\\\"--max_old_space_size=8192\\\" eslint",
|
||||
"lint:tsc": "rimraf packages/**/dist packages/**/*.tsbuildinfo && pnpm -r --workspace-concurrency=4 exec tsc --build",
|
||||
"lint:tsc:ci": "pnpm -r exec tsc --build",
|
||||
"lint:dpdm": "dpdm -T --no-warning --no-tree --exit-code circular:1 packages/*",
|
||||
"lint:fix": "eslint --fix .",
|
||||
"publish-all": "node scripts/publish.js all",
|
||||
"docs": "typedoc --options .config/typedoc/config.cjs",
|
||||
"build-package": "node scripts/build-package.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "2.26.0",
|
||||
"@teidesu/slow-types-compiler": "1.1.0",
|
||||
"@types/deno": "npm:@teidesu/deno-types@1.45.5",
|
||||
"@types/node": "20.10.0",
|
||||
"@types/ws": "8.5.4",
|
||||
"@vitest/browser": "2.0.5",
|
||||
"@vitest/coverage-v8": "2.0.5",
|
||||
"@vitest/expect": "2.0.5",
|
||||
"@vitest/spy": "2.0.5",
|
||||
"@vitest/ui": "2.0.5",
|
||||
"chai": "5.1.0",
|
||||
"cjs-module-lexer": "1.2.3",
|
||||
"dotenv-flow": "4.1.0",
|
||||
"dpdm": "3.14.0",
|
||||
"esbuild": "0.23.0",
|
||||
"eslint": "9.9.0",
|
||||
"glob": "11.0.0",
|
||||
"playwright": "1.42.1",
|
||||
"rimraf": "6.0.1",
|
||||
"semver": "7.5.1",
|
||||
"tsx": "4.17.0",
|
||||
"typedoc": "0.26.5",
|
||||
"typescript": "5.5.4",
|
||||
"vite": "5.1.6",
|
||||
"vite-plugin-node-polyfills": "0.22.0",
|
||||
"vitest": "2.0.5"
|
||||
}
|
||||
"name": "mtcute-workspace",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.0.6",
|
||||
"description": "Type-safe library for MTProto (Telegram API) for browser and NodeJS",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"homepage": "https://mtcute.dev",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mtcute/mtcute"
|
||||
},
|
||||
"keywords": [
|
||||
"telegram",
|
||||
"telegram-api",
|
||||
"telegram-bot",
|
||||
"telegram-library",
|
||||
"mtproto",
|
||||
"tgbot",
|
||||
"userbot",
|
||||
"api"
|
||||
],
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"postinstall": "node scripts/validate-deps-versions.js && node scripts/remove-jsr-sourcefiles.js",
|
||||
"test": "pnpm run -r test && vitest --config .config/vite.ts run",
|
||||
"test:dev": "vitest --config .config/vite.ts watch",
|
||||
"test:ui": "vitest --config .config/vite.ts --ui",
|
||||
"test:coverage": "vitest --config .config/vite.ts run --coverage",
|
||||
"test:ci": "vitest --config .config/vite.ts run --coverage.enabled --coverage.reporter=json",
|
||||
"test:browser": "vitest --config .config/vite.browser.ts run",
|
||||
"test:browser:dev": "vitest --config .config/vite.browser.ts watch",
|
||||
"lint": "eslint",
|
||||
"lint:ci": "CI=1 NODE_OPTIONS=\\\"--max_old_space_size=8192\\\" eslint",
|
||||
"lint:tsc": "rimraf packages/**/dist packages/**/*.tsbuildinfo && pnpm -r --workspace-concurrency=4 exec tsc --build",
|
||||
"lint:tsc:ci": "pnpm -r exec tsc --build",
|
||||
"lint:dpdm": "dpdm -T --no-warning --no-tree --exit-code circular:1 packages/*",
|
||||
"lint:fix": "eslint --fix .",
|
||||
"publish-all": "node scripts/publish.js all",
|
||||
"docs": "typedoc --options .config/typedoc/config.cjs",
|
||||
"build-package": "node scripts/build-package.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "2.26.0",
|
||||
"@teidesu/slow-types-compiler": "1.1.0",
|
||||
"@types/deno": "npm:@teidesu/deno-types@1.45.5",
|
||||
"@types/node": "20.10.0",
|
||||
"@types/ws": "8.5.4",
|
||||
"@vitest/browser": "2.0.5",
|
||||
"@vitest/coverage-v8": "2.0.5",
|
||||
"@vitest/expect": "2.0.5",
|
||||
"@vitest/spy": "2.0.5",
|
||||
"@vitest/ui": "2.0.5",
|
||||
"chai": "5.1.0",
|
||||
"cjs-module-lexer": "1.2.3",
|
||||
"dotenv-flow": "4.1.0",
|
||||
"dpdm": "3.14.0",
|
||||
"esbuild": "0.23.0",
|
||||
"eslint": "9.9.0",
|
||||
"glob": "11.0.0",
|
||||
"playwright": "1.42.1",
|
||||
"rimraf": "6.0.1",
|
||||
"semver": "7.5.1",
|
||||
"tsx": "4.17.0",
|
||||
"typedoc": "0.26.5",
|
||||
"typescript": "5.5.4",
|
||||
"vite": "5.1.6",
|
||||
"vite-plugin-node-polyfills": "0.22.0",
|
||||
"vitest": "2.0.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
{
|
||||
"name": "@mtcute/bun",
|
||||
"type": "module",
|
||||
"version": "0.16.6",
|
||||
"private": true,
|
||||
"description": "Meta-package for Bun",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package bun"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"bun-types": "1.0.33"
|
||||
}
|
||||
"name": "@mtcute/bun",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Meta-package for Bun",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package bun"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"bun-types": "1.0.33"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"name": "@mtcute/convert",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "Cross-library session conversion utilities",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package convert"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
"name": "@mtcute/convert",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Cross-library session conversion utilities",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package convert"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"name": "@mtcute/core",
|
||||
"type": "module",
|
||||
"version": "0.16.6",
|
||||
"private": true,
|
||||
"description": "Type-safe library for MTProto (Telegram API)",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils/index.ts",
|
||||
"./client.js": "./src/highlevel/client.ts",
|
||||
"./worker.js": "./src/highlevel/worker/index.ts",
|
||||
"./methods.js": "./src/highlevel/methods.ts",
|
||||
"./platform.js": "./src/platform.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package core",
|
||||
"gen-client": "node ./scripts/generate-client.cjs",
|
||||
"gen-updates": "node ./scripts/generate-updates.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/file-id": "workspace:^",
|
||||
"@mtcute/tl": "workspace:^",
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"@types/events": "3.0.0",
|
||||
"events": "3.2.0",
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/ws": "8.5.4",
|
||||
"ws": "8.13.0"
|
||||
}
|
||||
"name": "@mtcute/core",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Type-safe library for MTProto (Telegram API)",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils/index.ts",
|
||||
"./client.js": "./src/highlevel/client.ts",
|
||||
"./worker.js": "./src/highlevel/worker/index.ts",
|
||||
"./methods.js": "./src/highlevel/methods.ts",
|
||||
"./platform.js": "./src/platform.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package core",
|
||||
"gen-client": "node ./scripts/generate-client.cjs",
|
||||
"gen-updates": "node ./scripts/generate-updates.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/file-id": "workspace:^",
|
||||
"@mtcute/tl": "workspace:^",
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"@types/events": "3.0.0",
|
||||
"events": "3.2.0",
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/ws": "8.5.4",
|
||||
"ws": "8.13.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
{
|
||||
"name": "@mtcute/create-bot",
|
||||
"type": "module",
|
||||
"version": "0.16.4",
|
||||
"private": true,
|
||||
"description": "Bot starter kit for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"create-bot": "./src/main.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package create-bot",
|
||||
"run": "tsx src/main.ts",
|
||||
"run:deno": "node scripts/generate-import-map.js && deno run --import-map=./scripts/import-map.json -A --unstable-sloppy-imports src/main.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"colorette": "2.0.20",
|
||||
"cross-spawn": "7.0.3",
|
||||
"glob": "11.0.0",
|
||||
"handlebars": "4.7.8",
|
||||
"inquirer": "9.2.11",
|
||||
"openurl": "1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
"@types/inquirer": "^9.0.6",
|
||||
"@types/openurl": "^1.0.3"
|
||||
}
|
||||
"name": "@mtcute/create-bot",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Bot starter kit for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"create-bot": "./src/main.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package create-bot",
|
||||
"run": "tsx src/main.ts",
|
||||
"run:deno": "node scripts/generate-import-map.js && deno run --import-map=./scripts/import-map.json -A --unstable-sloppy-imports src/main.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"colorette": "2.0.20",
|
||||
"cross-spawn": "7.0.3",
|
||||
"glob": "11.0.0",
|
||||
"handlebars": "4.7.8",
|
||||
"inquirer": "9.2.11",
|
||||
"openurl": "1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
"@types/inquirer": "^9.0.6",
|
||||
"@types/openurl": "^1.0.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
{
|
||||
"name": "@mtcute/crypto-node",
|
||||
"type": "module",
|
||||
"version": "0.16.2",
|
||||
"private": true,
|
||||
"description": "Native crypto implementation for NodeJS",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./native.js": "./src/native.cjs"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package crypto-node",
|
||||
"install": "node-gyp-build",
|
||||
"rebuild": "node-gyp configure && node-gyp -j 16 rebuild",
|
||||
"clean": "node-gyp clean"
|
||||
},
|
||||
"keepScripts": [
|
||||
"install"
|
||||
],
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^",
|
||||
"node-gyp-build": "4.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
"name": "@mtcute/crypto-node",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Native crypto implementation for NodeJS",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./native.js": "./src/native.cjs"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package crypto-node",
|
||||
"install": "node-gyp-build",
|
||||
"rebuild": "node-gyp configure && node-gyp -j 16 rebuild",
|
||||
"clean": "node-gyp clean"
|
||||
},
|
||||
"keepScripts": [
|
||||
"install"
|
||||
],
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^",
|
||||
"node-gyp-build": "4.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
{
|
||||
"name": "@mtcute/deno",
|
||||
"type": "module",
|
||||
"version": "0.16.6",
|
||||
"private": true,
|
||||
"description": "Meta-package for Deno",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package deno"
|
||||
},
|
||||
"dependencies": {
|
||||
"@db/sqlite": "npm:@jsr/db__sqlite@0.12.0",
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"@std/io": "npm:@jsr/std__io@0.223.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
"name": "@mtcute/deno",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Meta-package for Deno",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package deno"
|
||||
},
|
||||
"dependencies": {
|
||||
"@db/sqlite": "npm:@jsr/db__sqlite@0.12.0",
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"@std/io": "npm:@jsr/std__io@0.223.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
"name": "@mtcute/dispatcher",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "Updates dispatcher and bot framework for @mtcute/client",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package dispatcher",
|
||||
"gen-updates": "node ./scripts/generate.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"events": "3.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
"name": "@mtcute/dispatcher",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Updates dispatcher and bot framework for @mtcute/client",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package dispatcher",
|
||||
"gen-updates": "node ./scripts/generate.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"events": "3.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"name": "@mtcute/file-id",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "Support for TDLib and Bot API file ID for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package file-id"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
"name": "@mtcute/file-id",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Support for TDLib and Bot API file ID for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package file-id"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"name": "@mtcute/html-parser",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "HTML entities parser for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package html-parser"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"htmlparser2": "^6.0.1",
|
||||
"long": "5.2.3"
|
||||
}
|
||||
"name": "@mtcute/html-parser",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "HTML entities parser for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package html-parser"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"htmlparser2": "^6.0.1",
|
||||
"long": "5.2.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
{
|
||||
"name": "@mtcute/http-proxy",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "HTTP(S) proxy support for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package http-proxy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^"
|
||||
}
|
||||
"name": "@mtcute/http-proxy",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "HTTP(S) proxy support for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package http-proxy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
{
|
||||
"name": "@mtcute/i18n",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "I18n for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package i18n"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/dispatcher": "workspace:^"
|
||||
},
|
||||
"jsrOnlyFields": {
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/dispatcher": "workspace:^"
|
||||
"name": "@mtcute/i18n",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "I18n for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package i18n"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/dispatcher": "workspace:^"
|
||||
},
|
||||
"jsrOnlyFields": {
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/dispatcher": "workspace:^"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
{
|
||||
"name": "@mtcute/markdown-parser",
|
||||
"type": "module",
|
||||
"version": "0.16.3",
|
||||
"private": true,
|
||||
"description": "Markdown entities parser for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package markdown-parser"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"long": "5.2.3"
|
||||
}
|
||||
"name": "@mtcute/markdown-parser",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Markdown entities parser for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package markdown-parser"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"long": "5.2.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
{
|
||||
"name": "@mtcute/mtproxy",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "MTProto proxy (MTProxy) support for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package mtproxy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^"
|
||||
}
|
||||
"name": "@mtcute/mtproxy",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "MTProto proxy (MTProxy) support for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package mtproxy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
{
|
||||
"name": "@mtcute/node",
|
||||
"type": "module",
|
||||
"version": "0.16.6",
|
||||
"private": true,
|
||||
"description": "Meta-package for Node.js",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package node"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"better-sqlite3": "9.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/better-sqlite3": "7.6.4"
|
||||
}
|
||||
"name": "@mtcute/node",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Meta-package for Node.js",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package node"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"better-sqlite3": "9.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/better-sqlite3": "7.6.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"name": "@mtcute/socks-proxy",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "SOCKS4/5 proxy support for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package socks-proxy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^",
|
||||
"ip6": "0.2.7"
|
||||
}
|
||||
"name": "@mtcute/socks-proxy",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "SOCKS4/5 proxy support for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./index.ts",
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package socks-proxy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/node": "workspace:^",
|
||||
"ip6": "0.2.7"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,38 +1,38 @@
|
|||
{
|
||||
"name": "@mtcute/test",
|
||||
"type": "module",
|
||||
"version": "0.16.5",
|
||||
"private": true,
|
||||
"description": "Test utilities for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package test"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/tl": "workspace:*",
|
||||
"@mtcute/web": "workspace:^",
|
||||
"vitest": "*"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@mtcute/node": {
|
||||
"optional": true
|
||||
"name": "@mtcute/test",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Test utilities for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "pnpm run -w build-package test"
|
||||
},
|
||||
"@mtcute/web": {
|
||||
"optional": true
|
||||
"peerDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/tl": "workspace:*",
|
||||
"@mtcute/web": "workspace:^",
|
||||
"vitest": "*"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@mtcute/node": {
|
||||
"optional": true
|
||||
},
|
||||
"@mtcute/web": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/tl-utils": "workspace:^"
|
||||
},
|
||||
"browser": {
|
||||
"./src/platform.js": "./src/platform.web.js"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/tl-utils": "workspace:^"
|
||||
},
|
||||
"browser": {
|
||||
"./src/platform.js": "./src/platform.web.js"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"name": "@mtcute/tl-runtime",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "Runtime for TL",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package tl-runtime"
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3"
|
||||
}
|
||||
"name": "@mtcute/tl-runtime",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Runtime for TL",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package tl-runtime"
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
"name": "@mtcute/tl-utils",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "Utils for working with TL schema",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./json.js": "./src/json/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package tl-utils"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"crc-32": "1.2.0"
|
||||
}
|
||||
"name": "@mtcute/tl-utils",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Utils for working with TL schema",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./json.js": "./src/json/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package tl-utils"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"crc-32": "1.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
{
|
||||
"name": "@mtcute/wasm",
|
||||
"type": "module",
|
||||
"version": "0.16.0",
|
||||
"private": true,
|
||||
"description": "WASM implementation of common algorithms used in Telegram",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./mtcute.wasm": "./mtcute.wasm"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package wasm",
|
||||
"build:wasm": "docker build --output=lib --target=binaries lib"
|
||||
},
|
||||
"exportsKeepPath": [
|
||||
"./mtcute.wasm"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/web": "workspace:^"
|
||||
},
|
||||
"jsrOnlyFields": {
|
||||
"exports": "./src/index.ts"
|
||||
}
|
||||
"name": "@mtcute/wasm",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "WASM implementation of common algorithms used in Telegram",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./mtcute.wasm": "./mtcute.wasm"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package wasm",
|
||||
"build:wasm": "docker build --output=lib --target=binaries lib"
|
||||
},
|
||||
"exportsKeepPath": [
|
||||
"./mtcute.wasm"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/web": "workspace:^"
|
||||
},
|
||||
"jsrOnlyFields": {
|
||||
"exports": "./src/index.ts"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"name": "@mtcute/web",
|
||||
"type": "module",
|
||||
"version": "0.16.6",
|
||||
"private": true,
|
||||
"description": "Meta-package for the web platform",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package web"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"events": "3.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
},
|
||||
"denoJson": {
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"WebWorker"
|
||||
]
|
||||
"name": "@mtcute/web",
|
||||
"type": "module",
|
||||
"version": "0.16.7",
|
||||
"private": true,
|
||||
"description": "Meta-package for the web platform",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc",
|
||||
"build": "pnpm run -w build-package web"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"events": "3.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
},
|
||||
"denoJson": {
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"WebWorker"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue