From 84e8bcb3cd7a80d12a60796580362b4992cfcb82 Mon Sep 17 00:00:00 2001 From: Reinhardt <73813638+NotMarx@users.noreply.github.com> Date: Fri, 2 Jul 2021 01:06:10 +0700 Subject: [PATCH] update `version` to `VERSION` --- index.d.ts | 6 +++--- index.js | 4 ++-- package.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/index.d.ts b/index.d.ts index 4b3bc45..283dbc2 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,7 @@ import SQLite from "better-sqlite3"; /** - * Xen.db Definitions & Typings By: Hery & NotMarx () + * Xen.db Definitions & Typings By: Reinhardt () */ declare module "xen.db" { @@ -34,7 +34,7 @@ declare module "xen.db" { database?: SQLite.Database; /** - * Wal Mode + * Whether To Use Wal Mode */ useWalMode?: boolean; } @@ -484,5 +484,5 @@ declare module "xen.db" { * console.log(require("xen.db").version); * ``` */ - export const version: string; + export const VERSION: string; } \ No newline at end of file diff --git a/index.js b/index.js index 20e6cc2..a4ae7fe 100644 --- a/index.js +++ b/index.js @@ -7,14 +7,14 @@ * This is an Open-Sourced Easy-To-Use SQLite3 Database Designed Persistently For Beginners & Advanced Developer. * All Data Are Stored Locally In A File In The Same Project. * - * For Issues, Please Check Out: https://github.com/NotMarx/Xen.db/issues + * For Issues, Please Check Out: https://github.com/reinhardt/Xen.db/issues */ module.exports = { Database: require("./src/Database"), Static: require("./src/Static"), Util: require("./src/Util"), - version: require("./package.json").version + VERSION: require("./package.json").version } // Documentation: https://xendb.js.org diff --git a/package.json b/package.json index 20dea81..a847e3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xen.db", - "version": "3.0.2", + "version": "3.0.3", "description": "A SQLite3 Database. Easy-To-Use For Beginners & Persistent Database.", "main": "index.js", "repository": { @@ -16,7 +16,7 @@ "xen.db", "sqlite3" ], - "author": "NotMarx", + "author": "reinhardt", "license": "MIT", "bugs": { "url": "https://github.com/NotMarx/Xen.db/issues"