🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@evmexplorer/blockscout

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evmexplorer/blockscout - npm Package Compare versions

Comparing version
0.0.25
to
0.0.26
+8
-1
dist/index.cjs

@@ -103,3 +103,10 @@ "use strict";

const query = `https://${chainProvider}/api/v2/addresses/${address}`;
const response = await fetch(query, { mode: "cors" });
const response = await fetch(query, {
mode: "cors",
method: "GET",
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*"
}
});
const body = await response.json();

@@ -106,0 +113,0 @@ if (!body.hash) throw new Error("no address info data");

@@ -63,3 +63,10 @@ // src/utils.ts

const query = `https://${chainProvider}/api/v2/addresses/${address}`;
const response = await fetch(query, { mode: "cors" });
const response = await fetch(query, {
mode: "cors",
method: "GET",
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*"
}
});
const body = await response.json();

@@ -66,0 +73,0 @@ if (!body.hash) throw new Error("no address info data");

+1
-1
{
"name": "@evmexplorer/blockscout",
"version": "0.0.25",
"version": "0.0.26",
"description": "EVM Explorer TypeScript BlockScout V2 sdk",

@@ -5,0 +5,0 @@ "main": "dist/index.js",