mirror of https://github.com/grpc/grpc-node.git
Fixed import of google-auth-library
This commit is contained in:
parent
87f5366b9d
commit
00588c6bb5
|
@ -35,7 +35,7 @@
|
|||
|
||||
var async = require('async');
|
||||
var fs = require('fs');
|
||||
var GoogleAuth = require('googleauth');
|
||||
var GoogleAuth = require('google-auth-library');
|
||||
var parseArgs = require('minimist');
|
||||
var strftime = require('strftime');
|
||||
var _ = require('underscore');
|
||||
|
|
2
index.js
2
index.js
|
@ -78,7 +78,7 @@ function load(filename) {
|
|||
/**
|
||||
* Get a function that a client can use to update metadata with authentication
|
||||
* information from a Google Auth credential object, which comes from the
|
||||
* googleauth library.
|
||||
* google-auth-library.
|
||||
* @param {Object} credential The credential object to use
|
||||
* @return {function(Object, callback)} Metadata updater function
|
||||
*/
|
||||
|
|
|
@ -37,7 +37,7 @@ var fs = require('fs');
|
|||
var path = require('path');
|
||||
var grpc = require('..');
|
||||
var testProto = grpc.load(__dirname + '/test.proto').grpc.testing;
|
||||
var GoogleAuth = require('googleauth');
|
||||
var GoogleAuth = require('google-auth-library');
|
||||
|
||||
var assert = require('assert');
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"async": "^0.9.0",
|
||||
"googleauth": "google/google-auth-library-nodejs",
|
||||
"google-auth-library": "^0.9.2",
|
||||
"minimist": "^1.1.0",
|
||||
"mocha": "~1.21.0",
|
||||
"strftime": "^0.8.2"
|
||||
|
|
Loading…
Reference in New Issue