@glasstrace/sdk 0.20.0 → 0.20.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.
- package/dist/chunk-BT2OCXCG.js +178 -0
- package/dist/chunk-BT2OCXCG.js.map +1 -0
- package/dist/{chunk-F2TZRBEH.js → chunk-DO2YPMQ5.js} +9 -181
- package/dist/chunk-DO2YPMQ5.js.map +1 -0
- package/dist/{chunk-YPXW2TN3.js → chunk-IP4NMDJK.js} +2 -2
- package/dist/{chunk-VN3GZDV6.js → chunk-IQN6TRMQ.js} +2 -2
- package/dist/{chunk-6JRI4OGB.js → chunk-LU3PPAOQ.js} +5 -3
- package/dist/{chunk-6JRI4OGB.js.map → chunk-LU3PPAOQ.js.map} +1 -1
- package/dist/chunk-R4DAIPXD.js +4461 -0
- package/dist/chunk-R4DAIPXD.js.map +1 -0
- package/dist/{chunk-5N2IR4EO.js → chunk-TQ54WLCZ.js} +1 -1
- package/dist/{chunk-5N2IR4EO.js.map → chunk-TQ54WLCZ.js.map} +1 -1
- package/dist/chunk-Z2EGETTT.js +204 -0
- package/dist/chunk-Z2EGETTT.js.map +1 -0
- package/dist/cli/init.cjs +5 -3
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +8 -6
- 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.cjs +3 -1
- package/dist/cli/uninit.cjs.map +1 -1
- package/dist/cli/uninit.js +2 -2
- package/dist/edge-entry-Ds2fNOeh.d.ts +157 -0
- package/dist/edge-entry-FJFKkeFF.d.cts +157 -0
- package/dist/edge-entry.cjs +14939 -0
- package/dist/edge-entry.cjs.map +1 -0
- package/dist/edge-entry.d.cts +6 -0
- package/dist/edge-entry.d.ts +6 -0
- package/dist/edge-entry.js +16 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d-DgeH-pNJ.d.cts +191 -0
- package/dist/index.d-DgeH-pNJ.d.ts +191 -0
- package/dist/index.d.cts +9 -461
- package/dist/index.d.ts +9 -461
- package/dist/index.js +32 -4618
- package/dist/index.js.map +1 -1
- package/dist/node-entry.cjs +22492 -0
- package/dist/node-entry.cjs.map +1 -0
- package/dist/node-entry.d.cts +10 -0
- package/dist/node-entry.d.ts +10 -0
- package/dist/node-entry.js +101 -0
- package/dist/node-entry.js.map +1 -0
- package/dist/node-subpath.cjs +14506 -0
- package/dist/node-subpath.cjs.map +1 -0
- package/dist/node-subpath.d.cts +132 -0
- package/dist/node-subpath.d.ts +132 -0
- package/dist/node-subpath.js +30 -0
- package/dist/node-subpath.js.map +1 -0
- package/dist/{source-map-uploader-VPDZWWM2.js → source-map-uploader-YXWO6JLN.js} +3 -3
- package/dist/source-map-uploader-YXWO6JLN.js.map +1 -0
- package/package.json +4 -1
- package/dist/chunk-F2TZRBEH.js.map +0 -1
- /package/dist/{chunk-YPXW2TN3.js.map → chunk-IP4NMDJK.js.map} +0 -0
- /package/dist/{chunk-VN3GZDV6.js.map → chunk-IQN6TRMQ.js.map} +0 -0
- /package/dist/{source-map-uploader-VPDZWWM2.js.map → edge-entry.js.map} +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { C as ClaimState, a as CorrelationIdRequest, G as GlasstraceSpanProcessor, b as SdkError, c as captureCorrelationId, d as createDiscoveryHandler } from './edge-entry-FJFKkeFF.cjs';
|
|
2
|
+
import './index.d-DgeH-pNJ.cjs';
|
|
3
|
+
import './v4/classic/external.cjs';
|
|
4
|
+
import './export/ReadableSpan';
|
|
5
|
+
import './Span';
|
|
6
|
+
import './SpanProcessor';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { C as ClaimState, a as CorrelationIdRequest, G as GlasstraceSpanProcessor, b as SdkError, c as captureCorrelationId, d as createDiscoveryHandler } from './edge-entry-Ds2fNOeh.js';
|
|
2
|
+
import './index.d-DgeH-pNJ.js';
|
|
3
|
+
import './v4/classic/external.cjs';
|
|
4
|
+
import './export/ReadableSpan';
|
|
5
|
+
import './Span';
|
|
6
|
+
import './SpanProcessor';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GlasstraceSpanProcessor,
|
|
3
|
+
SdkError,
|
|
4
|
+
captureCorrelationId,
|
|
5
|
+
createDiscoveryHandler
|
|
6
|
+
} from "./chunk-Z2EGETTT.js";
|
|
7
|
+
import "./chunk-DQ25VOKK.js";
|
|
8
|
+
import "./chunk-TQ54WLCZ.js";
|
|
9
|
+
import "./chunk-NSBPE2FW.js";
|
|
10
|
+
export {
|
|
11
|
+
GlasstraceSpanProcessor,
|
|
12
|
+
SdkError,
|
|
13
|
+
captureCorrelationId,
|
|
14
|
+
createDiscoveryHandler
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=edge-entry.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -21844,7 +21844,7 @@ function registerGlasstrace(options) {
|
|
|
21844
21844
|
setCoreState(CoreState.REGISTERING);
|
|
21845
21845
|
startRuntimeStateWriter({
|
|
21846
21846
|
projectRoot: process.cwd(),
|
|
21847
|
-
sdkVersion: "0.20.
|
|
21847
|
+
sdkVersion: "0.20.1"
|
|
21848
21848
|
});
|
|
21849
21849
|
const config2 = resolveConfig(options);
|
|
21850
21850
|
if (config2.verbose) {
|
|
@@ -22010,8 +22010,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
22010
22010
|
if (config2.verbose) {
|
|
22011
22011
|
console.info("[glasstrace] Background init firing.");
|
|
22012
22012
|
}
|
|
22013
|
-
const healthReport = collectHealthReport("0.20.
|
|
22014
|
-
const initResult = await performInit(config2, anonKeyForInit, "0.20.
|
|
22013
|
+
const healthReport = collectHealthReport("0.20.1");
|
|
22014
|
+
const initResult = await performInit(config2, anonKeyForInit, "0.20.1", healthReport);
|
|
22015
22015
|
if (generation !== registrationGeneration) return;
|
|
22016
22016
|
const currentState = getCoreState();
|
|
22017
22017
|
if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
|
|
@@ -22034,7 +22034,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
22034
22034
|
}
|
|
22035
22035
|
maybeInstallConsoleCapture();
|
|
22036
22036
|
if (didLastInitSucceed()) {
|
|
22037
|
-
startHeartbeat(config2, anonKeyForInit, "0.20.
|
|
22037
|
+
startHeartbeat(config2, anonKeyForInit, "0.20.1", generation, (newApiKey, accountId) => {
|
|
22038
22038
|
setAuthState(AuthState.CLAIMING);
|
|
22039
22039
|
emitLifecycleEvent("auth:claim_started", { accountId });
|
|
22040
22040
|
setResolvedApiKey(newApiKey);
|