@gnosis.pm/safe-apps-react-sdk
Advanced tools
Comparing version 4.2.3 to 4.3.1
@@ -23,3 +23,9 @@ "use strict"; | ||
const [connected, setConnected] = (0, react_1.useState)(false); | ||
const [safe, setSafe] = (0, react_1.useState)({ safeAddress: '', chainId: 1, threshold: 1, owners: [] }); | ||
const [safe, setSafe] = (0, react_1.useState)({ | ||
safeAddress: '', | ||
chainId: 1, | ||
threshold: 1, | ||
owners: [], | ||
isReadOnly: true, | ||
}); | ||
const contextValue = (0, react_1.useMemo)(() => ({ sdk, connected, safe }), [sdk, connected, safe]); | ||
@@ -26,0 +32,0 @@ (0, react_1.useEffect)(() => { |
{ | ||
"name": "@gnosis.pm/safe-apps-react-sdk", | ||
"private": false, | ||
"version": "4.2.3", | ||
"version": "4.3.1", | ||
"main": "dist/index.js", | ||
@@ -14,3 +14,3 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@gnosis.pm/safe-apps-sdk": "7.2.0" | ||
"@gnosis.pm/safe-apps-sdk": "7.3.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "peerDependencies": { |
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
7714
82
+ Added@gnosis.pm/safe-apps-sdk@7.3.0(transitive)
- Removed@gnosis.pm/safe-apps-sdk@7.2.0(transitive)