@ours.network/tg-connector 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -310,7 +310,7 @@ Precedence per field: **env var > `config.json` > default**. The config file is
|
|
|
310
310
|
|
|
311
311
|
| field | env var | default |
|
|
312
312
|
|----------------|---------------------------|-------------------------------------------------|
|
|
313
|
-
| broker URL | `OURS_TG_BROKER_URL` | `wss://ours.network
|
|
313
|
+
| broker URL | `OURS_TG_BROKER_URL` | `wss://broker1.ours.network` |
|
|
314
314
|
| control port | `OURS_TG_CONTROL_PORT` | `3051` (localhost only) |
|
|
315
315
|
| state dir | `OURS_TG_STATE_DIR` | `~/.ours-telegram` |
|
|
316
316
|
| poll timeout | `OURS_TG_POLL_TIMEOUT` | `30` (seconds, Telegram long-poll) |
|
package/dist/cli.js
CHANGED
|
@@ -14,7 +14,7 @@ import * as fs from "node:fs";
|
|
|
14
14
|
import { homedir } from "node:os";
|
|
15
15
|
import { resolve, join, dirname } from "node:path";
|
|
16
16
|
var DEFAULT_CONFIG = {
|
|
17
|
-
brokerUrl: "wss://ours.network
|
|
17
|
+
brokerUrl: "wss://broker1.ours.network",
|
|
18
18
|
controlPort: 3051,
|
|
19
19
|
stateDir: resolve(homedir(), ".ours-telegram"),
|
|
20
20
|
pollTimeoutSec: 30,
|
package/dist/connector.js
CHANGED
|
@@ -12,7 +12,7 @@ import * as fs from "node:fs";
|
|
|
12
12
|
import { homedir } from "node:os";
|
|
13
13
|
import { resolve, join, dirname } from "node:path";
|
|
14
14
|
var DEFAULT_CONFIG = {
|
|
15
|
-
brokerUrl: "wss://ours.network
|
|
15
|
+
brokerUrl: "wss://broker1.ours.network",
|
|
16
16
|
controlPort: 3051,
|
|
17
17
|
stateDir: resolve(homedir(), ".ours-telegram"),
|
|
18
18
|
pollTimeoutSec: 30,
|
package/dist/mufl_code/2DA1D5F860E42C605D92F1E24E2466C70EFDDBF057BBCBA52F0ECC639EFCA387.muflo
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/tg-connector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Bridge Telegram bots to ours proxy nodes — one ADAPT wrapper hosting N messenger packets, each connecting one Telegram bot to one ours node. Run `ours-tg-connector add_new_connection`.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-Apache-2.0",
|