on master help sign in
fix: restore keys ternary yet again (?)
daacfc0Matt Condon (shrugs)
src/bridge/lib/keys.js+8−1
@@ -21,7 +21,14 @@ const b64 = buf => {
21
21
22 // prettier-ignore
22 // prettier-ignore
23 const trans = j =>
23 const trans = j =>
24− 10 > j ? j + 48 : 36 > j ? j + 87 : 62 > j ? j + 29 : 62 === j ? 45 : 126;
24+ 10 > j ? j + 48
25+ : 36 > j
26+ ? j + 87
27+ : 62 > j
28+ ? j + 29
29+ : 62 === j
30+ ? 45
31+ : 126;
25
32
26 return (
33 return (
27 '0w' +
34 '0w' +