Skip to content

Commit

Permalink
fix(deps): update dependency @google-cloud/common to ^0.27.0 (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and JustinBeckwith committed Nov 27, 2018
1 parent c5f7806 commit 5003694
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"pretest": "npm run compile"
},
"dependencies": {
"@google-cloud/common": "^0.26.0",
"@google-cloud/common": "^0.27.0",
"@google-cloud/paginator": "^0.1.0",
"@google-cloud/promisify": "^0.3.0",
"arrify": "^1.0.1",
Expand Down
8 changes: 6 additions & 2 deletions packages/google-cloud-dns/src/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {Change, CreateChangeCallback, CreateChangeRequest} from './change';
import {Record, RecordMetadata, RecordObject} from './record';
import {DNS} from '.';
import * as r from 'request';
import {Readable} from 'stream';

/**
* Config to set for the change.
Expand Down Expand Up @@ -164,6 +165,9 @@ export interface ZoneExportCallback {
* const zone = dns.zone('zone-id');
*/
class Zone extends ServiceObject {
name: string;
getRecordsStream: (query?: GetRecordsRequest|string|string[]) => Readable;
getChangesStream: (query?: GetChangesRequest) => Readable;
constructor(dns: DNS, name: string) {
const methods = {
/**
Expand Down Expand Up @@ -336,6 +340,8 @@ class Zone extends ServiceObject {
* @type {string}
*/
this.name = name;
this.getRecordsStream = paginator.streamify('getRecords');
this.getChangesStream = paginator.streamify('getChanges');
}

/**
Expand Down Expand Up @@ -1169,7 +1175,6 @@ import(localPath: string, callback?: CreateChangeCallback): void|Promise<CreateC
* this.end();
* });
*/
Zone.prototype.getChangesStream = paginator.streamify('getChanges');

/**
* Get the list of {module:dns/record} objects for this zone as a readable
Expand Down Expand Up @@ -1203,7 +1208,6 @@ Zone.prototype.getChangesStream = paginator.streamify('getChanges');
* this.end();
* });
*/
Zone.prototype.getRecordsStream = paginator.streamify('getRecords');

/*! Developer Documentation
*
Expand Down
5 changes: 0 additions & 5 deletions packages/google-cloud-dns/system-test/.eslintrc.yml

This file was deleted.

3 changes: 0 additions & 3 deletions packages/google-cloud-dns/test/.eslintrc.yml

This file was deleted.

0 comments on commit 5003694

Please sign in to comment.