diff --git a/README.md b/README.md index 9ada211..05d7d1c 100644 --- a/README.md +++ b/README.md @@ -149,9 +149,9 @@ Example: ```js const response = await marketplace.createAvailability({ - maxCollateral: 1, + totalCollateral: 1, totalSize: 3000, - minPrice: 100, + minPricePerBytePerSecond: 100, duration: 100, }); ``` @@ -168,9 +168,9 @@ Example: ```js const response = await marketplace.updateAvailability({ id: "0x.....................", - maxCollateral: 1, + totalCollateral: 1, totalSize: 3000, - minPrice: 100, + minPricePerBytePerSecond: 100, duration: 100, }); ``` diff --git a/package-lock.json b/package-lock.json index 3f02cea..dafefa5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@codex-storage/sdk-js", - "version": "0.0.22", + "version": "0.0.23", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@codex-storage/sdk-js", - "version": "0.0.22", + "version": "0.0.23", "license": "MIT", "dependencies": { "valibot": "^0.32.0" diff --git a/package.json b/package.json index 82f9479..12592d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@codex-storage/sdk-js", - "version": "0.0.22", + "version": "0.0.23", "description": "Codex SDK to interact with the Codex decentralized storage network.", "repository": { "type": "git",