@zerochain/0chain
Advanced tools
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 @@ }; |
{ | ||
"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", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
186090
1966
2