Skip to content

Commit

Permalink
do i have to write a message every time#
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayvallurupalli committed Oct 9, 2024
1 parent 85aec97 commit e370a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6914,7 +6914,7 @@ function HEX3Aanonymous_1291845941(data_1291845942) {
framePtr = F;
F.line = 47;
F.filename = "port.nim";
var peer_1291845852 = new Peer();
var peer_1291845852 = new Peer(null, {debug: 3});
F.line = 48;
var conn_1291845853 = null;
peer_1291845852.on(("open"), (HEX3Aanonymous_1291845854));
Expand Down
2 changes: 1 addition & 1 deletion src/port.nim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type

const baseId: cstring = "9e4ada91-c493-4fd4-881d-3e05db99e100"

proc newPeer*(): Peer {.importjs: "new Peer()".}
proc newPeer*(): Peer {.importjs: "new Peer(null, {debug: 3})".}
proc newPeer*(data: cstring): Peer {.importjs: "new Peer(#, {debug: 3})".}

func messageType(data: cstring): MessageType =
Expand Down

0 comments on commit e370a4e

Please sign in to comment.