Skip to content

Commit

Permalink
update version to VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
reinacchi committed Jul 1, 2021
1 parent 5deaa8a commit 84e8bcb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import SQLite from "better-sqlite3";

/**
* Xen.db Definitions & Typings By: Hery & NotMarx (<[email protected]>)
* Xen.db Definitions & Typings By: Reinhardt (<[email protected]>)
*/

declare module "xen.db" {
Expand Down Expand Up @@ -34,7 +34,7 @@ declare module "xen.db" {
database?: SQLite.Database;

/**
* Wal Mode
* Whether To Use Wal Mode
*/
useWalMode?: boolean;
}
Expand Down Expand Up @@ -484,5 +484,5 @@ declare module "xen.db" {
* console.log(require("xen.db").version);
* ```
*/
export const version: string;
export const VERSION: string;
}
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -16,7 +16,7 @@
"xen.db",
"sqlite3"
],
"author": "NotMarx",
"author": "reinhardt",
"license": "MIT",
"bugs": {
"url": "https://github.com/NotMarx/Xen.db/issues"
Expand Down

0 comments on commit 84e8bcb

Please sign in to comment.