@serenityjs/raknet 0.7.6 → 0.7.7-beta-20250302205012

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @serenityjs/raknet
2
2
 
3
+ ## 0.7.7-beta-20250302205012
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6467080`](https://github.com/SerenityJS/serenity/commit/6467080e39c0257a78c466b0ff0b81f4c6efca68) Thanks [@PMK744](https://github.com/PMK744)! - init v0.7.7-beta
8
+
9
+ - Updated dependencies [[`6467080`](https://github.com/SerenityJS/serenity/commit/6467080e39c0257a78c466b0ff0b81f4c6efca68)]:
10
+ - @serenityjs/emitter@0.7.7-beta-20250302205012
11
+ - @serenityjs/logger@0.7.7-beta-20250302205012
12
+ - @serenityjs/nbt@0.7.7-beta-20250302205012
13
+
3
14
  ## 0.7.6
4
15
 
5
16
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { BinaryStream, Endianness, Bool, Byte, Float32, Float64, Int8, Int16, Int24, Int32, Int64, Long, Short, String16, String32, Uint8, Uint16, Uint24, Uint32, Uint64, ULong, UShort, Uuid, VarInt, VarLong, VarString, ZigZag, ZigZong } from '@serenityjs/binarystream';
2
2
  import { CompoundTag } from '@serenityjs/nbt';
3
- import { RemoteInfo } from 'node:dgram';
4
- import * as dgram from 'dgram';
3
+ import { RemoteInfo, Socket } from 'node:dgram';
5
4
  import { Emitter } from '@serenityjs/emitter';
6
5
  import { Logger } from '@serenityjs/logger';
7
6
 
@@ -400,13 +399,16 @@ declare class Server extends Emitter<RaknetEvents> {
400
399
  */
401
400
  readonly logger: Logger;
402
401
  /**
403
- * The server socket
402
+ * The udp4 socket instance for the server.
404
403
  */
405
- readonly socket: dgram.Socket;
404
+ readonly socket: Socket;
406
405
  /**
407
- * The server connections
406
+ * A collection of connections for the server.
408
407
  */
409
408
  readonly connections: Set<Connection>;
409
+ /**
410
+ * The server guid for the server instance.
411
+ */
410
412
  readonly guid: bigint;
411
413
  /**
412
414
  * The address the raknet server is bound to.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { BinaryStream, Endianness, Bool, Byte, Float32, Float64, Int8, Int16, Int24, Int32, Int64, Long, Short, String16, String32, Uint8, Uint16, Uint24, Uint32, Uint64, ULong, UShort, Uuid, VarInt, VarLong, VarString, ZigZag, ZigZong } from '@serenityjs/binarystream';
2
2
  import { CompoundTag } from '@serenityjs/nbt';
3
- import { RemoteInfo } from 'node:dgram';
4
- import * as dgram from 'dgram';
3
+ import { RemoteInfo, Socket } from 'node:dgram';
5
4
  import { Emitter } from '@serenityjs/emitter';
6
5
  import { Logger } from '@serenityjs/logger';
7
6
 
@@ -400,13 +399,16 @@ declare class Server extends Emitter<RaknetEvents> {
400
399
  */
401
400
  readonly logger: Logger;
402
401
  /**
403
- * The server socket
402
+ * The udp4 socket instance for the server.
404
403
  */
405
- readonly socket: dgram.Socket;
404
+ readonly socket: Socket;
406
405
  /**
407
- * The server connections
406
+ * A collection of connections for the server.
408
407
  */
409
408
  readonly connections: Set<Connection>;
409
+ /**
410
+ * The server guid for the server instance.
411
+ */
410
412
  readonly guid: bigint;
411
413
  /**
412
414
  * The address the raknet server is bound to.