ide-assi 0.731.0 → 0.732.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.
@@ -202471,7 +202471,7 @@ class IdeFetch {
202471
202471
  throw new Error(`API 오류 (${res.status}): ${text}`);
202472
202472
  });
202473
202473
  }
202474
- return res.json();
202474
+ return res ? res.json() : null;
202475
202475
  })
202476
202476
  .catch(err => {
202477
202477
  ninegrid.loading.hide();
@@ -202467,7 +202467,7 @@ class IdeFetch {
202467
202467
  throw new Error(`API 오류 (${res.status}): ${text}`);
202468
202468
  });
202469
202469
  }
202470
- return res.json();
202470
+ return res ? res.json() : null;
202471
202471
  })
202472
202472
  .catch(err => {
202473
202473
  ninegrid.loading.hide();
@@ -26,7 +26,7 @@ export class IdeFetch {
26
26
  throw new Error(`API 오류 (${res.status}): ${text}`);
27
27
  });
28
28
  }
29
- return res.json();
29
+ return res ? res.json() : null;
30
30
  })
31
31
  .catch(err => {
32
32
  ninegrid.loading.hide();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.731.0",
4
+ "version": "0.732.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -26,7 +26,7 @@ export class IdeFetch {
26
26
  throw new Error(`API 오류 (${res.status}): ${text}`);
27
27
  });
28
28
  }
29
- return res.json();
29
+ return res ? res.json() : null;
30
30
  })
31
31
  .catch(err => {
32
32
  ninegrid.loading.hide();