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

@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 4.5.4 to 4.5.5

2

build/src/v1/speech_client.d.ts

@@ -12,2 +12,3 @@ import * as gax from 'google-gax';

private _opts;
private _providedCustomServicePath;
private _gaxModule;

@@ -19,2 +20,3 @@ private _gaxGrpc;

descriptors: Descriptors;
warn: (code: string, message: string, warnType?: string) => void;
innerApiCalls: {

@@ -21,0 +23,0 @@ [name: string]: Function;

5

build/src/v1/speech_client.js

@@ -84,2 +84,3 @@ "use strict";

const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath;
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;

@@ -150,2 +151,4 @@ const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};

this.innerApiCalls = {};
// Add a warn function to the client constructor so it can be easily tested.
this.warn = gax.warn;
}

@@ -173,3 +176,3 @@ /**

: // eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.speech.v1.Speech, this._opts);
this._protos.google.cloud.speech.v1.Speech, this._opts, this._providedCustomServicePath);
// Iterate over each of the methods that the service provides

@@ -176,0 +179,0 @@ // and create an API call method for each.

@@ -14,2 +14,3 @@ /// <reference types="node" />

private _opts;
private _providedCustomServicePath;
private _gaxModule;

@@ -21,2 +22,3 @@ private _gaxGrpc;

descriptors: Descriptors;
warn: (code: string, message: string, warnType?: string) => void;
innerApiCalls: {

@@ -23,0 +25,0 @@ [name: string]: Function;

@@ -83,2 +83,3 @@ "use strict";

const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath;
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;

@@ -145,2 +146,4 @@ const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};

this.innerApiCalls = {};
// Add a warn function to the client constructor so it can be easily tested.
this.warn = gax.warn;
}

@@ -168,3 +171,3 @@ /**

: // eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.speech.v1p1beta1.Adaptation, this._opts);
this._protos.google.cloud.speech.v1p1beta1.Adaptation, this._opts, this._providedCustomServicePath);
// Iterate over each of the methods that the service provides

@@ -171,0 +174,0 @@ // and create an API call method for each.

@@ -12,2 +12,3 @@ import * as gax from 'google-gax';

private _opts;
private _providedCustomServicePath;
private _gaxModule;

@@ -19,2 +20,3 @@ private _gaxGrpc;

descriptors: Descriptors;
warn: (code: string, message: string, warnType?: string) => void;
innerApiCalls: {

@@ -21,0 +23,0 @@ [name: string]: Function;

@@ -84,2 +84,3 @@ "use strict";

const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath;
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;

@@ -157,2 +158,4 @@ const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};

this.innerApiCalls = {};
// Add a warn function to the client constructor so it can be easily tested.
this.warn = gax.warn;
}

@@ -180,3 +183,3 @@ /**

: // eslint-disable-next-line @typescript-eslint/no-explicit-any
this._protos.google.cloud.speech.v1p1beta1.Speech, this._opts);
this._protos.google.cloud.speech.v1p1beta1.Speech, this._opts, this._providedCustomServicePath);
// Iterate over each of the methods that the service provides

@@ -183,0 +186,0 @@ // and create an API call method for each.

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

### [4.5.5](https://www.github.com/googleapis/nodejs-speech/compare/v4.5.4...v4.5.5) (2021-07-21)
### Bug Fixes
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#777](https://www.github.com/googleapis/nodejs-speech/issues/777)) ([8911be0](https://www.github.com/googleapis/nodejs-speech/commit/8911be0cc600b4d16af5a809800118be07f8483b))
### [4.5.4](https://www.github.com/googleapis/nodejs-speech/compare/v4.5.3...v4.5.4) (2021-07-12)

@@ -9,0 +16,0 @@

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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