diff --git a/package.json b/package.json index e0d9bad..ef54bcb 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ ], "exports": { "require": "./dist/index.cjs", - "default": "./dist/index.modern.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.modern.js" }, "scripts": { "prebuild": "yarn run clean", diff --git a/src/types.ts b/src/types.ts index 7a9cce2..b9f9783 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,5 @@ import { AlbyResponseError } from "./AlbyResponseError"; +import { RequestOptions } from "./request"; export type SuccessStatus = 200 | 201; export type ResponseType = "application/json"; @@ -245,4 +246,4 @@ export type GetAccountInformationResponse = { nostr_pubkey?: string; }; -export { AlbyResponseError }; +export { AlbyResponseError, RequestOptions };