@tiledesk/tiledesk-server 2.4.26 → 2.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/middleware/passport.js
CHANGED
|
@@ -500,8 +500,8 @@ if (enableGoogleSignin==true) {
|
|
|
500
500
|
var password = uniqid()
|
|
501
501
|
|
|
502
502
|
|
|
503
|
-
|
|
504
|
-
userService.signup(email, password,
|
|
503
|
+
// signup ( email, password, firstname, lastname, emailverified) {
|
|
504
|
+
userService.signup(email, password, profile.displayName, undefined, true)
|
|
505
505
|
.then(function (savedUser) {
|
|
506
506
|
|
|
507
507
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiledesk/tiledesk-server",
|
|
3
3
|
"description": "The Tiledesk server module",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.27",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "node ./bin/www",
|
|
7
7
|
"pretest": "mongodb-runner start",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@tiledesk/tiledesk-kaleyra-proxy": "^0.1.7",
|
|
45
45
|
"@tiledesk/tiledesk-messenger-connector": "0.1.9",
|
|
46
46
|
"@tiledesk/tiledesk-rasa-connector": "^1.0.10",
|
|
47
|
-
"@tiledesk/tiledesk-tybot-connector": "^0.1.
|
|
47
|
+
"@tiledesk/tiledesk-tybot-connector": "^0.1.83",
|
|
48
48
|
"@tiledesk/tiledesk-whatsapp-connector": "^0.1.49",
|
|
49
49
|
"amqplib": "^0.5.5",
|
|
50
50
|
"app-root-path": "^3.0.0",
|
|
@@ -25,7 +25,7 @@ class Listener {
|
|
|
25
25
|
let graph_url = process.env.META_GRAPH_URL || config.graphUrl || "https://graph.facebook.com/v14.0/"
|
|
26
26
|
winston.debug("Whatsapp graph_url: "+ password);
|
|
27
27
|
|
|
28
|
-
let baseFileUrl = process.env.BASE_FILE_URL
|
|
28
|
+
let baseFileUrl = process.env.BASE_FILE_URL || apiUrl || "http://localhost:3000"
|
|
29
29
|
|
|
30
30
|
let log = process.env.WHATSAPP_LOG || false
|
|
31
31
|
winston.debug("Whatsapp log: "+ log);
|