You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
A lot of the utilities in the utils folder are needed in other JS projects, e.g.:
Conversion functions e.g. hexToUint8Array
Crypto functions e.g. sha512
The validation functions e.g. validateHexString
etc.
In skynet-mysky we have been copy/pasting these utility functions from skynet-js, but that increases the maintenance burden if they ever need to be updated.
Design or Proposal
Create a new repo e.g. skynet-utils
Move all utilities from skynet-js not specific to skynet-js to the new repo.
Publish the new repo
Use skynet-utils as a dependency in skynet-js
Use skynet-utils as a dependency in skynet-mysky
The text was updated successfully, but these errors were encountered:
Overview
A lot of the utilities in the
utils
folder are needed in other JS projects, e.g.:hexToUint8Array
sha512
validateHexString
In
skynet-mysky
we have been copy/pasting these utility functions fromskynet-js
, but that increases the maintenance burden if they ever need to be updated.Design or Proposal
skynet-utils
skynet-js
not specific toskynet-js
to the new repo.skynet-utils
as a dependency inskynet-js
skynet-utils
as a dependency inskynet-mysky
The text was updated successfully, but these errors were encountered: