Skip to content

Commit c6bb12a

Browse files
committed
chore(sdk): bump to 0.4.0 with deployed ReputationScoreV3 configs
Update devnet and mainnet deployed configs with new ReputationScoreV3 schema addresses and lookup tables. Both networks verified with end-to-end smoke tests.
1 parent 06ab4d6 commit c6bb12a

5 files changed

Lines changed: 35 additions & 10 deletions

File tree

packages/sdk/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.0] - 2026-02-06
9+
10+
### Added
11+
12+
- `updateReputationScore` method for updating existing reputation scores
13+
- `validateReputationScoreContent` helper function
14+
- `SAS_DATA_LEN_OFFSET` constant for cleaner SAS account parsing
15+
- Content validation in `createReputationScore` and `updateReputationScore`
16+
- Bounds check on content length in `deserializeReputationScore`
17+
- Known Issues documentation section
18+
19+
### Fixed
20+
21+
- **BREAKING**: Migrated reputation scores to ReputationScoreV3 with VecU8 content layout, fixing variable-length JSON content support
22+
- Fixed SAS credential authorized signers: `satiPda` is now correctly added as an authorized signer, enabling `createReputationScore` to succeed
23+
- Fixed `fetchMaybeSchema` truthiness check that caused false negatives
24+
- Fixed `deriveReputationAttestationPda` to use correct nonce format
25+
- Deploy script is now fully idempotent for authorized signer management
26+
27+
### Changed
28+
29+
- `updateReputationScore` defaults to `ContentType.None` (was `ContentType.JSON`)
30+
- Replaced magic number 97 with named `SAS_DATA_LEN_OFFSET` constant
31+
832
## [0.3.0] - 2025-01-27
933

1034
### Added
@@ -43,5 +67,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4367
- Compressed attestation storage via Light Protocol
4468
- Basic querying via Photon RPC
4569

70+
[0.4.0]: https://github.com/cascade-protocol/sati/compare/v0.3.0...v0.4.0
4671
[0.3.0]: https://github.com/cascade-protocol/sati/compare/v0.2.0...v0.3.0
4772
[0.2.0]: https://github.com/cascade-protocol/sati/releases/tag/v0.2.0

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cascade-fyi/sati-sdk",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "TypeScript SDK for SATI - Solana Agent Trust Infrastructure",
55
"repository": {
66
"type": "git",
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"network": "devnet",
33
"authority": "SQ2xxkJ6uEDHprYMNXPxS2AwyEtGGToZ7YC94icKH3Z",
4-
"deployedAt": "2026-02-05T22:58:10.633Z",
4+
"deployedAt": "2026-02-06T02:16:15.277Z",
55
"config": {
66
"credential": "DQHW6fAhPfGAENuwJVYfzEvUN12DakZgaaGtPPRfGei1",
77
"schemas": {
88
"feedback": "CPSr2kXADrhfAykcLwr7mxaLtuG4EBkzei9xQCaEmRJS",
99
"feedbackPublic": "7SvB6udRrxTsKLYyoMwCvrm2jiNLUCcWBnhzwDVCebss",
1010
"validation": "Ho7nAWqwrxi3AzasoVST2FTKfAbVopk9S6G5cb3Z3DMi",
11-
"reputationScore": "HrysBtcZ2zVbMJJ95ZEq6e8UMTswRHT9Ku8nVgGpQwMc",
11+
"reputationScore": "7MoXgvrFhMxmB84AfAtp8LGfC4sEXUHD6JCQJpfj2jTj",
1212
"delegate": "93wrAiBtCWgfVzToT6kU4zkPSvZpWbKDG3XUQEEHXBrk"
1313
},
14-
"lookupTable": "Gew5oN7pD5QBqnHHdWweEqtRL2ZxzUxpT9K8YURHrjpw"
14+
"lookupTable": "HGTEPmkGs2sWAzMw1CjBFKD2nVWBCAdHJeM8osoTibVQ"
1515
}
1616
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"network": "localnet",
33
"authority": "7NetKx8TuRMBpqYFKZCVetkNuvWCPTrgekmGrsJwTmfN",
4-
"deployedAt": "2026-02-05T22:47:09.078Z",
4+
"deployedAt": "2026-02-06T01:58:16.706Z",
55
"config": {
66
"credential": "7HCCiuYUHptR1SXXHBRqkKUPb5G3hPvnKfy5v8n2cFmY",
77
"schemas": {
88
"feedback": "A67hFx6W89Dnj58JzWySVu5wyHxq8tvLDWtUN9tgWsZg",
99
"feedbackPublic": "CT95KC9RomcmndTEBHS6sA7qKPTJJ11xJYVvFHmVeza7",
1010
"validation": "E2UC9Bmk9hET4U3KbutUH6PbeDe3dpWeziaUr15X8jrQ",
11-
"reputationScore": "AoP4cnbLDyee6c76Z4J56FiRRmf9sKAhPb3yC5xHA3bm",
11+
"reputationScore": "8REJ391YjK5YVTECCNRs5ePBdcmQkZGj2kAMJRNDjN4z",
1212
"delegate": "8kny8CGZUcobGEePCFcKGMAbxShzThRj1otjNamphZMD"
1313
},
14-
"lookupTable": "2jA3HeUGMkbLfzbyc7yZEKoVBZsWtAXKdv5W4CXxRDWX"
14+
"lookupTable": "F1w3dmnoGKbk4TJmRw3Lhs9kJL7GzzDqBF5WbasVK6KG"
1515
}
1616
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"network": "mainnet",
33
"authority": "SQ2xxkJ6uEDHprYMNXPxS2AwyEtGGToZ7YC94icKH3Z",
4-
"deployedAt": "2026-01-04T02:59:21.370Z",
4+
"deployedAt": "2026-02-06T02:29:37.194Z",
55
"config": {
66
"credential": "DQHW6fAhPfGAENuwJVYfzEvUN12DakZgaaGtPPRfGei1",
77
"schemas": {
88
"feedback": "CPSr2kXADrhfAykcLwr7mxaLtuG4EBkzei9xQCaEmRJS",
99
"feedbackPublic": "7SvB6udRrxTsKLYyoMwCvrm2jiNLUCcWBnhzwDVCebss",
1010
"validation": "Ho7nAWqwrxi3AzasoVST2FTKfAbVopk9S6G5cb3Z3DMi",
11-
"reputationScore": "DeczMmsAwGR81DSrkmMaRWKS2qhqJdW9zCeNVuNKaceh",
11+
"reputationScore": "7MoXgvrFhMxmB84AfAtp8LGfC4sEXUHD6JCQJpfj2jTj",
1212
"delegate": "93wrAiBtCWgfVzToT6kU4zkPSvZpWbKDG3XUQEEHXBrk"
1313
},
14-
"lookupTable": "3ZwvNnz6mdyLyLyPaSZVpfthWcsDV3x3r6QSufjcRcoi"
14+
"lookupTable": "4XgHCijEGjWBch2wvs35XGBNLBdioQbVxLJhbr9AifAn"
1515
}
1616
}

0 commit comments

Comments
 (0)