A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: classProperties not supproted error
thecodrre1366d1defb9
diff --git a/packages/core/api/vault.js b/packages/core/api/vault.jsindex a84a69cf6..c6fd50804 100644--- a/packages/core/api/vault.js+++ b/packages/core/api/vault.js@@ -10,14 +10,13 @@ export default class Vault {this._context = context;this._key = "Notesnook";this._password = "";+ this.ERRORS = {+ noVault: "ERR_NO_VAULT",+ vaultLocked: "ERR_VAULT_LOCKED",+ wrongPassword: "ERR_WRONG_PASSWORD"+ };}- ERRORS = {- noVault: "ERR_NO_VAULT",- vaultLocked: "ERR_VAULT_LOCKED",- wrongPassword: "ERR_WRONG_PASSWORD"- };-async create(password) {const lockKey = await this._context.read("lockKey");if (!lockKey || !lockKey.cipher || !lockKey.iv) {