@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/cli/init.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "../chunk-DO2YPMQ5.js";
8
8
  import {
9
9
  buildImportGraph
10
- } from "../chunk-BT2OCXCG.js";
10
+ } from "../chunk-UGJ3X4CT.js";
11
11
  import {
12
12
  resolveConfig
13
13
  } from "../chunk-VUZCLMIX.js";
@@ -610,7 +610,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
610
610
  }
611
611
  const baseConfig = resolveConfig({ apiKey: devKey });
612
612
  const config = { ...baseConfig, apiKey: devKey };
613
- const sdkVersion = true ? "1.0.0" : "0.0.0-dev";
613
+ const sdkVersion = true ? "1.0.1" : "0.0.0-dev";
614
614
  const result = await verifyInitReachable(config, anonKey, sdkVersion);
615
615
  if (result.ok) {
616
616
  return { outcome: "verified" };
package/dist/index.cjs CHANGED
@@ -21821,7 +21821,7 @@ function registerGlasstrace(options) {
21821
21821
  setCoreState(CoreState.REGISTERING);
21822
21822
  startRuntimeStateWriter({
21823
21823
  projectRoot: process.cwd(),
21824
- sdkVersion: "1.0.0"
21824
+ sdkVersion: "1.0.1"
21825
21825
  });
21826
21826
  const config2 = resolveConfig(options);
21827
21827
  if (config2.verbose) {
@@ -21987,8 +21987,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
21987
21987
  if (config2.verbose) {
21988
21988
  console.info("[glasstrace] Background init firing.");
21989
21989
  }
21990
- const healthReport = collectHealthReport("1.0.0");
21991
- const initResult = await performInit(config2, anonKeyForInit, "1.0.0", healthReport);
21990
+ const healthReport = collectHealthReport("1.0.1");
21991
+ const initResult = await performInit(config2, anonKeyForInit, "1.0.1", healthReport);
21992
21992
  if (generation !== registrationGeneration) return;
21993
21993
  const currentState = getCoreState();
21994
21994
  if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
@@ -22011,7 +22011,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
22011
22011
  }
22012
22012
  maybeInstallConsoleCapture();
22013
22013
  if (didLastInitSucceed()) {
22014
- startHeartbeat(config2, anonKeyForInit, "1.0.0", generation, (newApiKey, accountId) => {
22014
+ startHeartbeat(config2, anonKeyForInit, "1.0.1", generation, (newApiKey, accountId) => {
22015
22015
  setAuthState(AuthState.CLAIMING);
22016
22016
  emitLifecycleEvent("auth:claim_started", { accountId });
22017
22017
  setResolvedApiKey(newApiKey);