@vesium/parser 1.0.1-beta.57 → 1.0.1-beta.61
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/README.md +1 -1
- package/dist/index.cjs +9 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.iife.js +9 -6
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +1 -1
- package/dist/index.iife.min.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.mjs +1 -1
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
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
|
-
|
|
575
|
-
|
|
574
|
+
parser: "MaterialProperty",
|
|
575
|
+
value: {
|
|
576
|
+
name: program.programName,
|
|
577
|
+
content: program.toJSON(instance)
|
|
578
|
+
}
|
|
576
579
|
};
|
|
577
580
|
}
|
|
578
581
|
/**
|