@ours.network/tg-connector 0.1.3 → 0.1.5

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/LICENSE CHANGED
@@ -6,7 +6,7 @@ FSL-1.1-Apache-2.0
6
6
 
7
7
  ## Notice
8
8
 
9
- Copyright 2026 ours.network contributors
9
+ Copyright 2026 Adapt Framework Solutions Ltd
10
10
 
11
11
  ## Terms and Conditions
12
12
 
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/broker_new` |
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) |
@@ -375,6 +375,16 @@ We're at the alpha stage: we have a clear roadmap and, if this stage proves itse
375
375
 
376
376
  Thank you for helping keep it free, open, and alive.
377
377
 
378
- ## License
378
+ ## Licence, status & warranty
379
379
 
380
- FSL-1.1-Apache-2.0 — see [LICENSE](LICENSE).
380
+ > **Alpha software.** ours-tg-connector is part of **ours.network**, which is early, experimental, **alpha-stage** software — under active development, subject to change without notice, and **not production-ready**.
381
+
382
+ > **No warranty / not security-audited.** ours.network has **not** been independently security-audited. It is provided **"as is", without warranty of any kind**, and you use it **at your own risk**. See [`LICENSE`](./LICENSE) and [`SECURITY.md`](./SECURITY.md).
383
+
384
+ **ours.network** is owned and licensed by **Adapt Framework Solutions Ltd**. It is released under the **Functional Source License, Version 1.1 ([FSL-1.1-Apache-2.0](./LICENSE))** — **source-available, not open source** during the FSL period. Each release **converts to Apache 2.0 two years after it is published**.
385
+
386
+ The FSL permits any use **except a Competing Use** — broadly, offering a commercial product or service that substitutes for, or provides substantially the same functionality as, ours.network. Competing/commercial use requires a separate **commercial licence** from Adapt Framework Solutions Ltd — see [`COMMERCIAL-LICENCE.md`](./COMMERCIAL-LICENCE.md) (contact: **license@adaptframework.solutions**).
387
+
388
+ ours.network builds on Adapt Framework Solutions Ltd's own FSL-licensed core (the `@adapt-toolkit` packages); **Adapt itself is not part of this release** and is licensed separately.
389
+
390
+ Copyright 2026 Adapt Framework Solutions Ltd.
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/broker_new",
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/broker_new",
15
+ brokerUrl: "wss://broker1.ours.network",
16
16
  controlPort: 3051,
17
17
  stateDir: resolve(homedir(), ".ours-telegram"),
18
18
  pollTimeoutSec: 30,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ours.network/tg-connector",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
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",
@@ -35,11 +35,11 @@
35
35
  "test": "for f in tests/*.test.mjs; do echo \"# $f\"; node_modules/.bin/tsx \"$f\" || exit 1; done"
36
36
  },
37
37
  "dependencies": {
38
- "@adapt-toolkit/sdk": "0.6.2",
39
- "@adapt-toolkit/sdk-native": "0.6.2"
38
+ "@adapt-toolkit/sdk": "0.9.1",
39
+ "@adapt-toolkit/sdk-native": "0.9.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@adapt-toolkit/mufl": "0.8.0",
42
+ "@adapt-toolkit/mufl": "0.9.1",
43
43
  "@types/node": "^20.14.0",
44
44
  "esbuild": "^0.24.2",
45
45
  "tsx": "^4.19.0",