Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Oct 15, 2024
1 parent a969d8a commit 02b678e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/transport-bridge/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ export class TrezordNode {
(req, res) => {
res.setHeader('Content-Type', 'text/plain');
const signal = this.createAbortSignal(res);
console.log('===req.body', req.body);
this.core
.acquire({
path: req.params.path,
Expand Down
1 change: 0 additions & 1 deletion packages/transport/src/sessions/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export class SessionsBackground
): Promise<HandleMessageResponse<M>> {
let result;

console.log('Session background message', message);
try {
// future:
// once we decide that we want to have sessions synchronization also between browser tabs and
Expand Down
1 change: 0 additions & 1 deletion packages/transport/src/sessions/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export class SessionsClient extends TypedEmitter<{
}

private request<M extends HandleMessageParams>(params: M) {
console.log('sending...', params);
return this.background.handleMessage({ ...params, caller: this.caller, id: this.id++ });
}

Expand Down
1 change: 1 addition & 0 deletions packages/transport/tests/sessions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('sessions', () => {
{
path: '1', // <= pathPublic
session: '1',
sessionOwner: 'foo-bar',
type: 1,
},
],
Expand Down

0 comments on commit 02b678e

Please sign in to comment.