@iankibetsh/shframework 4.0.6 → 4.0.7

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.
package/dist/library.js CHANGED
@@ -221,10 +221,7 @@ async function runPlainRequest(url, message, title, data){
221
221
  }
222
222
  })
223
223
  .catch(error => {
224
- return {
225
- success: false,
226
- error: error
227
- }
224
+ throw new Error(error)
228
225
  })
229
226
  },
230
227
  allowOutsideClick: () => !Swal__default["default"].isLoading()
package/dist/library.mjs CHANGED
@@ -209,10 +209,7 @@ async function runPlainRequest(url, message, title, data){
209
209
  }
210
210
  })
211
211
  .catch(error => {
212
- return {
213
- success: false,
214
- error: error
215
- }
212
+ throw new Error(error)
216
213
  })
217
214
  },
218
215
  allowOutsideClick: () => !Swal.isLoading()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",