Changelog
[2.0.6]
typeof
was not used for window
.Changelog
[2.0.2]
regeneratorRuntime
error when packaging with webpack
has been fixed.Changelog
[2.0.0]
Prior version numbers skipped to maintain parity with API.
downloadFileHns
, openFileHns
, resolveSkylinkHns
getHnsUrl
, getHnsresUrl
customFilename
and customDirname
upload optionsdownload
and open
were renamed to downloadFile
and openFile
.upload
was renamed to uploadFile
and the response was changed to only
include a skylink. To obtain the full response as in the old upload
, use the
new uploadFileRequest
.getDownloadUrl
has been renamed to getSkylinkUrl
.defaultPortalUrl
string has been renamed to defaultSkynetPortalUrl
and
defaultPortalUrl
is now a function.Changelog
[0.1.0] - 2020-07-29
SkynetClient
class that must be initialized to call methods such as
upload
and download
.getRelativeFilePath
and defaultPortalUrl
.SkynetClient
. Previous code
that was calling upload(...)
instead of client.upload(...)
will no longer
work.