Compare commits
No commits in common. "v0.1.0-develop.44" and "v0.1.0-develop.43" have entirely different histories.
v0.1.0-dev
...
v0.1.0-dev
|
@ -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)
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue