Skip to content

Commit 93e731d

Browse files
committed
fixed comment typo and removed unused import
1 parent 911b81f commit 93e731d

8 files changed

Lines changed: 7 additions & 8 deletions

dist/pocketbase.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pocketbase.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pocketbase.es.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pocketbase.iife.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pocketbase.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ export default class Client {
427427
} catch (err) {
428428
if (
429429
options.signal?.aborted ||
430-
// note: don't check for the exception name due to platform discrepencies
430+
// note: don't check for the exception name due to platform discrepancies
431431
(typeof DOMException !== "undefined" && err instanceof DOMException)
432432
) {
433433
throw err;

src/ClientResponseError.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class ClientResponseError extends Error {
3535
this.originalError = errData;
3636
}
3737

38-
// note: don't check for the exception name due to platform discrepencies
38+
// note: don't check for the exception name due to platform discrepancies
3939
if (typeof DOMException !== "undefined" && errData instanceof DOMException) {
4040
this.isAbort = true;
4141
}

tests/Client.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import Client from "@/Client";
33
import { LocalAuthStore } from "@/stores/LocalAuthStore";
44
import { RecordService } from "@/services/RecordService";
55
import { FetchMock } from "./mocks";
6-
import { ClientResponseError } from "@/ClientResponseError";
76

87
describe("Client", function () {
98
const fetchMock = new FetchMock();

0 commit comments

Comments
 (0)