simpleloan_api 1.2.9 → 1.2.10

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/index.js CHANGED
@@ -238,7 +238,7 @@ function getContent(response) {
238
238
  if (contentType.includes("text")) {
239
239
  return response.text();
240
240
  }
241
- if (contentType.includes("application/octet-stream") || contentType.includes("blob")) {
241
+ if (contentType.includes("application/octet-stream") || contentType.includes("blob") || contentType.includes("application/pdf")) {
242
242
  return response.blob();
243
243
  }
244
244
  });
package/dist/index.mjs CHANGED
@@ -59,7 +59,7 @@ function getContent(response) {
59
59
  if (contentType.includes("text")) {
60
60
  return response.text();
61
61
  }
62
- if (contentType.includes("application/octet-stream") || contentType.includes("blob")) {
62
+ if (contentType.includes("application/octet-stream") || contentType.includes("blob") || contentType.includes("application/pdf")) {
63
63
  return response.blob();
64
64
  }
65
65
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",