googleapis-common
Advanced tools
Comparing version 4.1.1 to 4.2.0
@@ -30,2 +30,5 @@ import { GaxiosOptions, GaxiosResponse } from 'gaxios'; | ||
} | ||
export interface StreamMethodOptions extends MethodOptions { | ||
responseType: 'stream'; | ||
} | ||
/** | ||
@@ -32,0 +35,0 @@ * An additional directive to add to the user agent header. |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getAPI = void 0; | ||
function getAPI(api, options, | ||
@@ -17,0 +18,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createAPIRequest = void 0; | ||
const google_auth_library_1 = require("google-auth-library"); | ||
@@ -17,0 +18,0 @@ const qs = require("qs"); |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AuthPlus = void 0; | ||
const google_auth_library_1 = require("google-auth-library"); | ||
@@ -17,0 +18,0 @@ class AuthPlus extends google_auth_library_1.GoogleAuth { |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Discovery = void 0; | ||
const fs = require("fs"); | ||
@@ -17,0 +18,0 @@ const google_auth_library_1 = require("google-auth-library"); |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Endpoint = void 0; | ||
const apirequest_1 = require("./apirequest"); | ||
@@ -17,0 +18,0 @@ class Endpoint { |
export { OAuth2Client, JWT, Compute, UserRefreshClient, DefaultTransporter, } from 'google-auth-library'; | ||
export { GaxiosPromise } from 'gaxios'; | ||
export { APIEndpoint, APIRequestContext, APIRequestParams, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions, ServiceOptions, } from './api'; | ||
export { APIEndpoint, APIRequestContext, APIRequestParams, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions, StreamMethodOptions, ServiceOptions, } from './api'; | ||
export { getAPI } from './apiIndex'; | ||
@@ -5,0 +5,0 @@ export { createAPIRequest } from './apirequest'; |
@@ -16,17 +16,17 @@ "use strict"; | ||
var google_auth_library_1 = require("google-auth-library"); | ||
exports.OAuth2Client = google_auth_library_1.OAuth2Client; | ||
exports.JWT = google_auth_library_1.JWT; | ||
exports.Compute = google_auth_library_1.Compute; | ||
exports.UserRefreshClient = google_auth_library_1.UserRefreshClient; | ||
exports.DefaultTransporter = google_auth_library_1.DefaultTransporter; | ||
Object.defineProperty(exports, "OAuth2Client", { enumerable: true, get: function () { return google_auth_library_1.OAuth2Client; } }); | ||
Object.defineProperty(exports, "JWT", { enumerable: true, get: function () { return google_auth_library_1.JWT; } }); | ||
Object.defineProperty(exports, "Compute", { enumerable: true, get: function () { return google_auth_library_1.Compute; } }); | ||
Object.defineProperty(exports, "UserRefreshClient", { enumerable: true, get: function () { return google_auth_library_1.UserRefreshClient; } }); | ||
Object.defineProperty(exports, "DefaultTransporter", { enumerable: true, get: function () { return google_auth_library_1.DefaultTransporter; } }); | ||
var apiIndex_1 = require("./apiIndex"); | ||
exports.getAPI = apiIndex_1.getAPI; | ||
Object.defineProperty(exports, "getAPI", { enumerable: true, get: function () { return apiIndex_1.getAPI; } }); | ||
var apirequest_1 = require("./apirequest"); | ||
exports.createAPIRequest = apirequest_1.createAPIRequest; | ||
Object.defineProperty(exports, "createAPIRequest", { enumerable: true, get: function () { return apirequest_1.createAPIRequest; } }); | ||
var authplus_1 = require("./authplus"); | ||
exports.AuthPlus = authplus_1.AuthPlus; | ||
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return authplus_1.AuthPlus; } }); | ||
var discovery_1 = require("./discovery"); | ||
exports.Discovery = discovery_1.Discovery; | ||
Object.defineProperty(exports, "Discovery", { enumerable: true, get: function () { return discovery_1.Discovery; } }); | ||
var endpoint_1 = require("./endpoint"); | ||
exports.Endpoint = endpoint_1.Endpoint; | ||
Object.defineProperty(exports, "Endpoint", { enumerable: true, get: function () { return endpoint_1.Endpoint; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isBrowser = void 0; | ||
function isBrowser() { | ||
@@ -17,0 +18,0 @@ return typeof window !== 'undefined'; |
@@ -7,2 +7,9 @@ # Changelog | ||
## [4.2.0](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v4.1.1...v4.2.0) (2020-05-26) | ||
### Features | ||
* add stream method options interface ([#283](https://www.github.com/googleapis/nodejs-googleapis-common/issues/283)) ([a455680](https://www.github.com/googleapis/nodejs-googleapis-common/commit/a4556800fbb39fb7a38733ad4e433d2b0cc7fcda)) | ||
### [4.1.1](https://www.github.com/googleapis/nodejs-googleapis-common/compare/v4.1.0...v4.1.1) (2020-05-04) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "googleapis-common", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "A common tooling library used by the googleapis npm module. You probably don't want to use this directly.", | ||
@@ -53,3 +53,3 @@ "repository": "googleapis/nodejs-googleapis-common", | ||
"@types/url-template": "^2.0.28", | ||
"@types/uuid": "^7.0.0", | ||
"@types/uuid": "^8.0.0", | ||
"c8": "^7.0.0", | ||
@@ -56,0 +56,0 @@ "codecov": "^3.5.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73182
1065