Jon Staab
6da8e6c654
Make it easier to link nostr editor
2025-11-25 16:32:59 -08:00
Jon Staab
52785afb10
Fix some bugs
2025-11-25 14:54:10 -08:00
Jon Staab
92af4dcfde
Clean up user data a tad
2025-11-25 14:19:11 -08:00
Jon Staab
250f5c772f
Fix some bugs with deriving events by url
2025-11-24 09:52:47 -08:00
Jon Staab
2fec078a5b
Update docs, tweak url based event derivation
2025-11-20 15:08:59 -08:00
Jon Staab
6d36f5a912
Migrate collections to new stores, change some conventions
2025-11-19 16:47:17 -08:00
Jon Staab
d197acc41e
Modify loader, apply changes to app stores
2025-11-19 15:41:56 -08:00
Jon Staab
cd553d6f6a
Update getter to dynamically switch between modes
2025-11-19 15:15:25 -08:00
Jon Staab
6028c68fe8
Remove collection, make loader standalone
2025-11-19 14:44:59 -08:00
Jon Staab
d54923e8f0
Re-work repository derivation
2025-11-19 14:30:54 -08:00
Jon Staab
de5695339d
1. throttle (line 1146-1174)
...
Before: Used recursive setTimeout calls via unpause, creating nested closures and multiple timer contexts.
After:
- Tracks a single timeoutId to manage timer lifecycle
- Eliminates nested closure creation
- Cleaner timer chain when calls are pending
2. batch (line 1204-1227)
Before: Used throttle internally, inheriting its timer overhead.
After:
- Direct timer management without the throttle wrapper
- Single timeoutId tracked explicitly
- Maintains the same semantics (first item processed immediately, rest batched)
3. batcher (line 1235-1259)
Before:
- Created new timer every time queue went from empty to non-empty
- Had unnecessary async in forEach and await r when r was already type U
After:
- Tracks timeoutId to prevent duplicate timer creation
- Only creates timer when queue is truly empty
- Removed unnecessary async/await in result handling
- More efficient error handling (rejects all items at once if length mismatch)
Performance Benefits:
These changes should significantly reduce timer overhead by:
- Fewer timer objects: Only one active timer per throttled/batched function instead of chains
- Less garbage collection: Fewer closure allocations and intermediate objects
- Better memory usage: Explicit timer ID tracking instead of implicit state in closures
2025-11-14 15:29:03 -08:00
Jon Staab
2675f57ebc
Fix update for remove method on repository
2025-11-13 14:52:15 -08:00
Jon Staab
24860c9a02
Add prepend util
2025-11-12 11:06:13 -08:00
Jon Staab
cc17711dc0
Bump version
2025-11-11 14:06:34 -08:00
Jon Staab
e582d46afd
Break down relay utils, replace removeNil with removeUndefined
2025-11-11 14:05:30 -08:00
Jon Staab
4c1c138329
Forget about null, use undefined
2025-11-06 12:10:24 -08:00
Jon Staab
d04284cde8
Bump version
2025-11-06 11:12:04 -08:00
Jon Staab
6b7e1a5e90
Make nip 05 parsing more permissive
2025-11-06 10:57:28 -08:00
Jon Staab
5345cc1405
Bump version
2025-11-05 11:50:02 -08:00
Jon Staab
23ea43e1d3
Add add/remove member commands
2025-11-05 11:49:24 -08:00
Jon Staab
b0718ec840
Bump version
2025-11-05 09:39:03 -08:00
Jon Staab
d8b3f45cc4
Handle negentropy messages in default policies
2025-11-05 09:33:41 -08:00
Jon Staab
2d75d9de6f
Bump to 0.6.4
2025-11-04 17:00:37 -08:00
Jon Staab
fe93becf41
Fix negentropy error
2025-11-04 16:59:47 -08:00
Jon Staab
7d3b865451
Add sign util
2025-11-04 09:30:31 -08:00
Jon Staab
e860ae6f2b
remove mention tags
2025-11-04 09:04:45 -08:00
Jon Staab
8426febcdf
Memoize some stores, improve room support
2025-11-03 13:26:47 -08:00
Jon Staab
3132b8c59a
Make sorting/limit more resilient in repository
2025-10-28 13:23:25 -07:00
Jon Staab
8b8e3a6a51
Reduce socket batch size to prevent ui lockup when using non-wasm event validation
2025-10-28 08:33:17 -07:00
Jon Staab
7d8f5e05b4
Remove duplicates from pull
2025-10-27 14:44:51 -07:00
Jon Staab
e2bdb88cc2
Fix compilation error, add mergeRepositoryUpdates
2025-10-27 10:39:36 -07:00
Jon Staab
bf6c240c73
Split relays and relay stats up
2025-10-24 09:38:25 -07:00
Jon Staab
c386e21321
Bump version
2025-10-24 06:43:31 -07:00
Jon Staab
a03a289e93
Improve relay tracking with thunks, add/rename some kinds
2025-10-24 06:41:56 -07:00
Jon Staab
c026084635
Bump version
2025-10-20 15:18:09 -07:00
Jon Staab
64871b1c99
Remove enum prefixes
2025-10-20 15:17:05 -07:00
Jon Staab
0be540c0d2
Remove relay package, move everything into net
2025-10-20 14:48:40 -07:00
Jon Staab
88650fb166
Add setting for auto unwrapping
2025-10-20 14:19:44 -07:00
Jon Staab
247c7bafeb
Add wrap manager for tracking gift wraps
2025-10-20 14:19:44 -07:00
Jon Staab
ca38cbe20b
Re-work publishing of wrapped events
2025-10-20 14:19:44 -07:00
Jon Staab
543dbda64f
Make thunks an array instead of an object
2025-10-20 14:19:44 -07:00
Jon Staab
642a4ce517
Merge branch 'master' of github.com:coracle-social/welshman
2025-10-20 14:19:32 -07:00
Matthew Remmel
9169ef3596
Add room/relay membership kinds
2025-10-20 10:13:32 -04:00
Jon Staab
a418350b53
Bump version
2025-10-17 10:10:23 -07:00
Jon Staab
080731c88b
Tweak parsing links
2025-10-16 16:20:04 -07:00
hodlbod
9e628b14e2
Merge pull request #37 from mattremmel/add-room-create-permission-kind
...
Add room create permission kind
2025-10-14 10:47:11 -05:00
Matthew Remmel
4c42073c94
Add room create permission kind
2025-10-14 09:36:32 -04:00
Jon Staab
9e9a1d5d28
Bump version
2025-10-13 15:08:42 -07:00
Jon Staab
d4a6873ed5
Generalize some utils
2025-10-13 13:41:53 -07:00
Jon Staab
5c03ff3e29
Pass pubkey to nip 55 signer to avoid mixing up sessions
2025-10-13 11:20:01 -07:00