Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
Setting up deprecated error
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco5dev authored Mar 24, 2024
1 parent c3bd4da commit 0745236
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class jsonverse {
activateLogs: true,
};

throw new Error('Package is deprecated please install the latest version of the new database called "verse.db"')
// * Merge the default options with the provided options
this.options = { ...defaultOptions, ...options };

Expand Down Expand Up @@ -728,4 +729,4 @@ class jsonverse {
module.exports = {
Schema,
jsonverse,
};
};

0 comments on commit 0745236

Please sign in to comment.