@glasstrace/sdk 1.2.0 → 1.2.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 (42) hide show
  1. package/dist/{chunk-6RNBUUBR.js → chunk-2GCN27SI.js} +2 -2
  2. package/dist/{chunk-4EZ6JTDG.js → chunk-47B2G3FE.js} +2 -2
  3. package/dist/{chunk-6RIH6SFM.js → chunk-CTJO7PUZ.js} +23 -17
  4. package/dist/chunk-CTJO7PUZ.js.map +1 -0
  5. package/dist/{chunk-X5MAXP5T.js → chunk-EBYISKQP.js} +5 -3
  6. package/dist/{chunk-X5MAXP5T.js.map → chunk-EBYISKQP.js.map} +1 -1
  7. package/dist/{chunk-JKI4OCFV.js → chunk-HV5ID2WJ.js} +3 -3
  8. package/dist/{chunk-TWTWRJ25.js → chunk-MD5XPCTQ.js} +2 -2
  9. package/dist/{chunk-TWHCJKRS.js → chunk-NFPDYME5.js} +3 -3
  10. package/dist/{chunk-DST4UBXU.js → chunk-YMLMZCPR.js} +2 -2
  11. package/dist/cli/init.cjs +5 -3
  12. package/dist/cli/init.cjs.map +1 -1
  13. package/dist/cli/init.js +6 -6
  14. package/dist/cli/mcp-add.cjs +4 -2
  15. package/dist/cli/mcp-add.cjs.map +1 -1
  16. package/dist/cli/mcp-add.js +2 -2
  17. package/dist/cli/uninit.js +3 -3
  18. package/dist/cli/validate.cjs +4 -2
  19. package/dist/cli/validate.cjs.map +1 -1
  20. package/dist/cli/validate.js +2 -2
  21. package/dist/edge-entry.cjs +4 -2
  22. package/dist/edge-entry.cjs.map +1 -1
  23. package/dist/edge-entry.js +2 -2
  24. package/dist/index.cjs +22 -14
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.js +5 -5
  27. package/dist/node-entry.cjs +22 -14
  28. package/dist/node-entry.cjs.map +1 -1
  29. package/dist/node-entry.js +7 -7
  30. package/dist/node-subpath.cjs +4 -2
  31. package/dist/node-subpath.cjs.map +1 -1
  32. package/dist/node-subpath.js +3 -3
  33. package/dist/{source-map-uploader-DPUUCLNW.js → source-map-uploader-RA4Z7TWA.js} +3 -3
  34. package/package.json +1 -1
  35. package/dist/chunk-6RIH6SFM.js.map +0 -1
  36. /package/dist/{chunk-6RNBUUBR.js.map → chunk-2GCN27SI.js.map} +0 -0
  37. /package/dist/{chunk-4EZ6JTDG.js.map → chunk-47B2G3FE.js.map} +0 -0
  38. /package/dist/{chunk-JKI4OCFV.js.map → chunk-HV5ID2WJ.js.map} +0 -0
  39. /package/dist/{chunk-TWTWRJ25.js.map → chunk-MD5XPCTQ.js.map} +0 -0
  40. /package/dist/{chunk-TWHCJKRS.js.map → chunk-NFPDYME5.js.map} +0 -0
  41. /package/dist/{chunk-DST4UBXU.js.map → chunk-YMLMZCPR.js.map} +0 -0
  42. /package/dist/{source-map-uploader-DPUUCLNW.js.map → source-map-uploader-RA4Z7TWA.js.map} +0 -0
@@ -2,12 +2,12 @@ import {
2
2
  atomicWriteFile,
3
3
  refreshGenericMcpConfigAtRuntime,
4
4
  resolveEffectiveMcpCredential
5
- } from "./chunk-TWTWRJ25.js";
5
+ } from "./chunk-MD5XPCTQ.js";
6
6
  import {
7
7
  DEFAULT_CAPTURE_CONFIG,
8
8
  SdkCachedConfigSchema,
9
9
  SdkInitResponseSchema
10
- } from "./chunk-X5MAXP5T.js";
10
+ } from "./chunk-EBYISKQP.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-JKI4OCFV.js.map
695
+ //# sourceMappingURL=chunk-HV5ID2WJ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  AnonApiKeySchema,
3
3
  DevApiKeySchema,
