Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.4.4 to 3.4.5

5

dist/config.js

@@ -1,2 +0,5 @@

export const DEFAULT_BASE_URL = 'https://safe-client.safe.global';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_BASE_URL = void 0;
exports.DEFAULT_BASE_URL = 'https://safe-client.safe.global';
//# sourceMappingURL=config.js.map

16

dist/endpoint.js

@@ -1,12 +0,16 @@

import { fetchData, insertParams, stringifyQuery } from './utils';
export function callEndpoint(baseUrl, path, parameters, rawUrl) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.callEndpoint = void 0;
const utils_1 = require("./utils");
function callEndpoint(baseUrl, path, parameters, rawUrl) {
if (rawUrl) {
return fetchData(rawUrl);
return (0, utils_1.fetchData)(rawUrl);
}
const params = parameters;
const pathname = insertParams(path, params === null || params === void 0 ? void 0 : params.path);
const search = stringifyQuery(params === null || params === void 0 ? void 0 : params.query);
const pathname = (0, utils_1.insertParams)(path, params === null || params === void 0 ? void 0 : params.path);
const search = (0, utils_1.stringifyQuery)(params === null || params === void 0 ? void 0 : params.query);
const url = `${baseUrl}${pathname}${search}`;
return fetchData(url, params === null || params === void 0 ? void 0 : params.body);
return (0, utils_1.fetchData)(url, params === null || params === void 0 ? void 0 : params.body);
}
exports.callEndpoint = callEndpoint;
//# sourceMappingURL=endpoint.js.map

@@ -1,18 +0,36 @@

import { callEndpoint } from './endpoint';
import { DEFAULT_BASE_URL } from './config';
export * from './types/safe-info';
export * from './types/safe-apps';
export * from './types/transactions';
export * from './types/chains';
export * from './types/common';
export * from './types/master-copies';
export * from './types/decoded-data';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDecodedData = exports.getMasterCopies = exports.getSafeApps = exports.getChainConfig = exports.getChainsConfig = exports.proposeTransaction = exports.postSafeGasEstimation = exports.getTransactionDetails = exports.getTransactionQueue = exports.getTransactionHistory = exports.getCollectiblesPage = exports.getCollectibles = exports.getOwnedSafes = exports.getFiatCurrencies = exports.getBalances = exports.getMultisigTransactions = exports.getModuleTransactions = exports.getIncomingTransfers = exports.getSafeInfo = exports.setBaseUrl = void 0;
const endpoint_1 = require("./endpoint");
const config_1 = require("./config");
__exportStar(require("./types/safe-info"), exports);
__exportStar(require("./types/safe-apps"), exports);
__exportStar(require("./types/transactions"), exports);
__exportStar(require("./types/chains"), exports);
__exportStar(require("./types/common"), exports);
__exportStar(require("./types/master-copies"), exports);
__exportStar(require("./types/decoded-data"), exports);
// Can be set externally to a different CGW host
let baseUrl = DEFAULT_BASE_URL;
let baseUrl = config_1.DEFAULT_BASE_URL;
/**
* Set the base CGW URL
*/
export const setBaseUrl = (url) => {
const setBaseUrl = (url) => {
baseUrl = url;
};
exports.setBaseUrl = setBaseUrl;
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */

@@ -22,10 +40,11 @@ /**

*/
export function getSafeInfo(chainId, address) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{address}', { path: { chainId, address } });
function getSafeInfo(chainId, address) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{address}', { path: { chainId, address } });
}
exports.getSafeInfo = getSafeInfo;
/**
* Get filterable list of incoming transactions
*/
export function getIncomingTransfers(chainId, address, query, pageUrl) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{address}/incoming-transfers/', {
function getIncomingTransfers(chainId, address, query, pageUrl) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{address}/incoming-transfers/', {
path: { chainId, address },

@@ -35,7 +54,8 @@ query,

}
exports.getIncomingTransfers = getIncomingTransfers;
/**
* Get filterable list of module transactions
*/
export function getModuleTransactions(chainId, address, query, pageUrl) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{address}/module-transactions/', {
function getModuleTransactions(chainId, address, query, pageUrl) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{address}/module-transactions/', {
path: { chainId, address },

