@netifyjs/netify 1.0.0-alpha.5 → 1.0.0-alpha.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@netifyjs/netify",
3
3
  "description": "A Netty-inspired networking framework for Bun, for TCP, UDP, reliable UDP and WebSocket game servers",
4
- "version": "1.0.0-alpha.5",
4
+ "version": "1.0.0-alpha.6",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./src/index.ts"
@@ -40,7 +40,7 @@ export class ByteBuf {
40
40
  /**
41
41
  * Released frames throw on use instead of being reused, set by NETIFY_DEBUG_FRAMES
42
42
  */
43
- public static debugFrames: boolean = Bun.env.NETIFY_DEBUG_FRAMES === '1'
43
+ public static debugFrames: boolean = Bun.env['NETIFY_DEBUG_FRAMES'] === '1'
44
44
 
45
45
  /**
46
46
  * Largest a buffer can grow by default, 64 MiB, pass more to allocate if you need it