Skip to content

Commit db770e1

Browse files
authored
Merge pull request #57 from getAlby/fix/default-condition
fix: default condition should be last one
2 parents 25535be + 9947673 commit db770e1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
],
2020
"exports": {
2121
"require": "./dist/index.cjs",
22-
"default": "./dist/index.modern.js",
23-
"types": "./dist/index.d.ts"
22+
"types": "./dist/index.d.ts",
23+
"default": "./dist/index.modern.js"
2424
},
2525
"scripts": {
2626
"prebuild": "yarn run clean",

src/types.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { AlbyResponseError } from "./AlbyResponseError";
2+
import { RequestOptions } from "./request";
23

34
export type SuccessStatus = 200 | 201;
45
export type ResponseType = "application/json";
@@ -245,4 +246,4 @@ export type GetAccountInformationResponse = {
245246
nostr_pubkey?: string;
246247
};
247248

248-
export { AlbyResponseError };
249+
export { AlbyResponseError, RequestOptions };

0 commit comments

Comments
 (0)