From a309086ff16908117242c4385b7b60d8fea46776 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 23 Aug 2022 00:06:38 +0300 Subject: [PATCH] fix critical bugs --- index.js | 12 +++++++++++- package.json | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 85f1214..fd50bc2 100644 --- a/index.js +++ b/index.js @@ -218,6 +218,16 @@ class database { module.exports = { + // Legacy database: database, - get_from_key: get_from_key + // Current + Request: sqleasy_tools.Request, + SQLEasy_error: sqleasy_tools.SQLEasy_error, + // Databases + SQLite3_database: sqlite.database, + MySQL_database: mysql.mysql_database, + // Tools + tools: { + get_from_key: sqleasy_tools.get_from_key + } }; \ No newline at end of file diff --git a/package.json b/package.json index c956734..4285d5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sql-easy-lib", - "version": "1.0.2", + "version": "1.0.3", "description": "This library was written from simple work with databases. In current version supported next famous databases: sqlite3 and MySQL. In future, list with supported databases will be replenishing.", "main": "index.js", "scripts": {