@glasstrace/sdk 1.3.0 → 1.3.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-JMYKR5Z3.js → chunk-5PFPEA4C.js} +9 -9
- package/dist/chunk-5PFPEA4C.js.map +1 -0
- package/dist/{chunk-AGCYKZFY.js → chunk-CRM3EYOL.js} +2 -2
- package/dist/{chunk-AYUL5QMZ.js → chunk-DW2UJUNB.js} +2 -2
- package/dist/chunk-DW2UJUNB.js.map +1 -0
- package/dist/{chunk-FMEWG3FY.js → chunk-JFR42QG5.js} +2 -2
- package/dist/{chunk-GTPTKN5A.js → chunk-MQHLWSIX.js} +1 -1
- package/dist/{chunk-GTPTKN5A.js.map → chunk-MQHLWSIX.js.map} +1 -1
- package/dist/{chunk-FVHVDBGX.js → chunk-USLH3OTM.js} +3 -3
- package/dist/{chunk-FVHVDBGX.js.map → chunk-USLH3OTM.js.map} +1 -1
- package/dist/{chunk-A63WX7NR.js → chunk-X4IK6KES.js} +3 -3
- package/dist/{chunk-AKZGMT33.js → chunk-XS3BO7RY.js} +2 -2
- package/dist/cli/init.cjs +1 -1
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +6 -6
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +2 -2
- package/dist/cli/uninit.cjs.map +1 -1
- 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-DYl05SJ-.d.cts → edge-entry-DT9OhPTC.d.cts} +1 -1
- package/dist/{edge-entry-CFq085RZ.d.ts → edge-entry-shCc8_Y1.d.ts} +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-CYYe3PxB.d.ts → index.d-DiI6uVEW.d.cts} +1 -1
- package/dist/{index.d-CYYe3PxB.d.cts → index.d-DiI6uVEW.d.ts} +1 -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-M2P5CDOB.js → source-map-uploader-LACAGKIW.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-AYUL5QMZ.js.map +0 -1
- package/dist/chunk-JMYKR5Z3.js.map +0 -1
- /package/dist/{chunk-AGCYKZFY.js.map → chunk-CRM3EYOL.js.map} +0 -0
- /package/dist/{chunk-FMEWG3FY.js.map → chunk-JFR42QG5.js.map} +0 -0
- /package/dist/{chunk-A63WX7NR.js.map → chunk-X4IK6KES.js.map} +0 -0
- /package/dist/{chunk-AKZGMT33.js.map → chunk-XS3BO7RY.js.map} +0 -0
- /package/dist/{source-map-uploader-M2P5CDOB.js.map → source-map-uploader-LACAGKIW.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-DT9OhPTC.cjs';
|
|
2
|
+
import './index.d-DiI6uVEW.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-shCc8_Y1.js';
|
|
2
|
+
import './index.d-DiI6uVEW.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-CRM3EYOL.js";
|
|
6
6
|
import "./chunk-DQ25VOKK.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MQHLWSIX.js";
|
|
8
8
|
import "./chunk-NSBPE2FW.js";
|
|
9
9
|
export {
|
|
10
10
|
GlasstraceSpanProcessor,
|
package/dist/index.cjs
CHANGED
|
@@ -22511,7 +22511,7 @@ function registerGlasstrace(options) {
|
|
|
22511
22511
|
setCoreState(CoreState.REGISTERING);
|
|
22512
22512
|
startRuntimeStateWriter({
|
|
22513
22513
|
projectRoot: process.cwd(),
|
|
22514
|
-
sdkVersion: "1.3.
|
|
22514
|
+
sdkVersion: "1.3.1"
|
|
22515
22515
|
});
|
|
22516
22516
|
const config2 = resolveConfig(options);
|
|
22517
22517
|
if (config2.verbose) {
|
|
@@ -22677,8 +22677,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
22677
22677
|
if (config2.verbose) {
|
|
22678
22678
|
console.info("[glasstrace] Background init firing.");
|
|
22679
22679
|
}
|
|
22680
|
-
const healthReport = collectHealthReport("1.3.
|
|
22681
|
-
const initResult = await performInit(config2, anonKeyForInit, "1.3.
|
|
22680
|
+
const healthReport = collectHealthReport("1.3.1");
|
|
22681
|
+
const initResult = await performInit(config2, anonKeyForInit, "1.3.1", healthReport);
|
|
22682
22682
|
if (generation !== registrationGeneration) return;
|
|
22683
22683
|
const currentState = getCoreState();
|
|
22684
22684
|
if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
|
|
@@ -22701,7 +22701,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
22701
22701
|
}
|
|
22702
22702
|
maybeInstallConsoleCapture();
|
|
22703
22703
|
if (didLastInitSucceed()) {
|
|
22704
|
-
startHeartbeat(config2, anonKeyForInit, "1.3.
|
|
22704
|
+
startHeartbeat(config2, anonKeyForInit, "1.3.1", generation, (newApiKey, accountId) => {
|
|
22705
22705
|
setAuthState(AuthState.CLAIMING);
|
|
22706
22706
|
emitLifecycleEvent("auth:claim_started", { accountId });
|
|
22707
22707
|
setResolvedApiKey(newApiKey);
|