Skip to content

Commit

Permalink
Update WebviewPostMessageStream
Browse files Browse the repository at this point in the history
  • Loading branch information
gantunesr committed Dec 14, 2022
1 parent d2f84ec commit de535e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/components/Views/Wallet/WebviewPostMessageStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default class WebviewPostMessageStream extends BasePostMessageStream {
target: this._target,
data,
};
// console.log('WebviewPostMessageStream', JSON.stringify(message.data.data));
this._targetWindow.postMessage(JSON.stringify(message), this._targetOrigin);
}

Expand All @@ -71,8 +72,9 @@ export default class WebviewPostMessageStream extends BasePostMessageStream {
this._onData(data.data);
}

_destroy(): void {
destroy(): void {
// eslint-disable-next-line no-console
console.log('WebviewPostMessageStream - method destroy');
console.log('destroy');
}
}

0 comments on commit de535e4

Please sign in to comment.