@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 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 "ee/" within this
3
+ - All content that resides under any directory named `ee/` within this
4
4
  repository, including but not limited to:
5
- - `packages/core/src/auth/ee/`
6
- - `packages/server/src/server/auth/ee/`
7
- is licensed under the license defined in `ee/LICENSE`.
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), and tsup externalises `dependencies` by default — so the adapter is kept external in the ESM build (lean, deduped) but bundled into the CJS output via `noExternal`. Both `import` and `require('@mastra/telegram')` therefore work. See `tsup.config.ts` for why this intentionally differs from `channels/slack`.
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 # tsup → dist
132
+ pnpm --filter @mastra/telegram build # tsdown → dist
133
133
  ```
134
134
 
135
135
  ## License