hytopia 0.14.12 → 0.14.14

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
@@ -375,7 +375,7 @@ async function packageProject() {
375
375
 
376
376
  const entryFile = path.join(sourceDir, 'index.mjs');
377
377
  const child = spawn(process.execPath, [entryFile], {
378
- stdio: 'pipe',
378
+ stdio: ['ignore', 'pipe', 'inherit'], // stdin ignored, stdout piped (to check for ready), stderr inherited (shows warnings/errors)
379
379
  shell: false,
380
380
  cwd: sourceDir,
381
381
  });
@@ -384,7 +384,7 @@ async function packageProject() {
384
384
  child.stdout.on('data', data => {
385
385
  process.stdout.write(data);
386
386
 
387
- if (data.toString().includes('Server running')) {
387
+ if (data.toString().toLowerCase().includes('server running')) {
388
388
  child.kill();
389
389
  resolve();
390
390
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.14.12",
3
+ "version": "0.14.14",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./server.mjs",