autotel-schema 20.0.5 → 20.0.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.
package/dist/cli.cjs CHANGED
@@ -27,8 +27,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  }) : target, mod));
28
28
 
29
29
  //#endregion
30
- const require_snapshot = require('./snapshot-CG3MM2sd.cjs');
31
- const require_diff = require('./diff.cjs');
30
+ const require_snapshot = require("./snapshot-BCn4CgiP.cjs");
31
+ const require_diff = require("./diff.cjs");
32
32
  let node_fs = require("node:fs");
33
33
  let node_path = require("node:path");
34
34
  node_path = __toESM(node_path, 1);
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_snapshot = require('./snapshot-CG3MM2sd.cjs');
3
- const require_processor = require('./processor-CsvGNvJL.cjs');
4
- const require_diff = require('./diff.cjs');
2
+ const require_snapshot = require("./snapshot-BCn4CgiP.cjs");
3
+ const require_processor = require("./processor-DKIwxtAp.cjs");
4
+ const require_diff = require("./diff.cjs");
5
5
 
6
6
  //#region src/completeness.ts
7
7
  /** The ten fields a GenAI trace is scored on. */
@@ -661,109 +661,109 @@ function createSchemaValidationProcessor(opts) {
661
661
  }
662
662
 
663
663
  //#endregion
