@glasstrace/sdk 0.14.0 → 0.14.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.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21628,7 +21628,7 @@ function registerGlasstrace(options) {
|
|
|
21628
21628
|
setCoreState(CoreState.REGISTERING);
|
|
21629
21629
|
startRuntimeStateWriter({
|
|
21630
21630
|
projectRoot: process.cwd(),
|
|
21631
|
-
sdkVersion: "0.14.
|
|
21631
|
+
sdkVersion: "0.14.1"
|
|
21632
21632
|
});
|
|
21633
21633
|
const config2 = resolveConfig(options);
|
|
21634
21634
|
if (config2.verbose) {
|
|
@@ -21790,8 +21790,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
21790
21790
|
if (config2.verbose) {
|
|
21791
21791
|
console.info("[glasstrace] Background init firing.");
|
|
21792
21792
|
}
|
|
21793
|
-
const healthReport = collectHealthReport("0.14.
|
|
21794
|
-
const initResult = await performInit(config2, anonKeyForInit, "0.14.
|
|
21793
|
+
const healthReport = collectHealthReport("0.14.1");
|
|
21794
|
+
const initResult = await performInit(config2, anonKeyForInit, "0.14.1", healthReport);
|
|
21795
21795
|
if (generation !== registrationGeneration) return;
|
|
21796
21796
|
const currentState = getCoreState();
|
|
21797
21797
|
if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
|
|
@@ -21814,7 +21814,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
21814
21814
|
}
|
|
21815
21815
|
maybeInstallConsoleCapture();
|
|
21816
21816
|
if (didLastInitSucceed()) {
|
|
21817
|
-
startHeartbeat(config2, anonKeyForInit, "0.14.
|
|
21817
|
+
startHeartbeat(config2, anonKeyForInit, "0.14.1", generation, (newApiKey, accountId) => {
|
|
21818
21818
|
setAuthState(AuthState.CLAIMING);
|
|
21819
21819
|
emitLifecycleEvent("auth:claim_started", { accountId });
|
|
21820
21820
|
setResolvedApiKey(newApiKey);
|
package/dist/index.js
CHANGED
|
@@ -4681,7 +4681,7 @@ function registerGlasstrace(options) {
|
|
|
4681
4681
|
setCoreState(CoreState.REGISTERING);
|
|
4682
4682
|
startRuntimeStateWriter({
|
|
4683
4683
|
projectRoot: process.cwd(),
|
|
4684
|
-
sdkVersion: "0.14.
|
|
4684
|
+
sdkVersion: "0.14.1"
|
|
4685
4685
|
});
|
|
4686
4686
|
const config = resolveConfig(options);
|
|
4687
4687
|
if (config.verbose) {
|
|
@@ -4843,8 +4843,8 @@ async function backgroundInit(config, anonKeyForInit, generation) {
|
|
|
4843
4843
|
if (config.verbose) {
|
|
4844
4844
|
console.info("[glasstrace] Background init firing.");
|
|
4845
4845
|
}
|
|
4846
|
-
const healthReport = collectHealthReport("0.14.
|
|
4847
|
-
const initResult = await performInit(config, anonKeyForInit, "0.14.
|
|
4846
|
+
const healthReport = collectHealthReport("0.14.1");
|
|
4847
|
+
const initResult = await performInit(config, anonKeyForInit, "0.14.1", healthReport);
|
|
4848
4848
|
if (generation !== registrationGeneration) return;
|
|
4849
4849
|
const currentState = getCoreState();
|
|
4850
4850
|
if (currentState === CoreState.SHUTTING_DOWN || currentState === CoreState.SHUTDOWN) {
|
|
@@ -4867,7 +4867,7 @@ async function backgroundInit(config, anonKeyForInit, generation) {
|
|
|
4867
4867
|
}
|
|
4868
4868
|
maybeInstallConsoleCapture();
|
|
4869
4869
|
if (didLastInitSucceed()) {
|
|
4870
|
-
startHeartbeat(config, anonKeyForInit, "0.14.
|
|
4870
|
+
startHeartbeat(config, anonKeyForInit, "0.14.1", generation, (newApiKey, accountId) => {
|
|
4871
4871
|
setAuthState(AuthState.CLAIMING);
|
|
4872
4872
|
emitLifecycleEvent("auth:claim_started", { accountId });
|
|
4873
4873
|
setResolvedApiKey(newApiKey);
|