hytopia 0.4.1 → 0.4.3

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 CHANGED
@@ -105,6 +105,7 @@ function installProjectDependencies() {
105
105
  execSync('bun init --yes');
106
106
  execSync('bun add hytopia@latest --force');
107
107
  execSync('bun add @hytopia.com/assets --force');
108
+ execSync('bun pm trust mediasoup');
108
109
  }
109
110
 
110
111
  /**
package/bun.lock CHANGED
@@ -5,12 +5,15 @@
5
5
  "name": "hytopia",
6
6
  "dependencies": {
7
7
  "@gltf-transform/cli": "4.1.1",
8
- },
9
- "devDependencies": {
10
8
  "archiver": "^7.0.1",
9
+ "mediasoup": "^3.15.7",
11
10
  },
12
11
  },
13
12
  },
13
+ "trustedDependencies": [
14
+ "sharp",
15
+ "mediasoup",
16
+ ],
14
17
  "packages": {
15
18
  "@colors/colors": ["@colors/colors@1.5.0", "", {}, "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ=="],
16
19
 
@@ -68,12 +71,16 @@
68
71
 
69
72
  "@isaacs/cliui": ["@isaacs/cliui@8.0.2", "", { "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", "strip-ansi": "^7.0.1", "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", "wrap-ansi": "^8.1.0", "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" } }, "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA=="],
70
73
 
74
+ "@isaacs/fs-minipass": ["@isaacs/fs-minipass@4.0.1", "", { "dependencies": { "minipass": "^7.0.4" } }, "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w=="],
75
+
71
76
  "@pkgjs/parseargs": ["@pkgjs/parseargs@0.11.0", "", {}, "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg=="],
72
77
 
73
78
  "@types/braces": ["@types/braces@3.0.5", "", {}, "sha512-SQFof9H+LXeWNz8wDe7oN5zu7ket0qwMu5vZubW4GCJ8Kkeh6nBWUz87+KTz/G3Kqsrp0j/W253XJb3KMEeg3w=="],
74
79
 
75
80
  "@types/glob": ["@types/glob@8.1.0", "", { "dependencies": { "@types/minimatch": "^5.1.2", "@types/node": "*" } }, "sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w=="],
76
81
 
82
+ "@types/ini": ["@types/ini@4.1.1", "", {}, "sha512-MIyNUZipBTbyUNnhvuXJTY7B6qNI78meck9Jbv3wk0OgNwRyOOVEKDutAkOs1snB/tx0FafyR6/SN4Ps0hZPeg=="],
83
+
77
84
  "@types/language-tags": ["@types/language-tags@1.0.4", "", {}, "sha512-20PQbifv3v/djCT+KlXybv0KqO5ofoR1qD1wkinN59kfggTPVTWGmPFgL/1yWuDyRcsQP/POvkqK+fnl5nOwTg=="],
78
85
 
79
86
  "@types/lodash": ["@types/lodash@4.17.16", "", {}, "sha512-HX7Em5NYQAXKW+1T+FiuG27NGwzJfCX3s1GjOa7ujxZa52kjJLOr4FUxT+giF6Tgxv1e+/czV/iTtBw27WTU9g=="],
@@ -140,6 +147,8 @@
140
147
 
141
148
  "chalk": ["chalk@3.0.0", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg=="],
142
149
 
150
+ "chownr": ["chownr@3.0.0", "", {}, "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g=="],
151
+
143
152
  "cli-cursor": ["cli-cursor@5.0.0", "", { "dependencies": { "restore-cursor": "^5.0.0" } }, "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw=="],
144
153
 
145
154
  "cli-table3": ["cli-table3@0.6.5", "", { "dependencies": { "string-width": "^4.2.0" }, "optionalDependencies": { "@colors/colors": "1.5.0" } }, "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ=="],
@@ -178,6 +187,8 @@
178
187
 
179
188
  "data-uri-to-buffer": ["data-uri-to-buffer@4.0.1", "", {}, "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A=="],
180
189
 
190
+ "debug": ["debug@4.4.0", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA=="],
191
+
181
192
  "delayed-stream": ["delayed-stream@1.0.0", "", {}, "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="],
182
193
 
183
194
  "detect-libc": ["detect-libc@2.0.3", "", {}, "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw=="],
@@ -220,6 +231,8 @@
220
231
 
221
232
  "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="],
222
233
 
234
+ "flatbuffers": ["flatbuffers@25.2.10", "", {}, "sha512-7JlN9ZvLDG1McO3kbX0k4v+SUAg48L1rIwEvN6ZQl/eCtgJz9UylTMzE9wrmYrcorgxm3CX/3T/w5VAub99UUw=="],
235
+
223
236
  "fn.name": ["fn.name@1.1.0", "", {}, "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="],
224
237
 
225
238
  "foreground-child": ["foreground-child@3.3.1", "", { "dependencies": { "cross-spawn": "^7.0.6", "signal-exit": "^4.0.1" } }, "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw=="],
@@ -244,6 +257,8 @@
244
257
 
245
258
  "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],
246
259
 
260
+ "h264-profile-level-id": ["h264-profile-level-id@2.2.0", "", { "dependencies": { "debug": "^4.4.0" } }, "sha512-CwCzxvUWuOvJ0zI8Ltysq+7BBQ9kCoP2FnfYg5ZLLY3pZ2YfH+o6IqP9Eu8XHWqJM2JlmHMHfAApiQ5IDWSRQA=="],
261
+
247
262
  "has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],
248
263
 
249
264
  "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
@@ -256,6 +271,8 @@
256
271
 
257
272
  "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
258
273
 
274
+ "ini": ["ini@5.0.0", "", {}, "sha512-+N0ngpO3e7cRUWOJAS7qw0IZIVc6XPrW4MlFBdD066F2L4k1L6ker3hLqSq7iXxU5tgS4WGkIUElWn5vogAEnw=="],
275
+
259
276
  "iota-array": ["iota-array@1.0.0", "", {}, "sha512-pZ2xT+LOHckCatGQ3DcG/a+QuEqvoxqkiL7tvE8nn3uuu+f6i1TtpB5/FtWFbxUuVr5PZCx8KskuGatbJDXOWA=="],
260
277
 
261
278
  "is-arrayish": ["is-arrayish@0.3.2", "", {}, "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="],
@@ -302,6 +319,8 @@
302
319
 
303
320
  "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
304
321
 
322
+ "mediasoup": ["mediasoup@3.15.7", "", { "dependencies": { "@types/ini": "^4.1.1", "debug": "^4.4.0", "flatbuffers": "^25.2.10", "h264-profile-level-id": "^2.2.0", "ini": "^5.0.0", "node-fetch": "^3.3.2", "supports-color": "^10.0.0", "tar": "^7.4.3" } }, "sha512-rtf6muWw9shaytcdvYCnQdHboCui9RDL02AVc79cSgcFina7PH/EBfVJ8BckVw3h/MW8D/wmLanOTFipEU/BzA=="],
323
+
305
324
  "meshoptimizer": ["meshoptimizer@0.22.0", "", {}, "sha512-IebiK79sqIy+E4EgOr+CAw+Ke8hAspXKzBd0JdgEmPHiAwmvEj2S4h1rfvo+o/BnfEYd/jAOg5IeeIjzlzSnDg=="],
306
325
 
307
326
  "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="],
@@ -318,6 +337,10 @@
318
337
 
319
338
  "minipass": ["minipass@7.1.2", "", {}, "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw=="],
320
339
 
340
+ "minizlib": ["minizlib@3.0.2", "", { "dependencies": { "minipass": "^7.1.2" } }, "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA=="],
341
+
342
+ "mkdirp": ["mkdirp@3.0.1", "", { "bin": { "mkdirp": "dist/cjs/src/bin.js" } }, "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg=="],
343
+
321
344
  "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
322
345
 
323
346
  "ndarray": ["ndarray@1.0.19", "", { "dependencies": { "iota-array": "^1.0.0", "is-buffer": "^1.0.2" } }, "sha512-B4JHA4vdyZU30ELBw3g7/p9bZupyew5a7tX1Y/gGeF2hafrPaQZhgrGQfsvgfYbgdFZjYwuEcnaobeM/WMW+HQ=="],
@@ -410,10 +433,12 @@
410
433
 
411
434
  "strip-ansi-cjs": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
412
435
 
413
- "supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
436
+ "supports-color": ["supports-color@10.0.0", "", {}, "sha512-HRVVSbCCMbj7/kdWF9Q+bbckjBHLtHMEoJWlkmYzzdwhYMkjkOwubLM6t7NbWKjgKamGDrWL1++KrjUO1t9oAQ=="],
414
437
 
415
438
  "table": ["table@5.4.6", "", { "dependencies": { "ajv": "^6.10.2", "lodash": "^4.17.14", "slice-ansi": "^2.1.0", "string-width": "^3.0.0" } }, "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug=="],
416
439
 
440
+ "tar": ["tar@7.4.3", "", { "dependencies": { "@isaacs/fs-minipass": "^4.0.0", "chownr": "^3.0.0", "minipass": "^7.1.2", "minizlib": "^3.0.1", "mkdirp": "^3.0.1", "yallist": "^5.0.0" } }, "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw=="],
441
+
417
442
  "tar-stream": ["tar-stream@3.1.7", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="],
418
443
 
419
444
  "text-decoder": ["text-decoder@1.2.3", "", { "dependencies": { "b4a": "^1.6.4" } }, "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA=="],
@@ -448,6 +473,8 @@
448
473
 
449
474
  "wrap-ansi-cjs": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
450
475
 
476
+ "yallist": ["yallist@5.0.0", "", {}, "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw=="],
477
+
451
478
  "yocto-queue": ["yocto-queue@1.2.1", "", {}, "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg=="],
452
479
 
453
480
  "zip-stream": ["zip-stream@6.0.1", "", { "dependencies": { "archiver-utils": "^5.0.0", "compress-commons": "^6.0.2", "readable-stream": "^4.0.0" } }, "sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA=="],
@@ -466,6 +493,8 @@
466
493
 
467
494
  "@types/wrap-ansi/wrap-ansi": ["wrap-ansi@9.0.0", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q=="],
468
495
 
496
+ "chalk/supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
497
+
469
498
  "cli-truncate/slice-ansi": ["slice-ansi@5.0.0", "", { "dependencies": { "ansi-styles": "^6.0.0", "is-fullwidth-code-point": "^4.0.0" } }, "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ=="],
470
499
 
471
500
  "cli-truncate/string-width": ["string-width@7.2.0", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="],
@@ -10,6 +10,10 @@ The entities in the map.
10
10
 
11
11
  ```typescript
12
12
  entities?: {
13
- [position: string]: EntityOptions;
13
+ [position: string]: Omit<EntityOptions, 'rigidBodyOptions'> & {
14
+ rigidBodyOptions?: Omit<NonNullable<EntityOptions['rigidBodyOptions']>, 'type'> & {
15
+ type?: any;
16
+ };
17
+ };
14
18
  };
15
19
  ```
@@ -83,7 +83,7 @@ _(Optional)_ The block types in the map.
83
83
 
84
84
  </td><td>
85
85
 
86
- { \[position: string\]: [EntityOptions](./server.entityoptions.md)<!-- -->; }
86
+ { \[position: string\]: Omit&lt;[EntityOptions](./server.entityoptions.md)<!-- -->, 'rigidBodyOptions'&gt; &amp; { rigidBodyOptions?: Omit&lt;NonNullable&lt;[EntityOptions](./server.entityoptions.md)<!-- -->\['rigidBodyOptions'\]&gt;, 'type'&gt; &amp; { type?: any; }; }; }
87
87
 
88
88
 
89
89
  </td><td>
@@ -12,5 +12,8 @@
12
12
  "@hytopia.com/assets": "latest",
13
13
  "hytopia": "latest",
14
14
  "openai": "^4.77.3"
15
- }
15
+ },
16
+ "trustedDependencies": [
17
+ "mediasoup"
18
+ ]
16
19
  }
@@ -11,5 +11,8 @@
11
11
  "dependencies": {
12
12
  "@hytopia.com/assets": "latest",
13
13
  "hytopia": "latest"
14
- }
14
+ },
15
+ "trustedDependencies": [
16
+ "mediasoup"
17
+ ]
15
18
  }
@@ -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
  }
@@ -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
  }
@@ -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
  }
@@ -12,5 +12,8 @@
12
12
  "dependencies": {
13
13
  "hytopia": "latest",
14
14
  "@hytopia.com/assets": "latest"
15
- }
15
+ },
16
+ "trustedDependencies": [
17
+ "mediasoup"
18
+ ]
16
19
  }
@@ -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
  }
@@ -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
  }
@@ -1561,7 +1561,7 @@
1561
1561
  width: 45px;
1562
1562
  height: 45px;
1563
1563
  -webkit-tap-highlight-color: transparent;
1564
- touch-action: manipulation;
1564
+ touch-action: none;
1565
1565
  user-select: none;
1566
1566
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
1567
1567
  will-change: transform, background-color;
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "zombies-fps",
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
  }
@@ -12,6 +12,8 @@
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "latest",
14
14
  "hytopia": "latest"
15
-
16
- }
15
+ },
16
+ "trustedDependencies": [
17
+ "mediasoup"
18
+ ]
17
19
  }
@@ -11,5 +11,8 @@
11
11
  "dependencies": {
12
12
  "@hytopia.com/assets": "latest",
13
13
  "hytopia": "latest"
14
- }
14
+ },
15
+ "trustedDependencies": [
16
+ "mediasoup"
17
+ ]
15
18
  }
@@ -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
  }
@@ -12,6 +12,8 @@
12
12
  "dependencies": {
13
13
  "@hytopia.com/assets": "latest",
14
14
  "hytopia": "latest"
15
-
16
- }
15
+ },
16
+ "trustedDependencies": [
17
+ "mediasoup"
18
+ ]
17
19
  }
@@ -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
  }
@@ -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
  }
@@ -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",
3
+ "version": "0.4.3",
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": {
@@ -49,6 +49,10 @@
49
49
  "homepage": "https://github.com/hytopiagg/sdk#readme",
50
50
  "dependencies": {
51
51
  "archiver": "^7.0.1",
52
+ "mediasoup": "3.15.7",
52
53
  "@gltf-transform/cli": "4.1.1"
53
- }
54
+ },
55
+ "trustedDependencies": [
56
+ "mediasoup"
57
+ ]
54
58
  }
package/server.api.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.51.0",
4
+ "toolVersion": "7.52.5",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -44426,6 +44426,15 @@
44426
44426
  "kind": "Content",
44427
44427
  "text": "{\n [position: string]: "
44428
44428
  },
44429
+ {
44430
+ "kind": "Reference",
44431
+ "text": "Omit",
44432
+ "canonicalReference": "!Omit:type"
44433
+ },
44434
+ {
44435
+ "kind": "Content",
44436
+ "text": "<"
44437
+ },
44429
44438
  {
44430
44439
  "kind": "Reference",
44431
44440
  "text": "EntityOptions",
@@ -44433,7 +44442,34 @@
44433
44442
  },
44434
44443
  {
44435
44444
  "kind": "Content",
44436
- "text": ";\n }"
44445
+ "text": ", 'rigidBodyOptions'> & {\n rigidBodyOptions?: "
44446
+ },
44447
+ {
44448
+ "kind": "Reference",
44449
+ "text": "Omit",
44450
+ "canonicalReference": "!Omit:type"
44451
+ },
44452
+ {
44453
+ "kind": "Content",
44454
+ "text": "<"
44455
+ },
44456
+ {
44457
+ "kind": "Reference",
44458
+ "text": "NonNullable",
44459
+ "canonicalReference": "!NonNullable:type"
44460
+ },
44461
+ {
44462
+ "kind": "Content",
44463
+ "text": "<"
44464
+ },
44465
+ {
44466
+ "kind": "Reference",
44467
+ "text": "EntityOptions",
44468
+ "canonicalReference": "server!EntityOptions:type"
44469
+ },
44470
+ {
44471
+ "kind": "Content",
44472
+ "text": "['rigidBodyOptions']>, 'type'> & {\n type?: any;\n };\n };\n }"
44437
44473
  },
44438
44474
  {
44439
44475
  "kind": "Content",
@@ -44446,7 +44482,7 @@
44446
44482
  "name": "entities",
44447
44483
  "propertyTypeTokenRange": {
44448
44484
  "startIndex": 1,
44449
- "endIndex": 4
44485
+ "endIndex": 12
44450
44486
  }
44451
44487
  }
44452
44488
  ],
package/server.d.ts CHANGED
@@ -5783,7 +5783,11 @@ export declare interface WorldMap {
5783
5783
  /** The entities in the map. */
5784
5784
  entities?: {
5785
5785
  /** The position to entity as entity options mapping. */
5786
- [position: string]: EntityOptions;
5786
+ [position: string]: Omit<EntityOptions, 'rigidBodyOptions'> & {
5787
+ rigidBodyOptions?: Omit<NonNullable<EntityOptions['rigidBodyOptions']>, 'type'> & {
5788
+ type?: any;
5789
+ };
5790
+ };
5787
5791
  };
5788
5792
  }
5789
5793