@gnosis.pm/safe-apps-react-sdk
Advanced tools
Comparing version 2.4.0 to 3.0.0
@@ -23,3 +23,3 @@ "use strict"; | ||
const [connected, setConnected] = react_1.useState(false); | ||
const [safe, setSafe] = react_1.useState({ safeAddress: '', network: 'RINKEBY' }); | ||
const [safe, setSafe] = react_1.useState({ safeAddress: '', chainId: 1 }); | ||
const contextValue = react_1.useMemo(() => ({ sdk, connected, safe }), [sdk, connected, safe]); | ||
@@ -26,0 +26,0 @@ react_1.useEffect(() => { |
{ | ||
"name": "@gnosis.pm/safe-apps-react-sdk", | ||
"private": false, | ||
"version": "2.4.0", | ||
"version": "3.0.0", | ||
"main": "dist/index.js", | ||
@@ -14,3 +14,3 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@gnosis.pm/safe-apps-sdk": "2.4.0" | ||
"@gnosis.pm/safe-apps-sdk": "3.0.0" | ||
}, | ||
@@ -25,3 +25,3 @@ "peerDependencies": { | ||
"@types/jest": "^26.0.23", | ||
"@types/react-dom": "^17.0.2", | ||
"@types/react-dom": "^17.0.5", | ||
"eslint-config-react-app": "^6.0.0", | ||
@@ -28,0 +28,0 @@ "eslint-plugin-flowtype": "^5.7.2", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7499
+ Added@gnosis.pm/safe-apps-sdk@3.0.0(transitive)
- Removed@gnosis.pm/safe-apps-sdk@2.4.0(transitive)
- Removedsemver@7.6.3(transitive)