Compare commits

..

No commits in common. "v0.1.0-develop.59" and "v0.1.0-develop.58" have entirely different histories.

4 changed files with 3 additions and 14 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.59](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.58...v0.1.0-develop.59) (2023-09-11)
### Features
* add fromRegistryPublicKey helper ([e250878](https://git.lumeweb.com/LumeWeb/libs5/commit/e25087890f1d19139da5152e0d18b6001911baff))
# [0.1.0-develop.58](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.57...v0.1.0-develop.58) (2023-09-11)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.59",
"version": "0.1.0-develop.58",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.59",
"version": "0.1.0-develop.58",
"dependencies": {
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.59",
"version": "0.1.0-develop.58",
"type": "module",
"main": "lib/index.js",
"repository": {

View File

@ -42,10 +42,6 @@ export default class CID extends Multibase {
return CID._init(bytes);
}
static fromRegistryPublicKey(pubkey: string | Uint8Array): CID {
return CID.fromHash(pubkey, 0, CID_TYPES.RESOLVER);
}
static fromHash(
bytes: string | Uint8Array,
size: number,