Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gnosis.pm/safe-apps-react-sdk

Package Overview
Dependencies
Maintainers
18
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gnosis.pm/safe-apps-react-sdk - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

10

dist/index.js

@@ -26,5 +26,9 @@ "use strict";

react_1.useEffect(() => {
let active = true;
const fetchSafeInfo = () => __awaiter(void 0, void 0, void 0, function* () {
try {
const safeInfo = yield sdk.getSafeInfo();
if (!active) {
return;
}
setSafe(safeInfo);

@@ -34,2 +38,5 @@ setConnected(true);

catch (err) {
if (!active) {
return;
}
setConnected(false);

@@ -39,2 +46,5 @@ }

fetchSafeInfo();
return () => {
active = false;
};
}, [sdk]);

@@ -41,0 +51,0 @@ if (!connected && loader) {

10

package.json
{
"name": "@gnosis.pm/safe-apps-react-sdk",
"private": false,
"version": "2.3.0",
"version": "2.3.1",
"main": "dist/index.js",

@@ -14,4 +14,3 @@ "types": "dist/index.d.ts",

"dependencies": {
"@gnosis.pm/safe-apps-sdk": "2.3.0",
"@types/jest": "^26.0.22"
"@gnosis.pm/safe-apps-sdk": "2.3.0"
},

@@ -25,8 +24,9 @@ "peerDependencies": {

"devDependencies": {
"@types/jest": "^26.0.23",
"@types/react-dom": "^17.0.2",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.3.1",
"eslint-plugin-flowtype": "^5.7.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",

@@ -33,0 +33,0 @@ "rimraf": "^3.0.2"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc