From bbd67b4f26487af998bd7d87ecf977cb46563d34 Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Tue, 14 May 2024 17:52:57 +0300 Subject: [PATCH] Export baseUrl as URL_API_MONOBANK --- package.json | 2 +- src/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c6da922..6a51e3f 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,5 @@ }, "type": "module", "types": "lib/index.d.ts", - "version": "2.2.1" + "version": "2.2.2" } diff --git a/src/index.ts b/src/index.ts index ad0cb75..c533474 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,6 +6,8 @@ export type ClientOptions = Parameters[0]; const baseUrl = 'https://api.monobank.ua'; +export { baseUrl as URL_API_MONOBANK }; + export const createClientMonoAcquiring = (clientOptions: ClientOptions = {}) => createClient({ baseUrl, ...clientOptions });