@live-change/vue3-components 0.8.121 → 0.8.123

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.
@@ -9,7 +9,7 @@
9
9
  import { computed, watch } from 'vue'
10
10
  import { getElementPositionInDocument } from '../utils/dom.mjs'
11
11
 
12
- const errorSufix = 'Error'
12
+ const errorSuffix = 'Error'
13
13
 
14
14
  class FormValue {
15
15
  constructor(definition, component, data, property) {
@@ -69,10 +69,10 @@
69
69
  return this.data[this.property]
70
70
  }
71
71
  setError(error) {
72
- this.data[this.property+errorSufix] = error
72
+ this.data[this.property+errorSuffix] = error
73
73
  }
74
74
  getError() {
75
- return this.data[this.property+errorSufix]
75
+ return this.data[this.property+errorSuffix]
76
76
  }
77
77
 
78
78
  setProperty(name) {
@@ -111,7 +111,7 @@
111
111
  return Promise.all(promises).then(results => {
112
112
  for(let error of results) {
113
113
  if(error) {
114
- if(this.data[this.property + errorSufix] === error) return error
114
+ if(this.data[this.property + errorSuffix] === error) return error
115
115
  this.setError(error)
116
116
  return error
117
117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/vue3-components",
3
- "version": "0.8.121",
3
+ "version": "0.8.123",
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/vue3-ssr": "^0.8.121",
24
+ "@live-change/vue3-ssr": "^0.8.123",
25
25
  "debug": "^4.3.4",
26
26
  "mitt": "3.0.1",
27
27
  "vue": "^3.4.29"
28
28
  },
29
- "gitHead": "2fd79c450701fcfe3f69fa92276efd351eb57580"
29
+ "gitHead": "42148742342a5ac004deb122042ead1d977cb8f8"
30
30
  }