File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -194,12 +194,9 @@ export class ZodIpcConnection<
194
194
const parsedPacket = Packet . safeParse ( packet ) ;
195
195
196
196
if ( ! parsedPacket . success ) {
197
- console . error ( "dropping invalid packet" , inspect ( packet , { depth : 20 } ) ) ;
198
197
return ;
199
198
}
200
199
201
- console . log ( "#handlePacket" , inspect ( parsedPacket . data , { depth : 20 } ) ) ;
202
-
203
200
switch ( parsedPacket . data . type ) {
204
201
case "ACK" : {
205
202
// Check our list of ACKs and resolve with the message
@@ -257,7 +254,6 @@ export class ZodIpcConnection<
257
254
}
258
255
259
256
async #sendPacket( packet : Packet ) {
260
- console . log ( "#sendPacket" , packet , this . opts . process . send ) ;
261
257
await this . opts . process . send ?.( packet ) ;
262
258
}
263
259
@@ -325,12 +321,6 @@ export class ZodIpcConnection<
325
321
return reject ( `Failed to parse message payload: ${ JSON . stringify ( parsedPayload . error ) } ` ) ;
326
322
}
327
323
328
- console . log ( "sendWithAck" , {
329
- type,
330
- payload,
331
- version : "v1" ,
332
- } ) ;
333
-
334
324
await this . #sendPacket( {
335
325
type : "EVENT" ,
336
326
message : {
You can’t perform that action at this time.
0 commit comments