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

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
@@ -473,7 +473,7 @@ function BillboardGraphicsToJSON(instance, time, omit) {
473
473
  return {
474
474
  parser: "BillboardGraphics",
475
475
  value: {
476
- show: omit?.includes("show") ? void 0 : omit.includes("show") ? void 0 : toPropertyValue(instance.show, time),
476
+ show: omit?.includes("show") ? void 0 : toPropertyValue(instance.show, time),
477
477
  image: omit?.includes("image") ? void 0 : toPropertyValue(instance.image, time),
478
478
  scale: omit?.includes("scale") ? void 0 : toPropertyValue(instance.scale, time),
479
479
  pixelOffset: omit?.includes("pixelOffset") ? void 0 : Cartesian2ToJSON(toPropertyValue(instance.pixelOffset, time)),
@@ -506,7 +506,7 @@ function BillboardGraphicsFromJSON(json, result, omit) {
506
506
  if (!json) return;
507
507
  json = BillboardGraphicsZodSchema().parse(json);
508
508
  const instance = new BillboardGraphics({
509
- show: omit?.includes("show") ? void 0 : omit?.includes("show") ? void 0 : json.value.show,
509
+ show: omit?.includes("show") ? void 0 : json.value.show,
510
510
  image: omit?.includes("image") ? void 0 : json.value.image,
511
511
  scale: omit?.includes("scale") ? void 0 : json.value.scale,
512
512
  pixelOffset: omit?.includes("pixelOffset") ? void 0 : Cartesian2FromJSON(json.value.pixelOffset),