@leofcoin/peernet 0.14.9 → 0.14.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1197,7 +1197,7 @@ class Peernet {
1197
1197
  }
1198
1198
  console.log({data});
1199
1199
  data = new Uint8Array(Object.values(data));
1200
- proto = await protoFor(data);
1200
+ const proto = await protoFor(data);
1201
1201
  // TODO: store data automaticly or not
1202
1202
  return proto.decoded.data
1203
1203
 
@@ -868,7 +868,7 @@ class Peernet {
868
868
  }
869
869
  console.log({data});
870
870
  data = new Uint8Array(Object.values(data));
871
- proto = await protoFor(data);
871
+ const proto = await protoFor(data);
872
872
  // TODO: store data automaticly or not
873
873
  return proto.decoded.data
874
874
 
@@ -866,7 +866,7 @@ class Peernet {
866
866
  }
867
867
  console.log({data});
868
868
  data = new Uint8Array(Object.values(data));
869
- proto = await protoFor(data);
869
+ const proto = await protoFor(data);
870
870
  // TODO: store data automaticly or not
871
871
  return proto.decoded.data
872
872
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/peernet",
3
- "version": "0.14.9",
3
+ "version": "0.14.11",
4
4
  "description": "",
5
5
  "source": "src/peernet.js",
6
6
  "main": "dist/commonjs/peernet.js",
package/src/peernet.js CHANGED
@@ -455,7 +455,7 @@ export default class Peernet {
455
455
  }
456
456
  console.log({data});
457
457
  data = new Uint8Array(Object.values(data))
458
- proto = await protoFor(data)
458
+ const proto = await protoFor(data)
459
459
  // TODO: store data automaticly or not
460
460
  return proto.decoded.data
461
461