@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.
Files changed (57) hide show
  1. package/dist/chunk-BT2OCXCG.js +178 -0
  2. package/dist/chunk-BT2OCXCG.js.map +1 -0
  3. package/dist/{chunk-F2TZRBEH.js → chunk-DO2YPMQ5.js} +9 -181
  4. package/dist/chunk-DO2YPMQ5.js.map +1 -0
  5. package/dist/{chunk-YPXW2TN3.js → chunk-IP4NMDJK.js} +2 -2
  6. package/dist/{chunk-VN3GZDV6.js → chunk-IQN6TRMQ.js} +2 -2
  7. package/dist/{chunk-6JRI4OGB.js → chunk-LU3PPAOQ.js} +5 -3
  8. package/dist/{chunk-6JRI4OGB.js.map → chunk-LU3PPAOQ.js.map} +1 -1
  9. package/dist/chunk-R4DAIPXD.js +4461 -0
  10. package/dist/chunk-R4DAIPXD.js.map +1 -0
  11. package/dist/{chunk-5N2IR4EO.js → chunk-TQ54WLCZ.js} +1 -1
  12. package/dist/{chunk-5N2IR4EO.js.map → chunk-TQ54WLCZ.js.map} +1 -1
  13. package/dist/chunk-Z2EGETTT.js +204 -0
  14. package/dist/chunk-Z2EGETTT.js.map +1 -0
  15. package/dist/cli/init.cjs +5 -3
  16. package/dist/cli/init.cjs.map +1 -1
  17. package/dist/cli/init.js +8 -6
  18. package/dist/cli/init.js.map +1 -1
  19. package/dist/cli/mcp-add.cjs.map +1 -1
  20. package/dist/cli/mcp-add.js +2 -2
  21. package/dist/cli/uninit.cjs +3 -1
  22. package/dist/cli/uninit.cjs.map +1 -1
  23. package/dist/cli/uninit.js +2 -2
  24. package/dist/edge-entry-Ds2fNOeh.d.ts +157 -0
  25. package/dist/edge-entry-FJFKkeFF.d.cts +157 -0
  26. package/dist/edge-entry.cjs +14939 -0
  27. package/dist/edge-entry.cjs.map +1 -0
  28. package/dist/edge-entry.d.cts +6 -0
  29. package/dist/edge-entry.d.ts +6 -0
  30. package/dist/edge-entry.js +16 -0
  31. package/dist/index.cjs +4 -4
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d-DgeH-pNJ.d.cts +191 -0
  34. package/dist/index.d-DgeH-pNJ.d.ts +191 -0
  35. package/dist/index.d.cts +9 -461
  36. package/dist/index.d.ts +9 -461
  37. package/dist/index.js +32 -4618
  38. package/dist/index.js.map +1 -1
  39. package/dist/node-entry.cjs +22492 -0
  40. package/dist/node-entry.cjs.map +1 -0
  41. package/dist/node-entry.d.cts +10 -0
  42. package/dist/node-entry.d.ts +10 -0
  43. package/dist/node-entry.js +101 -0
  44. package/dist/node-entry.js.map +1 -0
  45. package/dist/node-subpath.cjs +14506 -0
  46. package/dist/node-subpath.cjs.map +1 -0
  47. package/dist/node-subpath.d.cts +132 -0
  48. package/dist/node-subpath.d.ts +132 -0
  49. package/dist/node-subpath.js +30 -0
  50. package/dist/node-subpath.js.map +1 -0
  51. package/dist/{source-map-uploader-VPDZWWM2.js → source-map-uploader-YXWO6JLN.js} +3 -3
  52. package/dist/source-map-uploader-YXWO6JLN.js.map +1 -0
  53. package/package.json +4 -1
  54. package/dist/chunk-F2TZRBEH.js.map +0 -1
  55. /package/dist/{chunk-YPXW2TN3.js.map → chunk-IP4NMDJK.js.map} +0 -0
  56. /package/dist/{chunk-VN3GZDV6.js.map → chunk-IQN6TRMQ.js.map} +0 -0
  57. /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.0"
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.0");
22014
- const initResult = await performInit(config2, anonKeyForInit, "0.20.0", healthReport);
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.0", generation, (newApiKey, accountId) => {
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);