augnitosdk
Advanced tools
Comparing version 0.0.25 to 0.0.26
@@ -8,2 +8,3 @@ import { AugnitoConfig } from './config/AugnitoConfig'; | ||
import { IConfiguration } from './config/IConfiguration '; | ||
import { AugnitoSDKErrorMessage } from './support/AugnitoSDKErrorMessage'; | ||
/** | ||
@@ -54,5 +55,12 @@ * Augnito Manager | ||
* It can happen if the client has more than one tab opened. | ||
* This error will ALSO come through on the onError handler if you don't have a handler attached to this callback. | ||
* @deprecated please use onError instead | ||
* @param isWebClient If true, the error was raised from the Web Client; otherwise from the mobile client | ||
*/ | ||
onMicrophoneOnError?: (isWebClient: boolean) => void; | ||
/** | ||
* Callback triggered when an error occurs within the Augnito SDK | ||
* @param error An object containing the error type and error message | ||
*/ | ||
onError?: (error: AugnitoSDKErrorMessage) => void; | ||
constructor(config: AugnitoConfig); | ||
@@ -97,3 +105,3 @@ private get enableLogs(); | ||
private interfaceCommand; | ||
private onError; | ||
private onErrorCallback; | ||
private onIdleMicCallback; | ||
@@ -100,0 +108,0 @@ private onStateChangeCallback; |
export { Augnito } from './Augnito'; | ||
export { AugnitoMobile } from './AugnitoMobile'; | ||
export { AugnitoSDKErrorMessage } from './support/AugnitoSDKErrorMessage'; | ||
export { AugnitoSDKError } from './support/AugnitoSDKErrors'; | ||
export * from './interop'; | ||
@@ -4,0 +6,0 @@ export * from './config/'; |
{ | ||
"name": "augnitosdk", | ||
"private": false, | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"license": "Restricted", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -84,3 +84,3 @@ # Augnito Speech SDK | ||
| onMicrophoneOnError | (isWebClient: boolean) => void | Callback triggered when trying to start the connection, but it fails because it is already opened. (It can be opened in another tab, or it was not closed properly) | | ||
| onError | (error: AugnitoSDKErrorMessage) => void| Callback triggered when the SDK encouters an error | | ||
## Augnito Mobile - Speech Related Callbacks | ||
@@ -87,0 +87,0 @@ |
Sorry, the diff of this file is too big to display
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
303897
60
2478