diff --git a/packages/controller/src/provider.ts b/packages/controller/src/provider.ts index ab65cb2c6..bc32df4d3 100644 --- a/packages/controller/src/provider.ts +++ b/packages/controller/src/provider.ts @@ -10,6 +10,7 @@ import { WalletEventListener, WalletEvents, } from "@starknet-io/types-js"; +import manifest from "../package.json"; import { icon } from "./icon"; import { ProviderOptions } from "./types"; @@ -17,7 +18,7 @@ import { ProviderOptions } from "./types"; export default abstract class BaseProvider implements StarknetWindowObject { public id = "controller"; public name = "Controller"; - public version = "0.4.0"; + public version = manifest.version; public icon = icon; public rpc: URL; diff --git a/packages/controller/src/telegram/backend.ts b/packages/controller/src/telegram/backend.ts index 3e4b0264c..f4739cc57 100644 --- a/packages/controller/src/telegram/backend.ts +++ b/packages/controller/src/telegram/backend.ts @@ -1,5 +1,5 @@ import { cloudStorage, openLink } from "@telegram-apps/sdk"; -import { UnifiedBackend } from "src/session/backend"; +import { UnifiedBackend } from "../session/backend"; /** * Implements the UnifiedBackend interface for Telegram storage operations. diff --git a/packages/controller/tsconfig.json b/packages/controller/tsconfig.json index cd3387c49..3a795d5a3 100644 --- a/packages/controller/tsconfig.json +++ b/packages/controller/tsconfig.json @@ -2,12 +2,11 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "@cartridge/tsconfig/base.json", "compilerOptions": { - "baseUrl": ".", - "rootDir": "./src", + "rootDir": ".", "outDir": "./dist", "composite": false, "incremental": false, "moduleResolution": "node" }, - "include": ["src/**/*"] + "include": ["src/**/*", "package.json"] } diff --git a/packages/profile/src/components/inventory/token/token.tsx b/packages/profile/src/components/inventory/token/token.tsx index 4af310531..cd1d2c5ac 100644 --- a/packages/profile/src/components/inventory/token/token.tsx +++ b/packages/profile/src/components/inventory/token/token.tsx @@ -109,7 +109,7 @@ function ERC20() { const compatibility = useMemo(() => { if (!version) return false; - return compare(version, "0.4.0", ">="); + return compare(version, "0.5.6", ">="); }, [version]); if (!t) {