We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dcb5f9 commit dcc99f7Copy full SHA for dcc99f7
deno.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@tls/enum",
3
- "version": "0.3.0",
+ "version": "0.3.1",
4
"exports": "./src/mod.ts",
5
"publish": {
6
"exclude": ["dist/"]
src/handshaketype.js
@@ -118,7 +118,7 @@ export class Handshake extends Uint8Array {
118
const msg_type = HandshakeType.fromValue(copy[0]);
119
const lengthOf = Uint24.from(copy.subarray(1)).value;
120
const message = copy.subarray(4, 4 + lengthOf)
121
- return new Handshake(msg_type, lengthOf, message)
+ return new Handshake(msg_type, message)
122
}
123
constructor(msg_type, message){
124
const struct = new Struct(msg_type.Uint8, Uint24.fromValue(message.length), message)
0 commit comments