Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

chore: bump version to 1.3.0

thecodrr291505d5b996
diff --git a/apps/web/package.json b/apps/web/package.json
index 8789e463f..0d196222d 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -1,6 +1,6 @@
{
"name": "notes-web",
- "version": "1.2.0",
+ "version": "1.3.0",
"private": true,
"dependencies": {
"@mdi/js": "^5.9.55",
diff --git a/apps/web/src/index.js b/apps/web/src/index.js
index 0d9b8490e..59b2855f4 100644
--- a/apps/web/src/index.js
+++ b/apps/web/src/index.js
@@ -2,30 +2,30 @@ import React from "react";
import { initializeDatabase } from "./common/db";
import "./index.css";
import * as serviceWorker from "./serviceWorker";
-// import { init, showReportDialog } from "@sentry/react";
-// import { Integrations } from "@sentry/tracing";
-// import { getAppVersion } from "./utils/useVersion";
-// const App = React.lazy(() => import("./App"));
+import { init, showReportDialog } from "@sentry/react";
+import { Integrations } from "@sentry/tracing";
+import { getAppVersion } from "./utils/useVersion";
+
+if (process.env.NODE_ENV === "production") {
+ console.log = () => {};
+ init({
+ dsn:
+ "https://[email protected]/5520885",
+ integrations: [new Integrations.BrowserTracing()],
+ beforeSend: (event) => {
+ if (event.exception || event.extra.report === true) {
+ showReportDialog();
+ }
+ return event;
+ },
+ release: `notesnook-web@${getAppVersion().formatted}`,
+ ignoreErrors: [/ResizeObserver loop limit exceeded/],
+ // We recommend adjusting this value in production, or using tracesSampler
+ // for finer control
+ tracesSampleRate: 1.0,
+ });
+}
-// if (process.env.NODE_ENV === "production") {
-// console.log = () => {};
-// init({
-// dsn:
-// "https://[email protected]/5520885",
-// integrations: [new Integrations.BrowserTracing()],
-// beforeSend: (event) => {
-// if (event.exception || event.extra.report === true) {
-// showReportDialog();
-// }
-// return event;
-// },
-// release: `notesnook-web@${getAppVersion().formatted}`,
-// ignoreErrors: [/ResizeObserver loop limit exceeded/],
-// // We recommend adjusting this value in production, or using tracesSampler
-// // for finer control
-// tracesSampleRate: 1.0,
-// });
-// }
initializeDatabase().then(() => {
import("react-dom").then(({ render }) => {
import("./App").then(({ default: App }) => {
diff --git a/apps/web/src/utils/useVersion.js b/apps/web/src/utils/useVersion.js
index a969702bf..fcf8fa279 100644
--- a/apps/web/src/utils/useVersion.js
+++ b/apps/web/src/utils/useVersion.js
@@ -3,8 +3,8 @@ import { db } from "../common/db";
import config from "./config";
var APP_VERSION = {
- formatted: format(1200),
- numerical: 1200,
+ formatted: format(1300),
+ numerical: 1300,
appUpdated: false,
appUpdateable: false,
changelog: undefined,