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

@amazon-sumerian-hosts/core

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amazon-sumerian-hosts/core - npm Package Compare versions

Comparing version 2.0.0 to 2.0.4

2

package.json
{
"name": "@amazon-sumerian-hosts/core",
"version": "2.0.0",
"version": "2.0.4",
"description": "",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -7,3 +7,3 @@ # Amazon Sumerian Hosts

Refer to the [API Documentation](https://aws-samples.github.io/amazon-sumerian-hosts/) for more detailed information on the classes and methods available. Amazon Sumerian Hosts is a published [npm](https://www.npmjs.com/) package, so alternatively you can install in an existing Node.js project by running `npm install --save-dev @amazon-sumerian-hosts/core`. If you'd like to pull the gitub repository and create your own build, see [Building the Repository](https://github.com/aws-samples/amazon-sumerian-hosts/blob/mainline2.0/README.md#building-the-repository) for prerequisites and instructions on how to do that.
Refer to the [API Documentation](https://aws-samples.github.io/amazon-sumerian-hosts/) for more detailed information on the classes and methods available. Amazon Sumerian Hosts is a published [npm](https://www.npmjs.com/) package, so alternatively you can install in an existing Node.js project by running `npm install --save-dev @amazon-sumerian-hosts/core`. If you'd like to pull the GitHub repository and create your own build, see [Building the Repository](https://github.com/aws-samples/amazon-sumerian-hosts/blob/mainline2.0/README.md#building-the-repository) for prerequisites and instructions on how to do that.

@@ -10,0 +10,0 @@ ## License

@@ -136,7 +136,12 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

});
}).then(data => {
this.emit(this.constructor.EVENTS.lexResponseReady, data);
return data;
});
})
.then(data => {
this.emit(this.constructor.EVENTS.lexResponseReady, data);
return data;
})
.catch(error => {
const errorMessage = `Error happened during voice recording: ${error}. Please check whether your speech is more than 15s.`;
console.error(errorMessage);
throw new Error(errorMessage);
});
}

@@ -252,3 +257,2 @@

this.emit(this.constructor.EVENTS.recordEnd);
return this._processWithAudio(result, this._audioContext.sampleRate);

@@ -255,0 +259,0 @@ }

@@ -5,2 +5,5 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

// This line gets replaced by Github actions to the SHA of the git commit
const HOSTS_VERSION = 'v2.0.4';
/**

@@ -198,5 +201,2 @@ * A collection of useful generic functions.

static getVersion() {
// HOSTS_VERSION is defined by Webpack, to the version of the library
// Either a git commit or a release version
// eslint-disable-next-line no-undef
return HOSTS_VERSION;

@@ -203,0 +203,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