@googleapis/webfonts 0.2.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/webfonts-v0.3.2...webfonts-v1.0.0) (2022-10-28)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **build:** This release has breaking changes.
9
+
10
+ ### Features
11
+
12
+ * **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))
13
+
14
+ ## [0.3.2](https://github.com/googleapis/google-api-nodejs-client/compare/webfonts-v0.3.1...webfonts-v0.3.2) (2022-09-21)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **webfonts:** update the API ([7d2a810](https://github.com/googleapis/google-api-nodejs-client/commit/7d2a81007d382fa87486829e667d09c17c65669e))
20
+
21
+ ## [0.3.1](https://github.com/googleapis/google-api-nodejs-client/compare/webfonts-v0.3.0...webfonts-v0.3.1) (2022-06-21)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **webfonts:** update the API ([cb4805d](https://github.com/googleapis/google-api-nodejs-client/commit/cb4805dc0fb878ce40393e5cfd4871a541aea51d))
27
+
28
+ ## [0.3.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/webfonts-v0.2.0...webfonts-v0.3.0) (2021-09-14)
29
+
30
+
31
+ ### Features
32
+
33
+ * **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))
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **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))
39
+ * 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))
40
+ * **webfonts:** update the API ([8069f6f](https://www.github.com/googleapis/google-api-nodejs-client/commit/8069f6f1fd64b6988454b06f2792fc610c641a39))
41
+
3
42
  ## [0.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/webfonts-v0.1.0...webfonts-v0.2.0) (2021-03-18)
4
43
 
5
44
 
package/README.md CHANGED
@@ -7,37 +7,18 @@
7
7
  ## Installation
8
8
 
9
9
  ```sh
10
- $ npm install googleapis
10
+ $ npm install @googleapis/webfonts
11
11
  ```
12
12
 
13
13
  ## Usage
14
14
  All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
15
-
16
- ## Building a browser bundle
17
-
18
- This library can be used in a browser. To prepare a single file bundle, clone the
19
- [repository](https://github.com/googleapis/google-api-nodejs-client) and run
20
-
21
- ```sh
22
- $ cd src/apis/webfonts
23
- $ npm install
24
- $ npm run webpack
25
- ```
26
-
27
- The generated bundle will be written to `dist/webfonts.min.js`. Use it from your HTML file:
28
-
29
- ```html
30
- <script src="/path/to/webfonts.min.js"></script>
31
- <script>
32
- const { webfonts, auth } = Webfonts;
33
- </script>
34
- ```
15
+ Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/webfonts/classes/Webfonts.html).
35
16
 
36
17
  ## License
37
- 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).
18
+ 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).
38
19
 
39
20
  ## Contributing
40
- 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).
21
+ 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).
41
22
 
42
23
  ## Questions/problems?
43
24
  * Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
package/build/index.js CHANGED
@@ -12,19 +12,20 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AuthPlus = exports.webfonts_v1 = exports.auth = exports.webfonts = exports.VERSIONS = void 0;
15
16
  /*! THIS FILE IS AUTO-GENERATED */
16
17
  const googleapis_common_1 = require("googleapis-common");
17
18
  const v1_1 = require("./v1");
18
- exports.webfonts_v1 = v1_1.webfonts_v1;
19
+ Object.defineProperty(exports, "webfonts_v1", { enumerable: true, get: function () { return v1_1.webfonts_v1; } });
19
20
  exports.VERSIONS = {
20
21
  v1: v1_1.webfonts_v1.Webfonts,
21
22
  };
22
23
  function webfonts(versionOrOptions) {
23
- return googleapis_common_1.getAPI('webfonts', versionOrOptions, exports.VERSIONS, this);
24
+ return (0, googleapis_common_1.getAPI)('webfonts', versionOrOptions, exports.VERSIONS, this);
24
25
  }
25
26
  exports.webfonts = webfonts;
26
27
  const auth = new googleapis_common_1.AuthPlus();
27
28
  exports.auth = auth;
28
29
  var googleapis_common_2 = require("googleapis-common");
29
- exports.AuthPlus = googleapis_common_2.AuthPlus;
30
+ Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEA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  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.webfonts_v1 = void 0;
15
16
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
- /* eslint-disable @typescript-eslint/class-name-casing */
17
17
  /* eslint-disable @typescript-eslint/no-unused-vars */
18
18
  /* eslint-disable @typescript-eslint/no-empty-interface */
19
19
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -70,10 +70,10 @@ var webfonts_v1;
70
70
  context: this.context,
71
71
  };
72
72
  if (callback) {
73
- googleapis_common_1.createAPIRequest(parameters, callback);
73
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
74
74
  }
75
75
  else {
76
- return googleapis_common_1.createAPIRequest(parameters);
76
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
77
77
  }
78
78
  }
79
79
  }
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,WAAW,CAuR3B;AAvRD,WAAiB,WAAW;IAgE1B;;;;;;;;;;OAUG;IACH,MAAa,QAAQ;QAInB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,CAAC;KACF;IAZY,oBAAQ,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YACtE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,cAAc,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;oBAC7D,MAAM,EAAE,KAAK;iBACd,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAqB,UAAU,CAAC,CAAC;aACzD;QACH,CAAC;KACF;IAnIY,6BAAiB,oBAmI7B,CAAA;AAQH,CAAC,EAvRgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAuR3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/webfonts",
3
- "version": "0.2.0",
3
+ "version": "1.0.0",
4
4
  "description": "webfonts",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "url": "https://github.com/googleapis/google-api-nodejs-client.git"
19
19
  },
20
20
  "engines": {
21
- "node": ">=10.0.0"
21
+ "node": ">=12.0.0"
22
22
  },
23
23
  "scripts": {
24
24
  "fix": "gts fix",
@@ -28,15 +28,15 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^5.0.1"
31
+ "googleapis-common": "^6.0.3"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
35
35
  "@microsoft/api-extractor": "^7.8.10",
36
- "gts": "^2.0.0",
36
+ "gts": "^3.1.1",
37
37
  "null-loader": "^4.0.0",
38
- "ts-loader": "^8.0.0",
39
- "typescript": "~3.7.0",
38
+ "ts-loader": "^9.0.0",
39
+ "typescript": "~4.8.4",
40
40
  "webpack": "^5.0.0",
41
41
  "webpack-cli": "^4.0.0"
42
42
  }
package/v1.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  // limitations under the License.
13
13
 
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
- /* eslint-disable @typescript-eslint/class-name-casing */
16
15
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
16
  /* eslint-disable @typescript-eslint/no-empty-interface */
18
17
  /* eslint-disable @typescript-eslint/no-namespace */