@googlemaps/routing 0.2.1 → 0.3.1

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.
@@ -701,6 +701,13 @@
701
701
  "type": "bool",
702
702
  "id": 7
703
703
  },
704
+ "deprecatedLegacyJsonFieldConflicts": {
705
+ "type": "bool",
706
+ "id": 11,
707
+ "options": {
708
+ "deprecated": true
709
+ }
710
+ },
704
711
  "uninterpretedOption": {
705
712
  "rule": "repeated",
706
713
  "type": "UninterpretedOption",
@@ -784,6 +791,21 @@
784
791
  "default": false
785
792
  }
786
793
  },
794
+ "debugRedact": {
795
+ "type": "bool",
796
+ "id": 16,
797
+ "options": {
798
+ "default": false
799
+ }
800
+ },
801
+ "retention": {
802
+ "type": "OptionRetention",
803
+ "id": 17
804
+ },
805
+ "target": {
806
+ "type": "OptionTargetType",
807
+ "id": 18
808
+ },
787
809
  "uninterpretedOption": {
788
810
  "rule": "repeated",
789
811
  "type": "UninterpretedOption",
@@ -816,6 +838,27 @@
816
838
  "JS_STRING": 1,
817
839
  "JS_NUMBER": 2
818
840
  }
841
+ },
842
+ "OptionRetention": {
843
+ "values": {
844
+ "RETENTION_UNKNOWN": 0,
845
+ "RETENTION_RUNTIME": 1,
846
+ "RETENTION_SOURCE": 2
847
+ }
848
+ },
849
+ "OptionTargetType": {
850
+ "values": {
851
+ "TARGET_TYPE_UNKNOWN": 0,
852
+ "TARGET_TYPE_FILE": 1,
853
+ "TARGET_TYPE_EXTENSION_RANGE": 2,
854
+ "TARGET_TYPE_MESSAGE": 3,
855
+ "TARGET_TYPE_FIELD": 4,
856
+ "TARGET_TYPE_ONEOF": 5,
857
+ "TARGET_TYPE_ENUM": 6,
858
+ "TARGET_TYPE_ENUM_ENTRY": 7,
859
+ "TARGET_TYPE_SERVICE": 8,
860
+ "TARGET_TYPE_METHOD": 9
861
+ }
819
862
  }
820
863
  }
821
864
  },
@@ -847,6 +890,13 @@
847
890
  "default": false
848
891
  }
849
892
  },
893
+ "deprecatedLegacyJsonFieldConflicts": {
894
+ "type": "bool",
895
+ "id": 6,
896
+ "options": {
897
+ "deprecated": true
898
+ }
899
+ },
850
900
  "uninterpretedOption": {
851
901
  "rule": "repeated",
852
902
  "type": "UninterpretedOption",
@@ -1802,6 +1852,14 @@
1802
1852
  "options": {
1803
1853
  "(google.api.field_behavior)": "OPTIONAL"
1804
1854
  }
1855
+ },
1856
+ "extraComputations": {
1857
+ "rule": "repeated",
1858
+ "type": "ExtraComputation",
1859
+ "id": 15,
1860
+ "options": {
1861
+ "(google.api.field_behavior)": "OPTIONAL"
1862
+ }
1805
1863
  }
1806
1864
  },
1807
1865
  "nested": {
@@ -1810,6 +1868,14 @@
1810
1868
  "REFERENCE_ROUTE_UNSPECIFIED": 0,
1811
1869
  "FUEL_EFFICIENT": 1
1812
1870
  }
1871
+ },
1872
+ "ExtraComputation": {
1873
+ "values": {
1874
+ "EXTRA_COMPUTATION_UNSPECIFIED": 0,
1875
+ "TOLLS": 1,
1876
+ "FUEL_CONSUMPTION": 2,
1877
+ "TRAFFIC_ON_POLYLINE": 3
1878
+ }
1813
1879
  }
1814
1880
  }
1815
1881
  },
