trac-peer 0.0.43 → 0.0.44

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/functions.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trac-peer",
3
3
  "main": "src/index.js",
4
- "version": "0.0.43",
4
+ "version": "0.0.44",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "autobase": "7.1.1",
package/src/functions.js CHANGED
@@ -106,7 +106,7 @@ export async function postMessage(input, peer){
106
106
  const signature = {
107
107
  type : 'msg',
108
108
  msg: value,
109
- address : this.wallet.publicKey,
109
+ address : peer.wallet.publicKey,
110
110
  attachments : []
111
111
  };
112
112
  const hash = peer.wallet.sign(JSON.stringify(signature) + nonce);