Skip to content

Commit

Permalink
Remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bumi committed Oct 16, 2022
1 parent 9318082 commit 174fc55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alby-js-sdk",
"version": "1.1.1",
"version": "1.1.3",
"description": "Alby OAuth2 Client",
"type": "module",
"source": "src/index.ts",
Expand Down
1 change: 0 additions & 1 deletion src/WeblnProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export class WebLNProvider {
);
let processingCode = false;
window.addEventListener('message', async (message) => {
console.log(message);
const data = message.data;
if (data && data.type === 'alby:oauth:success' && message.origin === `${document.location.protocol}//${document.location.host}` && !processingCode) {
processingCode = true; // make sure we request the access token only once
Expand Down

0 comments on commit 174fc55

Please sign in to comment.