@googleapis/plus
Advanced tools
Comparing version
@@ -15,6 +15,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AuthPlus = exports.plus_v1 = exports.auth = exports.plus = exports.VERSIONS = void 0; | ||
/*! THIS FILE IS AUTO-GENERATED */ | ||
const googleapis_common_1 = require("googleapis-common"); | ||
const v1_1 = require("./v1"); | ||
exports.plus_v1 = v1_1.plus_v1; | ||
Object.defineProperty(exports, "plus_v1", { enumerable: true, get: function () { return v1_1.plus_v1; } }); | ||
exports.VERSIONS = { | ||
@@ -24,3 +25,3 @@ v1: v1_1.plus_v1.Plus, | ||
function plus(versionOrOptions) { | ||
return googleapis_common_1.getAPI('plus', versionOrOptions, exports.VERSIONS, this); | ||
return (0, googleapis_common_1.getAPI)('plus', versionOrOptions, exports.VERSIONS, this); | ||
} | ||
@@ -31,3 +32,3 @@ exports.plus = plus; | ||
var googleapis_common_2 = require("googleapis-common"); | ||
exports.AuthPlus = googleapis_common_2.AuthPlus; | ||
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.plus_v1 = void 0; | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
@@ -80,6 +81,6 @@ /* eslint-disable @typescript-eslint/class-name-casing */ | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -111,6 +112,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -143,6 +144,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -180,6 +181,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -211,6 +212,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -248,6 +249,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -279,6 +280,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -311,6 +312,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -342,6 +343,6 @@ } | ||
if (callback) { | ||
googleapis_common_1.createAPIRequest(parameters, callback); | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return googleapis_common_1.createAPIRequest(parameters); | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
@@ -348,0 +349,0 @@ } |
# Changelog | ||
## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/plus-v0.3.1...plus-v1.0.0) (2022-10-28) | ||
### ⚠ BREAKING CHANGES | ||
* **build:** This release has breaking changes. | ||
### Features | ||
* **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e)) | ||
## [0.3.1](https://github.com/googleapis/google-api-nodejs-client/compare/plus-v0.3.0...plus-v0.3.1) (2022-09-21) | ||
### Bug Fixes | ||
* **plus:** update the API ([4acc611](https://github.com/googleapis/google-api-nodejs-client/commit/4acc611c2bc0230a73dd0c5d837adf26c740a61b)) | ||
## [0.3.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/plus-v0.2.0...plus-v0.3.0) (2021-09-14) | ||
### Features | ||
* **auth:** adds support workload identity federation ([#2517](https://www.github.com/googleapis/google-api-nodejs-client/issues/2517)) ([a10707c](https://www.github.com/googleapis/google-api-nodejs-client/commit/a10707c477759e7c9ef6360a2fe800856fb600c1)) | ||
### Bug Fixes | ||
* **deps:** update dependency googleapis-common to v5 ([#2497](https://www.github.com/googleapis/google-api-nodejs-client/issues/2497)) ([fec087a](https://www.github.com/googleapis/google-api-nodejs-client/commit/fec087abcf3d994dd41c3ffa0a0c12b1f9f09dae)) | ||
* **plus:** update the API ([62419f1](https://www.github.com/googleapis/google-api-nodejs-client/commit/62419f1bc7c8ac3d7bccc2d922917f6caf0f2055)) | ||
* upgrade webpack from 4 to 5 ([#2524](https://www.github.com/googleapis/google-api-nodejs-client/issues/2524)) ([ecfd8bf](https://www.github.com/googleapis/google-api-nodejs-client/commit/ecfd8bfcd06e1beabff7ec9a8c4000222379eb8d)) | ||
## [0.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/plus-v0.1.0...plus-v0.2.0) (2021-03-18) | ||
@@ -4,0 +36,0 @@ |
{ | ||
"name": "@googleapis/plus", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "plus", | ||
@@ -21,3 +21,3 @@ "main": "build/index.js", | ||
"engines": { | ||
"node": ">=10.0.0" | ||
"node": ">=12.0.0" | ||
}, | ||
@@ -32,3 +32,3 @@ "scripts": { | ||
"dependencies": { | ||
"googleapis-common": "^5.0.1" | ||
"googleapis-common": "^6.0.3" | ||
}, | ||
@@ -38,6 +38,6 @@ "devDependencies": { | ||
"@microsoft/api-extractor": "^7.8.10", | ||
"gts": "^2.0.0", | ||
"gts": "^3.1.1", | ||
"null-loader": "^4.0.0", | ||
"ts-loader": "^8.0.0", | ||
"typescript": "~3.7.0", | ||
"ts-loader": "^9.0.0", | ||
"typescript": "~4.8.4", | ||
"webpack": "^5.0.0", | ||
@@ -44,0 +44,0 @@ "webpack-cli": "^4.0.0" |
@@ -10,3 +10,3 @@ <img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/> | ||
```sh | ||
$ npm install googleapis | ||
$ npm install @googleapis/plus | ||
``` | ||
@@ -16,28 +16,9 @@ | ||
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client). | ||
Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/plus/classes/Plus.html). | ||
## Building a browser bundle | ||
This library can be used in a browser. To prepare a single file bundle, clone the | ||
[repository](https://github.com/googleapis/google-api-nodejs-client) and run | ||
```sh | ||
$ cd src/apis/plus | ||
$ npm install | ||
$ npm run webpack | ||
``` | ||
The generated bundle will be written to `dist/plus.min.js`. Use it from your HTML file: | ||
```html | ||
<script src="/path/to/plus.min.js"></script> | ||
<script> | ||
const { plus, auth } = Plus; | ||
</script> | ||
``` | ||
## License | ||
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/master/LICENSE). | ||
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE). | ||
## Contributing | ||
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). | ||
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md). | ||
@@ -44,0 +25,0 @@ ## Questions/problems? |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
175827
1.12%4065
0.05%0
-100%29
-39.58%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated