@live-change/vue3-ssr 0.9.138 → 0.9.139

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 +2 -1
  2. package/package.json +4 -4
package/clientApi.js CHANGED
@@ -6,6 +6,7 @@ import MessageConnection from '@live-change/dao-message'
6
6
  import Api from "./Api.js"
7
7
 
8
8
  function clientApi(settings = {}) {
9
+
9
10
  let credentials = window.__DAO_CACHE__ ? window.__CREDENTIALS__ : undefined
10
11
  if(settings.credentials) {
11
12
  credentials = {
@@ -45,7 +46,7 @@ function clientApi(settings = {}) {
45
46
  const dao = new ReactiveDao(credentials, {
46
47
  remoteUrl: settings.remoteUrl || document.location.protocol + '//' + document.location.host + "/api/sockjs",
47
48
  protocols: {
48
- 'sockjs': SockJsConnection,
49
+ 'sockjs': window.__STATIC__ ? ReactiveDao.DummyConnection : SockJsConnection,
49
50
  'message': MessageConnection
50
51
  },
51
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/vue3-ssr",
3
- "version": "0.9.138",
3
+ "version": "0.9.139",
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-stack",
23
23
  "dependencies": {
24
- "@live-change/dao-vue3": "^0.9.138",
25
- "@live-change/uid": "^0.9.138",
24
+ "@live-change/dao-vue3": "^0.9.139",
25
+ "@live-change/uid": "^0.9.139",
26
26
  "@vueuse/core": "^12.3.0",
27
27
  "debug": "^4.3.4"
28
28
  },
29
- "gitHead": "af56bfe0ca7899934a4c563ead788318832336de"
29
+ "gitHead": "9202c36abc25e3baf5fe39806d89c3fab203f428"
30
30
  }