diff --git a/package.json b/package.json index e4765bd..e62ddb0 100644 --- a/package.json +++ b/package.json @@ -43,5 +43,5 @@ }, "type": "module", "types": "lib/index.d.ts", - "version": "1.0.0" + "version": "2.0.0" } diff --git a/src/index.ts b/src/index.ts index 3ddd8ed..e947ecb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,11 +3,7 @@ import type { paths as pathsAcquiring } from './generated/acquiring.js'; export type ClientOptions = Parameters[0]; -export const createClientMonoAcquiring = ({ - clientOptions, -}: { - clientOptions: ClientOptions; -}) => { +export const createClientMonoAcquiring = (clientOptions: ClientOptions) => { return createClient({ baseUrl: 'https://api.monobank.ua', ...clientOptions,