hytopia 0.10.29 → 0.10.30

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
@@ -473,9 +473,9 @@ async function packageProject() {
473
473
  // set priority level for takahiro tickets
474
474
 
475
475
  async function build(devMode = false) {
476
- let devFlags = devMode ? '--external=mediasoup' : '';
476
+ let envFlags = devMode ? '--external=mediasoup' : '--minify --sourcemap=inline';
477
477
 
478
- execSync(`npx --yes bun build --target=node --format=esm ${devFlags} --outfile=index.mjs index.ts`, { stdio: 'inherit' });
478
+ execSync(`npx --yes bun build --target=node --env=disable --format=esm ${envFlags} --outfile=index.mjs index.ts`, { stdio: 'inherit' });
479
479
  }
480
480
 
481
481
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.10.29",
3
+ "version": "0.10.30",
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",
@@ -63,8 +63,7 @@
63
63
  "ws": "^8.18.2"
64
64
  },
65
65
  "optionalDependencies": {
66
- "mediasoup": "3.15.7",
67
- "sharp": "^0.34.4"
66
+ "mediasoup": "3.15.7"
68
67
  },
69
68
  "scripts": {
70
69
  "prepublishOnly": "node ./bin/writeVersion.js"