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.12 to 0.0.13

dist/config/IConfiguration .d.ts

2

dist/Augnito.d.ts

@@ -7,2 +7,3 @@ import { AugnitoConfig } from './config/AugnitoConfig';

import { FactoryAPI } from './api/FactoryAPI';
import { IConfiguration } from './config/IConfiguration ';
/**

@@ -78,2 +79,3 @@ * Augnito Manager

get apisFactory(): FactoryAPI;
get configuration(): IConfiguration;
private onPartialResultsCallback;

@@ -80,0 +82,0 @@ private onFinalResultsCallback;

export * from './AugnitoConfig';
export * from './AugnitoMobileConfig';
export * from './IConfiguration ';

@@ -6,8 +6,10 @@ import { AugnitoConfig } from './AugnitoConfig';

import { AugnitoSource } from '../support/AugnitoSource';
import { IConfiguration } from './IConfiguration ';
/**
* Augnito SDK Config
*/
export declare class SDKConfig {
export declare class SDKConfig implements IConfiguration {
private _config;
qrCode: string;
customSpeechURL: string | undefined;
readonly contentType: string;

@@ -29,2 +31,6 @@ readonly noiseCt: string;

constructor(_config: AugnitoConfig);
setLmId(lmId: string): void;
setSpeechURL(speechURL: string): void;
setAccountCode(accountCode: string): void;
setAccessKey(accessKey: string): void;
get clientConfig(): AugnitoConfig;

@@ -31,0 +37,0 @@ get enableLogs(): boolean;

2

package.json
{
"name": "augnitosdk",
"private": false,
"version": "0.0.12",
"version": "0.0.13",
"license": "Restricted",

@@ -6,0 +6,0 @@ "files": [

@@ -59,2 +59,3 @@ # Augnito Speech SDK

//Generate a QR Code with the following value
const code = augnito.getQRCode();

@@ -65,10 +66,10 @@ ```

| Name | type | Description |
| --------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| onPartialResult | (text: string) => void | Partial Result generated from the server |
| onFinalResult | (finalText: Partial<Recipe>) => boolean | A final result is called when text has been processed by the Speech Server. Returns `true` to stop the processing in the SDK |
| onCommandResult | (command: Partial<Recipe>) => boolean | A command generated from the server. Returns `true` to stop the processing in the SDK |
| onStateChanged | (isConnected: boolean) => void | Callback to indicate the status of the connection has changed. |
| onSessionEvent | (data: AugnitoSocketResponse) => void | Callback to intercept Session Events |
| onIdleMic | () => void | Callback when the Mic is idle for 5 minutes |
| Name | type | Description |
| --------------- | ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| onPartialResult | (text: string) => void | Partial Result generated from the server |
| onFinalResult | (finalText: Recipe) => boolean | A final result is called when text has been processed by the Speech Server. Returns `true` to stop the processing in the SDK |
| onCommandResult | (command: Recipe) => boolean | A command generated from the server. Returns `true` to stop the processing in the SDK |
| onStateChanged | (isConnected: boolean) => void | Callback to indicate the status of the connection has changed. |
| onSessionEvent | (data: AugnitoSocketResponse) => void | Callback to intercept Session Events |
| onIdleMic | () => void | Callback when the Mic is idle for 5 minutes |

@@ -99,5 +100,5 @@ ## Augnito Mobile - Speech Related Callbacks

| ----------- | -------------------- | -------------------------------------------------- |
| getMacros | Promise<MacroResult> | Returns a list of macros for the specified user. |
| upsertMacro | Promise<MacroResult> | Creates or Updates a Macro for the specified user. |
| deleteMacro | Promise<MacroResult> | Deletes a Macro for the specified user. |
| getMacros | Promise: MacroResult | Returns a list of macros for the specified user. |
| upsertMacro | Promis: MacroResult | Creates or Updates a Macro for the specified user. |
| deleteMacro | Promise: MacroResult | Deletes a Macro for the specified user. |

@@ -104,0 +105,0 @@ ### 1- Create Macros Client

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