2
0

feat: 📦️ Update typebot lib declarations

This commit is contained in:
Baptiste Arnaud
2022-04-30 06:55:46 -07:00
parent a2cfecc16c
commit 1139569293
4 changed files with 7 additions and 7 deletions

View File

@@ -139,4 +139,4 @@ export const parseInitBubbleCode = ({
) )
} }
export const typebotJsHtml = `<script src="https://unpkg.com/typebot-js@2.2.1"></script>` export const typebotJsHtml = `<script src="https://unpkg.com/typebot-js@2.2"></script>`

View File

@@ -1,6 +1,6 @@
{ {
"name": "wordpress", "name": "wordpress",
"version": "2.1.6", "version": "2.1.7",
"main": "index.js", "main": "index.js",
"repository": "https://github.com/typebot-io/wordpress.git", "repository": "https://github.com/typebot-io/wordpress.git",
"author": "baptisteArno", "author": "baptisteArno",
@@ -10,7 +10,7 @@
}, },
"scripts": { "scripts": {
"deploy": "yarn copy && yarn commit", "deploy": "yarn copy && yarn commit",
"copy": "svn copy ./trunk ./tags/2.1.6", "copy": "svn copy ./trunk ./tags/2.1.7",
"commit": "svn ci -m 'Fix auto open'" "commit": "svn ci -m 'Update typebot lib'"
} }
} }

View File

@@ -6,7 +6,7 @@ class Typebot_Public
{ {
wp_enqueue_script( wp_enqueue_script(
'typebot', 'typebot',
'https://unpkg.com/typebot-js@2.2.0/dist/index.umd.min.js' 'https://unpkg.com/typebot-js@2.2/dist/index.umd.min.js'
); );
wp_add_inline_script('typebot', $this->parse_wp_user()); wp_add_inline_script('typebot', $this->parse_wp_user());
if (get_option('config_type') === 'advanced') { if (get_option('config_type') === 'advanced') {

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: 2.1.6 * Version: 2.1.7
* 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', '2.1.6'); define('TYPEBOT_VERSION', '2.1.7');
function activate_typebot() function activate_typebot()
{ {