File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @tls/enum" ,
3- "version" : " 0.5.4 " ,
3+ "version" : " 0.5.5 " ,
44 "exports" : " ./src/mod.ts" ,
55 "publish" : {
66 "exclude" : [" dist/" ]
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export class EndOfEarlyData extends Uint8Array {
143143 constructor ( ) {
144144 super ( )
145145 }
146- get handshake ( ) { return HandshakeType . handshake ( this ) }
146+ get handshake ( ) { return HandshakeType . END_OF_EARLY_DATA . handshake ( this ) }
147147}
148148
149149// npx -p typescript tsc ./src/handshaketype.js --declaration --allowJs --emitDeclarationOnly --lib ESNext --outDir ./dist
Original file line number Diff line number Diff line change 1- import { HandshakeType } from "../src/handshaketype.js" ;
1+ import { HandshakeType , EndOfEarlyData } from "../src/handshaketype.js" ;
22
33console . log ( HandshakeType . CLIENT_HELLO ) ;
44console . log ( HandshakeType . CLIENT_HELLO )
@@ -9,3 +9,9 @@ for (const e of codes) {
99 console . log ( `name: ${ parse . name } value: ${ parse . value } ` )
1010}
1111
12+
13+ const eoData = new EndOfEarlyData ;
14+ const eoDataHandshake = eoData . handshake ;
15+ const eoDataTlsInnerPlaintext = eoDataHandshake . tlsInnerPlaintext ( ) ;
16+
17+
You can’t perform that action at this time.
0 commit comments