4
4
  createAnonApiKey
5
- } from "./chunk-X5MAXP5T.js";
5
+ } from "./chunk-EBYISKQP.js";
6
6
  import {
7
7
  __require
8
8
  } from "./chunk-NSBPE2FW.js";
@@ -605,4 +605,4 @@ export {
605
605
  writeMcpMarker,
606
606
  refreshGenericMcpConfigAtRuntime
607
607
  };
608
- //# sourceMappingURL=chunk-TWTWRJ25.js.map
608
+ //# sourceMappingURL=chunk-MD5XPCTQ.js.map
@@ -5,10 +5,10 @@ import {
5
5
  isDevApiKey,
6
6
  readEnvLocalApiKey,
7
7
  writeAndFsyncTempSync
8
- } from "./chunk-TWTWRJ25.js";
8
+ } from "./chunk-MD5XPCTQ.js";
9
9
  import {
10
10
  AnonApiKeySchema
11
- } from "./chunk-X5MAXP5T.js";
11
+ } from "./chunk-EBYISKQP.js";
12
12
  import {
13
13
  NEXT_CONFIG_NAMES
14
14
  } from "./chunk-NB7GJE4S.js";
@@ -914,4 +914,4 @@ export {
914
914
  writeShutdownMarker,
915
915
  runUninit
916
916
  };
917
- //# sourceMappingURL=chunk-TWHCJKRS.js.map
917
+ //# sourceMappingURL=chunk-NFPDYME5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createBuildHash
3
- } from "./chunk-X5MAXP5T.js";
3
+ } from "./chunk-EBYISKQP.js";
4
4
 
5
5
  // src/import-graph.ts
6
6
  import * as fs from "node:fs/promises";
@@ -175,4 +175,4 @@ export {
175
175
  extractImports,
176
176
  buildImportGraph
177
177
  };
178
- //# sourceMappingURL=chunk-DST4UBXU.js.map
178
+ //# sourceMappingURL=chunk-YMLMZCPR.js.map
package/dist/cli/init.cjs CHANGED
@@ -14558,13 +14558,15 @@ var init_dist = __esm({
14558
14558
  });
14559
14559
  PresignedUploadResponseSchema = external_exports.object({
14560
14560
  uploadId: external_exports.string().uuid(),
14561
- expiresAt: external_exports.number().int().positive(),
14561
+ expiresAt: external_exports.number().int().nonnegative(),
14562
14562
  files: external_exports.array(
14563
14563
  external_exports.object({
14564
14564
  filePath: external_exports.string().min(1),
14565
14565
  clientToken: external_exports.string().min(1),
14566
14566
  pathname: external_exports.string().min(1),
14567
- maxBytes: external_exports.number().int().positive()
14567
+ maxBytes: external_exports.number().int().positive(),
14568
+ /** Vercel Blob access mode — explicit in the contract per DISC-756. */
14569
+ access: external_exports.enum(["public"])
14568
14570
  })
14569
14571
  ).min(1).max(100)
14570
14572
  });
@@ -18826,7 +18828,7 @@ async function verifyAnonKeyRegistration(projectRoot) {
18826
18828
  }
18827
18829
  const baseConfig = resolveConfig({ apiKey: devKey });
18828
18830
  const config2 = { ...baseConfig, apiKey: devKey };
18829
- const sdkVersion = true ? "1.2.0" : "0.0.0-dev";
18831
+ const sdkVersion = true ? "1.2.1" : "0.0.0-dev";
18830
18832
  const result = await verifyInitReachable(config2, anonKey, sdkVersion);
18831
18833
  if (result.ok) {
18832
18834
  return { outcome: "verified" };