Releases: IBM-Blockchain-Archive/ibm-blockchain-js
Releases · IBM-Blockchain-Archive/ibm-blockchain-js
v1.3.2
v1.3.0
- backed by popular demand, we have removed the
filter_users()
function fromload()
. - removed support for the open blockchain peer HTTP spec
v1.2.5
Mostly documentation improvements.
v1.2.4
- parse query's response for
error
field even if status code is 200. passerror
to callback if its truthy
v1.2.2
Minor fixes:
- zip url can now be http or https
- improved catching of invalid peer response from a deploy
- typo
v1.2.1
Fixed issue where filter_users() was looking for 'username' instead of 'enrollID'
v1.2.0
- 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
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
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
- fix ibc.chain_stats() failure