@leofcoin/peernet 0.16.2 → 0.16.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/peernet.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/peernet",
3
- "version": "0.16.2",
3
+ "version": "0.16.3",
4
4
  "description": "",
5
5
  "main": "src/peernet.js",
6
6
  "type": "module",
package/src/peernet.js CHANGED
@@ -139,7 +139,7 @@ export default class Peernet {
139
139
  * @property {Object} peer Instance of Peer
140
140
  */
141
141
  this.stores = []
142
- this.codecs = codecs
142
+ this.codecs = {...codecs}
143
143
  this.requestProtos = {}
144
144
  this.storePrefix = options.storePrefix
145
145
  this.root = options.root