@gandalan/weblibs 1.3.2 → 1.3.3

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.
@@ -121,6 +121,8 @@ export function restClient() {
121
121
  const contentType = res.headers.get("content-type");
122
122
  if (contentType && contentType.includes("application/json"))
123
123
  return await res.json();
124
+ if (contentType && contentType.includes("image"))
125
+ return await res.blob();
124
126
  return await res.text();
125
127
  }
126
128
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gandalan/weblibs",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "WebLibs for Gandalan JS/TS/Svelte projects",
5
5
  "keywords": [
6
6
  "gandalan"