@hytopia.com/server-protocol 1.0.11 → 1.0.12

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/exports.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as inboundPackets from './packets/inbound';
2
- import * as outboundPackets from './packets/outbound';
3
-
4
- export { inboundPackets, outboundPackets };
1
+ export * from './packets/inbound';
2
+ export * from './packets/outbound';
5
3
  export * from './packets/PacketCore';
6
4
  export * from './packets/PacketDefinitions';
7
5
  export * from './schemas';
6
+
7
+
package/index.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import * as protocol from './exports';
2
2
  export * from './exports';
3
- export default protocol;
3
+ export default protocol;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -2,6 +2,8 @@ import * as inboundPackets from './inbound';
2
2
  import * as outboundPackets from './outbound';
3
3
  import type { PacketId, AnyPacket, AnyPacketDefinition } from './PacketCore';
4
4
 
5
+ export { inboundPackets, outboundPackets };
6
+
5
7
  export const registeredPackets = new Map<PacketId, AnyPacketDefinition>();
6
8
 
7
9
  const allPackets = { ...inboundPackets, ...outboundPackets };