Skip to content

Commit 1d080a2

Browse files
v0.1.0: Add test page, update README, bump version
- Add interactive test page with real-time diagnostics - Create comprehensive README with usage examples - Add GitHub Pages deployment workflow - Add CHANGELOG.md for version history - Bump version to 0.1.0 - Format code with prettier - Add bundle file to .gitignore
1 parent 2cc4e6b commit 1d080a2

18 files changed

Lines changed: 3225 additions & 300 deletions

.github/workflows/gh-pages.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'test-page/**'
9+
- '.github/workflows/gh-pages.yml'
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: false
19+
20+
jobs:
21+
deploy:
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
30+
- name: Setup Pages
31+
uses: actions/configure-pages@v4
32+
33+
- name: Upload artifact
34+
uses: actions/upload-pages-artifact@v3
35+
with:
36+
path: './test-page'
37+
38+
- name: Deploy to GitHub Pages
39+
id: deployment
40+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ dist/
88
*.zip
99
.vscode/
1010
.idea/
11+
src/background.bundle.js

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Changelog
2+
3+
All notable changes to Podkey will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.0] - 2024-12-XX
9+
10+
### Added
11+
12+
- Interactive test page with real-time diagnostics
13+
- GitHub Pages deployment for test page
14+
- Comprehensive README with usage examples
15+
- Proper hash function configuration for @noble/secp256k1 v3.0.0
16+
- Type safety improvements for all API responses
17+
- Better error handling and logging
18+
- Auto-approval for permission requests (service worker compatible)
19+
20+
### Fixed
21+
22+
- Syntax error in `nostr-provider.js` (async nip04 assignment)
23+
- Event hash calculation now includes pubkey correctly (NIP-01 compliant)
24+
- Signature calculation now converts hex to bytes before signing
25+
- Hash functions properly configured for @noble/secp256k1 v3.0.0
26+
- Response type safety (ensures strings/arrays are correct types)
27+
- Bundle script now properly bundles npm dependencies
28+
29+
### Changed
30+
31+
- Upgraded @noble/secp256k1 from v2.3.0 to v3.0.0
32+
- Updated to use proper Schnorr signature API
33+
- Improved error messages and diagnostics
34+
- Better handling of undefined/null responses
35+
36+
### Technical
37+
38+
- Created bundle script using esbuild
39+
- Proper ES module support in service worker
40+
- All dependencies bundled for Chrome extension compatibility
41+
42+
## [0.0.2] - Initial Development
43+
44+
### Added
45+
46+
- Basic NIP-07 provider implementation
47+
- Key generation and import
48+
- Event signing with Schnorr signatures
49+
- Popup UI with beautiful gradients
50+
- Trust management system
51+
- Storage abstraction layer
52+
53+
[0.1.0]: https://github.com/JavaScriptSolidServer/podkey/compare/v0.0.2...v0.1.0

0 commit comments

Comments
 (0)