2021-04-08 12:19:38 +03:00
|
|
|
{
|
2021-08-05 20:38:24 +03:00
|
|
|
"name": "@mtcute/core",
|
2021-04-14 22:53:10 +03:00
|
|
|
"private": true,
|
2023-12-04 17:11:30 +03:00
|
|
|
"version": "0.2.3",
|
2021-04-08 12:19:38 +03:00
|
|
|
"description": "Core functions and base MTProto client",
|
2023-06-04 20:00:33 +03:00
|
|
|
"author": "Alina Sireneva <alina@tei.su>",
|
2023-10-12 07:26:26 +03:00
|
|
|
"license": "MIT",
|
2021-04-14 22:53:10 +03:00
|
|
|
"main": "src/index.ts",
|
2023-10-16 19:23:53 +03:00
|
|
|
"type": "module",
|
2021-04-08 12:19:38 +03:00
|
|
|
"scripts": {
|
2023-10-27 14:25:21 +03:00
|
|
|
"build": "pnpm run -w build-package core"
|
2021-04-08 12:19:38 +03:00
|
|
|
},
|
2021-07-16 04:31:04 +03:00
|
|
|
"browser": {
|
2023-11-29 20:31:18 +03:00
|
|
|
"./src/utils/platform/crypto.js": "./src/utils/platform/crypto.web.js",
|
|
|
|
"./src/utils/platform/transport.js": "./src/utils/platform/transport.web.js",
|
|
|
|
"./src/utils/platform/logging.js": "./src/utils/platform/logging.web.js",
|
|
|
|
"./src/utils/platform/random.js": "./src/utils/platform/random.web.js",
|
|
|
|
"./src/storage/json-file.js": false
|
2023-10-16 19:23:53 +03:00
|
|
|
},
|
|
|
|
"distOnlyFields": {
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./esm/index.js",
|
|
|
|
"require": "./cjs/index.js"
|
|
|
|
},
|
|
|
|
"./utils.js": {
|
|
|
|
"import": "./esm/utils/index.js",
|
|
|
|
"require": "./cjs/utils/index.js"
|
|
|
|
},
|
2023-12-02 04:10:31 +03:00
|
|
|
"./utils/crypto/*": {
|
|
|
|
"import": "./esm/utils/crypto/*",
|
|
|
|
"require": "./cjs/utils/crypto/*"
|
2023-10-23 18:51:24 +03:00
|
|
|
},
|
2023-12-02 04:10:31 +03:00
|
|
|
"./network/transports/*": {
|
|
|
|
"import": "./esm/network/transports/*",
|
|
|
|
"require": "./cjs/network/transports/*"
|
2023-11-30 23:39:53 +03:00
|
|
|
},
|
2023-12-02 04:10:31 +03:00
|
|
|
"./storage/*": {
|
|
|
|
"import": "./esm/storage/*",
|
|
|
|
"require": "./cjs/storage/*"
|
2023-10-16 19:23:53 +03:00
|
|
|
}
|
|
|
|
}
|
2021-07-16 04:31:04 +03:00
|
|
|
},
|
2021-04-08 12:19:38 +03:00
|
|
|
"dependencies": {
|
2023-10-31 20:55:56 +03:00
|
|
|
"@mtcute/tl": "workspace:^",
|
|
|
|
"@mtcute/tl-runtime": "workspace:^",
|
2023-11-04 06:44:18 +03:00
|
|
|
"@mtcute/wasm": "workspace:^",
|
2023-09-03 02:37:51 +03:00
|
|
|
"@types/events": "3.0.0",
|
|
|
|
"events": "3.2.0",
|
|
|
|
"long": "5.2.3"
|
2021-04-15 19:39:41 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-06-04 20:00:33 +03:00
|
|
|
"@types/ws": "8.5.4",
|
2023-10-16 19:23:53 +03:00
|
|
|
"node-forge": "1.3.1",
|
2023-11-11 18:34:33 +03:00
|
|
|
"@mtcute/test": "workspace:^",
|
2023-06-04 20:00:33 +03:00
|
|
|
"ws": "8.13.0"
|
2021-04-08 12:19:38 +03:00
|
|
|
}
|
2023-11-01 22:56:23 +03:00
|
|
|
}
|