diff --git a/src/index.ts b/src/index.ts index fc5b4da..dd166dc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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"; diff --git a/src/models/Authenticator.ts b/src/models/Authenticator.ts index 2da5a31..304ed3c 100644 --- a/src/models/Authenticator.ts +++ b/src/models/Authenticator.ts @@ -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 { /** diff --git a/src/utils/endpoints.ts b/src/utils/endpoints.ts index 8f37121..58a4c74 100644 --- a/src/utils/endpoints.ts +++ b/src/utils/endpoints.ts @@ -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}`;