664
- Object.defineProperty(exports, 'ATTRIBUTE_TYPES', {
664
+ Object.defineProperty(exports, "ATTRIBUTE_TYPES", {
665
665
  enumerable: true,
666
666
  get: function () {
667
667
  return ATTRIBUTE_TYPES;
668
668
  }
669
669
  });
670
- Object.defineProperty(exports, 'SCHEMA_VIOLATION_ATTRS', {
670
+ Object.defineProperty(exports, "SCHEMA_VIOLATION_ATTRS", {
671
671
  enumerable: true,
672
672
  get: function () {
673
673
  return SCHEMA_VIOLATION_ATTRS;
674
674
  }
675
675
  });
676
- Object.defineProperty(exports, 'STABILITIES', {
676
+ Object.defineProperty(exports, "STABILITIES", {
677
677
  enumerable: true,
678
678
  get: function () {
679
679
  return STABILITIES;
680
680
  }
681
681
  });
682
- Object.defineProperty(exports, 'SchemaValidationSpanProcessor', {
682
+ Object.defineProperty(exports, "SchemaValidationSpanProcessor", {
683
683
  enumerable: true,
684
684
  get: function () {
685
685
  return SchemaValidationSpanProcessor;
686
686
  }
687
687
  });
688
- Object.defineProperty(exports, 'allowsAdditionalAttributes', {
688
+ Object.defineProperty(exports, "allowsAdditionalAttributes", {
689
689
  enumerable: true,
690
690
  get: function () {
691
691
  return allowsAdditionalAttributes;
692
692
  }
693
693
  });
694
- Object.defineProperty(exports, 'checkScenario', {
694
+ Object.defineProperty(exports, "checkScenario", {
695
695
  enumerable: true,
696
696
  get: function () {
697
697
  return checkScenario;
698
698
  }
699
699
  });
700
- Object.defineProperty(exports, 'createSchemaValidationProcessor', {
700
+ Object.defineProperty(exports, "createSchemaValidationProcessor", {
701
701
  enumerable: true,
702
702
  get: function () {
703
703
  return createSchemaValidationProcessor;
704
704
  }
705
705
  });
706
- Object.defineProperty(exports, 'defineContract', {
706
+ Object.defineProperty(exports, "defineContract", {
707
707
  enumerable: true,
708
708
  get: function () {
709
709
  return defineContract;
710
710
  }
711
711
  });
712
- Object.defineProperty(exports, 'evaluateScenario', {
712
+ Object.defineProperty(exports, "evaluateScenario", {
713
713
  enumerable: true,
714
714
  get: function () {
715
715
  return evaluateScenario;
716
716
  }
717
717
  });
718
- Object.defineProperty(exports, 'formatScenarioResult', {
718
+ Object.defineProperty(exports, "formatScenarioResult", {
719
719
  enumerable: true,
720
720
  get: function () {
721
721
  return formatScenarioResult;
722
722
  }
723
723
  });
724
- Object.defineProperty(exports, 'formatViolation', {
724
+ Object.defineProperty(exports, "formatViolation", {
725
725
  enumerable: true,
726
726
  get: function () {
727
727
  return formatViolation;
728
728
  }
729
729
  });
730
- Object.defineProperty(exports, 'hasErrors', {
730
+ Object.defineProperty(exports, "hasErrors", {
731
731
  enumerable: true,
732
732
  get: function () {
733
733
  return hasErrors;
734
734
  }
735
735
  });
736
- Object.defineProperty(exports, 'isScenarioClosed', {
736
+ Object.defineProperty(exports, "isScenarioClosed", {
737
737
  enumerable: true,
738
738
  get: function () {
739
739
  return isScenarioClosed;
740
740
  }
741
741
  });
742
- Object.defineProperty(exports, 'parseCardinality', {
742
+ Object.defineProperty(exports, "parseCardinality", {
743
743
  enumerable: true,
744
744
  get: function () {
745
745
  return parseCardinality;
746
746
  }
747
747
  });
748
- Object.defineProperty(exports, 'proposeScenario', {
748
+ Object.defineProperty(exports, "proposeScenario", {
749
749
  enumerable: true,
750
750
  get: function () {
751
751
  return proposeScenario;
752
752
  }
753
753
  });
754
- Object.defineProperty(exports, 'resolveAttributeSpec', {
754
+ Object.defineProperty(exports, "resolveAttributeSpec", {
755
755
  enumerable: true,
756
756
  get: function () {
757
757
  return resolveAttributeSpec;
758
758
  }
759
759
  });
760
- Object.defineProperty(exports, 'validateScenarioSpec', {
760
+ Object.defineProperty(exports, "validateScenarioSpec", {
761
761
  enumerable: true,
762
762
  get: function () {
763
763
  return validateScenarioSpec;
764
764
  }
765
765
  });
766
- Object.defineProperty(exports, 'validateSpan', {
766
+ Object.defineProperty(exports, "validateSpan", {
767
767
  enumerable: true,
768
768
  get: function () {
769
769
  return validateSpan;
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_processor = require('./processor-CsvGNvJL.cjs');
2
+ const require_processor = require("./processor-DKIwxtAp.cjs");
3
3
 
4
4
  exports.SCHEMA_VIOLATION_ATTRS = require_processor.SCHEMA_VIOLATION_ATTRS;
5
5
  exports.SchemaValidationSpanProcessor = require_processor.SchemaValidationSpanProcessor;
@@ -83,31 +83,31 @@ function parseSnapshot(json) {
83
83
  }
84
84
 
85
85
  //#endregion
86
- Object.defineProperty(exports, 'SCHEMA_ATTRS', {
86
+ Object.defineProperty(exports, "SCHEMA_ATTRS", {
87
87
  enumerable: true,
88
88
  get: function () {
89
89
  return SCHEMA_ATTRS;
90
90
  }
91
91
  });
92
- Object.defineProperty(exports, 'SNAPSHOT_SPEC', {
92
+ Object.defineProperty(exports, "SNAPSHOT_SPEC", {
93
93
  enumerable: true,
94
94
  get: function () {
95
95
  return SNAPSHOT_SPEC;
96
96
  }
97
97
  });
98
- Object.defineProperty(exports, 'contractToSnapshot', {
98
+ Object.defineProperty(exports, "contractToSnapshot", {
99
99
  enumerable: true,
100
100
  get: function () {
101
101
  return contractToSnapshot;
102
102
  }
103
103
  });
104
- Object.defineProperty(exports, 'parseSnapshot', {
104
+ Object.defineProperty(exports, "parseSnapshot", {
105
105
  enumerable: true,
106
106
  get: function () {
107
107
  return parseSnapshot;
108
108
  }
109
109
  });
110
- Object.defineProperty(exports, 'serializeSnapshot', {
110
+ Object.defineProperty(exports, "serializeSnapshot", {
111
111
  enumerable: true,
112
112
  get: function () {
113
113
  return serializeSnapshot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel-schema",
3
- "version": "20.0.5",
3
+ "version": "20.0.7",
4
4
  "description": "Your telemetry surface as a typed, versioned contract — declare the spans and attributes your service emits, validate live spans against them, and diff the surface across commits to catch breaking trace changes before they ship.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "author": "Jag Reehal <jag@jagreehal.com> (https://jagreehal.com)",
47
47
  "license": "Apache-2.0",
48
48
  "peerDependencies": {
49
- "autotel": "8.2.0"
49
+ "autotel": "8.2.2"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "autotel": {
@@ -54,11 +54,11 @@
54
54
  }
55
55
  },
56
56
  "devDependencies": {
57
- "@types/node": "^26.6.3",
57
+ "@types/node": "^26.6.5",
58
58
  "rimraf": "^6.1.3",
59
- "tsdown": "^0.23.0",
59
+ "tsdown": "^0.23.1",
60
60
  "typescript": "^7.0.2",
61
- "vitest": "^5.0.2"
61
+ "vitest": "^5.0.4"
62
62
  },
63
63
  "repository": {
64
64
  "type": "git",