@@ -45,7 +65,8 @@ query,

}
exports.getModuleTransactions = getModuleTransactions;
/**
* Get filterable list of multisig transactions
*/
export function getMultisigTransactions(chainId, address, query, pageUrl) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{address}/multisig-transactions/', {
function getMultisigTransactions(chainId, address, query, pageUrl) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{address}/multisig-transactions/', {
path: { chainId, address },

@@ -55,7 +76,8 @@ query,

}
exports.getMultisigTransactions = getMultisigTransactions;
/**
* Get the total balance and all assets stored in a Safe
*/
export function getBalances(chainId, address, currency = 'usd', query = {}) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{address}/balances/{currency}', {
function getBalances(chainId, address, currency = 'usd', query = {}) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{address}/balances/{currency}', {
path: { chainId, address, currency },

@@ -65,19 +87,22 @@ query,

}
exports.getBalances = getBalances;
/**
* Get a list of supported fiat currencies (e.g. USD, EUR etc)
*/
export function getFiatCurrencies() {
return callEndpoint(baseUrl, '/v1/balances/supported-fiat-codes');
function getFiatCurrencies() {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/balances/supported-fiat-codes');
}
exports.getFiatCurrencies = getFiatCurrencies;
/**
* Get the addresses of all Safes belonging to an owner
*/
export function getOwnedSafes(chainId, address) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/owners/{address}/safes', { path: { chainId, address } });
function getOwnedSafes(chainId, address) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/owners/{address}/safes', { path: { chainId, address } });
}
exports.getOwnedSafes = getOwnedSafes;
/**
* Get NFTs stored in a Safe
*/
export function getCollectibles(chainId, address, query = {}) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{address}/collectibles', {
function getCollectibles(chainId, address, query = {}) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{address}/collectibles', {
path: { chainId, address },

@@ -87,33 +112,38 @@ query,

}
exports.getCollectibles = getCollectibles;
/**
* Get NFTs stored in a Safe
*/
export function getCollectiblesPage(chainId, address, query = {}, pageUrl) {
return callEndpoint(baseUrl, '/v2/chains/{chainId}/safes/{address}/collectibles', { path: { chainId, address }, query }, pageUrl);
function getCollectiblesPage(chainId, address, query = {}, pageUrl) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v2/chains/{chainId}/safes/{address}/collectibles', { path: { chainId, address }, query }, pageUrl);
}
exports.getCollectiblesPage = getCollectiblesPage;
/**
* Get a list of past Safe transactions
*/
export function getTransactionHistory(chainId, address, pageUrl) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{safe_address}/transactions/history', { path: { chainId, safe_address: address }, query: {} }, pageUrl);
function getTransactionHistory(chainId, address, pageUrl) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{safe_address}/transactions/history', { path: { chainId, safe_address: address }, query: {} }, pageUrl);
}
exports.getTransactionHistory = getTransactionHistory;
/**
* Get the list of pending transactions
*/
export function getTransactionQueue(chainId, address, pageUrl, trusted) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safes/{safe_address}/transactions/queued', { path: { chainId, safe_address: address }, query: { trusted } }, pageUrl);
function getTransactionQueue(chainId, address, pageUrl, trusted) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safes/{safe_address}/transactions/queued', { path: { chainId, safe_address: address }, query: { trusted } }, pageUrl);
}
exports.getTransactionQueue = getTransactionQueue;
/**
* Get the details of an individual transaction by its id
*/
export function getTransactionDetails(chainId, transactionId) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/transactions/{transactionId}', {
function getTransactionDetails(chainId, transactionId) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/transactions/{transactionId}', {
path: { chainId, transactionId },
});
}
exports.getTransactionDetails = getTransactionDetails;
/**
* Request a gas estimate & recommmended tx nonce for a created transaction
*/
export function postSafeGasEstimation(chainId, address, body) {
return callEndpoint(baseUrl, '/v2/chains/{chainId}/safes/{safe_address}/multisig-transactions/estimations', {
function postSafeGasEstimation(chainId, address, body) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v2/chains/{chainId}/safes/{safe_address}/multisig-transactions/estimations', {
path: { chainId, safe_address: address },

@@ -123,7 +153,8 @@ body,

}
exports.postSafeGasEstimation = postSafeGasEstimation;
/**
* Propose a new transaction for other owners to sign/execute
*/
export function proposeTransaction(chainId, address, body) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/transactions/{safe_address}/propose', {
function proposeTransaction(chainId, address, body) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/transactions/{safe_address}/propose', {
path: { chainId, safe_address: address },

@@ -133,23 +164,26 @@ body,

}
exports.proposeTransaction = proposeTransaction;
/**
* Returns all defined chain configs
*/
export function getChainsConfig(query) {
return callEndpoint(baseUrl, '/v1/chains', {
function getChainsConfig(query) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains', {
query,
});
}
exports.getChainsConfig = getChainsConfig;
/**
* Returns a chain config
*/
export function getChainConfig(chainId) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}', {
function getChainConfig(chainId) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}', {
path: { chainId: chainId },
});
}
exports.getChainConfig = getChainConfig;
/**
* Returns Safe Apps List
*/
export function getSafeApps(chainId, query = {}) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/safe-apps', {
function getSafeApps(chainId, query = {}) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/safe-apps', {
path: { chainId: chainId },

