solace 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ea64862833bb39232a5157ed5d29387f8fa1e3780aeae55fcd1481592060d90
4
- data.tar.gz: 6a62d0efc8eaaf900800168c5eaa6580b769460f0aaf77f104679fe99bbbcd74
3
+ metadata.gz: d6a955af361ac7765d33c34560a09704730c8a394cd74e0bc17196d8cf3cb8eb
4
+ data.tar.gz: 3c86565b3f728bdd4b116dff1abc63125d187b2cc6d8b5fcb44c8444c2d15def
5
5
  SHA512:
6
- metadata.gz: 117e324eb46561a5a51e7dd4773d3b09a6e4d00e6c5b12d9c23c7848889e5a6f877c40da08fb726c4ae766313b5c37988e2cb4287e21b2360cee9530a2a2398a
7
- data.tar.gz: f0622e37fd2e1d45424d1e9257705a5c084a1b8878742ed12d6cbf1f97fea568ac7876af673c64c8299653e3a65e072247663e5cb5957454e35cd82b61e68b99
6
+ metadata.gz: 489042853cdc2ca68d2e35abab66c26bb1363e9ae31fa9816203b6c267d9083361a006cc73610467581ed179999317f0fefc0b09460497d1ac6f10dcb273b5c2
7
+ data.tar.gz: bc66a1d998abf224a30365e44ea026b034437cbdc3cf09092bf45147510bf010d8d97178047ee485f088255d86a928a58a752694aa813595e5622d6bd66d1310
data/CHANGELOG CHANGED
@@ -16,17 +16,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
16
16
  ### Fixed
17
17
  ```
18
18
 
19
- ## [WIP] - yyyy-mm-dd
19
+ ## [0.0.6] - 2025-08-07
20
20
 
21
21
  ### Added
22
- 1.
22
+ 1. Added `from_address` method to `Solace::PublicKey`.
23
+ 2. Change docs on most methods to include an `@example` section.
23
24
 
24
25
  ### Changed
25
26
  1. Change `private_key` method on Keypair to `pivate_key_bytes`
26
- 2. Change docs on most methods to include an `@example` section.
27
- 3. Change README to include a practical example of using composers.
27
+ 2. Change README to include a practical example of using composers.
28
28
 
29
29
  ### Fixed
30
+ 1. Fix `encode_signatures` method in `Solace::Serializers::TransactionSerializer` to correctly count the number of signatures using the `num_required_signatures` field in the message.
31
+
30
32
 
31
33
  ## [0.0.3] - 2025-07-30
32
34
 
@@ -95,5 +95,18 @@ module Solace
95
95
  def to_bytes
96
96
  @bytes.dup
97
97
  end
98
+
99
+ class << self
100
+ # Create a public key instance from a base58 address
101
+ #
102
+ # @example
103
+ # pubkey = Solace::PublicKey.from_address(address)
104
+ #
105
+ # @param address [String] The base58 address of the public key
106
+ # @return [PublicKey]
107
+ def from_address(address)
108
+ new(Solace::Utils::Codecs.base58_to_bytes(address))
109
+ end
110
+ end
98
111
  end
99
112
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Solace::VERSION is the version of the Solace gem
4
4
  module Solace
5
- VERSION = '0.0.5'
5
+ VERSION = '0.0.6'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Scholl