@google-cloud/pubsub
Advanced tools
Comparing version 0.7.1 to 0.8.0
{ | ||
"name": "@google-cloud/pubsub", | ||
"version": "0.7.1", | ||
"version": "0.8.0", | ||
"author": "Google Inc.", | ||
@@ -53,3 +53,4 @@ "description": "Google Cloud Pub/Sub Client Library for Node.js", | ||
"dependencies": { | ||
"@google-cloud/common": "^0.11.0", | ||
"@google-cloud/common": "^0.12.0", | ||
"@google-cloud/common-grpc": "^0.1.1", | ||
"arrify": "^1.0.0", | ||
@@ -56,0 +57,0 @@ "extend": "^3.0.0", |
@@ -25,2 +25,3 @@ /*! | ||
var common = require('@google-cloud/common'); | ||
var commonGrpc = require('@google-cloud/common-grpc'); | ||
var is = require('is'); | ||
@@ -83,6 +84,6 @@ var util = require('util'); | ||
common.GrpcService.call(this, config, pubsub.options); | ||
commonGrpc.Service.call(this, config, pubsub.options); | ||
} | ||
util.inherits(IAM, common.GrpcService); | ||
util.inherits(IAM, commonGrpc.Service); | ||
@@ -89,0 +90,0 @@ /** |
@@ -25,2 +25,3 @@ /*! | ||
var common = require('@google-cloud/common'); | ||
var commonGrpc = require('@google-cloud/common-grpc'); | ||
var extend = require('extend'); | ||
@@ -80,6 +81,6 @@ var is = require('is'); | ||
common.GrpcService.call(this, config, options); | ||
commonGrpc.Service.call(this, config, options); | ||
} | ||
util.inherits(PubSub, common.GrpcService); | ||
util.inherits(PubSub, commonGrpc.Service); | ||
@@ -86,0 +87,0 @@ /** |
@@ -25,2 +25,3 @@ /*! | ||
var common = require('@google-cloud/common'); | ||
var commonGrpc = require('@google-cloud/common-grpc'); | ||
var events = require('events'); | ||
@@ -274,3 +275,3 @@ var is = require('is'); | ||
common.GrpcServiceObject.call(this, config); | ||
commonGrpc.ServiceObject.call(this, config); | ||
events.EventEmitter.call(this); | ||
@@ -336,3 +337,3 @@ | ||
modelo.inherits(Subscription, common.GrpcServiceObject, events.EventEmitter); | ||
modelo.inherits(Subscription, commonGrpc.ServiceObject, events.EventEmitter); | ||
@@ -370,3 +371,3 @@ /** | ||
if (publishTime.seconds && publishTime.nanos) { | ||
if (is.defined(publishTime.seconds) && is.defined(publishTime.nanos)) { | ||
var seconds = parseInt(publishTime.seconds, 10); | ||
@@ -373,0 +374,0 @@ var milliseconds = parseInt(publishTime.nanos, 10) / 1e6; |
@@ -25,2 +25,3 @@ /*! | ||
var common = require('@google-cloud/common'); | ||
var commonGrpc = require('@google-cloud/common-grpc'); | ||
var extend = require('extend'); | ||
@@ -184,3 +185,3 @@ var is = require('is'); | ||
common.GrpcServiceObject.call(this, { | ||
commonGrpc.ServiceObject.call(this, { | ||
parent: pubsub, | ||
@@ -229,3 +230,3 @@ id: this.name, | ||
util.inherits(Topic, common.GrpcServiceObject); | ||
util.inherits(Topic, commonGrpc.ServiceObject); | ||
@@ -232,0 +233,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163272
4052
10
+ Added@google-cloud/common@0.12.2(transitive)
+ Added@google-cloud/common-grpc@0.1.6(transitive)
+ Addedgoogle-proto-files@0.10.0(transitive)
- Removed@google-cloud/common@0.11.0(transitive)
Updated@google-cloud/common@^0.12.0