@particle-academy/telegram-js 0.3.4 → 0.4.1
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/CHANGELOG.md +34 -0
- package/README.md +2 -0
- package/art/fancified.svg +26 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,40 @@ The four packages share one version, because they are generated from one
|
|
|
8
8
|
`provider/` definition and a version that meant something different in each
|
|
9
9
|
would be a version nobody could reason about.
|
|
10
10
|
|
|
11
|
+
## [0.4.1] — 2026-11-08
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **The Laravel config's environment variable names now split camelCase**,
|
|
16
|
+
as documented. **Consumer action: none.** The old unsplit names are still
|
|
17
|
+
read as a fallback, so an app that set them keeps working; the new names
|
|
18
|
+
are preferred.
|
|
19
|
+
|
|
20
|
+
| Preferred | Still read |
|
|
21
|
+
|---|---|
|
|
22
|
+
| `TELEGRAM_BOT_TOKEN` | `TELEGRAM_BOTTOKEN` |
|
|
23
|
+
|
|
24
|
+
## [0.4.0] — 2026-11-08
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- **Laravel integration, in this package** (`src/Laravel/`), auto-discovered
|
|
29
|
+
through composer's `extra.laravel`. Laravel is SUGGESTED, never required:
|
|
30
|
+
outside a Laravel app none of it loads.
|
|
31
|
+
- a service provider that merges `config/telegram.php` under
|
|
32
|
+
`connectors.telegram` (credentials from the environment, or per call for a
|
|
33
|
+
multi-account app);
|
|
34
|
+
- the `Telegram` facade: `Telegram::call('<operation>', [...])` runs any action;
|
|
35
|
+
- `Telegram::fake()`, answered from the connector's faker, with
|
|
36
|
+
`assertSent` / `assertNotSent` / `assertNothingSent` / `assertSentCount`;
|
|
37
|
+
- its own Pest test of all of it against a booted Laravel app.
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- **Tests: Pest `^5`**, and `laravel/framework` `^13` as a DEV-ONLY test
|
|
42
|
+
dependency (the framework this package integrates with; nothing ships in
|
|
43
|
+
`require`).
|
|
44
|
+
|
|
11
45
|
## [0.3.4] — 2026-09-12
|
|
12
46
|
|
|
13
47
|
### Changed
|
package/README.md
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="28" role="img" aria-label="Fancified — built with Fancy UI">
|
|
2
|
+
<title>Fancified · built with Fancy UI</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="fcdBg" x1="0" y1="0" x2="1" y2="1">
|
|
5
|
+
<stop offset="0" stop-color="#6d28d9"/>
|
|
6
|
+
<stop offset=".5" stop-color="#9333ea"/>
|
|
7
|
+
<stop offset="1" stop-color="#d946ef"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<linearGradient id="fcdGloss" x1="0" y1="0" x2="0" y2="1">
|
|
10
|
+
<stop offset="0" stop-color="#ffffff" stop-opacity=".30"/>
|
|
11
|
+
<stop offset=".55" stop-color="#ffffff" stop-opacity="0"/>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<clipPath id="fcdClip"><rect width="128" height="28" rx="7"/></clipPath>
|
|
14
|
+
</defs>
|
|
15
|
+
<g clip-path="url(#fcdClip)">
|
|
16
|
+
<rect width="128" height="28" fill="url(#fcdBg)"/>
|
|
17
|
+
<rect width="34" height="28" fill="#3b0764" fill-opacity=".5"/>
|
|
18
|
+
<rect width="128" height="13" fill="url(#fcdGloss)"/>
|
|
19
|
+
<g fill="#fff">
|
|
20
|
+
<path transform="translate(17 14)" d="M0 -7 C.6 -2.2 2.2 -.6 7 0 C2.2 .6 .6 2.2 0 7 C-.6 2.2 -2.2 .6 -7 0 C-2.2 -.6 -.6 -2.2 0 -7 Z"/>
|
|
21
|
+
<path transform="translate(25.5 7.5) scale(.34)" fill-opacity=".85" d="M0 -7 C.6 -2.2 2.2 -.6 7 0 C2.2 .6 .6 2.2 0 7 C-.6 2.2 -2.2 .6 -7 0 C-2.2 -.6 -.6 -2.2 0 -7 Z"/>
|
|
22
|
+
</g>
|
|
23
|
+
<text x="81" y="18.5" fill="#ffffff" text-anchor="middle" font-family="'Segoe UI',Verdana,'DejaVu Sans',sans-serif" font-size="12" font-weight="700" letter-spacing=".3">Fancified</text>
|
|
24
|
+
</g>
|
|
25
|
+
<rect x=".5" y=".5" width="127" height="27" rx="6.5" fill="none" stroke="#ffffff" stroke-opacity=".22"/>
|
|
26
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-academy/telegram-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Telegram for Node — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP on @particle-academy/fancy-connector-core; no vendor SDK.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"dist",
|
|
41
|
+
"art",
|
|
41
42
|
"README.md",
|
|
42
43
|
"CHANGELOG.md",
|
|
43
44
|
"LICENSE"
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
},
|
|
54
55
|
"peerDependencies": {
|
|
55
56
|
"@particle-academy/fancy-flow": ">=0.47.1 <2.0",
|
|
56
|
-
"@particle-academy/telegram-ui": ">=0.
|
|
57
|
+
"@particle-academy/telegram-ui": ">=0.4.0 <0.5.0"
|
|
57
58
|
},
|
|
58
59
|
"peerDependenciesMeta": {
|
|
59
60
|
"@particle-academy/fancy-flow": {
|