@@ -159,15 +193,17 @@ query,

}
exports.getSafeApps = getSafeApps;
/**
* Returns list of Master Copies
*/
export function getMasterCopies(chainId) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/about/master-copies', {
function getMasterCopies(chainId) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/about/master-copies', {
path: { chainId: chainId },
});
}
exports.getMasterCopies = getMasterCopies;
/**
* Returns decoded data
*/
export function getDecodedData(chainId, encodedData) {
return callEndpoint(baseUrl, '/v1/chains/{chainId}/data-decoder', {
function getDecodedData(chainId, encodedData) {
return (0, endpoint_1.callEndpoint)(baseUrl, '/v1/chains/{chainId}/data-decoder', {
path: { chainId: chainId },

@@ -177,3 +213,4 @@ body: { data: encodedData },

}
exports.getDecodedData = getDecodedData;
/* eslint-enable @typescript-eslint/explicit-module-boundary-types */
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=api.js.map

@@ -1,2 +0,5 @@

export var RPC_AUTHENTICATION;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FEATURES = exports.GAS_PRICE_TYPE = exports.RPC_AUTHENTICATION = void 0;
var RPC_AUTHENTICATION;
(function (RPC_AUTHENTICATION) {

@@ -6,4 +9,4 @@ RPC_AUTHENTICATION["API_KEY_PATH"] = "API_KEY_PATH";

RPC_AUTHENTICATION["UNKNOWN"] = "UNKNOWN";
})(RPC_AUTHENTICATION || (RPC_AUTHENTICATION = {}));
export var GAS_PRICE_TYPE;
})(RPC_AUTHENTICATION = exports.RPC_AUTHENTICATION || (exports.RPC_AUTHENTICATION = {}));
var GAS_PRICE_TYPE;
(function (GAS_PRICE_TYPE) {

@@ -13,4 +16,4 @@ GAS_PRICE_TYPE["ORACLE"] = "ORACLE";

GAS_PRICE_TYPE["UNKNOWN"] = "UNKNOWN";
})(GAS_PRICE_TYPE || (GAS_PRICE_TYPE = {}));
export var FEATURES;
})(GAS_PRICE_TYPE = exports.GAS_PRICE_TYPE || (exports.GAS_PRICE_TYPE = {}));
var FEATURES;
(function (FEATURES) {

@@ -25,3 +28,3 @@ FEATURES["ERC721"] = "ERC721";

FEATURES["TX_SIMULATION"] = "TX_SIMULATION";
})(FEATURES || (FEATURES = {}));
})(FEATURES = exports.FEATURES || (exports.FEATURES = {}));
//# sourceMappingURL=chains.js.map

