@ututrust/web-components 2.2.10 → 2.2.11

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/dist/index.js +14 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30347,7 +30347,11 @@ async function SR(t, e, a, b) {
30347
30347
  sourceCriteria: n,
30348
30348
  targetCriteria: f
30349
30349
  }), o = `${t}${ki}${dE}?${r}`;
30350
- return kf.get(o, Eu(e));
30350
+ return kf.create({
30351
+ validateStatus: function(p) {
30352
+ return p >= 200 && p < 300 || p === 401;
30353
+ }
30354
+ }).get(o, Eu(e));
30351
30355
  }
30352
30356
  async function zR(t = null, e = null, a = !1) {
30353
30357
  var m;
@@ -30486,11 +30490,15 @@ function BR(t, e, a) {
30486
30490
  1
30487
30491
  /* submitting */
30488
30492
  );
30489
- const p = await SR(t, b, e, a);
30490
- o(
30491
- 2
30492
- /* success */
30493
- ), f(p.data.result.items);
30493
+ try {
30494
+ const p = await SR(t, b, e, a);
30495
+ o(
30496
+ 2
30497
+ /* success */
30498
+ ), f(p.data.result.items);
30499
+ } catch (p) {
30500
+ console.log(p);
30501
+ }
30494
30502
  }
30495
30503
  u();
30496
30504
  }, [f, t, b, e, a]), { feedbackSummary: n, submitStatus: r };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ututrust/web-components",
3
3
  "type": "module",
4
- "version": "2.2.10",
4
+ "version": "2.2.11",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",