From 2e6d59fb98d5f33d55e48dbcf07d60b518302f2e Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Sun, 3 Dec 2023 11:59:19 +0100 Subject: [PATCH] change migrated gateway project --- package.json | 1 + src/hooks/token.ts | 2 +- yarn.lock | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index aab17f9a..2093b1d3 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "@safe-global/safe-apps-provider": "^0.18.0", "@safe-global/safe-apps-react-sdk": "^4.6.4", "@safe-global/safe-apps-sdk": "^8.1.0", + "@safe-global/safe-gateway-typescript-sdk": "^3.13.2", "@safe-global/safe-react-components": "2.0.5", "ace-builds": "^1.15.0", "bignumber.js": "^9.1.1", diff --git a/src/hooks/token.ts b/src/hooks/token.ts index d055c3b7..0a945bf1 100644 --- a/src/hooks/token.ts +++ b/src/hooks/token.ts @@ -1,6 +1,6 @@ -import { SafeBalanceResponse } from "@gnosis.pm/safe-react-gateway-sdk"; import { SafeAppProvider } from "@safe-global/safe-apps-provider"; import { useSafeAppsSDK } from "@safe-global/safe-apps-react-sdk"; +import { SafeBalanceResponse } from "@safe-global/safe-gateway-typescript-sdk"; import { ethers, utils } from "ethers"; import xdaiTokens from "honeyswap-default-token-list"; import { useState, useEffect, useMemo } from "react"; diff --git a/yarn.lock b/yarn.lock index ef3fab71..933c3eaf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2750,6 +2750,11 @@ "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" viem "^1.0.0" +"@safe-global/safe-gateway-typescript-sdk@^3.13.2": + version "3.13.2" + resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.13.2.tgz#f03884c7eb766f5508085d95ab96063a28e20920" + integrity sha512-kGlJecJHBzGrGTq/yhLANh56t+Zur6Ubpt+/w03ARX1poDb4TM8vKU3iV8tuYpk359PPWp+Qvjnqb9oW2YQcYw== + "@safe-global/safe-gateway-typescript-sdk@^3.5.3": version "3.7.0" resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.7.0.tgz#2af52f1bc73759b1b6a549fed598781c8c5fce72"