@live-change/vue3-ssr 0.2.2 → 0.2.4

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/Api.js +4 -3
  2. package/package.json +8 -7
package/Api.js CHANGED
@@ -1,4 +1,5 @@
1
- import { DaoProxy, DaoPrerenderCache, DaoCache, Path } from "@live-change/dao"
1
+ import * as LcDao from '@live-change/dao'
2
+ const { DaoProxy, DaoPrerenderCache, DaoCache, Path } = LcDao // hack for vite
2
3
  import validators from '@live-change/framework/lib/utils/validators.js'
3
4
  import { hashCode, encodeNumber, uidGenerator, randomString } from '@live-change/uid'
4
5
  import { ref, computed, watch } from "vue"
@@ -16,10 +17,10 @@ class Api extends DaoProxy {
16
17
  this.preFetchComponents = []
17
18
  this.afterPreFetch = []
18
19
 
19
- this.validators = validators
20
+ this.validators = { ...validators }
20
21
 
21
22
  this.globals = {
22
- $validators: validators
23
+ $validators: this.validators
23
24
  }
24
25
  this.globalInstances = []
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/vue3-ssr",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Live Change Framework - vue components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/live-change/vue3-ssr.git"
11
+ "url": "git+https://github.com/live-change/live-change-framework-vue3.git"
12
12
  },
13
13
  "author": {
14
14
  "email": "m8@em8.pl",
@@ -17,12 +17,13 @@
17
17
  },
18
18
  "license": "MIT",
19
19
  "bugs": {
20
- "url": "https://github.com/live-change/vue3-ssr/issues"
20
+ "url": "https://github.com/live-change/live-change-framework-vue3/issues"
21
21
  },
22
- "homepage": "https://github.com/live-change/vue3-ssr",
22
+ "homepage": "https://github.com/live-change/live-change-framework-vue3",
23
23
  "dependencies": {
24
+ "@live-change/uid": "0.5.20",
24
25
  "debug": "^4.3.2",
25
- "vue": "^3.2.21",
26
- "@live-change/uid": "^0.1.3"
27
- }
26
+ "vue": "^3.2.31"
27
+ },
28
+ "gitHead": "fc932e431ba4a6bde00e4e9f24f56c47e8fff33b"
28
29
  }