@glasstrace/sdk 1.3.6 → 1.3.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.
- package/README.md +23 -18
- package/dist/{chunk-QJVAKVQJ.js → chunk-4WUHMLMM.js} +2 -2
- package/dist/{chunk-BQKPRFLF.js → chunk-DBKG6SRI.js} +2 -2
- package/dist/{chunk-WKOQJCFN.js → chunk-FKBCEOJ5.js} +2 -2
- package/dist/{chunk-IY6A6EXS.js → chunk-LW7474ZA.js} +9 -9
- package/dist/{chunk-IY6A6EXS.js.map → chunk-LW7474ZA.js.map} +1 -1
- package/dist/{chunk-E62DL2H4.js → chunk-TUFUV43S.js} +3 -3
- package/dist/{chunk-LQKJ27LO.js → chunk-V2S7BSV4.js} +2 -2
- package/dist/{chunk-M4ZI7J3N.js → chunk-XS5W3SPL.js} +1 -1
- package/dist/{chunk-M4ZI7J3N.js.map → chunk-XS5W3SPL.js.map} +1 -1
- package/dist/{chunk-3HWBR7XM.js → chunk-YSBGMBI5.js} +3 -3
- package/dist/cli/init.cjs +2 -2
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +7 -7
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +2 -2
- package/dist/cli/uninit.js +3 -3
- package/dist/cli/validate.cjs.map +1 -1
- package/dist/cli/validate.js +2 -2
- package/dist/{edge-entry-shCc8_Y1.d.ts → edge-entry-BSKA1l_0.d.ts} +1 -1
- package/dist/{edge-entry-DT9OhPTC.d.cts → edge-entry-DyMWa6JK.d.cts} +1 -1
- package/dist/edge-entry.cjs.map +1 -1
- package/dist/edge-entry.d.cts +2 -2
- package/dist/edge-entry.d.ts +2 -2
- package/dist/edge-entry.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-DiI6uVEW.d.cts → index.d-Bo_Rxund.d.cts} +4 -1
- package/dist/{index.d-DiI6uVEW.d.ts → index.d-Bo_Rxund.d.ts} +4 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/node-entry.cjs +4 -4
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +2 -2
- package/dist/node-entry.d.ts +2 -2
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.d.cts +1 -1
- package/dist/node-subpath.d.ts +1 -1
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-JAD3XM4F.js → source-map-uploader-FSTHCYDR.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-QJVAKVQJ.js.map → chunk-4WUHMLMM.js.map} +0 -0
- /package/dist/{chunk-BQKPRFLF.js.map → chunk-DBKG6SRI.js.map} +0 -0
- /package/dist/{chunk-WKOQJCFN.js.map → chunk-FKBCEOJ5.js.map} +0 -0
- /package/dist/{chunk-E62DL2H4.js.map → chunk-TUFUV43S.js.map} +0 -0
- /package/dist/{chunk-LQKJ27LO.js.map → chunk-V2S7BSV4.js.map} +0 -0
- /package/dist/{chunk-3HWBR7XM.js.map → chunk-YSBGMBI5.js.map} +0 -0
- /package/dist/{source-map-uploader-JAD3XM4F.js.map → source-map-uploader-FSTHCYDR.js.map} +0 -0
package/dist/edge-entry.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CorrelationIdRequest, G as GlasstraceSpanProcessor, S as SdkError, c as captureCorrelationId } from './edge-entry-
|
|
2
|
-
import './index.d-
|
|
1
|
+
export { C as CorrelationIdRequest, G as GlasstraceSpanProcessor, S as SdkError, c as captureCorrelationId } from './edge-entry-DyMWa6JK.cjs';
|
|
2
|
+
import './index.d-Bo_Rxund.cjs';
|
|
3
3
|
import './v4/classic/external.cjs';
|
|
4
4
|
import './export/ReadableSpan';
|
|
5
5
|
import './Span';
|
package/dist/edge-entry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CorrelationIdRequest, G as GlasstraceSpanProcessor, S as SdkError, c as captureCorrelationId } from './edge-entry-
|
|
2
|
-
import './index.d-
|
|
1
|
+
export { C as CorrelationIdRequest, G as GlasstraceSpanProcessor, S as SdkError, c as captureCorrelationId } from './edge-entry-BSKA1l_0.js';
|
|
2
|
+
import './index.d-Bo_Rxund.js';
|
|
3
3
|
import './v4/classic/external.cjs';
|
|
4
4
|
import './export/ReadableSpan';
|
|
5
5
|
import './Span';
|
package/dist/edge-entry.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
GlasstraceSpanProcessor,
|
|
3
3
|
SdkError,
|
|
4
4
|
captureCorrelationId
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FKBCEOJ5.js";
|
|
6
6
|
import "./chunk-DQ25VOKK.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-XS5W3SPL.js";
|
|
8
8
|
import "./chunk-NSBPE2FW.js";
|
|
9
9
|
export {
|
|
10
10
|
GlasstraceSpanProcessor,
|
package/dist/index.cjs
CHANGED
|
@@ -22632,7 +22632,7 @@ function registerGlasstrace(options) {
|
|
|
22632
22632
|
setCoreState(CoreState.REGISTERING);
|
|
22633
22633
|
startRuntimeStateWriter({
|
|
22634
22634
|
projectRoot: process.cwd(),
|
|
22635
|
-
sdkVersion: "1.3.
|
|
22635
|
+
sdkVersion: "1.3.7"
|
|
22636
22636
|
});
|
|
22637
22637
|
const config2 = resolveConfig(options);
|
|
22638
22638
|
if (config2.verbose) {
|
|
@@ -22799,8 +22799,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
22799
22799
|
if (config2.verbose) {
|
|
22800
22800
|
console.info("[glasstrace] Background init firing.");
|
|
22801
22801
|
}
|
|
22802
|
-
const healthReport = collectHealthReport("1.3.
|
|
22803
|
-
const initResult = await performInit(config2, anonKeyForInit, "1.3.
|
|
22802
|
+
const healthReport = collectHealthReport("1.3.7");
|
|
22803
|
+
const initResult = await performInit(config2, anonKeyForInit, "1.3.7", healthReport);
|
|
22804
22804
|
if (generation !== registrationGeneration) return;
|
|
22805
22805
|
const currentState = getCoreState();
|
|
22806
22806
|
if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
|
|
@@ -22823,7 +22823,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
22823
22823
|
}
|
|
22824
22824
|
maybeInstallConsoleCapture();
|
|
22825
22825
|
if (didLastInitSucceed()) {
|
|
22826
|
-
startHeartbeat(config2, anonKeyForInit, "1.3.
|
|
22826
|
+
startHeartbeat(config2, anonKeyForInit, "1.3.7", generation, (newApiKey, accountId) => {
|
|
22827
22827
|
setAuthState(AuthState.CLAIMING);
|
|
22828
22828
|
emitLifecycleEvent("auth:claim_started", { accountId });
|
|
22829
22829
|
setResolvedApiKey(newApiKey);
|