@glasstrace/sdk 1.3.6 → 1.3.7

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 (51) hide show
  1. package/README.md +23 -18
  2. package/dist/{chunk-QJVAKVQJ.js → chunk-4WUHMLMM.js} +2 -2
  3. package/dist/{chunk-BQKPRFLF.js → chunk-DBKG6SRI.js} +2 -2
  4. package/dist/{chunk-WKOQJCFN.js → chunk-FKBCEOJ5.js} +2 -2
  5. package/dist/{chunk-IY6A6EXS.js → chunk-LW7474ZA.js} +9 -9
  6. package/dist/{chunk-IY6A6EXS.js.map → chunk-LW7474ZA.js.map} +1 -1
  7. package/dist/{chunk-E62DL2H4.js → chunk-TUFUV43S.js} +3 -3
  8. package/dist/{chunk-LQKJ27LO.js → chunk-V2S7BSV4.js} +2 -2
  9. package/dist/{chunk-M4ZI7J3N.js → chunk-XS5W3SPL.js} +1 -1
  10. package/dist/{chunk-M4ZI7J3N.js.map → chunk-XS5W3SPL.js.map} +1 -1
  11. package/dist/{chunk-3HWBR7XM.js → chunk-YSBGMBI5.js} +3 -3
  12. package/dist/cli/init.cjs +2 -2
  13. package/dist/cli/init.cjs.map +1 -1
  14. package/dist/cli/init.js +7 -7
  15. package/dist/cli/init.js.map +1 -1
  16. package/dist/cli/mcp-add.cjs.map +1 -1
  17. package/dist/cli/mcp-add.js +2 -2
  18. package/dist/cli/uninit.js +3 -3
  19. package/dist/cli/validate.cjs.map +1 -1
  20. package/dist/cli/validate.js +2 -2
  21. package/dist/{edge-entry-shCc8_Y1.d.ts → edge-entry-BSKA1l_0.d.ts} +1 -1
  22. package/dist/{edge-entry-DT9OhPTC.d.cts → edge-entry-DyMWa6JK.d.cts} +1 -1
  23. package/dist/edge-entry.cjs.map +1 -1
  24. package/dist/edge-entry.d.cts +2 -2
  25. package/dist/edge-entry.d.ts +2 -2
  26. package/dist/edge-entry.js +2 -2
  27. package/dist/index.cjs +4 -4
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/{index.d-DiI6uVEW.d.cts → index.d-Bo_Rxund.d.cts} +4 -1
  30. package/dist/{index.d-DiI6uVEW.d.ts → index.d-Bo_Rxund.d.ts} +4 -1
  31. package/dist/index.d.cts +4 -4
  32. package/dist/index.d.ts +4 -4
  33. package/dist/index.js +5 -5
  34. package/dist/node-entry.cjs +4 -4
  35. package/dist/node-entry.cjs.map +1 -1
  36. package/dist/node-entry.d.cts +2 -2
  37. package/dist/node-entry.d.ts +2 -2
  38. package/dist/node-entry.js +7 -7
  39. package/dist/node-subpath.cjs.map +1 -1
  40. package/dist/node-subpath.d.cts +1 -1
  41. package/dist/node-subpath.d.ts +1 -1
  42. package/dist/node-subpath.js +3 -3
  43. package/dist/{source-map-uploader-JAD3XM4F.js → source-map-uploader-FSTHCYDR.js} +3 -3
  44. package/package.json +1 -1
  45. /package/dist/{chunk-QJVAKVQJ.js.map → chunk-4WUHMLMM.js.map} +0 -0
  46. /package/dist/{chunk-BQKPRFLF.js.map → chunk-DBKG6SRI.js.map} +0 -0
  47. /package/dist/{chunk-WKOQJCFN.js.map → chunk-FKBCEOJ5.js.map} +0 -0
  48. /package/dist/{chunk-E62DL2H4.js.map → chunk-TUFUV43S.js.map} +0 -0
  49. /package/dist/{chunk-LQKJ27LO.js.map → chunk-V2S7BSV4.js.map} +0 -0
  50. /package/dist/{chunk-3HWBR7XM.js.map → chunk-YSBGMBI5.js.map} +0 -0
  51. /package/dist/{source-map-uploader-JAD3XM4F.js.map → source-map-uploader-FSTHCYDR.js.map} +0 -0
@@ -2,12 +2,12 @@ import {
2
2
  atomicWriteFile,
3
3
  refreshGenericMcpConfigAtRuntime,
4
4
  resolveEffectiveMcpCredential
5
- } from "./chunk-LQKJ27LO.js";
5
+ } from "./chunk-V2S7BSV4.js";
6
6
  import {
7
7
  DEFAULT_CAPTURE_CONFIG,
8
8
  SdkCachedConfigSchema,
9
9
  SdkInitResponseSchema
10
- } from "./chunk-M4ZI7J3N.js";
10
+ } from "./chunk-XS5W3SPL.js";
11
11
  import {
12
12
  __require
13
13
  } from "./chunk-NSBPE2FW.js";
@@ -692,4 +692,4 @@ export {
692
692
  didLastInitSucceed,
693
693
  verifyInitReachable
694
694
  };
695
- //# sourceMappingURL=chunk-3HWBR7XM.js.map
695
+ //# sourceMappingURL=chunk-YSBGMBI5.js.map
package/dist/cli/init.cjs CHANGED
@@ -18669,7 +18669,7 @@ Then add this as the first statement in your register() function:
18669
18669
  break;
18670
18670
  case "failed":
18671
18671
  warnings.push(
18672
- `Failed to write ${relPath}${discoveryResult.error !== void 0 ? `: ${discoveryResult.error}` : ""}. The Glasstrace browser extension will fall back to the runtime handler until the file is written.`
18672
+ `Failed to write ${relPath}${discoveryResult.error !== void 0 ? `: ${discoveryResult.error}` : ""}. The Glasstrace browser extension cannot discover this project until the file is written; rerun \`glasstrace init\` after fixing the underlying error.`
18673
18673
  );
18674
18674
  break;
18675
18675
  }
@@ -18866,7 +18866,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
18866
18866
  }
18867
18867
  const baseConfig = resolveConfig({ apiKey: devKey });
18868
18868
  const config2 = { ...baseConfig, apiKey: devKey };
18869
- const sdkVersion = true ? "1.3.6" : "0.0.0-dev";
18869
+ const sdkVersion = true ? "1.3.7" : "0.0.0-dev";
18870
18870
  const result = await verifyInitReachable(config2, anonKey, sdkVersion);
18871
18871
  if (result.ok) {
18872
18872
  return { outcome: "verified" };