Skip to content

Releases: filswan/js-mcs-sdk

v4.3.0

12 Apr 17:34
Compare
Choose a tag to compare

js-mcs-sdk v4.3.0

  • Minor release for multichain.storage SDK

What's New

  • fix usdc to filecoin price for onchain storage
  • fix post createCollection bug for onchain storage
  • build object path for objectName
    • ex. I have empty bucket b. I upload file to b with objectName: 'f1/f2/file.txt'
    • this new feature will create the folders f1 and f1/f2
  • add subdomain ipfs gateway
  • fix download file using the gateway
  • disallow empty file/folder names

v4.2.0

27 Feb 21:23
be64df0
Compare
Choose a tag to compare

js-mcs-sdk v4.2.0

  • Minor release for multichain.storage SDK

What's New

  • bucket storage function parameters use object name to follow OSS practices
  • collection factory
    • users can now create new collections mcs.createCollection(...)
    • users must specify which collection to mint to mcs.mint(sourceFileUploadId, nft, collectionAddress)
  • source code structure was simplified to devs to read
  • integrated new backend apis
  • simplified onchain storage upload function mcs.upload(filePath)

v4.1.1

24 Jan 21:31
d5e1f4d
Compare
Choose a tag to compare

js-mcs-sdk v4.1.1

  • Minor release for multichain.storage SDK

What's New

  • only need access token and api key to get started
    • use chainName: "polygon.mumbai" to access calibration sdk
  • setupWeb3 function to access onchain storage upload and payment
  • console.error handling, better error messages for UX

v4.0.1

09 Jan 15:01
a403942
Compare
Choose a tag to compare

js-mcs-sdk v4.0.1

  • Major release for multichain.storage SDK

What's New

  • Initialize SDK using Access Token and API Key, which a user obtains from the UI.
    • private key is now optional (only used when user wants to pay/mint for onchain storage)
  • Added updated Buckets APIs
  • Improved error handling, better error messages for UX

v3.1.0

01 Dec 19:36
8d1ec83
Compare
Choose a tag to compare

js-mcs-sdk v3.1.0

  • Minor release for multichain.storage SDK

What's New

  • Added Buckets functionality
    • Users can create/delete buckets, and add files to them
  • Improved error handling, better error messages for UX

v3.0.1

21 Oct 18:49
Compare
Choose a tag to compare

js-mcs-sdk v3.0.1

  • Patch release for multichain.storage SDK

What's New

  • MCS now uses a new ERC-1155 contract

v3.0.0

13 Oct 17:41
Compare
Choose a tag to compare

js-mcs-sdk v3.0.0

  • Major release for multichain.storage SDK

What's New

  • no longer uses new mcsSDK. instead use await mcsSDK.initialize
  • automatic login and stores jwt
  • network detection based on rpc url
  • filecoin_price is from chainlink price feed

v2.1.0

30 Jun 15:25
Compare
Choose a tag to compare

js-mcs-sdk v2.1.0

  • Minor release for multiminer version of MCS

What's New

  • making payments with amount '0' will now use average storage price (similar to UI logic)
  • added option to use calibration API for devs

v2.0.3

16 Jun 21:01
Compare
Choose a tag to compare

js-mcs-sdk v2.0.3

  • Patch release for multiminer version of MCS

What's New

  • Add external_url to NFT object so file contents are viewable through Opensea.
    • sdk-test/mintAsset.js code and SDK documentation are updated to reflect this change
  • Fixed token id clashes when minting NFT by using events opposed to totalSupply()
  • Use web3.eth.getGasPrice for more accurate gas prices during transactions

v2.0.0

01 Jun 13:54
Compare
Choose a tag to compare

js-mcs-sdk v2.0.0

  • Updated release for multiminer version of MCS

Features

  • Upload file(s) to MCS
  • Pay for a file
  • Mint a file as an NFT
  • Get uploaded files
  • Get file details
  • Get filecoin storage status for a file

What's New

  • The API routes and SDK logic was updated to match the multi-miner MCS API.
  • Added more test files in sdk-test to test each feature individually