@google-cloud/dns
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "@google-cloud/dns", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "Google Inc.", | ||
@@ -53,3 +53,3 @@ "description": "Google Cloud DNS Client Library for Node.js", | ||
"dependencies": { | ||
"@google-cloud/common": "^0.8.0", | ||
"@google-cloud/common": "^0.11.0", | ||
"arrify": "^1.0.0", | ||
@@ -63,7 +63,7 @@ "dns-zonefile": "0.1.18", | ||
"devDependencies": { | ||
"async": "^1.4.2", | ||
"async": "^2.1.4", | ||
"mocha": "^3.0.1", | ||
"node-uuid": "^1.4.3", | ||
"proxyquire": "^1.7.10", | ||
"tmp": "0.0.27" | ||
"tmp": "^0.0.31", | ||
"uuid": "^3.0.1" | ||
}, | ||
@@ -70,0 +70,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
# @google-cloud/dns | ||
# @google-cloud/dns ([Alpha][versioning]) | ||
> Google Cloud DNS Client Library for Node.js | ||
@@ -55,14 +55,8 @@ | ||
### On Google Compute Engine | ||
### On Google Cloud Platform | ||
If you are running this client on Google Compute Engine, we handle authentication for you with no configuration. You just need to make sure that when you [set up the GCE instance][gce-how-to], you add the correct scopes for the APIs you want to access. | ||
If you are running this client on Google Cloud Platform, we handle authentication for you with no configuration. You just need to make sure that when you [set up the GCE instance][gce-how-to], you add the correct scopes for the APIs you want to access. | ||
``` js | ||
// Authenticating on a global basis. | ||
var projectId = process.env.GCLOUD_PROJECT; // E.g. 'grape-spaceship-123' | ||
var dns = require('@google-cloud/dns')({ | ||
projectId: projectId | ||
}); | ||
var dns = require('@google-cloud/dns')(); | ||
// ...you're good to go! | ||
@@ -73,3 +67,3 @@ ``` | ||
If you are not running this client on Google Compute Engine, you need a Google Developers service account. To create a service account: | ||
If you are not running this client on Google Cloud Platform, you need a Google Developers service account. To create a service account: | ||
@@ -101,2 +95,3 @@ 1. Visit the [Google Developers Console][dev-console]. | ||
[versioning]: https://github.com/GoogleCloudPlatform/google-cloud-node#versioning | ||
[google-cloud]: https://github.com/GoogleCloudPlatform/google-cloud-node | ||
@@ -103,0 +98,0 @@ [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using |
Sorry, the diff of this file is not supported yet
61870
99
+ Added@google-cloud/common@0.11.0(transitive)
+ Addedlog-driver@1.2.7(transitive)
- Removed@google-cloud/common@0.8.1(transitive)
Updated@google-cloud/common@^0.11.0