@astrale-os/sdk 0.5.0-beta.147 → 0.5.0-beta.149

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.
@@ -122,9 +122,11 @@ function acceptGeneratedMaterial(input, runtime) {
122
122
  invalid();
123
123
  }
124
124
  assertMaterialEnvelope(material, runtime);
125
- const accepted = deepFreeze({ material });
125
+ // One traversal seals the whole envelope. `input.material` is the exact `material` value and
126
+ // every other admitted key holds a primitive, so a second pass would re-walk an already frozen
127
+ // graph: on a real Domain that is one redundant traversal of every `schema.compiled` node.
126
128
  deepFreeze(input);
127
- return accepted;
129
+ return Object.freeze({ material });
128
130
  }
129
131
  function digestOf(input) {
130
132
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/sdk",
3
- "version": "0.5.0-beta.147",
3
+ "version": "0.5.0-beta.149",
4
4
  "description": "Schema-first SDK for defining, composing, and deploying Astrale domains",
5
5
  "keywords": [
6
6
  "astrale",