@@ -1,2 +0,5 @@

export var TokenType;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TokenType = void 0;
var TokenType;
(function (TokenType) {

@@ -6,3 +9,3 @@ TokenType["ERC20"] = "ERC20";

TokenType["NATIVE_TOKEN"] = "NATIVE_TOKEN";
})(TokenType || (TokenType = {}));
})(TokenType = exports.TokenType || (exports.TokenType = {}));
//# sourceMappingURL=common.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=decoded-data.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=master-copies.js.map

@@ -1,6 +0,9 @@

export var SafeAppAccessPolicyTypes;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SafeAppAccessPolicyTypes = void 0;
var SafeAppAccessPolicyTypes;
(function (SafeAppAccessPolicyTypes) {
SafeAppAccessPolicyTypes["NoRestrictions"] = "NO_RESTRICTIONS";
SafeAppAccessPolicyTypes["DomainAllowlist"] = "DOMAIN_ALLOWLIST";
})(SafeAppAccessPolicyTypes || (SafeAppAccessPolicyTypes = {}));
})(SafeAppAccessPolicyTypes = exports.SafeAppAccessPolicyTypes || (exports.SafeAppAccessPolicyTypes = {}));
//# sourceMappingURL=safe-apps.js.map

@@ -1,6 +0,9 @@

export var ImplementationVersionState;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImplementationVersionState = void 0;
var ImplementationVersionState;
(function (ImplementationVersionState) {
ImplementationVersionState["UP_TO_DATE"] = "UP_TO_DATE";
ImplementationVersionState["OUTDATED"] = "OUTDATED";
})(ImplementationVersionState || (ImplementationVersionState = {}));
})(ImplementationVersionState = exports.ImplementationVersionState || (exports.ImplementationVersionState = {}));
//# sourceMappingURL=safe-info.js.map

@@ -1,7 +0,10 @@

