Compare commits

...

4 Commits

Author SHA1 Message Date
semantic-release-bot 0a88d8c368 chore(release): 0.1.0-develop.6 [skip ci]
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/relay-plugin-s5/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-09-01)

### Bug Fixes

* bad argument nesting ([61f333f](61f333feaa))
* use privateKey not publicKeyRaw ([78bee5c](78bee5c47b))
2023-09-01 08:15:15 +00:00
Derrick Hammer c27634eb7e
Merge remote-tracking branch 'origin/develop' into develop 2023-09-01 04:14:28 -04:00
Derrick Hammer 61f333feaa
fix: bad argument nesting 2023-09-01 04:10:37 -04:00
Derrick Hammer 78bee5c47b
fix: use privateKey not publicKeyRaw 2023-09-01 04:10:02 -04:00
4 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,11 @@
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/relay-plugin-s5/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-09-01)
### Bug Fixes
* bad argument nesting ([61f333f](https://git.lumeweb.com/LumeWeb/relay-plugin-s5/commit/61f333feaafa37fe67adc7a7238b3a1b09da322e))
* use privateKey not publicKeyRaw ([78bee5c](https://git.lumeweb.com/LumeWeb/relay-plugin-s5/commit/78bee5c47ba87118cca89f46acbea479ba028df0))
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/relay-plugin-s5/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-09-01)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/relay-plugin-s5",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/relay-plugin-s5",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.6",
"dependencies": {
"@lumeweb/interface-relay": "^0.0.2-develop.3",
"@lumeweb/libs5-transport-hyper": "^0.1.0-develop.8",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/relay-plugin-s5",
"version": "0.1.0-develop.5",
"version": "0.1.0-develop.6",
"type": "module",
"repository": {
"type": "git",

View File

@ -27,7 +27,7 @@ const plugin = {
const db = new Level<string, Uint8Array>(dbPath);
await db.open();
let config = {
keyPair: createKeyPair(api.identity.publicKeyRaw),
keyPair: createKeyPair(api.identity.privateKey),
db,
p2p: {
peers: {
@ -49,7 +49,7 @@ const plugin = {
});
s5peer.id = new NodeId(
concatBytes(Uint8Array.from([mkeyEd25519], peer.remotePublicKey)),
concatBytes(Uint8Array.from([mkeyEd25519]), peer.remotePublicKey),
);
await s5peer.init();