@melandlabs/integrations-telegram 0.1.0 → 0.1.3

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
@@ -5,7 +5,6 @@
5
5
  > (the facade) instead. Monorepo contributors depend on this package via
6
6
  > the workspace protocol.
7
7
 
8
-
9
8
  [Telegram](https://telegram.org/) integration for OpenContext, powered by the
10
9
  [`telegram`](https://www.npmjs.com/package/telegram) (MTProto) client.
11
10
  Includes channel adapter, markdown rendering, conversation store, state
package/dist/adapter.d.ts CHANGED
@@ -4,8 +4,8 @@ export { DialogInfo, ExtractedMessageInfo, TgUserInfo, getTgUserNameString } fro
4
4
  import { ContactMeta } from '@melandlabs/integrations/contacts';
5
5
  import { FileIngester, ClientRegistry } from '@melandlabs/integrations/core';
6
6
  import { TelegramClient } from 'telegram';
7
- import { StringSession } from 'telegram/sessions';
8
- import { Api } from 'telegram/tl';
7
+ import { StringSession } from 'telegram/sessions/index.js';
8
+ import { Api } from 'telegram/tl/index.js';
9
9
 
10
10
  /**
11
11
  * Telegram Adapter - Platform adapter for Telegram messaging
package/dist/adapter.js CHANGED
@@ -4,9 +4,9 @@ export { getTgUserNameString } from '@melandlabs/integrations-channels/sources/t
4
4
  import { isTelegramContactMeta } from '@melandlabs/integrations/contacts';
5
5
  import bigInt from 'big-integer';
6
6
  import { TelegramClient } from 'telegram';
7
- import { CustomFile } from 'telegram/client/uploads';
8
- import { StringSession } from 'telegram/sessions';
9
- import { Api } from 'telegram/tl';
7
+ import { CustomFile } from 'telegram/client/uploads.js';
8
+ import { StringSession } from 'telegram/sessions/index.js';
9
+ import { Api } from 'telegram/tl/index.js';
10
10
  import MarkdownIt from 'markdown-it';
11
11
 
12
12
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {