diff --git a/ui/package-lock.json b/ui/package-lock.json index 155efbd395..02e6880863 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -15,7 +15,7 @@ "@codemirror/view": "^6.26.1", "@dnd-kit/core": "^6.1.0", "@dnd-kit/sortable": "^7.0.2", - "@formbricks/js": "^1.5.1", + "@formbricks/js": "^1.6.5", "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-brands-svg-icons": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", @@ -2663,9 +2663,9 @@ } }, "node_modules/@formbricks/js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@formbricks/js/-/js-1.5.1.tgz", - "integrity": "sha512-noMf3FQkbunawZiWE8FXF/sRfsp4RemVY8hSeVZzWvR/zCUtStWHJQc4fpexioTt0TofDpP/dOy7QCsaE3LL1A==" + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/@formbricks/js/-/js-1.6.5.tgz", + "integrity": "sha512-eGlnauNgzv4ye22/yN+FyQAl6gLgHbNOCxysex/UoLjTZbXYOali7ilQ1Ksyl/ujBBcqcrXKe/OnsGena2zP8A==" }, "node_modules/@fortawesome/fontawesome-common-types": { "version": "6.5.1", @@ -15578,9 +15578,9 @@ "dev": true }, "@formbricks/js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@formbricks/js/-/js-1.5.1.tgz", - "integrity": "sha512-noMf3FQkbunawZiWE8FXF/sRfsp4RemVY8hSeVZzWvR/zCUtStWHJQc4fpexioTt0TofDpP/dOy7QCsaE3LL1A==" + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/@formbricks/js/-/js-1.6.5.tgz", + "integrity": "sha512-eGlnauNgzv4ye22/yN+FyQAl6gLgHbNOCxysex/UoLjTZbXYOali7ilQ1Ksyl/ujBBcqcrXKe/OnsGena2zP8A==" }, "@fortawesome/fontawesome-common-types": { "version": "6.5.1", diff --git a/ui/package.json b/ui/package.json index d44d6e189b..2598973af5 100644 --- a/ui/package.json +++ b/ui/package.json @@ -21,7 +21,7 @@ "@codemirror/view": "^6.26.1", "@dnd-kit/core": "^6.1.0", "@dnd-kit/sortable": "^7.0.2", - "@formbricks/js": "^1.5.1", + "@formbricks/js": "^1.6.5", "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-brands-svg-icons": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 2ff970ec65..b8799af9d7 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -35,8 +35,7 @@ const Tokens = loadable(() => import('./app/tokens/Tokens')); if (typeof window !== 'undefined') { formbricks.init({ environmentId: import.meta.env.FLIPT_FORMBRICKS_ENVIRONMENT_ID || '', - apiHost: 'https://app.formbricks.com', - debug: process.env.NODE_ENV === 'development' + apiHost: 'https://app.formbricks.com' }); }