Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot 04bf4d3f7c chore(release): 0.1.0-develop.71 [skip ci]
# [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](9c5d417857))
2023-11-18 11:52:49 +00:00
Derrick Hammer f067a8583d
Merge remote-tracking branch 'origin/develop' into develop 2023-11-18 06:52:11 -05:00
Derrick Hammer 9c5d417857
fix: value is a map 2023-11-18 06:52:07 -05:00
4 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
# [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.70", "version": "0.1.0-develop.71",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libs5", "name": "@lumeweb/libs5",
"version": "0.1.0-develop.70", "version": "0.1.0-develop.71",
"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.70", "version": "0.1.0-develop.71",
"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[3] >= ts) { if (value.get(3) >= ts) {
const storageLocation = new StorageLocation( const storageLocation = new StorageLocation(
type, type,
value[1].map((v: string) => v), // Assuming value[1] is an array of strings value.get(1).map((v: string) => v), // Assuming value[1] is an array of strings
value[3], value.get(3),
); );
// Assuming providerMessage is a property of StorageLocation // Assuming providerMessage is a property of StorageLocation