Shibo Lyu
45d74bc024
refactor: migrate to zod v4
2025-05-22 20:42:30 +08:00
Shibo Lyu
fdcb07be23
chore: Add dist directory to gitignore
Test & Publish on JSR & npm / testAndPublish (push) Has been cancelled
2025-05-21 03:42:58 +08:00
Shibo Lyu
1921a0244e
ci: Fix checkout step order in publish workflow
2025-05-21 03:41:36 +08:00
Shibo Lyu
1962ecb298
refactor: Switch to Node-based package structure
...
- unbuild for building npm packages
- vitest for testing
- remove dependency on deno
2025-05-21 03:38:01 +08:00
Shibo Lyu
7f4d6ce3f3
chore: Update dependency versions
2025-05-21 01:37:27 +08:00
Shibo Lyu
dc6ba6abd8
chore: Upgrade Node.js to v22.x in GitHub workflow
2025-05-21 01:36:14 +08:00
Shibo Lyu
a9b13b2932
chore: release 0.8.3
Deno / test (push) Has been cancelled
2025-05-15 03:09:42 +08:00
Shibo Lyu
481da78cae
feat: Add Identity class documentation and signPayload method
2025-05-15 03:09:04 +08:00
Shibo Lyu
46f489bfee
Update deno.json
Deno / test (push) Has been cancelled
2025-05-11 02:38:04 +08:00
Shibo Lyu
14a018c02d
fix: Remove proof of work debug logging
2025-05-11 02:37:52 +08:00
Shibo Lyu
05331f14b3
fix: revert to dnt 0.41
2025-05-11 02:36:30 +08:00
Shibo Lyu
ae566764be
fix: Update npm package license
2025-05-11 02:36:14 +08:00
Shibo Lyu
c220ab4d8a
fix: Add @deno/graph and @std/async dependencies to deno.lock
2025-05-11 02:26:40 +08:00
Shibo Lyu
fa7f1ce4eb
chore: bump version to 0.8.1 & bump deps.
2025-05-11 02:22:46 +08:00
Shibo Lyu
1e2897974f
fix: Add JSDoc and export signAndVerify module
2025-05-11 02:21:31 +08:00
Shibo Lyu
5e6a51e172
fix: test setup by generating keypair within test function
2025-05-11 02:17:30 +08:00
Shibo Lyu
850b5b3042
chore: release 0.8.0
2025-05-11 02:05:59 +08:00
Shibo Lyu
0b178c3df0
feat: Add sign/verify functionality with proof-of-work support
2025-05-11 02:05:32 +08:00
Shibo Lyu
4674565d64
fix: Use new URL()
for better compatibility.
Deno / test (push) Has been cancelled
2025-04-30 22:49:35 +08:00
Shibo Lyu
91c0ecb704
doc: Clarify license in README.
2025-04-30 22:46:24 +08:00
Shibo Lyu
b8b956db84
chore: Release 0.7.0.
2025-04-30 22:37:42 +08:00
Shibo Lyu
19525fad00
chore: Change license from GPL-3.0 to MIT
...
To make implementing TypeScript-based Blah client / server easier and
more sustainable, we switch this core library to MIT license.
2025-04-30 22:37:09 +08:00
Shibo Lyu
6e8d77b11a
feat: Add identity description file URL utilities
...
Add utilities to work with identity description file URLs,
including validation of ID URL format and path construction.
Also export these functions in the public API.
2025-04-30 22:33:34 +08:00
Shibo Lyu
2c84f4dee7
chore: Update zod dependency from 3.24.2 to 3.24.3
...
Add bio field to test profile schema
2025-04-27 23:22:32 +08:00
Shibo Lyu
77befc142a
chore: Release 0.6.0.
2025-04-13 00:55:18 +08:00
Shibo Lyu
24c9032f25
refactor: Refactor key storage to use raw hex format instead of JWK
...
Change private key representation from JWK to raw hex strings with
appropriate conversion functions. Also update field names to use
consistent naming convention.
2025-04-13 00:54:51 +08:00
Shibo Lyu
4e8a8789d4
chore: Release 0.5.1.
2025-04-12 22:12:57 +08:00
Shibo Lyu
dc5e51602c
fix: Verify profile signatures use correct identity key
...
Add validation to check that profile's signee ID matches identity key.
Includes new test to ensure profiles signed with incorrect keys are
rejected properly.
2025-04-12 22:12:21 +08:00
Shibo Lyu
549162d223
chore: Bump version to 0.5.0
2025-04-12 03:21:50 +08:00
Shibo Lyu
57ecdfec84
chore: Update @std/expect and @std/testing dependencies
2025-04-12 03:21:13 +08:00
Shibo Lyu
249bbf2b54
refactor: Replace key wrapping with manual PKCS8/raw key encryption
...
Implement utility functions for conversion between Ed25519 raw key data
and PKCS8 format, and update KeyPair encode/decode methods to use direct
encrypt/decrypt operations instead of wrapKey/unwrapKey.
2025-04-12 03:19:18 +08:00
Shibo Lyu
23bd666a6e
fix: bump version and add toPlainText export
2025-03-17 01:30:08 +08:00
Shibo Lyu
598ed931e0
fix: array buffer typing
2025-03-11 19:03:48 +08:00
Shibo Lyu
a10a49152e
feat(richtext): spoiler
2025-03-11 18:50:10 +08:00
Shibo Lyu
f0edaba656
chore: release 0.4.1
...
...because I forgot to export richText
2025-02-16 22:47:21 +08:00
Shibo Lyu
5791e31599
chore: release 0.4.0
2025-02-16 22:44:59 +08:00
Shibo Lyu
a270d634f2
feat: richText
2025-02-16 22:44:37 +08:00
Shibo Lyu
36c2184784
chore: bump deps
2025-02-16 21:58:15 +08:00
Shibo Lyu
d31970be78
feat: expose actkey expires at
2024-12-06 00:17:46 +08:00
Shibo Lyu
214ccd90c3
fix: tests
2024-12-05 17:35:45 +08:00
Shibo Lyu
d699b54ff6
fix(identity): validate profile on creating identity
2024-12-05 17:21:15 +08:00
Shibo Lyu
067276e367
feat: require at least 1 id_url in profile
2024-12-05 17:20:39 +08:00
Shibo Lyu
2eb559da7f
chore: bump deps
2024-12-05 17:20:12 +08:00
Shibo Lyu
99cdef8987
chore: release 0.3.0
2024-10-31 01:59:02 +08:00
Shibo Lyu
11bd85d4ff
deps: upgrade @std/expect 1.0.5 -> 1.0.6
2024-10-31 01:57:50 +08:00
Shibo Lyu
465dfc7b3c
fix: janky search & replace causes case error
2024-10-31 01:55:22 +08:00
Shibo Lyu
25bab4374d
refactor: identityFile -> identityDescription
2024-10-31 01:51:34 +08:00
Shibo Lyu
79fbd17ff8
refactor: extract BlahActKey to streamline BlahIdentity
2024-10-31 01:42:38 +08:00
Shibo Lyu
f7afcaa1f2
chore: release 0.2.9
2024-10-17 13:04:32 +08:00
Shibo Lyu
a88b004e9f
fix(crypto): parse & verify type annotation
2024-10-17 13:04:10 +08:00