Skip to content

Releases: IBM-Blockchain-Archive/ibm-blockchain-js

v1.3.2

15 Nov 19:23
Compare
Choose a tag to compare
  • changed read function from using old openchain interface to hyperledger
  • updated rest lib which has new callback structure
  • regex should find != and == functions in query/invoke chaincode

v1.3.0

05 Nov 15:32
Compare
Choose a tag to compare
  • backed by popular demand, we have removed the filter_users() function from load().
  • removed support for the open blockchain peer HTTP spec

v1.2.5

21 Jul 15:55
Compare
Choose a tag to compare

Mostly documentation improvements.

v1.2.4

27 Jun 19:19
Compare
Choose a tag to compare
  • parse query's response for error field even if status code is 200. pass error to callback if its truthy

v1.2.2

23 May 14:03
Compare
Choose a tag to compare

Minor fixes:

  • zip url can now be http or https
  • improved catching of invalid peer response from a deploy
  • typo

v1.2.1

09 May 15:17
Compare
Choose a tag to compare

Fixed issue where filter_users() was looking for 'username' instead of 'enrollID'

v1.2.0

06 May 18:27
Compare
Choose a tag to compare
  • Added the ability to redirect console logs
  • Added parsing of peer's response to a deploy. This should catch errors when the peer returns an invalid response such as a blank chaincode name. This allows the SDK to pass the error back to the application.

v1.1.1

14 Apr 21:35
Compare
Choose a tag to compare

This version is compatible with the Hyperledger code base. Hyperledger has different API endpoints as well as a different chaincode structure. v1.1.1 should be able to detect if your chaincode is targeting hyperledger or obc peer and build accordingly.

v1.0.0

04 Apr 22:32
Compare
Choose a tag to compare

This release will break prior code! Check the migration section for details. It shouldn't be too time consuming. Marbles only took 3 minutes to migrate.

  • new format structure of chaincode object. mainly query and invoke is now a subfield and chaincode functions will be found under these fields.
  • the go function Query() is now parsed like Run() was to find query functions
  • added tls option in ibc.network(), default is to use tls when talking to peer
  • added ibc.get_transaction() to find transactions based on UDID
  • changed username/secret field names to enrollID/enrollSecret to match OBC
  • ibc.register() will now retry if failure
  • added maxRetry option to ibc.register()
  • added ibc.check_register() to inspect an enrollID
  • added ibc.unregister() to unenroll an enrollID

v0.0.12

01 Apr 15:34
Compare
Choose a tag to compare
  • fix ibc.chain_stats() failure