Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot ed42b37777 chore(release): 0.1.0-develop.67 [skip ci]
# [0.1.0-develop.67](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.66...v0.1.0-develop.67) (2023-11-18)

### Bug Fixes

* storage locations are in cacheDb ([a418410](a418410bd9))
2023-11-18 10:20:21 +00:00
Derrick Hammer 3cfb4b0464
Merge remote-tracking branch 'origin/develop' into develop 2023-11-18 05:19:40 -05:00
Derrick Hammer a418410bd9
fix: storage locations are in cacheDb 2023-11-18 05:19:34 -05:00
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.67](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.66...v0.1.0-develop.67) (2023-11-18)
### Bug Fixes
* storage locations are in cacheDb ([a418410](https://git.lumeweb.com/LumeWeb/libs5/commit/a418410bd99ee61cddb4fbebe36d54c9cb4ce2d3))
# [0.1.0-develop.66](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.65...v0.1.0-develop.66) (2023-11-18) # [0.1.0-develop.66](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.65...v0.1.0-develop.66) (2023-11-18)

4
npm-shrinkwrap.json generated
View File

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

View File

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

View File

@ -145,7 +145,7 @@ export class S5Node {
const map = new Map<number, Map<NodeId, Map<number, any>>>(); const map = new Map<number, Map<NodeId, Map<number, any>>>();
let bytes; let bytes;
try { try {
bytes = await this.db.get(stringifyHash(hash)); bytes = await this.config.cacheDb.get(stringifyHash(hash));
} catch { } catch {
return map; return map;
} }