@live-change/vue3-ssr 0.2.34 → 0.8.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.
Files changed (2) hide show
  1. package/clientApi.js +3 -2
  2. package/package.json +5 -5
package/clientApi.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createReactiveObject } from '@live-change/vue3-components'
2
- import * as lcdao from '@live-change/dao'
2
+ import ReactiveDao from '@live-change/dao'
3
3
  import { reactiveMixin, reactivePrefetchMixin, ReactiveObservableList } from '@live-change/dao-vue3'
4
4
  import SockJsConnection from '@live-change/dao-sockjs'
5
5
  import MessageConnection from '@live-change/dao-message'
@@ -37,7 +37,7 @@ function clientApi(settings = {}) {
37
37
  }
38
38
  }
39
39
 
40
- const dao = new lcdao.Dao(credentials, {
40
+ const dao = new ReactiveDao(credentials, {
41
41
  remoteUrl: settings.remoteUrl || document.location.protocol + '//' + document.location.host + "/api/sockjs",
42
42
  protocols: {
43
43
  'sockjs': SockJsConnection,
@@ -57,6 +57,7 @@ function clientApi(settings = {}) {
57
57
  queueActiveRequestsOnDisconnect: true,
58
58
  autoReconnectDelay: 200,
59
59
  logLevel: 1,
60
+
60
61
  /*connectionMonitorFactory: (connection) =>
61
62
  new ReactiveDao.ConnectionMonitorPinger(connection, {
62
63
  pingInterval: 50,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/vue3-ssr",
3
- "version": "0.2.34",
3
+ "version": "0.8.2",
4
4
  "description": "Live Change Framework - vue components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,10 +21,10 @@
21
21
  },
22
22
  "homepage": "https://github.com/live-change/live-change-framework-vue3",
23
23
  "dependencies": {
24
- "@live-change/dao-vue3": "0.5.22",
25
- "@live-change/uid": "0.7.38",
26
- "@vueuse/core": "^10.4.1",
24
+ "@live-change/dao-vue3": "^0.8.2",
25
+ "@live-change/uid": "0.8.0",
26
+ "@vueuse/core": "^10.7.2",
27
27
  "debug": "^4.3.4"
28
28
  },
29
- "gitHead": "eb0681b9385502eae7a810a69ef0df537c8f9141"
29
+ "gitHead": "53b8efc8ec7f5c1c4af33077d8fb4a8a5580f1d9"
30
30
  }