@logux/server 0.12.1 → 0.12.2

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.
@@ -95,10 +95,11 @@ export function addSyncMap(server, plural, operations) {
95
95
  },
96
96
  async load(ctx, action, meta) {
97
97
  if (action.creating) return
98
+ let since = action.since ? action.since.time : 0
98
99
  let data = await operations.load(
99
100
  ctx,
100
101
  ctx.params.id,
101
- action.since,
102
+ since,
102
103
  action,
103
104
  meta
104
105
  )
@@ -107,7 +108,7 @@ export function addSyncMap(server, plural, operations) {
107
108
  server,
108
109
  changedType,
109
110
  data,
110
- action.since ? action.since.time : 0
111
+ since
111
112
  )
112
113
  }
113
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logux/server",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Build own Logux server or make proxy between WebSocket and HTTP backend on any language",
5
5
  "keywords": [
6
6
  "logux",
@@ -39,7 +39,7 @@
39
39
  "nanoid": "^4.0.0",
40
40
  "node-fetch": "^2.6.7",
41
41
  "picocolors": "^1.0.0",
42
- "pino": "8.4.2",
42
+ "pino": "8.5.0",
43
43
  "pino-abstract-transport": "^1.0.0",
44
44
  "semver": "^7.3.7",
45
45
  "strip-ansi": "^7.0.1",