@forgeax/engine-import 0.1.35 → 0.1.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgeax/engine-import",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -27,13 +27,13 @@
27
27
  "LICENSE"
28
28
  ],
29
29
  "dependencies": {
30
- "@forgeax/engine-ddc": "0.1.35",
31
- "@forgeax/engine-ecs": "0.1.35",
32
- "@forgeax/engine-geometry": "0.1.35",
33
- "@forgeax/engine-pack": "0.1.35",
34
- "@forgeax/engine-scene": "0.1.35",
35
- "@forgeax/engine-shader": "0.1.35",
36
- "@forgeax/engine-types": "0.1.35",
30
+ "@forgeax/engine-ddc": "0.1.37",
31
+ "@forgeax/engine-ecs": "0.1.37",
32
+ "@forgeax/engine-geometry": "0.1.37",
33
+ "@forgeax/engine-pack": "0.1.37",
34
+ "@forgeax/engine-scene": "0.1.37",
35
+ "@forgeax/engine-shader": "0.1.37",
36
+ "@forgeax/engine-types": "0.1.37",
37
37
  "@noble/hashes": "^2.2.0"
38
38
  },
39
39
  "devDependencies": {
@@ -132,7 +132,7 @@ describe('ScriptablePack external Meta staging', () => {
132
132
  programFingerprint: 'sha256:cooked',
133
133
  emitters: [],
134
134
  program: {
135
- format: 'forgeax-vfx-program-3',
135
+ format: 'forgeax-vfx-program-4',
136
136
  fingerprint: 'sha256:cooked',
137
137
  emitters: [],
138
138
  },
@@ -169,7 +169,7 @@ describe('ScriptablePack external Meta staging', () => {
169
169
  asset: {
170
170
  kind: 'particle-effect',
171
171
  programFingerprint: 'sha256:cooked',
172
- program: { format: 'forgeax-vfx-program-3' },
172
+ program: { format: 'forgeax-vfx-program-4' },
173
173
  },
174
174
  });
175
175
  });
@@ -57,7 +57,7 @@ function canonicalAttributes(vertexCount: number): MeshAsset['attributes'] {
57
57
  }
58
58
 
59
59
  const particleProgram = {
60
- format: 'forgeax-vfx-program-3',
60
+ format: 'forgeax-vfx-program-4',
61
61
  fingerprint: 'sha256:scriptable-pack-matrix',
62
62
  emitters: [
63
63
  {
@@ -134,7 +134,7 @@ async function stageSourcePackageDdc(
134
134
  const session = new DdcGenerationSession(input.root, { generation: 1 });
135
135
  try {
136
136
  const candidate = await session.stageEntry(input.entry);
137
- return ok({ ...candidate, root: input.root, session, context: input.context });
137
+ return ok(Object.assign(candidate, { root: input.root, session, context: input.context }));
138
138
  } catch (error) {
139
139
  return err(
140
140
  sourcePackageError('source-package-ddc-failed', input.context, {