New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
4
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 4.4.0 to 4.5.0

CHANGELOG.md

1

dist/index.d.ts

@@ -11,2 +11,3 @@ import { ReactElement } from 'react';

opts?: SDKOpts;
children: React.ReactNode;
}

@@ -13,0 +14,0 @@ export declare const SafeProvider: React.FC<Props>;

17

dist/index.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -33,5 +24,5 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

let active = true;
const fetchSafeInfo = () => __awaiter(void 0, void 0, void 0, function* () {
const fetchSafeInfo = async () => {
try {
const safeInfo = yield sdk.safe.getInfo();
const safeInfo = await sdk.safe.getInfo();
if (!active) {

@@ -49,3 +40,3 @@ return;

}
});
};
fetchSafeInfo();

@@ -59,3 +50,3 @@ return () => {

}
return (0, jsx_runtime_1.jsx)(SafeContext.Provider, Object.assign({ value: contextValue }, { children: children }), void 0);
return (0, jsx_runtime_1.jsx)(SafeContext.Provider, Object.assign({ value: contextValue }, { children: children }));
};

@@ -62,0 +53,0 @@ exports.SafeProvider = SafeProvider;

{
"name": "@gnosis.pm/safe-apps-react-sdk",
"private": false,
"version": "4.4.0",
"version": "4.5.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"typings": "dist/index.d.ts",
"files": [
"dist/**/*",
"src/**/*",
"CHANGELOG.md",
"README.md"
],
"license": "MIT",
"author": "Gnosis (https://gnosis.io)",
"dependencies": {
"@gnosis.pm/safe-apps-sdk": "7.4.0"
"@gnosis.pm/safe-apps-sdk": "7.4.1"
},
"peerDependencies": {
"react": "16.x.x || 17.x.x"
"react": "16.x.x || 17.x.x || 18.x.x"
},
"devDependencies": {
"@types/jest": "^28.1.1",
"@types/react": "^17.0.47",
"@types/react-dom": "^18.0.5",

@@ -22,0 +24,0 @@ "eslint-config-react-app": "^7.0.1",

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