Casper JS SDK v3.0.0-rc04
Pre-release
Pre-release
Added
- Brought back the functionality of setting contract hash (
setContractHash
method) inContract
class. Previously even using that method would ignore the contract hash due to a bug in the node. Now setting it will imply that the contract endpoints need to by called by contract hash. You still can usesetContractName
, butsetContractHash
takes priority if both are used. - Added the possibility to muffle deprecation warnings in
CasperServiceByJsonRPC
. You can now passmuffleDeprecationWarnings
as an optional parameter to the constructor. If set totrue
, the SDK will not log any deprecation warnings from that class. Defaults tofalse
Removed
TransactionSessionKind
since field kind was removed fromSession
implementation ofTransactionTarget
- Removed usages of
toHex
,fromHex
andtoAccountHashStr
since they are deprecated.
Changed
waitForDeploy
andwaitForTransaction
methods will fail fast if the results for getting deploy/transaction info is present but was not successfull.