@@ -1864,6 +1930,22 @@
1864
1930
  "options": {
1865
1931
  "(google.api.field_behavior)": "OPTIONAL"
1866
1932
  }
1933
+ },
1934
+ "extraComputations": {
1935
+ "rule": "repeated",
1936
+ "type": "ExtraComputation",
1937
+ "id": 8,
1938
+ "options": {
1939
+ "(google.api.field_behavior)": "OPTIONAL"
1940
+ }
1941
+ }
1942
+ },
1943
+ "nested": {
1944
+ "ExtraComputation": {
1945
+ "values": {
1946
+ "EXTRA_COMPUTATION_UNSPECIFIED": 0,
1947
+ "TOLLS": 1
1948
+ }
1867
1949
  }
1868
1950
  }
1869
1951
  },
@@ -2127,6 +2209,248 @@
2127
2209
  "id": 1050,
2128
2210
  "extend": "google.protobuf.ServiceOptions"
2129
2211
  },
2212
+ "CommonLanguageSettings": {
2213
+ "fields": {
2214
+ "referenceDocsUri": {
2215
+ "type": "string",
2216
+ "id": 1,
2217
+ "options": {
2218
+ "deprecated": true
2219
+ }
2220
+ },
2221
+ "destinations": {
2222
+ "rule": "repeated",
2223
+ "type": "ClientLibraryDestination",
2224
+ "id": 2
2225
+ }
2226
+ }
2227
+ },
2228
+ "ClientLibrarySettings": {
2229
+ "fields": {
2230
+ "version": {
2231
+ "type": "string",
2232
+ "id": 1
2233
+ },
2234
+ "launchStage": {
2235
+ "type": "LaunchStage",
2236
+ "id": 2
2237
+ },
2238
+ "restNumericEnums": {
2239
+ "type": "bool",
2240
+ "id": 3
2241
+ },
2242
+ "javaSettings": {
2243
+ "type": "JavaSettings",
2244
+ "id": 21
2245
+ },
2246
+ "cppSettings": {
2247
+ "type": "CppSettings",
2248
+ "id": 22
2249
+ },
2250
+ "phpSettings": {
2251
+ "type": "PhpSettings",
2252
+ "id": 23
2253
+ },
2254
+ "pythonSettings": {
2255
+ "type": "PythonSettings",
2256
+ "id": 24
2257
+ },
2258
+ "nodeSettings": {
2259
+ "type": "NodeSettings",
2260
+ "id": 25
2261
+ },
2262
+ "dotnetSettings": {
2263
+ "type": "DotnetSettings",
2264
+ "id": 26
2265
+ },
2266
+ "rubySettings": {
2267
+ "type": "RubySettings",
2268
+ "id": 27
2269
+ },
2270
+ "goSettings": {
2271
+ "type": "GoSettings",
2272
+ "id": 28
2273
+ }
2274
+ }
2275
+ },
2276
+ "Publishing": {
2277
+ "fields": {
2278
+ "methodSettings": {
2279
+ "rule": "repeated",
2280
+ "type": "MethodSettings",
2281
+ "id": 2
2282
+ },
2283
+ "newIssueUri": {
2284
+ "type": "string",
2285
+ "id": 101
2286
+ },
2287
+ "documentationUri": {
2288
+ "type": "string",
2289
+ "id": 102
2290
+ },
2291
+ "apiShortName": {
2292
+ "type": "string",
2293
+ "id": 103
2294
+ },
2295
+ "githubLabel": {
2296
+ "type": "string",
2297
+ "id": 104
2298
+ },
2299
+ "codeownerGithubTeams": {
2300
+ "rule": "repeated",
2301
+ "type": "string",
2302
+ "id": 105
2303
+ },
2304
+ "docTagPrefix": {
2305
+ "type": "string",
2306
+ "id": 106
2307
+ },
2308
+ "organization": {
2309
+ "type": "ClientLibraryOrganization",
2310
+ "id": 107
2311
+ },
2312
+ "librarySettings": {
2313
+ "rule": "repeated",
2314
+ "type": "ClientLibrarySettings",
2315
+ "id": 109
2316
+ }
2317
+ }
2318
+ },
2319
+ "JavaSettings": {
2320
+ "fields": {
2321
+ "libraryPackage": {
2322
+ "type": "string",
2323
+ "id": 1
2324
+ },
2325
+ "serviceClassNames": {
2326
+ "keyType": "string",
2327
+ "type": "string",
2328
+ "id": 2
2329
+ },
2330
+ "common": {
2331
+ "type": "CommonLanguageSettings",
2332
+ "id": 3
2333
+ }
2334
+ }
2335
+ },
2336
+ "CppSettings": {
2337
+ "fields": {
2338
+ "common": {
2339
+ "type": "CommonLanguageSettings",
2340
+ "id": 1
2341
+ }
2342
+ }
2343
+ },
2344
+ "PhpSettings": {
2345
+ "fields": {
2346
+ "common": {
2347
+ "type": "CommonLanguageSettings",
2348
+ "id": 1
2349
+ }
2350
+ }
2351
+ },
2352
+ "PythonSettings": {
2353
+ "fields": {
2354
+ "common": {
2355
+ "type": "CommonLanguageSettings",
2356
+ "id": 1
2357
+ }
2358
+ }
2359
+ },
2360
+ "NodeSettings": {
2361
+ "fields": {
2362
+ "common": {
2363
+ "type": "CommonLanguageSettings",
2364
+ "id": 1
2365
+ }
2366
+ }
2367
+ },
2368
+ "DotnetSettings": {
2369
+ "fields": {
2370
+ "common": {
2371
+ "type": "CommonLanguageSettings",
2372
+ "id": 1
2373
+ }
2374
+ }
2375
+ },
2376
+ "RubySettings": {
2377
+ "fields": {
2378
+ "common": {
2379
+ "type": "CommonLanguageSettings",
2380
+ "id": 1
2381
+ }
2382
+ }
2383
+ },
2384
+ "GoSettings": {
2385
+ "fields": {
2386
+ "common": {
2387
+ "type": "CommonLanguageSettings",
2388
+ "id": 1
2389
+ }
2390
+ }
2391
+ },
2392
+ "MethodSettings": {
2393
+ "fields": {
2394
+ "selector": {
2395
+ "type": "string",
2396
+ "id": 1
2397
+ },
2398
+ "longRunning": {
2399
+ "type": "LongRunning",
2400
+ "id": 2
2401
+ }
2402
+ },
2403
+ "nested": {
2404
+ "LongRunning": {
2405
+ "fields": {
2406
+ "initialPollDelay": {
2407
+ "type": "google.protobuf.Duration",
2408
+ "id": 1
2409
+ },
2410
+ "pollDelayMultiplier": {
2411
+ "type": "float",
2412
+ "id": 2
2413
+ },
2414
+ "maxPollDelay": {
2415
+ "type": "google.protobuf.Duration",
2416
+ "id": 3
2417
+ },
2418
+ "totalPollTimeout": {
2419
+ "type": "google.protobuf.Duration",
2420
+ "id": 4
2421
+ }
2422
+ }
2423
+ }
2424
+ }
2425
+ },
2426
+ "ClientLibraryOrganization": {
2427
+ "values": {
2428
+ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED": 0,
2429
+ "CLOUD": 1,
2430
+ "ADS": 2,
2431
+ "PHOTOS": 3,
2432
+ "STREET_VIEW": 4
2433
+ }
2434
+ },
2435
+ "ClientLibraryDestination": {
2436
+ "values": {
2437
+ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED": 0,
2438
+ "GITHUB": 10,
2439
+ "PACKAGE_MANAGER": 20
2440
+ }
2441
+ },
2442
+ "LaunchStage": {
2443
+ "values": {
2444
+ "LAUNCH_STAGE_UNSPECIFIED": 0,
2445
+ "UNIMPLEMENTED": 6,
2446
+ "PRELAUNCH": 7,
2447
+ "EARLY_ACCESS": 1,
2448
+ "ALPHA": 2,
2449
+ "BETA": 3,
2450
+ "GA": 4,
2451
+ "DEPRECATED": 5
2452
+ }
2453
+ },
2130
2454
  "fieldBehavior": {
2131
2455
  "rule": "repeated",
2132
2456
  "type": "google.api.FieldBehavior",
@@ -1,6 +1,6 @@
1
1
  import * as v2 from './v2';
2
2
  declare const RoutesClient: typeof v2.RoutesClient;
3
- declare type RoutesClient = v2.RoutesClient;
3
+ type RoutesClient = v2.RoutesClient;
4
4
  export { v2, RoutesClient };
5
5
  declare const _default: {
6
6
  v2: typeof v2;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2022 Google LLC
2
+ // Copyright 2023 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2022 Google LLC
2
+ // Copyright 2023 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -155,10 +155,8 @@ export declare class RoutesClient {
155
155
  * Optional. Specifies how to compute the route. The server
156
156
  * attempts to use the selected routing preference to compute the route. If
157
157
  * the routing preference results in an error or an extra long latency, then
158
- * an error is returned. In the future, we might implement a fallback
159
- * mechanism to use a different option when the preferred option does not give
160
- * a valid result. You can specify this option only when the `travel_mode` is
161
- * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
158
+ * an error is returned. You can specify this option only when the
159
+ * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
162
160
  * @param {google.maps.routing.v2.PolylineQuality} [request.polylineQuality]
163
161
  * Optional. Specifies your preference for the quality of the polyline.
164
162
  * @param {google.maps.routing.v2.PolylineEncoding} [request.polylineEncoding]
@@ -168,7 +166,8 @@ export declare class RoutesClient {
168
166
  * defaults to the time that you made the request. If you set this value to a
169
167
  * time that has already occurred, then the request fails.
170
168
  * @param {boolean} [request.computeAlternativeRoutes]
171
- * Optional. Specifies whether to calculate alternate routes in addition to the route.
169
+ * Optional. Specifies whether to calculate alternate routes in addition to
170
+ * the route.
172
171
  * @param {google.maps.routing.v2.RouteModifiers} [request.routeModifiers]
173
172
  * Optional. A set of conditions to satisfy that affect the way routes are
174
173
  * calculated.
@@ -186,16 +185,20 @@ export declare class RoutesClient {
186
185
  * affected by this value. If you don't provide this value, then the display
187
186
  * units are inferred from the location of the request.
188
187
  * @param {number[]} [request.requestedReferenceRoutes]
189
- * Optional. Specifies what reference routes to calculate as part of the request in
190
- * addition to the default route.
191
- * A reference route is a route with a different route calculation objective
192
- * than the default route. For example an FUEL_EFFICIENT reference route
193
- * calculation takes into account various parameters that would generate an
194
- * optimal fuel efficient route.
188
+ * Optional. Specifies what reference routes to calculate as part of the
189
+ * request in addition to the default route. A reference route is a route with
190
+ * a different route calculation objective than the default route. For example
191
+ * an FUEL_EFFICIENT reference route calculation takes into account various
192
+ * parameters that would generate an optimal fuel efficient route.
193
+ * @param {number[]} [request.extraComputations]
194
+ * Optional. A list of extra computations which may be used to complete the
195
+ * request. Note: These extra computations may return extra fields on the
196
+ * response. These extra fields must also be specified in the field mask to be
197
+ * returned in the response.
195
198
  * @param {object} [options]
196
199
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
197
200
  * @returns {Promise} - The promise which resolves to an array.
198
- * The first element of the array is an object representing [ComputeRoutesResponse]{@link google.maps.routing.v2.ComputeRoutesResponse}.
201
+ * The first element of the array is an object representing {@link google.maps.routing.v2.ComputeRoutesResponse | ComputeRoutesResponse}.
199
202
  * Please see the
200
203
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
201
204
  * for more details and examples.
@@ -249,8 +252,8 @@ export declare class RoutesClient {
249
252
  * @param {Object} request
250
253
  * The request object that will be sent.
251
254
  * @param {number[]} request.origins
252
- * Required. Array of origins, which determines the rows of the response matrix.
253
- * Several size restrictions apply to the cardinality of origins and
255
+ * Required. Array of origins, which determines the rows of the response
256
+ * matrix. Several size restrictions apply to the cardinality of origins and
254
257
  * destinations:
255
258
  *
256
259
  * * The number of elements (origins × destinations) must be no greater than
@@ -260,25 +263,29 @@ export declare class RoutesClient {
260
263
  * * The number of waypoints (origins + destinations) specified as `place_id`
261
264
  * must be no greater than 50.
262
265
  * @param {number[]} request.destinations
263
- * Required. Array of destinations, which determines the columns of the response matrix.
266
+ * Required. Array of destinations, which determines the columns of the
267
+ * response matrix.
264
268
  * @param {google.maps.routing.v2.RouteTravelMode} [request.travelMode]
265
269
  * Optional. Specifies the mode of transportation.
266
270
  * @param {google.maps.routing.v2.RoutingPreference} [request.routingPreference]
267
- * Optional. Specifies how to compute the route. The server attempts to use the selected
268
- * routing preference to compute the route. If the routing preference results
269
- * in an error or an extra long latency, an error is returned. In the future,
270
- * we might implement a fallback mechanism to use a different option when the
271
- * preferred option does not give a valid result. You can specify this option
272
- * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
273
- * request fails.
271
+ * Optional. Specifies how to compute the route. The server attempts to use
272
+ * the selected routing preference to compute the route. If the routing
273
+ * preference results in an error or an extra long latency, an error is
274
+ * returned. You can specify this option only when the `travel_mode` is
275
+ * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
274
276
  * @param {google.protobuf.Timestamp} [request.departureTime]
275
- * Optional. The departure time. If you don't set this value, this defaults to the time
276
- * that you made the request. If you set this value to a time that has already
277
- * occurred, the request fails.
277
+ * Optional. The departure time. If you don't set this value, this defaults to
278
+ * the time that you made the request. If you set this value to a time that
279
+ * has already occurred, the request fails.
280
+ * @param {number[]} [request.extraComputations]
281
+ * Optional. A list of extra computations which may be used to complete the
282
+ * request. Note: These extra computations may return extra fields on the
283
+ * response. These extra fields must also be specified in the field mask to be
284
+ * returned in the response.
278
285
  * @param {object} [options]
279
286
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
280
287
  * @returns {Stream}
281
- * An object stream which emits [RouteMatrixElement]{@link google.maps.routing.v2.RouteMatrixElement} on 'data' event.
288
+ * An object stream which emits {@link google.maps.routing.v2.RouteMatrixElement | RouteMatrixElement} on 'data' event.
282
289
  * Please see the
283
290
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
284
291
  * for more details and examples.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2022 Google LLC
2
+ // Copyright 2023 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -90,6 +90,8 @@ class RoutesClient {
90
90
  const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};
91
91
  const fallback = (_b = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _b !== void 0 ? _b : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
92
92
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
93
+ // Request numeric enum values if REST transport is used.
94
+ opts.numericEnums = true;
93
95
  // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
94
96
  if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
95
97
  opts['scopes'] = staticMembers.scopes;
@@ -292,8 +294,8 @@ class RoutesClient {
292
294
  * @param {Object} request
293
295
  * The request object that will be sent.
294
296
  * @param {number[]} request.origins
295
- * Required. Array of origins, which determines the rows of the response matrix.
296
- * Several size restrictions apply to the cardinality of origins and
297
+ * Required. Array of origins, which determines the rows of the response
298
+ * matrix. Several size restrictions apply to the cardinality of origins and
297
299
  * destinations:
298
300
  *
299
301
  * * The number of elements (origins × destinations) must be no greater than
@@ -303,25 +305,29 @@ class RoutesClient {
303
305
  * * The number of waypoints (origins + destinations) specified as `place_id`
304
306
  * must be no greater than 50.
305
307
  * @param {number[]} request.destinations
306
- * Required. Array of destinations, which determines the columns of the response matrix.
308
+ * Required. Array of destinations, which determines the columns of the
309
+ * response matrix.
307
310
  * @param {google.maps.routing.v2.RouteTravelMode} [request.travelMode]
308
311
  * Optional. Specifies the mode of transportation.
309
312
  * @param {google.maps.routing.v2.RoutingPreference} [request.routingPreference]
310
- * Optional. Specifies how to compute the route. The server attempts to use the selected
311
- * routing preference to compute the route. If the routing preference results
312
- * in an error or an extra long latency, an error is returned. In the future,
313
- * we might implement a fallback mechanism to use a different option when the
314
- * preferred option does not give a valid result. You can specify this option
315
- * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
316
- * request fails.
313
+ * Optional. Specifies how to compute the route. The server attempts to use
314
+ * the selected routing preference to compute the route. If the routing
315
+ * preference results in an error or an extra long latency, an error is
316
+ * returned. You can specify this option only when the `travel_mode` is
317
+ * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
317
318
  * @param {google.protobuf.Timestamp} [request.departureTime]
318
- * Optional. The departure time. If you don't set this value, this defaults to the time
319
- * that you made the request. If you set this value to a time that has already
320
- * occurred, the request fails.
319
+ * Optional. The departure time. If you don't set this value, this defaults to
320
+ * the time that you made the request. If you set this value to a time that
321
+ * has already occurred, the request fails.
322
+ * @param {number[]} [request.extraComputations]
323
+ * Optional. A list of extra computations which may be used to complete the
324
+ * request. Note: These extra computations may return extra fields on the
325
+ * response. These extra fields must also be specified in the field mask to be
326
+ * returned in the response.
321
327
  * @param {object} [options]
322
328
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
323
329
  * @returns {Stream}
324
- * An object stream which emits [RouteMatrixElement]{@link google.maps.routing.v2.RouteMatrixElement} on 'data' event.
330
+ * An object stream which emits {@link google.maps.routing.v2.RouteMatrixElement | RouteMatrixElement} on 'data' event.
325
331
  * Please see the
326
332
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
327
333
  * for more details and examples.
@@ -1 +1 @@
1
- {"version":3,"file":"routes_client.js","sourceRoot":"","sources":["../../../src/v2/routes_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAU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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+EG;IACH,kBAAkB,CAChB,OAAkE,EAClE,OAAqB;QAErB,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;QACxB,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;QACxB,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC;QAC5C,OAAO,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,IAAI,EAAE,CAAC;QAC5D,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACxC,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACjC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC,CAAC,CAAC;SACJ;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AA/iBD,oCA+iBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googlemaps/routing",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "description": " client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/mocha": "^9.0.0",
51
- "@types/node": "^16.0.0",
51
+ "@types/node": "^18.0.0",
52
52
  "@types/sinon": "^10.0.0",
53
53
  "c8": "^7.3.5",
54
54
  "gts": "^3.1.0",
@@ -59,11 +59,11 @@
59
59
  "mocha": "^9.2.2",
60
60
  "null-loader": "^4.0.1",
61
61
  "pack-n-play": "^1.0.0-2",
62
- "sinon": "^14.0.0",
62
+ "sinon": "^15.0.0",
63
63
  "ts-loader": "^9.0.0",
64
64
  "typescript": "^4.6.4",
65
65
  "webpack": "^5.9.0",
66
- "webpack-cli": "^4.2.0"
66
+ "webpack-cli": "^5.0.0"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=12.0.0"