File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ function createRequestBatch(batchObj, isNotification = false) {
4848 ) ;
4949}
5050class BadServerDataError extends Error {
51+ id ;
52+ name ;
53+ code ;
54+ data ;
5155 constructor ( id , message , errorCode , data ) {
5256 super ( message ) ;
5357 this . id = id ;
@@ -96,6 +100,8 @@ function processBatchObject(rpcResponseBatch) {
96100 } ) ;
97101}
98102class Client {
103+ resource ;
104+ fetchInit ;
99105 constructor ( resource , options = {
100106 } ) {
101107 const headers = options . headers === undefined ? new Headers ( ) : options . headers instanceof Headers ? options . headers : new Headers ( Object . entries ( options . headers ) ) ;
@@ -153,6 +159,9 @@ function isObject(obj) {
153159 return obj !== null && typeof obj === "object" && Array . isArray ( obj ) === false ;
154160}
155161class Client1 {
162+ textDecoder ;
163+ payloadData ;
164+ socket ;
156165 constructor ( socket1 ) {
157166 this . socket = socket1 ;
158167 this . getPayloadData ( socket1 ) ;
You can’t perform that action at this time.
0 commit comments