Compare commits

..

No commits in common. "v0.1.0-develop.44" and "v0.1.0-develop.43" have entirely different histories.

4 changed files with 4 additions and 10 deletions

View File

@ -1,5 +1,3 @@
# [0.1.0-develop.44](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.43...v0.1.0-develop.44) (2023-09-03)
# [0.1.0-develop.43](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.42...v0.1.0-develop.43) (2023-09-02)
# [0.1.0-develop.42](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.41...v0.1.0-develop.42) (2023-09-02)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.44",
"version": "0.1.0-develop.43",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libs5",
"version": "0.1.0-develop.44",
"version": "0.1.0-develop.43",
"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.44",
"version": "0.1.0-develop.43",
"type": "module",
"main": "lib/index.js",
"repository": {

View File

@ -12,14 +12,10 @@ export default class KeyPairEd25519 {
public get publicKey(): Uint8Array {
return concatBytes(
Uint8Array.from([CID_HASH_TYPES.ED25519]),
this.publicKeyRaw,
ed25519.getPublicKey(this._bytes),
);
}
public get publicKeyRaw(): Uint8Array {
return ed25519.getPublicKey(this._bytes);
}
public extractBytes(): Uint8Array {
return this._bytes;
}