From 97ef373c28b49cebb8604a09e07ca8392e6778b7 Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Wed, 8 May 2024 16:35:49 +0300 Subject: [PATCH] Fix `createClientMonoAcquiring` function signature --- package.json | 2 +- src/index.ts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) 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,