@sjcrh/proteinpaint-shared 2.170.6 → 2.170.9
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/package.json +1 -1
- package/src/fetch-helpers.js +3 -1
package/package.json
CHANGED
package/src/fetch-helpers.js
CHANGED
|
@@ -8,7 +8,9 @@ import { encode } from './urljson.js'
|
|
|
8
8
|
- this addresses issues with ky.json() or got.json(), where a HTTP 404 NOT FOUND
|
|
9
9
|
response with text/html can break error handling/logging, making it harder to debug
|
|
10
10
|
|
|
11
|
-
- this also automatically handles multipart responses
|
|
11
|
+
- this also automatically handles multipart responses
|
|
12
|
+
|
|
13
|
+
- NOTE: for backend, use xfetch() instead, it uses ky() and its built-in retry support
|
|
12
14
|
|
|
13
15
|
arguments:
|
|
14
16
|
url
|