friendly-challenge
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -364,3 +364,3 @@ // WARNING: This file was autogenerated by wasmwrap and should not be edited manually. | ||
this.e.innerHTML = getDoneHTML(puzzleSolutionMessage, data); | ||
// this.worker = null; | ||
// this.worker = null; // This literally crashes very old browsers.. | ||
this.needsReInit = true; | ||
@@ -367,0 +367,0 @@ return puzzleSolutionMessage; |
@@ -364,3 +364,3 @@ // WARNING: This file was autogenerated by wasmwrap and should not be edited manually. | ||
this.e.innerHTML = getDoneHTML(puzzleSolutionMessage, data); | ||
// this.worker = null; | ||
// this.worker = null; // This literally crashes very old browsers.. | ||
this.needsReInit = true; | ||
@@ -367,0 +367,0 @@ return puzzleSolutionMessage; |
{ | ||
"name": "friendly-challenge", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "The client code used for FriendlyCaptcha (widget html, styling and webworker solver)", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -582,3 +582,3 @@ "use strict"; | ||
var puzzleSolutionMessage = "".concat(this.puzzle.signature, ".").concat(this.puzzle.base64, ".").concat(encode(data.solution), ".").concat(encode(data.diagnostics)); | ||
this.e.innerHTML = getDoneHTML(puzzleSolutionMessage, data); // this.worker = null; | ||
this.e.innerHTML = getDoneHTML(puzzleSolutionMessage, data); // this.worker = null; // This literally crashes very old browsers.. | ||
@@ -585,0 +585,0 @@ this.needsReInit = true; |
@@ -371,3 +371,3 @@ var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:4px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.35;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:280px;border:1px solid #ddd;padding-bottom:12px;background-color:#fff}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px}.frc-banner *{font-size:10px;opacity:.8}.frc-banner b{font-weight:700}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222}.dark.frc-captcha *{color:#fff}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}'; | ||
this.e.innerHTML = getDoneHTML(puzzleSolutionMessage, data); | ||
// this.worker = null; | ||
// this.worker = null; // This literally crashes very old browsers.. | ||
this.needsReInit = true; | ||
@@ -374,0 +374,0 @@ return puzzleSolutionMessage; |
@@ -594,5 +594,3 @@ (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} | ||
}; | ||
self.postMessage(doneMessage); // @ts-ignore | ||
// self.close() | ||
self.postMessage(doneMessage); | ||
return $If_4.call(this); | ||
@@ -599,0 +597,0 @@ } catch ($boundEx) { |
@@ -454,4 +454,2 @@ (function () { | ||
self.postMessage(doneMessage); | ||
// @ts-ignore | ||
// self.close() | ||
} | ||
@@ -458,0 +456,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
333824
2833