botversion-sdk 2.2.1 → 2.2.2
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/bin/scan-backend.js +2 -2
- package/bin/scan-frontend.js +2 -2
- package/client.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/bin/scan-backend.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var path = require("path");
|
|
@@ -29,7 +29,7 @@ var BotVersionClient = require("../client");
|
|
|
29
29
|
|
|
30
30
|
var apiKey = process.env.BOTVERSION_API_KEY;
|
|
31
31
|
var platformUrl =
|
|
32
|
-
process.env.BOTVERSION_PLATFORM_URL || "
|
|
32
|
+
process.env.BOTVERSION_PLATFORM_URL || "https://console.botversion.com";
|
|
33
33
|
|
|
34
34
|
if (!apiKey) {
|
|
35
35
|
console.error(
|
package/bin/scan-frontend.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var path = require("path");
|
|
@@ -30,7 +30,7 @@ var sdk = require("../index");
|
|
|
30
30
|
|
|
31
31
|
var apiKey = process.env.BOTVERSION_API_KEY;
|
|
32
32
|
var platformUrl =
|
|
33
|
-
process.env.BOTVERSION_PLATFORM_URL || "
|
|
33
|
+
process.env.BOTVERSION_PLATFORM_URL || "https://console.botversion.com";
|
|
34
34
|
|
|
35
35
|
if (!apiKey) {
|
|
36
36
|
console.error(
|
package/client.js
CHANGED
|
@@ -11,7 +11,7 @@ const url = require("url");
|
|
|
11
11
|
*/
|
|
12
12
|
function BotVersionClient(options) {
|
|
13
13
|
this.apiKey = options.apiKey;
|
|
14
|
-
this.platformUrl = options.platformUrl || "
|
|
14
|
+
this.platformUrl = options.platformUrl || "https://console.botversion.com";
|
|
15
15
|
this.debug = options.debug || false;
|
|
16
16
|
this.timeout = options.timeout || 30000;
|
|
17
17
|
|
package/index.js
CHANGED
|
@@ -424,7 +424,7 @@ var BotVersion = {
|
|
|
424
424
|
|
|
425
425
|
this._client = new BotVersionClient({
|
|
426
426
|
apiKey: options.apiKey,
|
|
427
|
-
platformUrl: options.platformUrl || "
|
|
427
|
+
platformUrl: options.platformUrl || "https://console.botversion.com",
|
|
428
428
|
debug: options.debug || false,
|
|
429
429
|
timeout: options.timeout || 30000,
|
|
430
430
|
});
|