hytopia 0.10.43 → 0.10.45

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
@@ -495,7 +495,7 @@ function checkHostsConfiguration(verbose = false) {
495
495
  try {
496
496
  content = fs.existsSync(hostsPath) ? fs.readFileSync(hostsPath, 'utf8') : '';
497
497
  } catch {
498
- console.warn(`⚠️ Unable to check hosts configuration. If you can connect to your local server you can ignore this. Otherwise, run 'sudo hytopia update-hosts' to fix this.`);
498
+ console.warn(`⚠️ Unable to check hosts configuration. If you can connect to your local server you can ignore this. Otherwise, run 'sudo hytopia update-hosts' to fix connectivity issues.`);
499
499
  return; // no read access; skip silently
500
500
  }
501
501
 
@@ -516,7 +516,7 @@ function checkHostsConfiguration(verbose = false) {
516
516
  `127.0.0.1 ${DOMAIN}`,
517
517
  `::1 ${DOMAIN}`,
518
518
  managedEnd,
519
- ''
519
+ '', '' // double empty line to give spacing in hosts for nicer formatting
520
520
  ].join(EOL);
521
521
 
522
522
  const newContent = block + content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.10.43",
3
+ "version": "0.10.45",
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",