@aimeloic/monkey-tester 4.0.9 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/htmlTemplate.js +3 -2
  2. package/package.json +1 -1
package/htmlTemplate.js CHANGED
@@ -11,7 +11,8 @@ function encodePayload(obj) {
11
11
 
12
12
  // The reciprocal decode runs inside each HTML template (see _decode below).
13
13
  // It is injected as a one-liner so every template is self-contained.
14
- const _decode = `function _decode(b64){return JSON.parse(decodeURIComponent(escape(atob(b64.replace(/\\s+/g,'')))));}`;
14
+
15
+ const _decode = `function _decode(b64){return JSON.parse(decodeURIComponent(escape(atob(b64.replace(/\s+/g,'')))));}`;
15
16
 
16
17
  // ─── Runtime sandbox (injected into tester page) ─────────────────────────────
17
18
  function runtimeClientSandbox() {
@@ -441,7 +442,7 @@ async function handleRegister() {
441
442
  <script>
442
443
  // ── Unicode-safe decode ──────────────────────────────────────────────────────
443
444
  function _decode(b64) {
444
- return JSON.parse(decodeURIComponent(escape(atob(b64.replace(/\\s+/g, '')))));
445
+ return JSON.parse(decodeURIComponent(escape(atob(b64.replace(/\s+/g, '')))));
445
446
  }
446
447
 
447
448
  const ENDPOINTS = _decode(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aimeloic/monkey-tester",
3
- "version": "4.0.9",
3
+ "version": "5.0.0",
4
4
  "description": "Auto route scanning visual runner dashboard.",
5
5
  "main": "index.js",
6
6
  "type": "module",