Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Notes

## Dependency downgrades

- **TypeScript 6** — attempted upgrade, had to roll back due to breakage.
- **ESLint 10** — attempted upgrade, had to roll back due to breakage.
24 changes: 12 additions & 12 deletions apps/appkit-minter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"typecheck": "tsc --noEmit -p tsconfig.app.json"
},
"dependencies": {
"@ston-fi/omniston-sdk": "^0.7.8",
"@tailwindcss/vite": "^4.1.18",
"@ston-fi/omniston-sdk": "^0.7.9",
"@tailwindcss/vite": "^4.2.2",
"@ton/appkit": "workspace:*",
"@ton/appkit-react": "workspace:*",
"@ton/core": "catalog:",
Expand All @@ -32,22 +32,22 @@
"react-router-dom": "^7.9.5",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"tailwindcss": "^4.2.2",
"tw-animate-css": "^1.4.0",
"zustand": "^5.0.10"
"zustand": "^5.0.12"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@eslint/js": "^10.0.1",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "^5.1.2",
"eslint": "^9.39.2",
"@vitejs/plugin-react": "^6.0.1",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^17.0.0",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.5.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.53.0",
"vite": "^7.3.1",
"vite-bundle-analyzer": "^1.3.2"
"typescript-eslint": "^8.58.2",
"vite": "^8.0.8",
"vite-bundle-analyzer": "^1.3.7"
}
}
13 changes: 6 additions & 7 deletions apps/demo-wallet-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@
"@demo/v4ledger-adapter": "workspace:*",
"@demo/wallet-core": "workspace:*",
"@expo-google-fonts/inter": "0.4.2",
"@expo/vector-icons": "15.0.3",
"@gorhom/bottom-sheet": "5.2.8",
"@ledgerhq/react-native-hw-transport-ble": "6.36.1",
"@expo/vector-icons": "15.1.1",
"@gorhom/bottom-sheet": "5.2.9",
"@ledgerhq/react-native-hw-transport-ble": "6.39.1",
"@legendapp/list": "2.0.19",
"@react-native-async-storage/async-storage": "2.2.0",
"@ton-community/ton-ledger": "7.3.0",
"@ton/core": "catalog:",
"@ton/crypto": "catalog:",
"@ton/ton": "16.1.0",
"@ton/ton": "16.2.3",
"@ton/walletkit": "workspace:*",
"axios": "1.13.2",
"bignumber.js": "9.3.1",
"bip39": "3.1.0",
"dayjs": "1.11.19",
"dayjs": "1.11.20",
"empty-module": "0.0.2",
"expo": "54.0.32",
"expo-build-properties": "1.0.10",
Expand Down Expand Up @@ -65,7 +64,7 @@
"readable-stream": "4.7.0",
"uuid": "^13.0.0",
"zod": "4.3.5",
"zustand": "5.0.10"
"zustand": "5.0.12"
},
"devDependencies": {
"@types/react": "catalog:react-native",
Expand Down
11 changes: 0 additions & 11 deletions apps/demo-wallet-native/src/core/libs/axios.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,26 @@
*
*/

import axios from 'axios';

type ObjectWithMessage = { message: string } & { [key: string]: unknown };

const isObjectWithMessage = (toBeDetermined: unknown): toBeDetermined is ObjectWithMessage =>
!!toBeDetermined && !!(toBeDetermined as ObjectWithMessage).message;

export const getErrorMessage = (error: unknown, defaultMessage?: string): string => {
if (axios.isAxiosError(error)) {
if (error.response?.data && isObjectWithMessage(error.response.data)) {
return error.response.data.message;
// if (axios.isAxiosError(error)) {
// if (error.response?.data && isObjectWithMessage(error.response.data)) {
// return error.response.data.message;
// }

// return error.message;
// }
if (typeof error === 'object') {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const e = error as any;
if (e && isObjectWithMessage(e?.response?.data)) {
return e?.response?.data?.message;
}

return error.message;
}

if (typeof error === 'string') {
return error;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ export const useLedgerConnection = (options?: UseLedgerConnectionOptions): UseLe

try {
const newTransport = await connectToLedgerDevice(device.id);
const newTonTransport = new TonTransport(newTransport);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const newTonTransport = new TonTransport(newTransport as any);

setTransport(newTransport);
setTonTransport(newTonTransport);
Expand Down
40 changes: 20 additions & 20 deletions apps/demo-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"dependencies": {
"@demo/v4ledger-adapter": "workspace:*",
"@demo/wallet-core": "workspace:*",
"@ledgerhq/hw-transport-webhid": "^6.30.12",
"@ledgerhq/hw-transport-webusb": "^6.29.16",
"@tailwindcss/vite": "^4.1.18",
"@ledgerhq/hw-transport-webhid": "^6.34.0",
"@ledgerhq/hw-transport-webusb": "^6.33.0",
"@tailwindcss/vite": "^4.2.2",
"@ton/core": "catalog:",
"@ton/crypto": "catalog:",
"@ton/walletkit": "workspace:*",
Expand All @@ -37,7 +37,7 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"consola": "^3.4.2",
"framer-motion": "^12.35.2",
"framer-motion": "^12.38.0",
"immer": "^10.2.0",
"lucide-react": "^0.562.0",
"next-themes": "^0.4.6",
Expand All @@ -46,31 +46,31 @@
"react-router-dom": "^7.12.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"tailwindcss": "^4.2.2",
"tailwindcss-animate": "^1.0.7",
"tw-animate-css": "^1.4.0",
"zustand": "^5.0.10"
"zustand": "^5.0.12"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.57.0",
"@types/chrome": "^0.1.33",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.59.1",
"@types/chrome": "^0.1.40",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/webextension-polyfill": "^0.12.4",
"@vitejs/plugin-react": "^5.1.2",
"allure-js-commons": "^3.4.5",
"allure-playwright": "^3.4.5",
"@vitejs/plugin-react": "^6.0.1",
"allure-js-commons": "^3.7.1",
"allure-playwright": "^3.7.1",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^17.0.0",
"dotenv": "^17.4.2",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.5.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.53.0",
"vite": "^7.3.1",
"vite-bundle-analyzer": "^1.3.2",
"typescript-eslint": "^8.58.2",
"vite": "^8.0.8",
"vite-bundle-analyzer": "^1.3.7",
"webextension-polyfill": "^0.12.0"
}
}
21 changes: 0 additions & 21 deletions apps/mcp-telegram/.env.example

This file was deleted.

12 changes: 0 additions & 12 deletions apps/mcp-telegram/.gitignore

This file was deleted.

Loading
Loading