@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.
Files changed (52) hide show
  1. package/dist/{chunk-JMYKR5Z3.js → chunk-5PFPEA4C.js} +9 -9
  2. package/dist/chunk-5PFPEA4C.js.map +1 -0
  3. package/dist/{chunk-AGCYKZFY.js → chunk-CRM3EYOL.js} +2 -2
  4. package/dist/{chunk-AYUL5QMZ.js → chunk-DW2UJUNB.js} +2 -2
  5. package/dist/chunk-DW2UJUNB.js.map +1 -0
  6. package/dist/{chunk-FMEWG3FY.js → chunk-JFR42QG5.js} +2 -2
  7. package/dist/{chunk-GTPTKN5A.js → chunk-MQHLWSIX.js} +1 -1
  8. package/dist/{chunk-GTPTKN5A.js.map → chunk-MQHLWSIX.js.map} +1 -1
  9. package/dist/{chunk-FVHVDBGX.js → chunk-USLH3OTM.js} +3 -3
  10. package/dist/{chunk-FVHVDBGX.js.map → chunk-USLH3OTM.js.map} +1 -1
  11. package/dist/{chunk-A63WX7NR.js → chunk-X4IK6KES.js} +3 -3
  12. package/dist/{chunk-AKZGMT33.js → chunk-XS3BO7RY.js} +2 -2
  13. package/dist/cli/init.cjs +1 -1
  14. package/dist/cli/init.cjs.map +1 -1
  15. package/dist/cli/init.js +6 -6
  16. package/dist/cli/mcp-add.cjs.map +1 -1
  17. package/dist/cli/mcp-add.js +2 -2
  18. package/dist/cli/uninit.cjs.map +1 -1
  19. package/dist/cli/uninit.js +3 -3
  20. package/dist/cli/validate.cjs.map +1 -1
  21. package/dist/cli/validate.js +2 -2
  22. package/dist/{edge-entry-DYl05SJ-.d.cts → edge-entry-DT9OhPTC.d.cts} +1 -1
  23. package/dist/{edge-entry-CFq085RZ.d.ts → edge-entry-shCc8_Y1.d.ts} +1 -1
  24. package/dist/edge-entry.cjs.map +1 -1
  25. package/dist/edge-entry.d.cts +2 -2
  26. package/dist/edge-entry.d.ts +2 -2
  27. package/dist/edge-entry.js +2 -2
  28. package/dist/index.cjs +4 -4
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/{index.d-CYYe3PxB.d.ts → index.d-DiI6uVEW.d.cts} +1 -1
  31. package/dist/{index.d-CYYe3PxB.d.cts → index.d-DiI6uVEW.d.ts} +1 -1
  32. package/dist/index.d.cts +4 -4
  33. package/dist/index.d.ts +4 -4
  34. package/dist/index.js +5 -5
  35. package/dist/node-entry.cjs +4 -4
  36. package/dist/node-entry.cjs.map +1 -1
  37. package/dist/node-entry.d.cts +2 -2
  38. package/dist/node-entry.d.ts +2 -2
  39. package/dist/node-entry.js +7 -7
  40. package/dist/node-subpath.cjs.map +1 -1
  41. package/dist/node-subpath.d.cts +1 -1
  42. package/dist/node-subpath.d.ts +1 -1
  43. package/dist/node-subpath.js +3 -3
  44. package/dist/{source-map-uploader-M2P5CDOB.js → source-map-uploader-LACAGKIW.js} +3 -3
  45. package/package.json +1 -1
  46. package/dist/chunk-AYUL5QMZ.js.map +0 -1
  47. package/dist/chunk-JMYKR5Z3.js.map +0 -1
  48. /package/dist/{chunk-AGCYKZFY.js.map → chunk-CRM3EYOL.js.map} +0 -0
  49. /package/dist/{chunk-FMEWG3FY.js.map → chunk-JFR42QG5.js.map} +0 -0
  50. /package/dist/{chunk-A63WX7NR.js.map → chunk-X4IK6KES.js.map} +0 -0
  51. /package/dist/{chunk-AKZGMT33.js.map → chunk-XS3BO7RY.js.map} +0 -0
  52. /package/dist/{source-map-uploader-M2P5CDOB.js.map → source-map-uploader-LACAGKIW.js.map} +0 -0
