Skip to content

Commit

Permalink
fix: default condition should be last one
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Aug 10, 2023
1 parent 25535be commit 9947673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AlbyResponseError } from "./AlbyResponseError";
import { RequestOptions } from "./request";

export type SuccessStatus = 200 | 201;
export type ResponseType = "application/json";
Expand Down Expand Up @@ -245,4 +246,4 @@ export type GetAccountInformationResponse = {
nostr_pubkey?: string;
};

export { AlbyResponseError };
export { AlbyResponseError, RequestOptions };

0 comments on commit 9947673

Please sign in to comment.