dexie-relay
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -10,3 +10,3 @@ import {Client} from 'relay-to-relay' | ||
this._init = typeof(opts.init) === 'object' && !Array.isArray(opts.init) ? opts.init : {from: Date.now() - 86400000} | ||
this._load = typeof(opts.load) === 'object' && !Array.isArray(opts.load) ? opts.load : {from: Date.now() - 86400000} | ||
@@ -317,4 +317,4 @@ this._span = localStorage.getItem('save') ? Number(localStorage.getItem('save')) : null | ||
} else { | ||
this.client.onSend(JSON.stringify({...this._init, name: table.name, session: 'stamp'}), chan) | ||
this.client.onSend(JSON.stringify({...this._init, name: table.name, session: 'edit'}), chan) | ||
this.client.onSend(JSON.stringify({...this._load, name: table.name, session: 'stamp'}), chan) | ||
this.client.onSend(JSON.stringify({...this._load, name: table.name, session: 'edit'}), chan) | ||
} | ||
@@ -321,0 +321,0 @@ } |
{ | ||
"name": "dexie-relay", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |