Wilson Silva
a0cf41bfb4
Expose the relay in the client connection event
2024-04-13 14:12:13 +01:00
Wilson Silva
61eb0459d4
Fix a typo in the client spec
2024-04-13 14:12:13 +01:00
Wilson Silva
0497878d54
Update steep and remove workaround
...
The maintainer of steep, @soutaro, fixed the bug that I reported :)
2024-04-13 14:12:12 +01:00
Wilson Silva
7946b82aaf
Update json and rubocop-rspec
2024-04-13 14:12:12 +01:00
Wilson Silva
e114656166
Update bun, mermaid, vitepress and vitepress-plugin-mermaid
2024-04-13 14:12:12 +01:00
Wilson Silva
04574cc836
Be more informative when the signature has an invalid type
2024-04-13 14:12:12 +01:00
Wilson Silva
1ff9611051
Remove an unnecessary header in the changelog
2024-03-18 20:15:05 +00:00
Wilson Silva
1d12363af1
Document a common issue
2024-03-15 19:42:37 +00:00
Wilson Silva
9ae68542f1
Bump the gem version to v0.6.0
v0.6.0
2024-03-15 19:13:34 +00:00
Wilson Silva
6a5068a552
Update the changelog for v0.6.0
2024-03-15 19:13:34 +00:00
Wilson Silva
470a72d4de
Document how to verify the signature of messages and events
2024-03-15 19:13:34 +00:00
Wilson Silva
86cd6c6baa
Remove blank lines
2024-03-15 19:13:34 +00:00
Wilson Silva
9d6d91e436
Update Bun to v1.0.30
2024-03-15 19:13:34 +00:00
Wilson Silva
838a2db834
Allow key pairs to be destructured
2024-03-15 19:13:34 +00:00
Wilson Silva
7c571d3b12
Simplify the nullable RBS types
2024-03-15 19:13:34 +00:00
Wilson Silva
01010c763f
Allow the verification of signatures and events
...
Added the methods:
- Event#verify_signature
- Crypto#check_sig!
- Crypto#valid_sig?
- Crypto#sign_message
Fixed a primitive obsession by introducing a Signature class to ensure that signatures are valid Nostr signatures.
2024-03-15 19:13:33 +00:00
Wilson Silva
f8893f9b0e
Update bip-schnorr, dotenv, overcommit, rbs, rspec, rubocop, and rubocop-rspec
2024-03-15 19:13:33 +00:00
Wilson Silva
3788ba4ce5
Add a build badge
2024-03-15 19:13:33 +00:00
Wilson Silva
0f83b8071a
Update Ruby to v3.3
2024-03-15 19:13:33 +00:00
Wilson Silva
c8d633dbea
Fix the @raise documentation of Nostr::Key#initialize
2024-03-15 19:13:33 +00:00
Wilson Silva
df51354d3e
Fix the signature tests in user_spec
2024-03-13 12:53:27 +00:00
Wilson Silva
3765b60a68
Fix the documentation of generate_key_pair
2024-03-13 12:47:16 +00:00
Wilson Silva
17cd2bf0f4
Adopt Architecture Decision Records
2024-03-13 12:46:48 +00:00
Josua Schmid
5497930dd5
Deprecate kind 2
2023-12-22 11:57:15 +00:00
Wilson Silva
c064a8d5f0
Fix a few YARD example rendering issues
2023-11-20 21:43:01 +07:00
Wilson Silva
8bc6b84f6f
Bump the gem version to v0.5.0
v0.5.0
2023-11-20 21:05:36 +07:00
Wilson Silva
61a88981e6
Add full NIP-19 compatibility
...
note, nprofile, nevent, naddr, npub, nsec and nrelay
2023-11-20 21:03:24 +07:00
Wilson Silva
bba18d1bc0
Fix the generation of private keys
...
00c2660584
2023-11-20 12:39:58 +07:00
Wilson Silva
b45370e65f
Remove a broken documentation link
2023-11-20 10:42:32 +07:00
Wilson Silva
53069a3d0c
Update bip-schnorr, puma, rake, rubocop and rubocop-rspec
2023-11-20 10:32:27 +07:00
Wilson Silva
3520cf8219
Implement NIP-19 bech32-encoded private and public keys
...
https://github.com/nostr-protocol/nips/blob/master/19.md
2023-11-20 09:59:27 +07:00
Wilson Silva
3fffcd1a4e
Use keyword arguments for User#create_event
...
This allows for code completion and fixes another RBS issue
2023-11-18 18:06:53 +07:00
Wilson Silva
2c44ae4ee8
Fix the RBS types of Nostr::Filter e, p and to_f
2023-11-18 17:22:20 +07:00
Wilson Silva
4b630c678b
Ensure that Nostr::Crypto#descrypt_text always returns a string
...
Fixes another Steep/RBS violation
2023-11-18 16:38:03 +07:00
Wilson Silva
3077aa67a7
Fix the RBS type of Nostr::Crypto::BN_BASE
2023-11-18 16:28:31 +07:00
Wilson Silva
2584967654
Update rbs to v3.3 and steep to v1.6
2023-11-18 15:42:09 +07:00
Wilson Silva
b54147cfce
Remove unnecessary blank space
2023-11-14 16:58:14 +07:00
Wilson Silva
0f9c0d3a3d
Add relay message type enums
2023-11-14 16:57:33 +07:00
Wilson Silva
904fe46a9d
Name the implemented NIPs
2023-11-14 16:53:38 +07:00
Wilson Silva
80c272f149
Fix the formatting of encrypted direct message
2023-11-14 16:28:16 +07:00
Wilson Silva
be4c3e0e32
Update the documentation of the subscription id
...
Match the changes introduced in https://github.com/nostr-protocol/nips/pull/299
2023-11-14 16:12:33 +07:00
Wilson Silva
30eafa1203
Remove id/pubkey prefix documentation
...
Removed from the protocol in https://github.com/nostr-protocol/nips/pull/703
2023-11-14 16:12:32 +07:00
Wilson Silva
4f13b22e51
Update Ruby to version 3.2.2
2023-11-14 07:54:56 +07:00
Wilson Silva
6d9758a37a
Fix the subscription documentation
2023-11-14 07:45:39 +07:00
Wilson Silva
4d8803d769
Update bec32
2023-11-13 21:32:11 +07:00
Wilson Silva
e9deab2fc2
Link the changelog with the homepage
2023-11-13 18:09:51 +07:00
Wilson Silva
35c7e6a76e
Ignore my local copy of the nostr nips folder
2023-11-13 18:09:03 +07:00
Wilson Silva
8e1e3092c3
Update the changelog format version
2023-11-13 18:01:17 +07:00
Wilson Silva
eaa97e0018
Update the changelog
2023-11-13 17:58:04 +07:00
Wilson Silva
1fb7e454ae
Update the gem's homepage
2023-11-13 17:55:36 +07:00