@lark-apaas/client-toolkit 1.2.1-alpha.6 → 1.2.1-alpha.7

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.
@@ -139,7 +139,7 @@ function initAxiosConfig(axiosInstance) {
139
139
  const span = observable.startSpan(`${method} ${cleanedPath}`);
140
140
  if (span) {
141
141
  const traceInfo = `${span.spanContext().traceId}-${span.spanContext().spanId}`;
142
- config.headers["X-Tt-Trace-Id"] = traceInfo;
142
+ config.headers["X-Tt-TraceInfo"] = traceInfo;
143
143
  config.headers["Rpc-Persist-Apaas-Observability-Trace"] = traceInfo;
144
144
  config.__span = span;
145
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/client-toolkit",
3
- "version": "1.2.1-alpha.6",
3
+ "version": "1.2.1-alpha.7",
4
4
  "types": "./lib/index.d.ts",
5
5
  "main": "./lib/index.js",
6
6
  "files": [