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

@zerochain/0chain

Package Overview
Dependencies
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zerochain/0chain - npm Package Compare versions

Comparing version 1.3.78 to 1.3.79

2

package.json
{
"name": "@zerochain/0chain",
"version": "1.3.78",
"version": "1.3.79",
"description": "js client library to interact with 0chain Blockchain",

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

@@ -24,3 +24,3 @@ /*

async function blsSign(hash) {
if (!bridge.jsProxy?.secretKey) {
if (!bridge.jsProxy && !bridge.jsProxy.secretKey) {
const errMsg = 'err: bls.secretKey is not initialized';

@@ -153,3 +153,3 @@ console.error(errMsg);

if (resp?.error) {
if (resp && resp.error) {
rej(new Error(resp.error));

@@ -156,0 +156,0 @@ } else {

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