export var Operation;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LabelValue = exports.DetailedExecutionInfoType = exports.TransactionListItemType = exports.ConflictType = exports.TransactionInfoType = exports.SettingsInfoType = exports.TransactionTokenType = exports.TransferDirection = exports.TransactionStatus = exports.Operation = void 0;
var Operation;
(function (Operation) {
Operation[Operation["CALL"] = 0] = "CALL";
Operation[Operation["DELEGATE"] = 1] = "DELEGATE";
})(Operation || (Operation = {}));
export var TransactionStatus;
})(Operation = exports.Operation || (exports.Operation = {}));
var TransactionStatus;
(function (TransactionStatus) {

@@ -13,4 +16,4 @@ TransactionStatus["AWAITING_CONFIRMATIONS"] = "AWAITING_CONFIRMATIONS";

TransactionStatus["SUCCESS"] = "SUCCESS";
})(TransactionStatus || (TransactionStatus = {}));
export var TransferDirection;
})(TransactionStatus = exports.TransactionStatus || (exports.TransactionStatus = {}));
var TransferDirection;
(function (TransferDirection) {

@@ -20,5 +23,5 @@ TransferDirection["INCOMING"] = "INCOMING";

TransferDirection["UNKNOWN"] = "UNKNOWN";
})(TransferDirection || (TransferDirection = {}));
})(TransferDirection = exports.TransferDirection || (exports.TransferDirection = {}));
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/enum.TransferInfo.html
export var TransactionTokenType;
var TransactionTokenType;
(function (TransactionTokenType) {

@@ -28,4 +31,4 @@ TransactionTokenType["ERC20"] = "ERC20";

TransactionTokenType["NATIVE_COIN"] = "NATIVE_COIN";
})(TransactionTokenType || (TransactionTokenType = {}));
export var SettingsInfoType;
})(TransactionTokenType = exports.TransactionTokenType || (exports.TransactionTokenType = {}));
var SettingsInfoType;
(function (SettingsInfoType) {

@@ -42,5 +45,5 @@ SettingsInfoType["SET_FALLBACK_HANDLER"] = "SET_FALLBACK_HANDLER";

SettingsInfoType["DELETE_GUARD"] = "DELETE_GUARD";
})(SettingsInfoType || (SettingsInfoType = {}));
})(SettingsInfoType = exports.SettingsInfoType || (exports.SettingsInfoType = {}));
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/enum.TransactionInfo.html
export var TransactionInfoType;
var TransactionInfoType;
(function (TransactionInfoType) {

@@ -51,5 +54,5 @@ TransactionInfoType["TRANSFER"] = "Transfer";

TransactionInfoType["CREATION"] = "Creation";
})(TransactionInfoType || (TransactionInfoType = {}));
})(TransactionInfoType = exports.TransactionInfoType || (exports.TransactionInfoType = {}));
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/summary/enum.ConflictType.html
export var ConflictType;
var ConflictType;
(function (ConflictType) {

@@ -59,5 +62,5 @@ ConflictType["NONE"] = "None";

ConflictType["END"] = "End";
})(ConflictType || (ConflictType = {}));
})(ConflictType = exports.ConflictType || (exports.ConflictType = {}));
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/summary/enum.TransactionListItem.html
export var TransactionListItemType;
var TransactionListItemType;
(function (TransactionListItemType) {

@@ -68,17 +71,17 @@ TransactionListItemType["TRANSACTION"] = "TRANSACTION";

TransactionListItemType["DATE_LABEL"] = "DATE_LABEL";
})(TransactionListItemType || (TransactionListItemType = {}));
})(TransactionListItemType = exports.TransactionListItemType || (exports.TransactionListItemType = {}));
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/details/enum.DetailedExecutionInfo.html
export var DetailedExecutionInfoType;
var DetailedExecutionInfoType;
(function (DetailedExecutionInfoType) {
DetailedExecutionInfoType["MULTISIG"] = "MULTISIG";
DetailedExecutionInfoType["MODULE"] = "MODULE";
})(DetailedExecutionInfoType || (DetailedExecutionInfoType = {}));
})(DetailedExecutionInfoType = exports.DetailedExecutionInfoType || (exports.DetailedExecutionInfoType = {}));
/**
* @see https://gnosis.github.io/safe-client-gateway/docs/routes/transactions/models/summary/enum.Label.html
*/
export var LabelValue;
var LabelValue;
(function (LabelValue) {
LabelValue["Queued"] = "Queued";
LabelValue["Next"] = "Next";
})(LabelValue || (LabelValue = {}));
})(LabelValue = exports.LabelValue || (exports.LabelValue = {}));
//# sourceMappingURL=transactions.js.map

@@ -0,1 +1,2 @@

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -10,7 +11,12 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

};
import fetch from 'cross-fetch';
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetchData = exports.stringifyQuery = exports.insertParams = void 0;
const cross_fetch_1 = __importDefault(require("cross-fetch"));
function replaceParam(str, key, value) {
return str.replace(new RegExp(`\\{${key}\\}`, 'g'), value);
}
export function insertParams(template, params) {
function insertParams(template, params) {
return params

@@ -22,3 +28,4 @@ ? Object.keys(params).reduce((result, key) => {

}
export function stringifyQuery(query) {
exports.insertParams = insertParams;
function stringifyQuery(query) {
if (!query) {

@@ -36,3 +43,4 @@ return '';

}
export function fetchData(url, body) {
exports.stringifyQuery = stringifyQuery;
function fetchData(url, body) {
return __awaiter(this, void 0, void 0, function* () {

@@ -47,3 +55,3 @@ let options;

}
const resp = yield fetch(url, options);
const resp = yield (0, cross_fetch_1.default)(url, options);
const json = yield resp.json();

@@ -64,2 +72,3 @@ if (!resp.ok) {

}
exports.fetchData = fetchData;
//# sourceMappingURL=utils.js.map
{
"name": "@gnosis.pm/safe-react-gateway-sdk",
"version": "3.4.4",
"version": "3.4.5",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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