From 54fc26a42e3bc4dd1ebb2e8d7f3cddf7f3405eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Cvacho?= Date: Thu, 26 Oct 2023 11:28:03 +0000 Subject: [PATCH] Fix module export --- lib/api-client.js | 2 +- lib/index.d.ts | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/api-client.js b/lib/api-client.js index 4d19069..e574733 100644 --- a/lib/api-client.js +++ b/lib/api-client.js @@ -45,7 +45,7 @@ class ApiClient { url: url, headers: {'Accept': 'application/json', 'Content-Type': 'application/json', - 'User-Agent': 'recombee-node-api-client/4.1.2'}, + 'User-Agent': 'recombee-node-api-client/4.1.3'}, timeout: request.timeout, agent: this.options.agent }; diff --git a/lib/index.d.ts b/lib/index.d.ts index 083b59c..c0775df 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -1,4 +1,4 @@ -declare module "recombee-api-client" { +export module "recombee-api-client" { namespace requests { /** * Base class for all the requests diff --git a/package.json b/package.json index b9e0531..4df6b7f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "recombee-api-client", - "version": "4.1.2", + "version": "4.1.3", "description": "Node.js client (SDK) for easy use of the Recombee recommendation API", "main": "index.js", "types": "lib/index.d.ts",