@data-fair/lib-vue 1.13.3 → 1.13.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/async-action.js +2 -3
  2. package/package.json +1 -1
package/async-action.js CHANGED
@@ -21,9 +21,8 @@ export function asyncAction (fn, options) {
21
21
  }
22
22
  return result
23
23
  } catch (err) {
24
- const errorMsg = getErrorMsg(err)
25
- error.value = errorMsg
26
- const errorNotif = getFullNotif({ msg: options?.error ?? '', error: errorMsg })
24
+ error.value = getErrorMsg(err)
25
+ const errorNotif = getFullNotif({ msg: options?.error ?? '', error: err })
27
26
  notif.value = errorNotif
28
27
  if (options?.catch !== 'error' && options?.catch !== 'all') {
29
28
  sendUiNotif(errorNotif)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vue",
3
- "version": "1.13.3",
3
+ "version": "1.13.4",
4
4
  "description": "Composables and other utilities for Vue applications in the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "files": [