File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 55
55
" client library"
56
56
],
57
57
"dependencies" : {
58
- "google-auth-library" : " ^10.0.0-rc.1 " ,
59
- "googleapis-common" : " ^8.0.2-rc. 0"
58
+ "google-auth-library" : " ^10.1.0 " ,
59
+ "googleapis-common" : " ^8.0.0"
60
60
},
61
61
"devDependencies" : {
62
62
"@types/execa" : " ^2.0.2" ,
73
73
"@types/url-template" : " ^2.0.28" ,
74
74
"@types/yargs-parser" : " ^21.0.3" ,
75
75
"c8" : " ^10.1.3" ,
76
- "cheerio" : " ^1.0.0" ,
77
76
"codecov" : " ^3.8.3" ,
78
77
"cross-env" : " ^7.0.3" ,
79
78
"execa" : " ^5.0.0" ,
80
- "gaxios" : " ^7.0.0-rc.5 " ,
79
+ "gaxios" : " ^7.1.0 " ,
81
80
"gts" : " ^6.0.2" ,
82
81
"js-green-licenses" : " ^4.0.0" ,
83
82
"jsdoc" : " ^4.0.4" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import * as nock from 'nock';
17
17
import { URL } from 'url' ;
18
18
import { GoogleApis } from '../src' ;
19
19
import { Utils } from './utils' ;
20
- import { GoogleAuth } from 'google-auth-library' ;
20
+ import { AuthClient , GoogleAuth } from 'google-auth-library' ;
21
21
import * as sinon from 'sinon' ;
22
22
import { GaxiosResponse } from 'gaxios' ;
23
23
import { JSONClient } from 'google-auth-library/build/src/auth/googleauth' ;
@@ -309,7 +309,7 @@ describe('Options', () => {
309
309
const auth = new GoogleAuth ( ) ;
310
310
const stub = sandbox . stub ( auth , 'request' ) . resolves ( { } as GaxiosResponse ) ;
311
311
// global options
312
- google . options ( { auth : auth as GoogleAuth < JSONClient > } ) ;
312
+ google . options ( { auth : auth as GoogleAuth < AuthClient > } ) ;
313
313
// per-API options
314
314
const drive = google . drive ( { version : 'v3' , auth} ) ;
315
315
// per-call options
You can’t perform that action at this time.
0 commit comments