Compare commits

..

No commits in common. "v0.1.0-develop.71" and "v0.1.0-develop.70" have entirely different histories.

4 changed files with 6 additions and 13 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.71](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.70...v0.1.0-develop.71) (2023-11-18)
### Bug Fixes
* value is a map ([9c5d417](https://git.lumeweb.com/LumeWeb/libs5/commit/9c5d417857376eef0fc7655c9abfc94485b3c6b3))
# [0.1.0-develop.70](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.69...v0.1.0-develop.70) (2023-11-18) # [0.1.0-develop.70](https://git.lumeweb.com/LumeWeb/libs5/compare/v0.1.0-develop.69...v0.1.0-develop.70) (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.71", "version": "0.1.0-develop.70",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.71", "version": "0.1.0-develop.70",
"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.71", "version": "0.1.0-develop.70",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@ -122,11 +122,11 @@ export class S5Node {
if (!map.has(type)) return; if (!map.has(type)) return;
map.get(type)!.forEach((value, key) => { map.get(type)!.forEach((value, key) => {
if (value.get(3) >= ts) { if (value[3] >= ts) {
const storageLocation = new StorageLocation( const storageLocation = new StorageLocation(
type, type,
value.get(1).map((v: string) => v), // Assuming value[1] is an array of strings value[1].map((v: string) => v), // Assuming value[1] is an array of strings
value.get(3), value[3],
); );
// Assuming providerMessage is a property of StorageLocation // Assuming providerMessage is a property of StorageLocation