Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Commit c9eaba6

Browse files
committed
[*] dependencies update
1 parent d283367 commit c9eaba6

12 files changed

Lines changed: 114 additions & 110 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ You can find full list of interfaces [here](ts/Interfaces.ts)
122122

123123
## Changelog
124124

125+
## 2.0.0-beta.18
126+
* some minor typings changes
127+
125128
## 2.0.0-beta.17
126129
* dependencies updated
127130
* webrtc typings removed (now part of typescript default lib)

demo/typescript-project/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "api-ai-javascript-typescript-demo-project",
3-
"version": "2.0.0-beta.17",
3+
"version": "2.0.0-beta.18",
44
"description": "Javascript SDK for https://api.ai/ typescript demo project",
55
"devDependencies": {
66
"@types/es6-promise": "0.0.32",
7-
"api-ai-javascript": "^2.0.0-beta.17",
8-
"awesome-typescript-loader": "^3.0.0-beta.18",
9-
"typescript": "^2.1.5",
10-
"webpack": "^2.2.0",
11-
"webpack-dev-server": "^2.2.0"
7+
"api-ai-javascript": "^2.0.0-beta.18",
8+
"awesome-typescript-loader": "^3.0.8",
9+
"typescript": "^2.2.1",
10+
"webpack": "^2.2.1",
11+
"webpack-dev-server": "^2.4.1"
1212
},
1313
"scripts": {
1414
"build": "webpack",

es6/ApiAiConstants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export var ApiAiConstants;
1818
AVAILABLE_LANGUAGES[AVAILABLE_LANGUAGES["RU"] = "ru"] = "RU";
1919
AVAILABLE_LANGUAGES[AVAILABLE_LANGUAGES["UK"] = "uk"] = "UK";
2020
})(AVAILABLE_LANGUAGES = ApiAiConstants.AVAILABLE_LANGUAGES || (ApiAiConstants.AVAILABLE_LANGUAGES = {}));
21-
ApiAiConstants.VERSION = "2.0.0-beta.16";
21+
ApiAiConstants.VERSION = "2.0.0-beta.18";
2222
ApiAiConstants.DEFAULT_BASE_URL = "https://api.api.ai/v1/";
2323
ApiAiConstants.DEFAULT_API_VERSION = "20150910";
2424
ApiAiConstants.DEFAULT_CLIENT_LANG = AVAILABLE_LANGUAGES.EN;

es6/Request/Request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Request {
1616
return Promise.resolve(JSON.parse(xhr.responseText));
1717
}
1818
static handleError(xhr) {
19-
let error = null;
19+
let error = new ApiAiRequestError(null);
2020
try {
2121
const serverResponse = JSON.parse(xhr.responseText);
2222
if (serverResponse.status && serverResponse.status.errorDetails) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-ai-javascript",
3-
"version": "2.0.0-beta.17",
3+
"version": "2.0.0-beta.18",
44
"description": "Javascript SDK for https://api.ai/",
55
"main": "index",
66
"dependencies": {

target/ApiAi.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target/ApiAi.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target/ApiAi.streamless.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target/ApiAi.streamless.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/ApiAiConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export namespace ApiAiConstants {
55
JA = "ja" as any, KO = "ko" as any, PT = "pt" as any, RU = "ru" as any, UK = "uk" as any
66
}
77

8-
export const VERSION: string = "2.0.0-beta.17";
8+
export const VERSION: string = "2.0.0-beta.18";
99
export const DEFAULT_BASE_URL: string = "https://api.api.ai/v1/";
1010
export const DEFAULT_API_VERSION: string = "20150910";
1111
export const DEFAULT_CLIENT_LANG: AVAILABLE_LANGUAGES = AVAILABLE_LANGUAGES.EN;

0 commit comments

Comments
 (0)