Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
"name": "podkey",
"version": "0.0.11",
"description": "did:nostr and Solid authentication extension - NIP-07 provider for decentralized identity",
"main": "src/index.js",
"type": "module",
"scripts": {
"dev": "echo 'Load extension from chrome://extensions in developer mode'",
"build": "npm run bundle",
"bundle": "node scripts/bundle.js",
"test": "node --test test/*.test.js",
"lint": "eslint src/"
"lint": "eslint src/ popup/ scripts/ test-page/"
},
"keywords": [
"nostr",
Expand Down
4 changes: 0 additions & 4 deletions test-page/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
* messages may contain arbitrary strings.
*/

let logCount = 0;

const els = {};
function $(id) {
return (els[id] ||= document.getElementById(id));
Expand All @@ -35,15 +33,13 @@ function log(message, type = 'info') {
entry.appendChild(messageSpan);
logEl.insertBefore(entry, logEl.firstChild);

logCount++;
while (logEl.children.length > 100) {
logEl.removeChild(logEl.lastChild);
}
}

function clearLog() {
$('eventLog').replaceChildren();
logCount = 0;
log('Log cleared', 'info');
}

Expand Down
8 changes: 4 additions & 4 deletions test-page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ <h3>Quick install</h3>
<li>
<div class="step-title">Download the extension</div>
<div class="step-body">
Grab the latest packaged release, or the source ZIP from the
repository.
Grab the latest CI build artifact (<strong>podkey-extension</strong>)
from the top run, or clone the source repository.
<div style="margin-top: 10px">
<a
class="btn-link"
href="https://github.com/JavaScriptSolidServer/podkey/releases/latest"
href="https://github.com/JavaScriptSolidServer/podkey/actions/workflows/ci.yml?query=branch%3Amain+is%3Asuccess"
target="_blank"
rel="noopener"
>
Download latest release
Download latest build
</a>
</div>
</div>
Expand Down
Loading