@cascade-fyi/sati-sdk 0.8.0 → 0.10.0

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,40 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.10.0] - 2026-02-17
9
+
10
+ ### Breaking Changes
11
+
12
+ - **`listAllAgents` return type changed** from `AgentIdentity[]` to `{ agents: AgentIdentity[]; totalAgents: bigint }` - callers must destructure
13
+ - **`listAllAgents` offset changed** from 1-based `bigint` to 0-based `number` for simpler pagination
14
+ - **`AgentSearchOptions.offset` changed** from `bigint` to `number`
15
+
16
+ ### Added
17
+
18
+ - **Approximate `createdAt` timestamps** on `ParsedAttestation`, `ParsedFeedbackAttestation`, and `ParsedValidationAttestation` - derived from slot numbers, no more manual slot-to-time conversion needed
19
+ - **`listAllAgents` order parameter** - `"newest"` (default) or `"oldest"` sort order
20
+ - **`buildFeedbackContent()` helper** - builds typed ERC-8004 feedback content bytes from friendly params
21
+ - **`hexToBytes()` / `bytesToHex()` utilities** - hex conversion exported from SDK
22
+ - **Typed getters** `reputationScoreSchema` and `credential` on the `Sati` class
23
+ - **`reviewer`, `feedbackURI`, `feedbackHash` fields** added to `FeedbackContent` type
24
+
25
+ ### Fixed
26
+
27
+ - **`listFeedbacks` / `listValidations`** now automatically fetch current slot and compute `createdAt` timestamps
28
+
29
+ ## [0.9.0] - 2026-02-12
30
+
31
+ ### Breaking Changes
32
+
33
+ - **`MAX_SINGLE_SIGNATURE_CONTENT_SIZE` replaced** with two mode-specific constants:
34
+ - `MAX_COUNTERPARTY_SIGNED_CONTENT_SIZE` (100 bytes) - CounterpartySigned mode has SIWS content duplication
35
+ - `MAX_AGENT_OWNER_SIGNED_CONTENT_SIZE` (240 bytes) - AgentOwnerSigned mode has no SIWS duplication
36
+ - `getMaxContentSize()` and `validateContentSize()` now return correct per-mode limits
37
+
38
+ ### Fixed
39
+
40
+ - **`getAgentOwner` returns stale/empty data after registration or transfer** - added retry with exponential backoff to handle SPL token index lag on RPC node pools
41
+
8
42
  ## [0.8.0] - 2026-02-12
9
43
 
10
44
  ### Breaking Changes
@@ -157,6 +191,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
157
191
  - Compressed attestation storage via Light Protocol
158
192
  - Basic querying via Photon RPC
159
193
 
194
+ [0.10.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-sdk@0.9.0...@cascade-fyi/sati-sdk@0.10.0
195
+ [0.9.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-sdk@0.8.0...@cascade-fyi/sati-sdk@0.9.0
160
196
  [0.8.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-sdk@0.7.0...@cascade-fyi/sati-sdk@0.8.0
161
197
  [0.7.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-sdk@0.6.0...@cascade-fyi/sati-sdk@0.7.0
162
198
  [0.6.0]: https://github.com/cascade-protocol/sati/compare/@cascade-fyi/sati-sdk@0.5.0...@cascade-fyi/sati-sdk@0.6.0