@vesium/parser 1.0.1-beta.57 → 1.0.1-beta.59

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.mjs CHANGED
@@ -571,8 +571,11 @@ function MaterialPropertyToJSON(instance) {
571
571
  if (!notNullish(instance)) return;
572
572
  const program = [..._programs.values()].find((item) => item.predicate(instance));
573
573
  if (program) return {
574
- name: program.programName,
575
- content: program.toJSON(instance)
574
+ parser: "MaterialProperty",
575
+ value: {
576
+ name: program.programName,
577
+ content: program.toJSON(instance)
578
+ }
576
579
  };
577
580
  }
578
581
  /**