@forgeax/engine-preview 0.1.27 → 0.1.29

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
@@ -1427,8 +1427,8 @@ function inspectVfxSubject(input) {
1427
1427
  }
1428
1428
  );
1429
1429
  }
1430
- if (input.asset.schemaVersion !== 2) {
1431
- return subjectFailure("resource-preview-subject-invalid", "a schema-v2 ParticleEffectAsset", {
1430
+ if (input.asset.schemaVersion !== 3) {
1431
+ return subjectFailure("resource-preview-subject-invalid", "a schema-v3 ParticleEffectAsset", {
1432
1432
  phase: "subject",
1433
1433
  guid: input.guid,
1434
1434
  field: "schemaVersion"
@@ -1436,10 +1436,10 @@ function inspectVfxSubject(input) {
1436
1436
  }
1437
1437
  const program = input.asset.program;
1438
1438
  const programFingerprint = requiredString2(input.asset.programFingerprint);
1439
- if (!isRecord7(program) || program.format !== "forgeax-vfx-program-2") {
1439
+ if (!isRecord7(program) || program.format !== "forgeax-vfx-program-3") {
1440
1440
  return subjectFailure(
1441
1441
  "resource-preview-subject-invalid",
1442
- "a cooked forgeax-vfx-program-2 payload",
1442
+ "a cooked forgeax-vfx-program-3 payload",
1443
1443
  {
1444
1444
  phase: "subject",
1445
1445
  guid: input.guid,