@agentsbank/sdk 1.0.22 → 1.0.24
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 +21 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,27 @@ All notable changes to the AgentsBank SDK are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.23] - 2026-02-14
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **NEW METHOD**: `listWallets()` - Retrieve all wallets for the authenticated agent
|
|
12
|
+
- Returns: Array of wallet objects with {wallet_id, chain, address, type, balance, created_at}
|
|
13
|
+
- Requires: Agent authentication
|
|
14
|
+
- Usage: `const wallets = await bank.listWallets()`
|
|
15
|
+
- Error sanitization utility to prevent exposing sensitive info
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Fixed 404 error on `listWallets()` - added missing endpoint (GET /api/wallets)
|
|
19
|
+
- Enhanced error handling - sensitive database/Supabase errors no longer exposed to clients
|
|
20
|
+
- All error responses sanitized for security (no SQL/RLS/connection details in API responses)
|
|
21
|
+
|
|
22
|
+
### Security
|
|
23
|
+
- Implemented errorSanitizer across all routes
|
|
24
|
+
- Full error details logged server-side for debugging
|
|
25
|
+
- Client receives only safe, generic error messages
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
8
29
|
## [1.0.22] - 2026-02-14
|
|
9
30
|
|
|
10
31
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentsbank/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"description": "🔒 Secure Financial SDK for AgentsBank - Multi-chain wallet & transaction management. Supports both user-approved and autonomous modes with configurable guardrails.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|