This PR fixes a programmatic discrepancy between BITBOX and slp-sdk. slp-sdk had a Utils class while BITBOX has a Util (singular) class. This makes usage of slp-sdk awkward.
This PR fixes the problem by properly extending the BITBOX Util class and adding the slp-sdk code to that class. To maintain backwards compatibility, SLP.Utils is an alias of SLP.Util. Either can be used.
Documentation will be updated for slp-sdk to rename the Utils class to Util and align the documentation across BITBOX and slp-sdk.
This PR fixes a programmatic discrepancy between BITBOX and slp-sdk. slp-sdk had a
Utils
class while BITBOX has aUtil
(singular) class. This makes usage of slp-sdk awkward.This PR fixes the problem by properly extending the BITBOX Util class and adding the slp-sdk code to that class. To maintain backwards compatibility,
SLP.Utils
is an alias ofSLP.Util
. Either can be used.Documentation will be updated for slp-sdk to rename the
Utils
class toUtil
and align the documentation across BITBOX and slp-sdk.