Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

googleapis-common

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googleapis-common - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

4

build/src/api.d.ts
import { GaxiosOptions, GaxiosResponse } from 'gaxios';
import { OAuth2Client, GoogleAuth } from 'google-auth-library';
import { OAuth2Client, GoogleAuth, BaseExternalAccountClient } from 'google-auth-library';
import { Endpoint } from './endpoint';

@@ -24,3 +24,3 @@ export interface APIRequestParams<T = any> {

export interface GlobalOptions extends MethodOptions {
auth?: GoogleAuth | OAuth2Client | string;
auth?: GoogleAuth | OAuth2Client | BaseExternalAccountClient | string;
}

@@ -27,0 +27,0 @@ export interface MethodOptions extends GaxiosOptions {

@@ -1,2 +0,2 @@

import { Compute, GoogleAuth, GoogleAuthOptions, JWT, OAuth2Client, ProjectIdCallback, UserRefreshClient } from 'google-auth-library';
import { AwsClient, BaseExternalAccountClient, Compute, ExternalAccountClient, GoogleAuth, GoogleAuthOptions, IdentityPoolClient, JWT, OAuth2Client, ProjectIdCallback, UserRefreshClient } from 'google-auth-library';
export declare class AuthPlus extends GoogleAuth {

@@ -7,2 +7,5 @@ JWT: typeof JWT;

GoogleAuth: typeof GoogleAuth;
AwsClient: typeof AwsClient;
IdentityPoolClient: typeof IdentityPoolClient;
ExternalAccountClient: typeof ExternalAccountClient;
private _cachedAuth?;

@@ -13,3 +16,3 @@ /**

*/
getClient(options?: GoogleAuthOptions): Promise<Compute | JWT | UserRefreshClient>;
getClient(options?: GoogleAuthOptions): Promise<Compute | JWT | UserRefreshClient | BaseExternalAccountClient>;
/**

@@ -16,0 +19,0 @@ * Override getProjectId(), using the most recently configured

@@ -24,2 +24,5 @@ "use strict";

this.GoogleAuth = google_auth_library_1.GoogleAuth;
this.AwsClient = google_auth_library_1.AwsClient;
this.IdentityPoolClient = google_auth_library_1.IdentityPoolClient;
this.ExternalAccountClient = google_auth_library_1.ExternalAccountClient;
}

@@ -26,0 +29,0 @@ /**

@@ -1,2 +0,2 @@

export { OAuth2Client, JWT, Compute, UserRefreshClient, DefaultTransporter, GoogleAuth, } from 'google-auth-library';
export { OAuth2Client, JWT, Compute, UserRefreshClient, DefaultTransporter, GoogleAuth, ExternalAccountClient, BaseExternalAccountClient, IdentityPoolClient, AwsClient, } from 'google-auth-library';
export { GaxiosPromise } from 'gaxios';

@@ -3,0 +3,0 @@ export { APIEndpoint, APIRequestContext, APIRequestParams, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions, StreamMethodOptions, ServiceOptions, } from './api';

@@ -22,2 +22,6 @@ "use strict";

Object.defineProperty(exports, "GoogleAuth", { enumerable: true, get: function () { return google_auth_library_1.GoogleAuth; } });
Object.defineProperty(exports, "ExternalAccountClient", { enumerable: true, get: function () { return google_auth_library_1.ExternalAccountClient; } });
Object.defineProperty(exports, "BaseExternalAccountClient", { enumerable: true, get: function () { return google_auth_library_1.BaseExternalAccountClient; } });
Object.defineProperty(exports, "IdentityPoolClient", { enumerable: true, get: function () { return google_auth_library_1.IdentityPoolClient; } });
Object.defineProperty(exports, "AwsClient", { enumerable: true, get: function () { return google_auth_library_1.AwsClient; } });
var apiIndex_1 = require("./apiIndex");

@@ -24,0 +28,0 @@ Object.defineProperty(exports, "getAPI", { enumerable: true, get: function () { return apiIndex_1.getAPI; } });

@@ -7,2 +7,9 @@ # Changelog

### [5.0.1](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v5.0.0...v5.0.1) (2021-02-11)
### Bug Fixes
* update google-auth-library to v7.0.2 ([#364](https://www.github.com/googleapis/nodejs-googleapis-common/issues/364)) ([fd4eac7](https://www.github.com/googleapis/nodejs-googleapis-common/commit/fd4eac78c10a75dd5785ac00ad827d5078c598ac))
## [5.0.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v4.4.3...v5.0.0) (2021-01-08)

@@ -9,0 +16,0 @@

{
"name": "googleapis-common",
"version": "5.0.0",
"version": "5.0.1",
"description": "A common tooling library used by the googleapis npm module. You probably don't want to use this directly.",

@@ -41,3 +41,3 @@ "repository": "googleapis/nodejs-googleapis-common",

"gaxios": "^4.0.0",
"google-auth-library": "^6.0.0",
"google-auth-library": "^7.0.2",
"qs": "^6.7.0",

@@ -49,2 +49,4 @@ "url-template": "^2.0.8",

"@compodoc/compodoc": "^1.1.9",
"@microsoft/api-documenter": "^7.8.10",
"@microsoft/api-extractor": "^7.8.10",
"@types/execa": "^0.9.0",

@@ -68,3 +70,3 @@ "@types/extend": "^3.0.1",

"is-docker": "^2.0.0",
"karma": "^5.0.0",
"karma": "^6.0.0",
"karma-chrome-launcher": "^3.0.0",

@@ -83,4 +85,4 @@ "karma-coverage": "^2.0.0",

"null-loader": "^4.0.0",
"puppeteer": "^5.0.0",
"proxyquire": "^2.1.3",
"puppeteer": "^7.0.0",
"sinon": "^9.0.2",

@@ -91,5 +93,3 @@ "tmp": "^0.2.0",

"webpack": "^4.35.0",
"webpack-cli": "^4.0.0",
"@microsoft/api-documenter": "^7.8.10",
"@microsoft/api-extractor": "^7.8.10"
"webpack-cli": "^4.0.0"
},

@@ -96,0 +96,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc