baltica 0.1.5 → 0.1.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/dist/client/client.js
CHANGED
|
@@ -136,7 +136,7 @@ class Client extends libs_1.Emitter {
|
|
|
136
136
|
if (this.cancelPastLogin)
|
|
137
137
|
return;
|
|
138
138
|
const response = new protocol_1.ResourcePackClientResponsePacket();
|
|
139
|
-
response.packs = packet.packs.map((p) => p.uuid);
|
|
139
|
+
response.packs = packet.packs.map((p) => new protocol_1.RequestedResourcePack(p.uuid, p.version));
|
|
140
140
|
response.response = protocol_1.ResourcePackResponse.HaveAllPacks;
|
|
141
141
|
this.send(response);
|
|
142
142
|
if (packet instanceof protocol_1.ResourcePacksInfoPacket) {
|
|
@@ -147,7 +147,7 @@ class Client extends libs_1.Emitter {
|
|
|
147
147
|
});
|
|
148
148
|
this.once("ResourcePackStackPacket", (packet) => {
|
|
149
149
|
const response = new protocol_1.ResourcePackClientResponsePacket();
|
|
150
|
-
response.packs = packet.texturePacks.map((p) => p.
|
|
150
|
+
response.packs = packet.texturePacks.map((p) => new protocol_1.RequestedResourcePack(p.uuid, p.version));
|
|
151
151
|
response.response = protocol_1.ResourcePackResponse.Completed;
|
|
152
152
|
this.send(response);
|
|
153
153
|
});
|
package/dist/types/global.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ export declare enum ProtocolList {
|
|
|
5
5
|
"1.21.70" = 786,
|
|
6
6
|
"1.21.80" = 800,
|
|
7
7
|
"1.21.90" = 818,
|
|
8
|
-
"1.21.93" = 819
|
|
8
|
+
"1.21.93" = 819,
|
|
9
|
+
"1.21.100" = 827
|
|
9
10
|
}
|
|
10
11
|
export declare enum DeviceOS {
|
|
11
12
|
Undefined = 0,
|
|
@@ -31,7 +32,7 @@ export type PacketNames = {
|
|
|
31
32
|
/**
|
|
32
33
|
* We do not have multi protocol as of now (Not yet planned either).
|
|
33
34
|
*/
|
|
34
|
-
export type CurrentVersion = "1.21.
|
|
35
|
+
export type CurrentVersion = "1.21.100";
|
|
35
36
|
export declare const CurrentVersionConst: CurrentVersion;
|
|
36
37
|
/**
|
|
37
38
|
* Checks if client version is higher than the specified version
|
package/dist/types/global.js
CHANGED
|
@@ -11,6 +11,7 @@ var ProtocolList;
|
|
|
11
11
|
ProtocolList[ProtocolList["1.21.80"] = 800] = "1.21.80";
|
|
12
12
|
ProtocolList[ProtocolList["1.21.90"] = 818] = "1.21.90";
|
|
13
13
|
ProtocolList[ProtocolList["1.21.93"] = 819] = "1.21.93";
|
|
14
|
+
ProtocolList[ProtocolList["1.21.100"] = 827] = "1.21.100";
|
|
14
15
|
})(ProtocolList || (exports.ProtocolList = ProtocolList = {}));
|
|
15
16
|
var DeviceOS;
|
|
16
17
|
(function (DeviceOS) {
|
|
@@ -31,7 +32,7 @@ var DeviceOS;
|
|
|
31
32
|
DeviceOS[DeviceOS["WindowsPhone"] = 14] = "WindowsPhone";
|
|
32
33
|
DeviceOS[DeviceOS["Linux"] = 15] = "Linux";
|
|
33
34
|
})(DeviceOS || (exports.DeviceOS = DeviceOS = {}));
|
|
34
|
-
exports.CurrentVersionConst = "1.21.
|
|
35
|
+
exports.CurrentVersionConst = "1.21.100";
|
|
35
36
|
/**
|
|
36
37
|
* Checks if client version is higher than the specified version
|
|
37
38
|
* @param version The client version to check
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "baltica",
|
|
3
3
|
"description": "A MCBE Utility Library",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"minecraft": "1.21.
|
|
4
|
+
"version": "0.1.6",
|
|
5
|
+
"minecraft": "1.21.100",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"license": "MIT",
|
|
@@ -23,24 +23,14 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@sanctumterra/raknet": "^1.3.78",
|
|
26
|
-
"@serenityjs/binarystream": "
|
|
27
|
-
"@serenityjs/
|
|
28
|
-
"@serenityjs/protocol": "0.8.6-beta-20250704151230",
|
|
29
|
-
"@twilio/webrtc": "^4.6.0",
|
|
30
|
-
"@types/webrtc": "^0.0.46",
|
|
31
|
-
"axios": "^1.10.0",
|
|
32
|
-
"elliptic": "^6.6.1",
|
|
26
|
+
"@serenityjs/binarystream": "^3.0.10",
|
|
27
|
+
"@serenityjs/protocol": "^0.8.7",
|
|
33
28
|
"jose": "^5.10.0",
|
|
34
|
-
"json-bigint": "^1.0.0",
|
|
35
|
-
"node-nethernet": "github:LucienHH/node-nethernet#protocol",
|
|
36
29
|
"prismarine-auth": "^2.7.0",
|
|
37
|
-
"uuid-1345": "^1.0.2"
|
|
38
|
-
"ws": "^8.18.3"
|
|
30
|
+
"uuid-1345": "^1.0.2"
|
|
39
31
|
},
|
|
40
32
|
"devDependencies": {
|
|
41
33
|
"@biomejs/biome": "1.9.4",
|
|
42
|
-
"@types/elliptic": "^6.4.18",
|
|
43
|
-
"@types/json-bigint": "^1.0.4",
|
|
44
34
|
"@types/node": "^22.16.5",
|
|
45
35
|
"@types/uuid-1345": "^0.99.25",
|
|
46
36
|
"typescript": "^5.8.3"
|