- The list of current asset holders returned by the listAssetHolders method may now include an entry that reports the
total asset amount that is currently migrated to foreign blockchains as per the new behavior of version 0.11 of the
Catenis API. That entry differs from the regular ones in that the
holder
property is missing and a new boolean type property namedmigrated
, the value of which is alwaystrue
, is present.
- Added support for changes introduced by version 0.11 of the Catenis API: new asset export feature, including the new API methods Export Asset, Migrate Asset, Asset Export Outcome, Asset Migration Outcome, List Exported Assets, and List Asset Migrations.
- Added support for changes introduced by version 0.10 of the Catenis API: new public API method Retrieve Message Origin.
- Add missing information to header comment of logMessage() and readMessage() methods.
- Update README file to fix sample code for retrieving information about a message's container.
- When calling the LogMessage and SendMessage methods without specifying a value for the new
off-chain
property of the options parameter, off-chain messages are used. Thus any existing code that uses those methods, when changed to use this new version of the Catenis API client — provided that the client is instantiated with its default API version (0.9) —, will produce a different result. To get the same behavior as before, theoff-chain
property of the options parameter needs to be set to false.
- The default version of the Catenis API (when instantiating the API client) is now set to 0.9.
- As a consequence for targeting version 0.9 of the Catenis API, the new features introduced by that version are supported: log, send, read and retrieve container info of Catenis off-chain messages.
- Properly restore any version of the Stanford Javascript Crypto Library that might have been loaded before the Catenis API client library is loaded.
- Updated README file to fix sample code for using API methods that had their interface changed in version 4.0.0 of the library.
- The
countExceeded
property of the object returned from a successful call to the listMessages method has been replaced with the newhasMore
property. - The
countExceeded
property of the object returned from a successful call to the retrieveAssetIssuanceHistory method has been replaced with the newhasMore
property.
- Changed interface of listMessages method: first parameter renamed to
selector
; new parameterslimit
andskip
added. - Changed interface of retrieveAssetIssuanceHistory method: new parameters
limit
andskip
added.
- Added options (when instantiating API client) to send compressed data, which is on by default.
- Added support for changes introduced by version 0.8 of the Catenis API: "pagination" (limit/skip) for API methods List Messages and Retrieve Asset Issuance History; new URI format for notification endpoints.
- WebSocket notification channel object emits new
open
event.
- Small fixes to sample code in README file.
- Changed interface of sendMessage method: parameters
message
andtargetDevice
have swapped positions. - The object returned from a successful call to the readMessage method has a different structure.
- Added support for changes introduced by version 0.7 of the Catenis API: log, send and read message in chunks.
- Changed setting on jQuery so AJAX calls work on Internet Explorer
- Changed interface of API methods that take optional parameters so that the optional parameters can be suppressed when calling those methods.
- The
message
event of the WebSocket notification channel object has been deprecated in favour of the newnotify
event. The difference between the two is that the newnotify
event returns a deserialized JSON object whereas themessage
event returns the originally received JSON string.
- New
notify
event added to WebSocket notification channel object.
- Replaced name of Catenis API Client constructor object from CtnApiClient to CatenisApiClient.
- Changed interface of listMessages method: fields
fromDeviceIds
,fromDeviceProdUniqueIds
,toDeviceIds
, andtoDeviceProdUniqueIds
of options parameter replaced with fieldsfromDevices
andtoDevices
. - Changed type of returned error from API method calls.
- Changed interface of listMessages method: date fields now accept Date objects in addition to strings.
- Changed interface of retrieveAssetIssuanceHistory method: date fields now accept Date object in addition to strings.
- Removed unnecessary instance variables from CatenisApiClient objects.
- Updated README file to account for the new Catenis API Client constructor name, and the changes in the API methods and error handling.
- Added CHANGELOG (this) file.
- Proper handling of time stamp and sign date values used for signing request.
- Signing of requests with empty URL parameters.