@googleapis/webfonts 1.1.0 → 1.1.2

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.2](https://github.com/googleapis/google-api-nodejs-client/compare/webfonts-v1.1.1...webfonts-v1.1.2) (2023-08-25)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** update dependency googleapis-common to v7 ([9491ec1](https://github.com/googleapis/google-api-nodejs-client/commit/9491ec1cdc3c413e7d73edcfcd59cf5c28a7c855))
9
+
10
+ ## [1.1.1](https://github.com/googleapis/google-api-nodejs-client/compare/webfonts-v1.1.0...webfonts-v1.1.1) (2023-08-09)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **webfonts:** update the API ([f0a4421](https://github.com/googleapis/google-api-nodejs-client/commit/f0a44217601e0fb49d1f8627ea28035812830bb1))
16
+
3
17
  ## [1.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/webfonts-v1.0.0...webfonts-v1.1.0) (2023-05-02)
4
18
 
5
19
 
package/build/v1.d.ts CHANGED
@@ -153,55 +153,6 @@ export declare namespace webfonts_v1 {
153
153
  constructor(context: APIRequestContext);
154
154
  /**
155
155
  * Retrieves the list of fonts currently served by the Google Fonts Developer API.
156
- * @example
157
- * ```js
158
- * // Before running the sample:
159
- * // - Enable the API at:
160
- * // https://console.developers.google.com/apis/api/webfonts.googleapis.com
161
- * // - Login into gcloud by running:
162
- * // `$ gcloud auth application-default login`
163
- * // - Install the npm module by running:
164
- * // `$ npm install googleapis`
165
- *
166
- * const {google} = require('googleapis');
167
- * const webfonts = google.webfonts('v1');
168
- *
169
- * async function main() {
170
- * const auth = new google.auth.GoogleAuth({
171
- * // Scopes can be specified either as an array or as a single, space-delimited string.
172
- * scopes: [],
173
- * });
174
- *
175
- * // Acquire an auth client, and bind it to all future calls
176
- * const authClient = await auth.getClient();
177
- * google.options({auth: authClient});
178
- *
179
- * // Do the magic
180
- * const res = await webfonts.webfonts.list({
181
- * // Controls the font urls in `Webfont.files`, by default, static ttf fonts are sent.
182
- * capability: 'placeholder-value',
183
- * // Filters by Webfont.family, using literal match. If not set, returns all families
184
- * family: 'placeholder-value',
185
- * // Enables sorting of the list.
186
- * sort: 'placeholder-value',
187
- * // Filters by Webfont.subset, if subset is found in Webfont.subsets. If not set, returns all families.
188
- * subset: 'placeholder-value',
189
- * });
190
- * console.log(res.data);
191
- *
192
- * // Example response
193
- * // {
194
- * // "items": [],
195
- * // "kind": "my_kind"
196
- * // }
197
- * }
198
- *
199
- * main().catch(e => {
200
- * console.error(e);
201
- * throw e;
202
- * });
203
- *
204
- * ```
205
156
  *
206
157
  * @param params - Parameters for request
207
158
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
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,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,WAAW,CAkU3B;AAlUD,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,WAYpB,CAAA;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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;IAxFY,6BAAiB,oBAwF7B,CAAA;AAoBH,CAAC,EAjRgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAiR3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/webfonts",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "webfonts",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -28,12 +28,12 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^6.0.3"
31
+ "googleapis-common": "^7.0.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
35
35
  "@microsoft/api-extractor": "^7.8.10",
36
- "gts": "^3.1.1",
36
+ "gts": "^5.0.0",
37
37
  "null-loader": "^4.0.0",
38
38
  "ts-loader": "^9.0.0",
39
39
  "typescript": "~4.8.4",
package/v1.ts CHANGED
@@ -208,55 +208,6 @@ export namespace webfonts_v1 {
208
208
 
209
209
  /**
210
210
  * Retrieves the list of fonts currently served by the Google Fonts Developer API.
211
- * @example
212
- * ```js
213
- * // Before running the sample:
214
- * // - Enable the API at:
215
- * // https://console.developers.google.com/apis/api/webfonts.googleapis.com
216
- * // - Login into gcloud by running:
217
- * // `$ gcloud auth application-default login`
218
- * // - Install the npm module by running:
219
- * // `$ npm install googleapis`
220
- *
221
- * const {google} = require('googleapis');
222
- * const webfonts = google.webfonts('v1');
223
- *
224
- * async function main() {
225
- * const auth = new google.auth.GoogleAuth({
226
- * // Scopes can be specified either as an array or as a single, space-delimited string.
227
- * scopes: [],
228
- * });
229
- *
230
- * // Acquire an auth client, and bind it to all future calls
231
- * const authClient = await auth.getClient();
232
- * google.options({auth: authClient});
233
- *
234
- * // Do the magic
235
- * const res = await webfonts.webfonts.list({
236
- * // Controls the font urls in `Webfont.files`, by default, static ttf fonts are sent.
237
- * capability: 'placeholder-value',
238
- * // Filters by Webfont.family, using literal match. If not set, returns all families
239
- * family: 'placeholder-value',
240
- * // Enables sorting of the list.
241
- * sort: 'placeholder-value',
242
- * // Filters by Webfont.subset, if subset is found in Webfont.subsets. If not set, returns all families.
243
- * subset: 'placeholder-value',
244
- * });
245
- * console.log(res.data);
246
- *
247
- * // Example response
248
- * // {
249
- * // "items": [],
250
- * // "kind": "my_kind"
251
- * // }
252
- * }
253
- *
254
- * main().catch(e => {
255
- * console.error(e);
256
- * throw e;
257
- * });
258
- *
259
- * ```
260
211
  *
261
212
  * @param params - Parameters for request
262
213
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.