Skip to content

Commit 452d188

Browse files
committed
1.12.6
1 parent e7d2885 commit 452d188

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@samvera/clover-iiif",
3-
"version": "1.12.6-rc.0",
3+
"version": "1.12.6",
44
"description": "Viewer for audio, video and image file types driven by a IIIF manifest",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.esm.js",

src/services/xhr.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ export function getRequest(
7070
};
7171

7272
xhr.onerror = () => {
73-
resolve(errorResponse(xhr, "Failed to make request."));
73+
reject(errorResponse(xhr, `Failed to make request.`));
7474
};
7575

7676
xhr.ontimeout = () => {
77-
resolve(errorResponse(xhr, "Request took longer than expected."));
77+
reject(errorResponse(xhr, `Request took longer than expected.`));
7878
};
7979

8080
xhr.send();

0 commit comments

Comments
 (0)