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 2.1.2 to 2.1.3

10

index.js

@@ -396,3 +396,3 @@ /*

allocateStorage: function allocateStorage(
allocateStorage: async function allocateStorage(
ae,

@@ -416,2 +416,8 @@ data_shards = dataShards,

expiration_date = Math.floor(expiration_date.addDays(30).getTime() / 1000)
const blobbers = await goWasm.sdk.getAllocationBlobbers(preferred_blobbers,
data_shards,parity_shards,size, expiration_date,
readPrice.min, readPrice.max,
writePrice.min, writePrice.max);
const payload = {

@@ -429,3 +435,3 @@ name: "new_allocation_request",

max_challenge_completion_time,
preferred_blobbers,
blobbers,
},

@@ -432,0 +438,0 @@ };

2

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

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

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