Skip to content

Commit

Permalink
Fix createClientMonoAcquiring function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed May 8, 2024
1 parent c04c0aa commit 97ef373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
},
"type": "module",
"types": "lib/index.d.ts",
"version": "1.0.0"
"version": "2.0.0"
}
6 changes: 1 addition & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import type { paths as pathsAcquiring } from './generated/acquiring.js';

export type ClientOptions = Parameters<typeof createClient>[0];

export const createClientMonoAcquiring = ({
clientOptions,
}: {
clientOptions: ClientOptions;
}) => {
export const createClientMonoAcquiring = (clientOptions: ClientOptions) => {
return createClient<pathsAcquiring>({
baseUrl: 'https://api.monobank.ua',
...clientOptions,
Expand Down

0 comments on commit 97ef373

Please sign in to comment.