Skip to content

Commit

Permalink
refactor: reorder imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexcited committed Jun 16, 2024
1 parent a398c6b commit bd477d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// TODO: Move inside the fetcher.
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = "0";

export { Authenticator } from "./models/Authenticator";
export { Client } from "./models/Client";
export { Authenticator } from "~/models/Authenticator";
export { Client } from "~/models/Client";

export { getOnlinePayments, type OnlinePayments, type WalletData, type PaymentConfiguration, type User } from "./api/online-payments";
export { getOnlinePayments, type OnlinePayments, type WalletData, type PaymentConfiguration, type User } from "~/api/online-payments";
4 changes: 2 additions & 2 deletions src/models/Authenticator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ARD_HOST } from "~/utils/constants";
import { cookiesObjectToString, mapSetCookiesToObject } from "~/utils/cookies";
import { Client } from "./Client";
import { ARD_HOST } from "~/utils/constants";
import { Client } from "~/models/Client";

export class Authenticator {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/utils/endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ARD_BASE_ENDPOINT_WITH_HOST } from "./constants";
import { ARD_BASE_ENDPOINT_WITH_HOST } from "~/utils/constants";

export const createEndpointURL = (schoolID: string, path: string): string => {
return `${ARD_BASE_ENDPOINT_WITH_HOST}/${schoolID}/${path}`;
Expand Down

0 comments on commit bd477d0

Please sign in to comment.