@logux/server 0.12.0 → 0.12.1

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.
@@ -188,14 +188,14 @@ export function addSyncMapFilter(server, plural, operations) {
188
188
  }
189
189
  },
190
190
  async load(ctx, action, meta) {
191
+ let since = action.since ? action.since.time : 0
191
192
  let data = await operations.initial(
192
193
  ctx,
193
194
  action.filter,
194
- action.since,
195
+ since,
195
196
  action,
196
197
  meta
197
198
  )
198
- let since = action.since ? action.since.time : 0
199
199
  await Promise.all(
200
200
  data.map(async i => {
201
201
  await server.subscribe(ctx.nodeId, `${plural}/${i.id}`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logux/server",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Build own Logux server or make proxy between WebSocket and HTTP backend on any language",
5
5
  "keywords": [
6
6
  "logux",