@@ -33,7 +33,7 @@ import {
33
33
  performInit,
34
34
  recordSpansDropped,
35
35
  recordSpansExported
36
- } from "./chunk-A63WX7NR.js";
36
+ } from "./chunk-X4IK6KES.js";
37
37
  import {
38
38
  isAnonymousMode,
39
39
  isProductionDisabled,
@@ -43,11 +43,11 @@ import {
43
43
  atomicWriteFileSync,
44
44
  getOrCreateAnonKey,
45
45
  readAnonKey
46
- } from "./chunk-AYUL5QMZ.js";
46
+ } from "./chunk-DW2UJUNB.js";
47
47
  import {
48
48
  GLASSTRACE_ATTRIBUTE_NAMES,
49
49
  deriveSessionId
50
- } from "./chunk-GTPTKN5A.js";
50
+ } from "./chunk-MQHLWSIX.js";
51
51
  import {
52
52
  __require
53
53
  } from "./chunk-NSBPE2FW.js";
@@ -4224,7 +4224,7 @@ function registerGlasstrace(options) {
4224
4224
  setCoreState(CoreState.REGISTERING);
4225
4225
  startRuntimeStateWriter({
4226
4226
  projectRoot: process.cwd(),
4227
- sdkVersion: "1.3.0"
4227
+ sdkVersion: "1.3.1"
4228
4228
  });
4229
4229
  const config = resolveConfig(options);
4230
4230
  if (config.verbose) {
@@ -4390,8 +4390,8 @@ async function backgroundInit(config, anonKeyForInit, generation) {
4390
4390
  if (config.verbose) {
4391
4391
  console.info("[glasstrace] Background init firing.");
4392
4392
  }
4393
- const healthReport = collectHealthReport("1.3.0");
4394
- const initResult = await performInit(config, anonKeyForInit, "1.3.0", healthReport);
4393
+ const healthReport = collectHealthReport("1.3.1");
4394
+ const initResult = await performInit(config, anonKeyForInit, "1.3.1", healthReport);
4395
4395
  if (generation !== registrationGeneration) return;
4396
4396
  const currentState = getCoreState();
4397
4397
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -4414,7 +4414,7 @@ async function backgroundInit(config, anonKeyForInit, generation) {
4414
4414
  }
4415
4415
  maybeInstallConsoleCapture();
4416
4416
  if (didLastInitSucceed()) {
4417
- startHeartbeat(config, anonKeyForInit, "1.3.0", generation, (newApiKey, accountId) => {
4417
+ startHeartbeat(config, anonKeyForInit, "1.3.1", generation, (newApiKey, accountId) => {
4418
4418
  setAuthState(AuthState.CLAIMING);
4419
4419
  emitLifecycleEvent("auth:claim_started", { accountId });
4420
4420
  setResolvedApiKey(newApiKey);
@@ -4709,7 +4709,7 @@ async function handleSourceMapUpload(distDir) {
4709
4709
  );
4710
4710
  return;
4711
4711
  }
4712
- const { discoverSourceMapFiles, computeBuildHash, uploadSourceMaps } = await import("./source-map-uploader-M2P5CDOB.js");
4712
+ const { discoverSourceMapFiles, computeBuildHash, uploadSourceMaps } = await import("./source-map-uploader-LACAGKIW.js");
4713
4713
  const files = await discoverSourceMapFiles(distDir);
4714
4714
  if (files.length === 0) {
4715
4715
  console.info("[glasstrace] No source map files found. Skipping upload.");
@@ -4812,4 +4812,4 @@ export {
4812
4812
  withGlasstraceConfig,
4813
4813
  captureError
4814
4814
  };
4815
- //# sourceMappingURL=chunk-JMYKR5Z3.js.map
4815
+ //# sourceMappingURL=chunk-5PFPEA4C.js.map