ide-assi 0.574.0 → 0.575.0
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/bundle.cjs.js
CHANGED
|
@@ -201777,6 +201777,7 @@ class IdeFetch {
|
|
|
201777
201777
|
|
|
201778
201778
|
return fetch(url, options)
|
|
201779
201779
|
.then(res => {
|
|
201780
|
+
ninegrid.loading.hide();
|
|
201780
201781
|
if (!res.ok) {
|
|
201781
201782
|
return res.text().then(text => {
|
|
201782
201783
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
@@ -201785,6 +201786,7 @@ class IdeFetch {
|
|
|
201785
201786
|
return res.json();
|
|
201786
201787
|
})
|
|
201787
201788
|
.catch(err => {
|
|
201789
|
+
ninegrid.loading.hide();
|
|
201788
201790
|
console.error(`[fetch.${method.toLowerCase()}] ${url} 실패:`, err);
|
|
201789
201791
|
throw err;
|
|
201790
201792
|
});
|
package/dist/bundle.esm.js
CHANGED
|
@@ -201773,6 +201773,7 @@ class IdeFetch {
|
|
|
201773
201773
|
|
|
201774
201774
|
return fetch(url, options)
|
|
201775
201775
|
.then(res => {
|
|
201776
|
+
ninegrid.loading.hide();
|
|
201776
201777
|
if (!res.ok) {
|
|
201777
201778
|
return res.text().then(text => {
|
|
201778
201779
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
@@ -201781,6 +201782,7 @@ class IdeFetch {
|
|
|
201781
201782
|
return res.json();
|
|
201782
201783
|
})
|
|
201783
201784
|
.catch(err => {
|
|
201785
|
+
ninegrid.loading.hide();
|
|
201784
201786
|
console.error(`[fetch.${method.toLowerCase()}] ${url} 실패:`, err);
|
|
201785
201787
|
throw err;
|
|
201786
201788
|
});
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import ninegrid from "ninegrid2";
|
|
2
|
+
|
|
1
3
|
export class IdeFetch {
|
|
2
4
|
|
|
3
5
|
static #request = (method, url, data = {}) => {
|
|
@@ -17,6 +19,7 @@ export class IdeFetch {
|
|
|
17
19
|
|
|
18
20
|
return fetch(url, options)
|
|
19
21
|
.then(res => {
|
|
22
|
+
ninegrid.loading.hide();
|
|
20
23
|
if (!res.ok) {
|
|
21
24
|
return res.text().then(text => {
|
|
22
25
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
@@ -25,6 +28,7 @@ export class IdeFetch {
|
|
|
25
28
|
return res.json();
|
|
26
29
|
})
|
|
27
30
|
.catch(err => {
|
|
31
|
+
ninegrid.loading.hide();
|
|
28
32
|
console.error(`[fetch.${method.toLowerCase()}] ${url} 실패:`, err);
|
|
29
33
|
throw err;
|
|
30
34
|
});
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import ninegrid from "ninegrid2";
|
|
2
|
+
|
|
1
3
|
export class IdeFetch {
|
|
2
4
|
|
|
3
5
|
static #request = (method, url, data = {}) => {
|
|
@@ -17,6 +19,7 @@ export class IdeFetch {
|
|
|
17
19
|
|
|
18
20
|
return fetch(url, options)
|
|
19
21
|
.then(res => {
|
|
22
|
+
ninegrid.loading.hide();
|
|
20
23
|
if (!res.ok) {
|
|
21
24
|
return res.text().then(text => {
|
|
22
25
|
throw new Error(`API 오류 (${res.status}): ${text}`);
|
|
@@ -25,6 +28,7 @@ export class IdeFetch {
|
|
|
25
28
|
return res.json();
|
|
26
29
|
})
|
|
27
30
|
.catch(err => {
|
|
31
|
+
ninegrid.loading.hide();
|
|
28
32
|
console.error(`[fetch.${method.toLowerCase()}] ${url} 실패:`, err);
|
|
29
33
|
throw err;
|
|
30
34
|
});
|