diff --git a/package.json b/package.json index 19befad..e4d4e72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/datasquirel", - "version": "2.8.0", + "version": "2.8.1", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": { diff --git a/users/add-user.d.ts b/users/add-user.d.ts index 18cd752..6cf271d 100644 --- a/users/add-user.d.ts +++ b/users/add-user.d.ts @@ -6,7 +6,7 @@ export = addUser; * * @param {object} param - Single object passed * @param {string} [param.key] - FULL ACCESS API Key - * @param {string} param.database - Database Name + * @param {string} [param.database] - Database Name * @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload * @param {string} [param.encryptionKey] * @param {string} [param.encryptionSalt] @@ -18,7 +18,7 @@ export = addUser; */ declare function addUser({ key, payload, database, encryptionKey, user_id, useLocal, apiUserId, }: { key?: string; - database: string; + database?: string; payload: import("../package-shared/types").UserDataPayload; encryptionKey?: string; encryptionSalt?: string; diff --git a/users/add-user.js b/users/add-user.js index 24174fa..768a724 100644 --- a/users/add-user.js +++ b/users/add-user.js @@ -12,7 +12,7 @@ const apiCreateUser = require("../package-shared/functions/api/users/api-create- * * @param {object} param - Single object passed * @param {string} [param.key] - FULL ACCESS API Key - * @param {string} param.database - Database Name + * @param {string} [param.database] - Database Name * @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload * @param {string} [param.encryptionKey] * @param {string} [param.encryptionSalt]