Skip to content

Commit

Permalink
Migrated Gateway Dependency (#571)
Browse files Browse the repository at this point in the history
In response to deprecation notice (https://www.npmjs.com/package/@gnosis.pm/safe-react-gateway-sdk). Also removed a deprecated TS config.
  • Loading branch information
bh2smith authored Dec 3, 2023
1 parent 047fd5e commit 0d7e5f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@gnosis.pm/safe-react-gateway-sdk": "^3.5.2",
"@mui/icons-material": "^5.14.11",
"@mui/material": "^5.14.11",
"@mui/styles": "^5.14.4",
Expand All @@ -30,6 +29,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",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/token.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"noUnusedLocals": false,
"skipLibCheck": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"types": ["jest", "node"],
"baseUrl": ".",
"strict": true,
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0d7e5f2

Please sign in to comment.