@live-change/vue3-ssr 0.8.21 → 0.8.23

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/index.js +5 -2
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -47,6 +47,9 @@ async function rangeBuckets(pathFunction, options, app = getCurrentInstance()) {
47
47
  dropBottom: () => buckets.dropBottom(),
48
48
  canLoadTop: () => buckets.isTopLoadPossible(),
49
49
  canLoadBottom: () => buckets.isBottomLoadPossible(),
50
+ freeze: () => buckets.freeze(),
51
+ unfreeze: () => buckets.unfreeze(),
52
+ changed: buckets.changed
50
53
  }
51
54
  }
52
55
 
@@ -54,7 +57,7 @@ function reverseRange(range) {
54
57
  return {
55
58
  gt: range.lt,
56
59
  gte: range.lte,
57
- lt: range.gt == '' ? '\xFF\xFF\xFF\xFF' : range.gt,
60
+ lt: range.gt === '' ? '\xFF\xFF\xFF\xFF' : range.gt,
58
61
  lte: range.gte,
59
62
  limit: range.limit,
60
63
  reverse: !range.reverse
@@ -84,7 +87,7 @@ function useUid(context) {
84
87
 
85
88
  function serviceDefinition(service, context = getCurrentInstance().appContext) {
86
89
  const api = useApi(context)
87
- return [...api.metadata.api.value.services].find(x => x.name == service)
90
+ return [...api.metadata.api.value.services].find(x => x.name === service)
88
91
  }
89
92
 
90
93
  // backward compatibility
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/vue3-ssr",
3
- "version": "0.8.21",
3
+ "version": "0.8.23",
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.8.21",
25
- "@live-change/uid": "0.8.21",
24
+ "@live-change/dao-vue3": "^0.8.23",
25
+ "@live-change/uid": "^0.8.23",
26
26
  "@vueuse/core": "^10.9.0",
27
27
  "debug": "^4.3.4"
28
28
  },
29
- "gitHead": "4453aa639a9fe1a857d93d73ebd28a82c97fdd87"
29
+ "gitHead": "581260523149a1e596f08e878b5f4fabeaba26ea"
30
30
  }