From 0f062cb38df83c99b4846d3254b2fc1e7c228919 Mon Sep 17 00:00:00 2001 From: Hayden Young Date: Fri, 1 Nov 2024 11:23:07 +0000 Subject: [PATCH 1/2] fix: Remove duplicate put. --- src/oplog/log.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/oplog/log.js b/src/oplog/log.js index 8ce693f0..dd76c8cd 100644 --- a/src/oplog/log.js +++ b/src/oplog/log.js @@ -318,8 +318,6 @@ const Log = async (identity, { logId, logHeads, access, entryStorage, headsStora /* 6. Add the new entry to heads (=union with current heads) */ await _heads.add(entry) - await _entries.put(entry.hash, entry.bytes) - return true } From c3be1d2fac67c08365b87b052e67b4535b77b716 Mon Sep 17 00:00:00 2001 From: Hayden Young Date: Fri, 1 Nov 2024 12:30:30 +0000 Subject: [PATCH 2/2] chore: Iterate version. --- CHANGELOG.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0329add..e9d0a904 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,10 @@ For now, please refer to our Git commit history for a list of changes. -https://github.com/orbitdb/orbitdb/compare/v2.4.1...v2.4.2 +https://github.com/orbitdb/orbitdb/compare/v2.4.2...v2.4.3 You can also use the following git command to generate a log of changes: ``` -git log v2.4.1..v2.4.2 --oneline +git log v2.4.2..v2.4.3 --oneline ``` diff --git a/package-lock.json b/package-lock.json index 73a41e2d..3a009867 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@orbitdb/core", - "version": "2.4.2", + "version": "2.4.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@orbitdb/core", - "version": "2.4.2", + "version": "2.4.3", "license": "MIT", "dependencies": { "@ipld/dag-cbor": "^9.0.6", diff --git a/package.json b/package.json index 38bb15ef..c3b70bc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orbitdb/core", - "version": "2.4.2", + "version": "2.4.3", "description": "Distributed p2p database on IPFS", "author": "Haad", "license": "MIT",