@quake2ts/test-utils 0.0.745 → 0.0.749
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.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/game/factories.ts +2 -1
- package/src/visual/snapshots.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quake2ts/test-utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.749",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"pngjs": "^7.0.0",
|
|
40
40
|
"vitest": "^1.6.0",
|
|
41
41
|
"webgpu": "^0.3.8",
|
|
42
|
-
"@quake2ts/engine": "^0.0.
|
|
43
|
-
"@quake2ts/
|
|
44
|
-
"@quake2ts/shared": "0.0.
|
|
45
|
-
"@quake2ts/
|
|
42
|
+
"@quake2ts/engine": "^0.0.749",
|
|
43
|
+
"@quake2ts/game": "0.0.749",
|
|
44
|
+
"@quake2ts/shared": "0.0.749",
|
|
45
|
+
"@quake2ts/server": "0.0.749"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@quake2ts/engine": {
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
"typescript": "^5.4.5",
|
|
93
93
|
"vitest": "^1.6.0",
|
|
94
94
|
"webgpu": "^0.3.8",
|
|
95
|
-
"@quake2ts/engine": "^0.0.
|
|
96
|
-
"@quake2ts/server": "0.0.
|
|
97
|
-
"@quake2ts/shared": "0.0.
|
|
98
|
-
"@quake2ts/game": "0.0.
|
|
95
|
+
"@quake2ts/engine": "^0.0.749",
|
|
96
|
+
"@quake2ts/server": "0.0.749",
|
|
97
|
+
"@quake2ts/shared": "0.0.749",
|
|
98
|
+
"@quake2ts/game": "0.0.749"
|
|
99
99
|
},
|
|
100
100
|
"scripts": {
|
|
101
101
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
package/src/game/factories.ts
CHANGED
|
@@ -172,7 +172,8 @@ export function createPlayerEntityFactory(overrides: Partial<Entity> = {}): Part
|
|
|
172
172
|
weaponIdleTime: 0,
|
|
173
173
|
states: new Map(), // Initialize states map correctly
|
|
174
174
|
activeWeaponId: null
|
|
175
|
-
}
|
|
175
|
+
},
|
|
176
|
+
gun_frame: 0 // Initialize gun_frame
|
|
176
177
|
} as any,
|
|
177
178
|
...overrides
|
|
178
179
|
});
|
package/src/visual/snapshots.ts
CHANGED