2
0

🐛 (wordpress) Fix version mismatch for self-hosters for Standard embed as well

Closes #1038
This commit is contained in:
Baptiste Arnaud
2023-11-15 16:03:54 +01:00
parent 8d563499f0
commit eca6d207bf
4 changed files with 10 additions and 7 deletions

View File

@ -1,13 +1,13 @@
{ {
"name": "@typebot.io/wordpress", "name": "@typebot.io/wordpress",
"version": "3.4.0", "version": "3.4.2",
"main": "index.js", "main": "index.js",
"repository": "https://github.com/baptisteArno/typebot.io", "repository": "https://github.com/baptisteArno/typebot.io",
"author": "baptisteArno", "author": "baptisteArno",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"deploy": "pnpm copy && pnpm commit", "deploy": "pnpm copy && pnpm commit",
"copy": "svn copy ./trunk ./tags/3.4.1", "copy": "svn copy ./trunk ./tags/3.4.2",
"commit": "svn ci -m 'Import lib specific version'" "commit": "svn ci -m 'Affect v0.2.15 to Standard embed'"
} }
} }

View File

@ -5,7 +5,7 @@ Requires at least: 5.0
Tested up to: 6.0 Tested up to: 6.0
License: GPL 2.0 License: GPL 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.txt License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Stable Tag: 3.4.1 Stable Tag: 3.4.2
== Description == == Description ==
Collect 4x more responses with conversational apps using Typebot. Collect 4x more responses with conversational apps using Typebot.
@ -24,6 +24,9 @@ This plugin relies on Typebot which is a tool that allows you to create conversa
3. Activate your Typebot with the "Typebot" admin button located in the sidebar 3. Activate your Typebot with the "Typebot" admin button located in the sidebar
== Changelog == == Changelog ==
= 3.4.2 =
* Affect v0.2.15 to Standard embed as well
= 3.4.1 = = 3.4.1 =
* Import typebot lib specific version: 0.2.15 * Import typebot lib specific version: 0.2.15

View File

@ -91,7 +91,7 @@ class Typebot_Public
public function add_typebot_container($attributes = []) public function add_typebot_container($attributes = [])
{ {
$lib_url = "https://cdn.jsdelivr.net/npm/@typebot.io/js@0.2/dist/web.js"; $lib_url = "https://cdn.jsdelivr.net/npm/@typebot.io/js@0.2.15/dist/web.js";
$width = '100%'; $width = '100%';
$height = '500px'; $height = '500px';
$api_host = 'https://viewer.typebot.io'; $api_host = 'https://viewer.typebot.io';

View File

@ -3,7 +3,7 @@
/** /**
* Plugin Name: Typebot * Plugin Name: Typebot
* Description: Convert more with conversational forms * Description: Convert more with conversational forms
* Version: 3.4.1 * Version: 3.4.2
* Author: Typebot * Author: Typebot
* Author URI: http://typebot.io/ * Author URI: http://typebot.io/
* License: GPL-2.0+ * License: GPL-2.0+
@ -16,7 +16,7 @@ if (!defined('WPINC')) {
die(); die();
} }
define('TYPEBOT_VERSION', '3.4.1'); define('TYPEBOT_VERSION', '3.4.2');
function activate_typebot() function activate_typebot()
{ {