Skip to content

Commit

Permalink
fixes #233, remove console.log from distributed version
Browse files Browse the repository at this point in the history
  • Loading branch information
Glench committed Aug 6, 2024
1 parent dd94ce4 commit 330dd15
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion ExtPay.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ You can copy and paste this to your manifest.json file to fix this error:
},
startBackground: function() {
browser.runtime.onMessage.addListener(function(message, sender, send_response) {
console.log('service worker got message! Here it is:', message)
if (message == 'fetch-user') {
// Only called via extensionpay.com/extension/[extension-id]/paid -> content_script when user successfully pays.
// It's possible attackers could trigger this but that is basically harmless. It would just query the user.
Expand Down
1 change: 0 additions & 1 deletion dist/ExtPay.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ You can copy and paste this to your manifest.json file to fix this error:
},
startBackground: function() {
browser__namespace.runtime.onMessage.addListener(function(message, sender, send_response) {
console.log('service worker got message! Here it is:', message);
if (message == 'fetch-user') {
// Only called via extensionpay.com/extension/[extension-id]/paid -> content_script when user successfully pays.
// It's possible attackers could trigger this but that is basically harmless. It would just query the user.
Expand Down
1 change: 0 additions & 1 deletion dist/ExtPay.js
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,6 @@ You can copy and paste this to your manifest.json file to fix this error:
},
startBackground: function() {
browserPolyfill.runtime.onMessage.addListener(function(message, sender, send_response) {
console.log('service worker got message! Here it is:', message);
if (message == 'fetch-user') {
// Only called via extensionpay.com/extension/[extension-id]/paid -> content_script when user successfully pays.
// It's possible attackers could trigger this but that is basically harmless. It would just query the user.
Expand Down
1 change: 0 additions & 1 deletion dist/ExtPay.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ You can copy and paste this to your manifest.json file to fix this error:
},
startBackground: function() {
browser.runtime.onMessage.addListener(function(message, sender, send_response) {
console.log('service worker got message! Here it is:', message);
if (message == 'fetch-user') {
// Only called via extensionpay.com/extension/[extension-id]/paid -> content_script when user successfully pays.
// It's possible attackers could trigger this but that is basically harmless. It would just query the user.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extpay",
"version": "4.0.0-beta.6",
"version": "4.0.0-beta.7",
"description": "The JavaScript library for https://extensionpay.com - payments for browser extensions, no server needed.",
"main": "./dist/ExtPay.common.js",
"module": "./dist/ExtPay.module.js",
Expand Down
1 change: 0 additions & 1 deletion sample-extension-mv2/ExtPay.js
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,6 @@ You can copy and paste this to your manifest.json file to fix this error:
},
startBackground: function() {
browserPolyfill.runtime.onMessage.addListener(function(message, sender, send_response) {
console.log('service worker got message! Here it is:', message);
if (message == 'fetch-user') {
// Only called via extensionpay.com/extension/[extension-id]/paid -> content_script when user successfully pays.
// It's possible attackers could trigger this but that is basically harmless. It would just query the user.
Expand Down
1 change: 0 additions & 1 deletion sample-extension-mv3/ExtPay.js
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,6 @@ You can copy and paste this to your manifest.json file to fix this error:
},
startBackground: function() {
browserPolyfill.runtime.onMessage.addListener(function(message, sender, send_response) {
console.log('service worker got message! Here it is:', message);
if (message == 'fetch-user') {
// Only called via extensionpay.com/extension/[extension-id]/paid -> content_script when user successfully pays.
// It's possible attackers could trigger this but that is basically harmless. It would just query the user.
Expand Down

0 comments on commit 330dd15

Please sign in to comment.