hytopia 0.4.1-dev.2 → 0.4.1-dev.4
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/bin/scripts.js +2 -2
- package/examples/ai-agents/package.json +4 -1
- package/examples/big-world/package.json +4 -1
- package/examples/block-entity/package.json +4 -1
- package/examples/child-entity/package.json +4 -1
- package/examples/custom-ui/package.json +4 -1
- package/examples/entity-controller/package.json +4 -1
- package/examples/entity-spawn/package.json +4 -1
- package/examples/hole-in-wall-game/package.json +4 -1
- package/examples/hygrounds/package.json +5 -2
- package/examples/lighting/package.json +4 -2
- package/examples/mobile-controls/package.json +4 -1
- package/examples/pathfinding/package.json +4 -1
- package/examples/payload-game/package.json +4 -2
- package/examples/player-persistence/package.json +4 -1
- package/examples/wall-dodge-game/package.json +4 -1
- package/examples/zombies-fps/package.json +4 -1
- package/package.json +2 -2
- package/server.js +137 -143
package/bin/scripts.js
CHANGED
@@ -104,8 +104,8 @@ function init() {
|
|
104
104
|
function installProjectDependencies() {
|
105
105
|
execSync('bun init --yes');
|
106
106
|
execSync('bun add hytopia@latest --force');
|
107
|
-
execSync('bun add @hytopia.com/assets --force');
|
108
|
-
execSync('bun pm trust mediasoup');
|
107
|
+
execSync('bun add @hytopia.com/assets --force');b
|
108
|
+
// execSync('bun pm trust mediasoup'); uncomment this when webrtc support ships.
|
109
109
|
}
|
110
110
|
|
111
111
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"name": "
|
2
|
+
"name": "hygrounds",
|
3
3
|
"version": "1.0.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
@@ -12,5 +12,8 @@
|
|
12
12
|
"dependencies": {
|
13
13
|
"@hytopia.com/assets": "latest",
|
14
14
|
"hytopia": "latest"
|
15
|
-
}
|
15
|
+
},
|
16
|
+
"trustedDependencies": [
|
17
|
+
"mediasoup"
|
18
|
+
]
|
16
19
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hytopia",
|
3
|
-
"version": "0.4.1-dev.
|
3
|
+
"version": "0.4.1-dev.4",
|
4
4
|
"description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
|
5
5
|
"main": "server.js",
|
6
6
|
"bin": {
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"dependencies": {
|
51
51
|
"archiver": "^7.0.1",
|
52
52
|
"@gltf-transform/cli": "4.1.1",
|
53
|
-
"mediasoup": "
|
53
|
+
"mediasoup": "3.15.7"
|
54
54
|
},
|
55
55
|
"trustedDependencies": [
|
56
56
|
"mediasoup",
|