teleton 0.7.5 → 0.8.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/README.md +7 -4
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/{chunk-U7FQYCBQ.js → chunk-7TECSLJ4.js} +2 -2
- package/dist/{chunk-OGMVWDVU.js → chunk-H36RFKRI.js} +1587 -5086
- package/dist/{chunk-YP25WTQK.js → chunk-IJBWWQE4.js} +2 -0
- package/dist/{chunk-AVDWXYQ7.js → chunk-JHYZYFZJ.js} +5 -1
- package/dist/{chunk-QOQWUUA4.js → chunk-OJCLKU5Z.js} +68 -2
- package/dist/{chunk-OCLG5GKI.js → chunk-P36I6OIV.js} +2 -2
- package/dist/{chunk-CB2Y45HA.js → chunk-PHSAHTK4.js} +51 -3
- package/dist/{chunk-DMXTIRUW.js → chunk-QVBSUYVX.js} +10 -37
- package/dist/chunk-RQBAMUCV.js +10281 -0
- package/dist/{chunk-2GLHOJ5C.js → chunk-SD4NLLYG.js} +27 -7
- package/dist/{chunk-5UVXJMOX.js → chunk-TVRZJIZX.js} +2 -2
- package/dist/{chunk-LCCVZ4D2.js → chunk-U56QTM46.js} +1 -1
- package/dist/cli/index.js +14 -15
- package/dist/{client-O37XDCJB.js → client-LNZTDQSA.js} +4 -4
- package/dist/{get-my-gifts-TPVUGUWT.js → get-my-gifts-OMGKOEPM.js} +1 -1
- package/dist/index.js +12 -13
- package/dist/{memory-KQALFUV3.js → memory-AS7WKGTW.js} +4 -4
- package/dist/{migrate-UV3WEL5D.js → migrate-POHWYEIW.js} +4 -4
- package/dist/{multipart-parser-S3YC6NRJ.js → multipart-parser-UFQLJOV2.js} +2 -2
- package/dist/{paths-TMNTEDDD.js → paths-XA2RJH4S.js} +1 -1
- package/dist/{server-BHHJGUDF.js → server-H3QA252W.js} +14 -13
- package/dist/{setup-server-G7UG2DI3.js → setup-server-QXED3D2L.js} +6 -6
- package/dist/{store-H4XPNGC2.js → store-GAFULOOX.js} +5 -5
- package/dist/{task-dependency-resolver-VMEVJRPO.js → task-dependency-resolver-3FIKQ7Z6.js} +2 -2
- package/dist/{task-executor-WWSPBJ4V.js → task-executor-RUTFG6VG.js} +2 -2
- package/dist/{tasks-QSCWSMPS.js → tasks-BEZ4QRI2.js} +1 -1
- package/dist/{tool-adapter-Y3TCEQOC.js → tool-adapter-IH5VGBOO.js} +1 -1
- package/dist/{tool-index-2KH3OB6X.js → tool-index-H3SHOJC3.js} +3 -3
- package/dist/{transcript-UDJZP6NK.js → transcript-IMNE6KU3.js} +2 -2
- package/dist/web/assets/{index-Bx8JW3gV.js → index-DYeEkvJ6.js} +5 -5
- package/dist/web/assets/{index.es-Pet5-M13.js → index.es-DkU1GvWU.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +2 -2
- package/dist/BigInteger-DQ33LTTE.js +0 -5
- package/dist/chunk-G2LLMJXJ.js +0 -5048
- package/dist/chunk-QGM4M3NI.js +0 -37
- package/dist/chunk-TSKJCWQQ.js +0 -1263
package/README.md
CHANGED
|
@@ -625,14 +625,17 @@ When `tools` is a function, the SDK provides namespaced access to core services:
|
|
|
625
625
|
|-----------|---------|
|
|
626
626
|
| `sdk.ton` | **Wallet**: `getAddress()`, `getBalance()`, `getPrice()`, `sendTON()`, `getTransactions()`, `verifyPayment()` |
|
|
627
627
|
| | **Jettons**: `getJettonBalances()`, `getJettonInfo()`, `sendJetton()`, `getJettonWalletAddress()` |
|
|
628
|
+
| | **Analytics**: `getJettonPrice()`, `getJettonHolders()`, `getJettonHistory()` |
|
|
628
629
|
| | **NFT**: `getNftItems()`, `getNftInfo()` |
|
|
630
|
+
| | **DEX** (`sdk.ton.dex`): `quote()`, `swap()`, `quoteSTONfi()`, `quoteDeDust()`, `swapSTONfi()`, `swapDeDust()` |
|
|
631
|
+
| | **DNS** (`sdk.ton.dns`): `check()`, `resolve()`, `getAuctions()`, `startAuction()`, `bid()`, `link()`, `unlink()`, `setSiteRecord()` |
|
|
629
632
|
| | **Utils**: `toNano()`, `fromNano()`, `validateAddress()` |
|
|
630
|
-
| `sdk.telegram` | **Messages**: `sendMessage()`, `editMessage()`, `deleteMessage()`, `forwardMessage()`, `pinMessage()`, `searchMessages()`, `scheduleMessage()`, `getReplies()` |
|
|
633
|
+
| `sdk.telegram` | **Messages**: `sendMessage()`, `editMessage()`, `deleteMessage()`, `forwardMessage()`, `pinMessage()`, `searchMessages()`, `scheduleMessage()`, `getScheduledMessages()`, `deleteScheduledMessage()`, `sendScheduledNow()`, `getReplies()` |
|
|
631
634
|
| | **Media**: `sendPhoto()`, `sendVideo()`, `sendVoice()`, `sendFile()`, `sendGif()`, `sendSticker()`, `downloadMedia()` |
|
|
632
|
-
| | **Chat & Users**: `getChatInfo()`, `getUserInfo()`, `resolveUsername()`, `getParticipants()` |
|
|
635
|
+
| | **Chat & Users**: `getChatInfo()`, `getUserInfo()`, `resolveUsername()`, `getParticipants()`, `getDialogs()`, `getHistory()` |
|
|
633
636
|
| | **Interactive**: `sendDice()`, `sendReaction()`, `createPoll()`, `createQuiz()` |
|
|
634
|
-
| | **Moderation**: `banUser()`, `unbanUser()`, `muteUser()` |
|
|
635
|
-
| | **Stars & Gifts**: `getStarsBalance()`, `sendGift()`, `getAvailableGifts()`, `getMyGifts()`, `getResaleGifts()`, `buyResaleGift()` |
|
|
637
|
+
| | **Moderation**: `banUser()`, `unbanUser()`, `muteUser()`, `kickUser()` |
|
|
638
|
+
| | **Stars & Gifts**: `getStarsBalance()`, `sendGift()`, `getAvailableGifts()`, `getMyGifts()`, `getResaleGifts()`, `buyResaleGift()`, `getStarsTransactions()`, `transferCollectible()`, `setCollectiblePrice()`, `getCollectibleInfo()`, `getUniqueGift()`, `getUniqueGiftValue()`, `sendGiftOffer()` |
|
|
636
639
|
| | **Advanced**: `getMe()`, `isAvailable()`, `getRawClient()`, `setTyping()`, `sendStory()` |
|
|
637
640
|
| `sdk.secrets` | `get()`, `require()`, `has()` - 3-tier resolution (env var → secrets file → plugin config) |
|
|
638
641
|
| `sdk.storage` | `get()`, `set()`, `delete()`, `has()`, `clear()` - KV store with TTL support |
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
2
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
+
}) : x)(function(x) {
|
|
4
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
5
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
__require
|
|
10
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3RG5ZIWI.js";
|
|
4
4
|
|
|
5
5
|
// node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs
|
|
6
6
|
var t = Object.defineProperty;
|
|
@@ -2722,7 +2722,7 @@ var Nn = class Nn2 {
|
|
|
2722
2722
|
for (const [p, h] of l) f2.append(p, h);
|
|
2723
2723
|
return f2;
|
|
2724
2724
|
}
|
|
2725
|
-
const { toFormData: a } = await import("./multipart-parser-
|
|
2725
|
+
const { toFormData: a } = await import("./multipart-parser-UFQLJOV2.js");
|
|
2726
2726
|
return a(this.body, o2);
|
|
2727
2727
|
}
|
|
2728
2728
|
async blob() {
|