Socket
Socket
Sign inDemoInstall

@google-cloud/speech

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/speech - npm Package Compare versions

Comparing version 5.0.3 to 5.1.0

build/protos/google/cloud/speech/v2/cloud_speech.proto

4

build/src/index.d.ts
import * as v1p1beta1 from './v1p1beta1';
import * as v1 from './v1';
import * as v2 from './v2';
declare const SpeechClient: typeof v1.SpeechClient;

@@ -7,6 +8,7 @@ declare type SpeechClient = v1.SpeechClient;

declare type AdaptationClient = v1.AdaptationClient;
export { v1, v1p1beta1, SpeechClient, AdaptationClient };
export { v1, v1p1beta1, v2, SpeechClient, AdaptationClient };
declare const _default: {
v1: typeof v1;
v1p1beta1: typeof v1p1beta1;
v2: typeof v2;
SpeechClient: typeof v1.SpeechClient;

@@ -13,0 +15,0 @@ AdaptationClient: typeof v1.AdaptationClient;

@@ -16,3 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.protos = exports.AdaptationClient = exports.SpeechClient = exports.v1p1beta1 = exports.v1 = void 0;
exports.protos = exports.AdaptationClient = exports.SpeechClient = exports.v2 = exports.v1p1beta1 = exports.v1 = void 0;
const helpers_1 = require("./helpers");

@@ -23,2 +23,4 @@ const v1p1beta1 = require("./v1p1beta1");

exports.v1 = v1;
const v2 = require("./v2");
exports.v2 = v2;
// The following code is adapted from http://www.typescriptlang.org/docs/handbook/mixins.html

@@ -28,2 +30,3 @@ // tslint:disable-next-line no-any

Object.defineProperty(v1p1beta1.SpeechClient.prototype, 'streamingRecognize', Object.getOwnPropertyDescriptor(helpers_1.ImprovedStreamingClient.prototype, 'streamingRecognize'));
Object.defineProperty(v2.SpeechClient.prototype, 'streamingRecognize', Object.getOwnPropertyDescriptor(helpers_1.ImprovedStreamingClient.prototype, 'streamingRecognize'));
const SpeechClient = v1.SpeechClient;

@@ -35,5 +38,5 @@ exports.SpeechClient = SpeechClient;

// tslint:disable-next-line no-default-export
exports.default = { v1, v1p1beta1, SpeechClient, AdaptationClient };
exports.default = { v1, v1p1beta1, v2, SpeechClient, AdaptationClient };
const protos = require("../protos/protos");
exports.protos = protos;
//# sourceMappingURL=index.js.map

@@ -7,2 +7,12 @@ # Changelog

## [5.1.0](https://github.com/googleapis/nodejs-speech/compare/v5.0.3...v5.1.0) (2022-09-30)
### Features
* Speech v2 API ([#967](https://github.com/googleapis/nodejs-speech/issues/967)) ([a3989b0](https://github.com/googleapis/nodejs-speech/commit/a3989b0a88784d4418510e232919539427f17409))
**Note:** the v2 API is not enabled yet, it will be enabled within a few weeks. The v1 version is still the default at this moment.
We'll switch the default to v2 in the next major release of the library.
## [5.0.3](https://github.com/googleapis/nodejs-speech/compare/v5.0.2...v5.0.3) (2022-09-22)

@@ -9,0 +19,0 @@

{
"name": "@google-cloud/speech",
"description": "Cloud Speech Client Library for Node.js",
"version": "5.0.3",
"version": "5.1.0",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "author": "Google Inc.",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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