Skip to content

Commit

Permalink
Export baseUrl as URL_API_MONOBANK
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed May 14, 2024
1 parent 625c2bb commit bbd67b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
},
"type": "module",
"types": "lib/index.d.ts",
"version": "2.2.1"
"version": "2.2.2"
}
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export type ClientOptions = Parameters<typeof createClient>[0];

const baseUrl = 'https://api.monobank.ua';

export { baseUrl as URL_API_MONOBANK };

export const createClientMonoAcquiring = (clientOptions: ClientOptions = {}) =>
createClient<pathsAcquiring>({ baseUrl, ...clientOptions });

Expand Down

0 comments on commit bbd67b4

Please sign in to comment.