dexie-relay
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -130,3 +130,3 @@ import {Client} from 'relay-to-relay' | ||
} | ||
client.onSend(JSON.stringify({name: table.name, stamp: useStamp?.stamp, edit: useEdit?.edit, request: true}), chan) | ||
client.onSend(JSON.stringify({name: table.name, user, stamp: useStamp?.stamp, edit: useEdit?.edit, request: true}), chan) | ||
}) | ||
@@ -196,5 +196,6 @@ } | ||
datas.status = 'response' | ||
datas.user = user | ||
datas.edit = null | ||
datas.stamp = stamp.splice(stamp.length - 50, 50) | ||
client.onSend(JSON.stringify(datas), iden) | ||
client.onSend(JSON.stringify(datas), nick) | ||
} | ||
@@ -208,5 +209,6 @@ try { | ||
datas.status = 'response' | ||
datas.user = user | ||
datas.stamp = null | ||
datas.edit = edit.splice(edit.length - 50, 50) | ||
client.onSend(JSON.stringify(datas), iden) | ||
client.onSend(JSON.stringify(datas), nick) | ||
} | ||
@@ -213,0 +215,0 @@ } else if(datas.status === 'response'){ |
{ | ||
"name": "dexie-relay", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
9880
246