@vtex/api 6.45.20 → 6.45.21-beta.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
|
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [6.45.21-beta.0] - 2023-09-04
|
|
11
|
+
|
|
12
|
+
## [6.45.21-beta] - 2023-09-04
|
|
13
|
+
|
|
10
14
|
## [6.45.20] - 2023-08-30
|
|
11
15
|
### Changed
|
|
12
16
|
- Remove sampling decision from runtime
|
|
@@ -1776,10 +1780,12 @@ instead
|
|
|
1776
1780
|
- `HttpClient` now adds `'Accept-Encoding': 'gzip'` header by default.
|
|
1777
1781
|
|
|
1778
1782
|
|
|
1779
|
-
[Unreleased]: https://github.com/vtex/node-vtex-api/compare/v6.45.
|
|
1783
|
+
[Unreleased]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta.0...HEAD
|
|
1780
1784
|
[6.45.15]: https://github.com/vtex/node-vtex-api/compare/v6.45.14...v6.45.15
|
|
1781
1785
|
[6.45.14]: https://github.com/vtex/node-vtex-api/compare/v6.45.13...v6.45.14
|
|
1782
1786
|
[6.45.13]: https://github.com/vtex/node-vtex-api/compare/v6.45.12...v6.45.13
|
|
1783
1787
|
|
|
1788
|
+
[6.45.21-beta.0]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta...v6.45.21-beta.0
|
|
1789
|
+
[6.45.21-beta]: https://github.com/vtex/node-vtex-api/compare/v6.45.20...v6.45.21-beta
|
|
1784
1790
|
[6.45.20]: https://github.com/vtex/node-vtex-api/compare/v6.45.20-beta...v6.45.20
|
|
1785
1791
|
[6.45.20-beta]: https://github.com/vtex/node-vtex-api/compare/v6.45.19...v6.45.20-beta
|
|
@@ -118,6 +118,10 @@ exports.traceUserLandRemainingPipelineMiddleware = () => {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
function shouldTrace(ctx, rootSpan) {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
var _a, _b, _c;
|
|
122
|
+
/** Should trace if path isnt blacklisted and sampling decision came from the edge
|
|
123
|
+
* ((rootSpan as any).isSampled. returns whether or not this span context was sampled
|
|
124
|
+
* There is a cast to bypass opentracing typescript
|
|
125
|
+
*/
|
|
126
|
+
return !PATHS_BLACKLISTED_FOR_TRACING.includes(ctx.request.path) && ((_c = (_b = (_a = rootSpan).isSampled) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : false);
|
|
123
127
|
}
|