@googlemaps/routing 1.0.1 → 1.0.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,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.2](https://github.com/googleapis/google-cloud-node/compare/routing-v1.0.1...routing-v1.0.2) (2024-01-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* [Many APIs] improve retry logic for streaming API calls ([#4969](https://github.com/googleapis/google-cloud-node/issues/4969)) ([70fe30a](https://github.com/googleapis/google-cloud-node/commit/70fe30af077ab6042822d62d31ca740dd5df55dd))
|
|
9
|
+
|
|
3
10
|
## [1.0.1](https://github.com/googleapis/google-cloud-node/compare/routing-v1.0.0...routing-v1.0.1) (2023-09-06)
|
|
4
11
|
|
|
5
12
|
|
package/build/protos/protos.d.ts
CHANGED
package/build/protos/protos.js
CHANGED
package/build/src/index.js
CHANGED
package/build/src/v2/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2024 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.
|
|
@@ -137,7 +137,8 @@ class RoutesClient {
|
|
|
137
137
|
// Some of the methods on this service provide streaming responses.
|
|
138
138
|
// Provide descriptors for these.
|
|
139
139
|
this.descriptors.stream = {
|
|
140
|
-
computeRouteMatrix: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback
|
|
140
|
+
computeRouteMatrix: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback,
|
|
141
|
+
/* gaxStreamingRetries: */ true),
|
|
141
142
|
};
|
|
142
143
|
// Put together the default options sent with requests.
|
|
143
144
|
this._defaults = this._gaxGrpc.constructSettings('google.maps.routing.v2.Routes', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googlemaps/routing",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": " client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"docs-test": "linkinator docs",
|
|
39
39
|
"fix": "gts fix",
|
|
40
40
|
"lint": "gts check",
|
|
41
|
-
"prepare": "npm run compile
|
|
41
|
+
"prepare": "npm run compile",
|
|
42
42
|
"prelint": "cd samples; npm link ../; npm i",
|
|
43
43
|
"postpack": "minifyProtoJson",
|
|
44
44
|
"samples-test": "cd samples/ && npm link ../ && npm i && npm test",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/mocha": "^9.0.0",
|
|
53
53
|
"@types/node": "^20.4.5",
|
|
54
|
-
"@types/sinon": "^
|
|
54
|
+
"@types/sinon": "^17.0.0",
|
|
55
55
|
"c8": "^8.0.1",
|
|
56
|
-
"gapic-tools": "^0.
|
|
56
|
+
"gapic-tools": "^0.3.0",
|
|
57
57
|
"gts": "^5.0.0",
|
|
58
58
|
"jsdoc": "^4.0.0",
|
|
59
59
|
"jsdoc-fresh": "^3.0.0",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"linkinator": "4.1.2",
|
|
62
62
|
"long": "^5.2.3",
|
|
63
63
|
"mocha": "^9.2.2",
|
|
64
|
-
"pack-n-play": "^
|
|
65
|
-
"sinon": "^
|
|
64
|
+
"pack-n-play": "^2.0.0",
|
|
65
|
+
"sinon": "^17.0.0",
|
|
66
66
|
"typescript": "^5.1.6"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|