Skip to content

Commit 34524ca

Browse files
kronosapiensclaude
andauthored
Remove deactivated Telegram provider (#2461)
Removes the TelegramProvider and TelegramBackend classes along with the @telegram-apps/sdk dependency since the Telegram integration is no longer supported. ## Changes - Delete unused `TelegramProvider` and `TelegramBackend` classes - Remove `@telegram-apps/sdk` dependency from package.json - Update session.tsx comment to remove Telegram-specific context - Clean up pnpm-lock.yaml The constants and query parameter naming conventions remain unchanged as they're used by other providers. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b7456be commit 34524ca

File tree

5 files changed

+1
-253
lines changed

5 files changed

+1
-253
lines changed

packages/controller/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"ethers": "^6.13.5",
4444
"@starknet-io/get-starknet-wallet-standard": "5.0.0-beta.0",
4545
"@starknet-io/types-js": "0.9.1",
46-
"@telegram-apps/sdk": "^2.4.0",
4746
"@turnkey/sdk-browser": "^4.0.0",
4847
"cbor-x": "^1.5.0",
4948
"starknet": "^8.5.2",

packages/controller/src/telegram/backend.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

packages/controller/src/telegram/provider.ts

Lines changed: 0 additions & 148 deletions
This file was deleted.

packages/keychain/src/components/session.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ export function Session() {
9090
const headers = new Headers();
9191
headers.append("Content-Type", "application/json");
9292

93-
// Remove any trailing '=' characters from the encoded response
94-
// Telegram doesnt seem to be able to decode the response if there are any
93+
// Remove any trailing '=' padding from the base64 encoded response
9594
const encodedResponse = btoa(JSON.stringify(response)).replace(/=+$/, "");
9695

9796
if (queries.callback_uri) {

pnpm-lock.yaml

Lines changed: 0 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)