Socket
Socket
Sign inDemoInstall

@google-cloud/common

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/common - npm Package Compare versions

Comparing version 2.2.6 to 2.3.0

2

build/src/operation.js

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

if (!metadata) {
setTimeout(this.startPolling_.bind(this), 500);
setTimeout(this.startPolling_.bind(this), this.pollIntervalMs || 500);
return;

@@ -140,0 +140,0 @@ }

@@ -60,2 +60,7 @@ /*!

parent: ServiceObjectParent;
/**
* For long running operations, how often should the client poll
* for completion.
*/
pollIntervalMs?: number;
}

@@ -109,2 +114,3 @@ export interface Methods {

id?: string;
pollIntervalMs?: number;
private createMethod?;

@@ -111,0 +117,0 @@ protected methods: Methods;

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

this.interceptors = [];
this.pollIntervalMs = config.pollIntervalMs;
this.Promise = this.parent ? this.parent.Promise : undefined;

@@ -68,0 +69,0 @@ if (config.methods) {

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

## [2.3.0](https://www.github.com/googleapis/nodejs-common/compare/v2.2.6...v2.3.0) (2020-01-23)
### Features
* allow poll interval to be configured ([#520](https://www.github.com/googleapis/nodejs-common/issues/520)) ([abfbd18](https://www.github.com/googleapis/nodejs-common/commit/abfbd189b5769c8dccd482e3c7369711c27b9895))
### [2.2.6](https://www.github.com/googleapis/nodejs-common/compare/v2.2.5...v2.2.6) (2020-01-17)

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

{
"name": "@google-cloud/common",
"description": "Common components for Cloud APIs Node.js Client Libraries",
"version": "2.2.6",
"version": "2.3.0",
"license": "Apache-2.0",

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

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