@mastra/telegram 0.1.0-alpha.0 → 0.1.1-alpha.0
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.md +6 -4
- package/README.md +2 -2
- package/dist/index.cjs +23543 -18888
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +279 -275
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +687 -640
- package/dist/index.js.map +1 -1
- package/package.json +7 -8
- package/CHANGELOG.md +0 -28
package/LICENSE.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Portions of this software are licensed as follows:
|
|
2
2
|
|
|
3
|
-
- All content that resides under any directory named
|
|
3
|
+
- All content that resides under any directory named `ee/` within this
|
|
4
4
|
repository, including but not limited to:
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
|
|
5
|
+
- `@mastra/core/auth/ee`
|
|
6
|
+
- `@mastra/core/agent-builder/ee`
|
|
7
|
+
- `@mastra/editor/ee`
|
|
8
|
+
|
|
9
|
+
is licensed under the license defined in [`ee/LICENSE`](https://github.com/mastra-ai/mastra/blob/main/ee/LICENSE).
|
|
8
10
|
|
|
9
11
|
- All third-party components incorporated into the Mastra Software are
|
|
10
12
|
licensed under the original license provided by the owner of the
|
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ Message rendering is owned by the adapter, not this provider — so there is no
|
|
|
121
121
|
|
|
122
122
|
## Module format
|
|
123
123
|
|
|
124
|
-
Dual **ESM + CJS**. `@chat-adapter/telegram` is ESM-only (its `exports` declares only an `import` condition),
|
|
124
|
+
Dual **ESM + CJS**. `@chat-adapter/telegram` is ESM-only (its `exports` declares only an `import` condition), so the tsdown config keeps the adapter external in the ESM build (lean, deduped) but bundles it into the CJS output. Both `import` and `require('@mastra/telegram')` therefore work. See `tsdown.config.ts` for why this intentionally differs from `channels/slack`.
|
|
125
125
|
|
|
126
126
|
## Development
|
|
127
127
|
|
|
@@ -129,7 +129,7 @@ Dual **ESM + CJS**. `@chat-adapter/telegram` is ESM-only (its `exports` declares
|
|
|
129
129
|
pnpm install
|
|
130
130
|
pnpm --filter @mastra/telegram typecheck
|
|
131
131
|
pnpm --filter @mastra/telegram test # vitest, undici-mocked Bot API
|
|
132
|
-
pnpm --filter @mastra/telegram build #
|
|
132
|
+
pnpm --filter @mastra/telegram build # tsdown → dist
|
|
133
133
|
```
|
|
134
134
|
|
|
135
135
|
## License
|