@glasstrace/sdk 1.0.0 → 1.0.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/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  registerGlasstrace,
13
13
  waitForReady,
14
14
  withGlasstraceConfig
15
- } from "./chunk-D3WYZBQA.js";
15
+ } from "./chunk-MV3F7HVX.js";
16
16
  import {
17
17
  GlasstraceSpanProcessor,
18
18
  SdkError,
@@ -21897,7 +21897,7 @@ function registerGlasstrace(options) {
21897
21897
  setCoreState(CoreState.REGISTERING);
21898
21898
  startRuntimeStateWriter({
21899
21899
  projectRoot: process.cwd(),
21900
- sdkVersion: "1.0.0"
21900
+ sdkVersion: "1.0.1"
21901
21901
  });
21902
21902
  const config2 = resolveConfig(options);
21903
21903
  if (config2.verbose) {
@@ -22063,8 +22063,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
22063
22063
  if (config2.verbose) {
22064
22064
  console.info("[glasstrace] Background init firing.");
22065
22065
  }
22066
- const healthReport = collectHealthReport("1.0.0");
22067
- const initResult = await performInit(config2, anonKeyForInit, "1.0.0", healthReport);
22066
+ const healthReport = collectHealthReport("1.0.1");
22067
+ const initResult = await performInit(config2, anonKeyForInit, "1.0.1", healthReport);
22068
22068
  if (generation !== registrationGeneration) return;
22069
22069
  const currentState = getCoreState();
22070
22070
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -22087,7 +22087,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
22087
22087
  }
22088
22088
  maybeInstallConsoleCapture();
22089
22089
  if (didLastInitSucceed()) {
22090
- startHeartbeat(config2, anonKeyForInit, "1.0.0", generation, (newApiKey, accountId) => {
22090
+ startHeartbeat(config2, anonKeyForInit, "1.0.1", generation, (newApiKey, accountId) => {
22091
22091
  setAuthState(AuthState.CLAIMING);
22092
22092
  emitLifecycleEvent("auth:claim_started", { accountId });
22093
22093
  setResolvedApiKey(newApiKey);