@speechly/react-client
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -174,9 +174,6 @@ "use strict"; | ||
_this.switchApp = function (appId) { | ||
var clientState = _this.state.clientState; | ||
var _a = _this.state, client = _a.client, clientState = _a.clientState; | ||
_this.setState({ appId: appId }); | ||
if (clientState === browser_client_1.ClientState.Recording) { | ||
_this.stopContext().then(function (_) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { | ||
return [2 /*return*/, this.startContext()]; | ||
}); }); }) | ||
.catch(function (_) { throw Error('Cannot stop context'); }); | ||
client.switchContext(appId); | ||
} | ||
@@ -183,0 +180,0 @@ }; |
{ | ||
"name": "@speechly/react-client", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "React client for Speechly SLU API", | ||
@@ -39,3 +39,3 @@ "private": false, | ||
"dependencies": { | ||
"@speechly/browser-client": "^1.0.9" | ||
"@speechly/browser-client": "^1.0.10" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52319
962