From 340ab26d064c1351d04fe0a424b68ee0e01dabbd Mon Sep 17 00:00:00 2001 From: qbnk Date: Mon, 13 May 2024 01:32:22 +0500 Subject: [PATCH] Remove @tma.js/sdk --- package.json | 1 - pnpm-lock.yaml | 9 +++------ src/components/DisplayData/DisplayData.tsx | 2 +- src/components/RGB/RGB.tsx | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index e0c3d43..0600941 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ }, "dependencies": { "@tma.js/react-router-integration": "^1.0.0", - "@tma.js/sdk": "^2.0.0", "@tma.js/sdk-react": "^2.1.0", "@tonconnect/ui-react": "^2.0.2", "eruda": "^3.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 020499c..cb5851a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,6 @@ importers: '@tma.js/react-router-integration': specifier: ^1.0.0 version: 1.0.0(@tma.js/sdk-react@2.1.0(@types/react@18.3.2)(react@18.3.1))(@types/react@18.3.2)(react-router-dom@6.23.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) - '@tma.js/sdk': - specifier: ^2.0.0 - version: 2.0.0 '@tma.js/sdk-react': specifier: ^2.1.0 version: 2.1.0(@types/react@18.3.2)(react@18.3.1) @@ -23,9 +20,6 @@ importers: eruda: specifier: ^3.0.1 version: 3.0.1 - eslint: - specifier: 8.57.0 - version: 8.57.0 react: specifier: ^18.3.1 version: 18.3.1 @@ -57,6 +51,9 @@ importers: '@vitejs/plugin-react-swc': specifier: ^3.6.0 version: 3.6.0(vite@5.2.11(@types/node@20.12.11)) + eslint: + specifier: ^8.57.0 + version: 8.57.0 eslint-plugin-react: specifier: ^7.34.1 version: 7.34.1(eslint@8.57.0) diff --git a/src/components/DisplayData/DisplayData.tsx b/src/components/DisplayData/DisplayData.tsx index 618ba0c..6b87d25 100644 --- a/src/components/DisplayData/DisplayData.tsx +++ b/src/components/DisplayData/DisplayData.tsx @@ -1,4 +1,4 @@ -import { isRGB, type RGB as RGBType } from '@tma.js/sdk'; +import { isRGB, type RGB as RGBType } from '@tma.js/sdk-react'; import type { FC, ReactNode } from 'react'; import { RGB } from '@/components/RGB/RGB.tsx'; diff --git a/src/components/RGB/RGB.tsx b/src/components/RGB/RGB.tsx index 2973cc6..a423f15 100644 --- a/src/components/RGB/RGB.tsx +++ b/src/components/RGB/RGB.tsx @@ -1,4 +1,4 @@ -import { classNames, type RGB as RGBType } from '@tma.js/sdk'; +import { classNames, type RGB as RGBType } from '@tma.js/sdk-react'; import type { FC } from 'react'; import './RGB.css';