esoftplay 0.0.140-u → 0.0.140-v

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.
@@ -55,9 +55,10 @@ export default class m {
55
55
  spec = { [pathToUpdate]: [command, ...allValues] }
56
56
  else
57
57
  spec = [command, ...allValues]
58
- if (hasError)
58
+ if (hasError) {
59
+ console.warn("LibObject: Please check your cursor!")
59
60
  this.#value = array
60
- else
61
+ } else
61
62
  this.#value = update(array, spec)
62
63
  return this
63
64
  }
@@ -169,9 +170,10 @@ function cursorBuilder(command: string, array: any, value: any, ...values: any[]
169
170
  else
170
171
  spec = [command, ...allValues]
171
172
 
172
- if (hasError)
173
+ if (hasError) {
174
+ console.warn("LibObject: Please check your cursor!")
173
175
  return array
174
- else
176
+ } else
175
177
  return update(array, spec)
176
178
  }
177
179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.140-u",
3
+ "version": "0.0.140-v",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",