Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

augnitosdk

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augnitosdk - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

dist/support/AugnitoSDKErrorMessage.d.ts

10

dist/Augnito.d.ts

@@ -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/';

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc