From 1f375fe94fc9ed9934f1b716b9dc939c79dfd0b9 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sat, 2 Aug 2025 07:40:35 +0100 Subject: [PATCH] Updates --- dist/index.d.ts | 2 ++ dist/index.js | 2 ++ dist/package-shared/types/index.js | 1 + index.ts | 2 ++ package-shared/types/index.ts | 1 + package.json | 2 +- 6 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index 1d80255..82d8d72 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -21,6 +21,7 @@ import parseEnv from "./package-shared/utils/parse-env"; import dbHandler from "./package-shared/functions/backend/dbHandler"; import httpsRequest from "./package-shared/functions/backend/httpsRequest"; import handleNodemailer from "./package-shared/functions/backend/handleNodemailer"; +import grabDSQLConnection from "./package-shared/utils/grab-dsql-connection"; /** * Main Export */ @@ -134,6 +135,7 @@ declare const datasquirel: { parseEnv: typeof parseEnv; httpsRequest: typeof httpsRequest; httpRequest: typeof httpsRequest; + grabDSQLConnection: typeof grabDSQLConnection; }; /** * Run Crud actions `get`, `insert`, `update`, `delete` diff --git a/dist/index.js b/dist/index.js index 033df38..8792b9d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27,6 +27,7 @@ const media_1 = __importDefault(require("./package-shared/api/media")); const dbHandler_1 = __importDefault(require("./package-shared/functions/backend/dbHandler")); const httpsRequest_1 = __importDefault(require("./package-shared/functions/backend/httpsRequest")); const handleNodemailer_1 = __importDefault(require("./package-shared/functions/backend/handleNodemailer")); +const grab_dsql_connection_1 = __importDefault(require("./package-shared/utils/grab-dsql-connection")); /** * API Functions Object */ @@ -76,6 +77,7 @@ const datasquirel = { parseEnv: parse_env_1.default, httpsRequest: httpsRequest_1.default, httpRequest: httpsRequest_1.default, + grabDSQLConnection: grab_dsql_connection_1.default, }, /** * Run Crud actions `get`, `insert`, `update`, `delete` diff --git a/dist/package-shared/types/index.js b/dist/package-shared/types/index.js index 95c44c2..f54264e 100644 --- a/dist/package-shared/types/index.js +++ b/dist/package-shared/types/index.js @@ -460,6 +460,7 @@ exports.AIOptions = [ models: [ "gpt-4.1", "gpt-4o", + "gpt-4.1-nano", "gpt-4o-audio", "04-mini", "o3", diff --git a/index.ts b/index.ts index ee37e50..4d5414e 100644 --- a/index.ts +++ b/index.ts @@ -28,6 +28,7 @@ import media from "./package-shared/api/media"; import dbHandler from "./package-shared/functions/backend/dbHandler"; import httpsRequest from "./package-shared/functions/backend/httpsRequest"; import handleNodemailer from "./package-shared/functions/backend/handleNodemailer"; +import grabDSQLConnection from "./package-shared/utils/grab-dsql-connection"; /** * API Functions Object @@ -80,6 +81,7 @@ const datasquirel = { parseEnv, httpsRequest, httpRequest: httpsRequest, + grabDSQLConnection, }, /** * Run Crud actions `get`, `insert`, `update`, `delete` diff --git a/package-shared/types/index.ts b/package-shared/types/index.ts index d186d38..0684ba0 100644 --- a/package-shared/types/index.ts +++ b/package-shared/types/index.ts @@ -2662,6 +2662,7 @@ export const AIOptions: AIOptionsObject[] = [ models: [ "gpt-4.1", "gpt-4o", + "gpt-4.1-nano", "gpt-4o-audio", "04-mini", "o3", diff --git a/package.json b/package.json index 615121b..cb93e06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/datasquirel", - "version": "5.1.1", + "version": "5.1.2", "description": "Cloud-based SQL data management tool", "main": "dist/index.js", "bin": {