dexie-relay
Advanced tools
Comparing version 5.0.7 to 5.0.8
@@ -31,2 +31,3 @@ import {Client} from 'relay-to-relay' | ||
opts.own = typeof(opts.own) === 'object' && !Array.isArray(opts.own) ? opts.own : {} | ||
for(const records in opts.schema){ | ||
@@ -55,3 +56,3 @@ const record = opts.schema[records].split(',').map((data) => {return data.replaceAll(' ', '')}) | ||
} | ||
this.db.version(opts.version).stores(opts.schema) | ||
this.db.version(opts.version).stores({...opts.own, ...opts.schema}) | ||
@@ -67,3 +68,2 @@ this._routine = setInterval(() => { | ||
}, this._timer.redo) | ||
this._save = setInterval(() => { | ||
@@ -70,0 +70,0 @@ localStorage.setItem('save', Date.now()) |
{ | ||
"name": "dexie-relay", | ||
"version": "5.0.7", | ||
"version": "5.0.8", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
18310
386