diff --git a/.github/workflows/build-size.yml b/.github/workflows/build-size.yml index bf7165011..eee02fcc8 100644 --- a/.github/workflows/build-size.yml +++ b/.github/workflows/build-size.yml @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out source files - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get Composer Cache Directory id: composer-cache run: | diff --git a/package-lock.json b/package-lock.json index 4842d5b21..16144be37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,9 +7,10 @@ "": { "name": "otter-blocks", "version": "3.0.3", + "version": "3.0.3", "license": "GPL-2.0+", "dependencies": { - "@formbricks/js": "^1.6.5", + "@formbricks/js": "^2.2.0", "@wordpress/icons": "^9.46.0", "array-move": "^3.0.1", "classnames": "^2.5.1", @@ -2773,9 +2774,13 @@ "dev": true }, "node_modules/@formbricks/js": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/@formbricks/js/-/js-1.6.5.tgz", - "integrity": "sha512-eGlnauNgzv4ye22/yN+FyQAl6gLgHbNOCxysex/UoLjTZbXYOali7ilQ1Ksyl/ujBBcqcrXKe/OnsGena2zP8A==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@formbricks/js/-/js-2.2.0.tgz", + "integrity": "sha512-sKduJRgMZInOY141tIQN6RSsA4Wah6liqzCDDdGgv9t2FgTaNjSYGNrLlBEdQN62lRbVm5dk0+ZzMWyYrNhZWw==", + "license": "MIT", + "peerDependencies": { + "zod": "3.x" + } }, "node_modules/@hapi/hoek": { "version": "9.3.0", @@ -34654,7 +34659,8 @@ "version": "3.23.8", "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", - "dev": true, + "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/package.json b/package.json index 9005a473d..a6ec9fa00 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "lasttranslator": "Themeisle Translate Team " }, "dependencies": { - "@formbricks/js": "^1.6.5", + "@formbricks/js": "^2.2.0", "@wordpress/icons": "^9.46.0", "array-move": "^3.0.1", "classnames": "^2.5.1", diff --git a/src/dashboard/index.js b/src/dashboard/index.js index baef551eb..993c3156c 100644 --- a/src/dashboard/index.js +++ b/src/dashboard/index.js @@ -2,7 +2,7 @@ /** * External dependencies. */ -import formbricks from '@formbricks/js'; +import formbricks from '@formbricks/js/app'; /** * WordPress dependencies.