@agentsbank/sdk 1.0.27 → 1.0.29

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,33 @@ 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.29] - 2026-02-14
9
+
10
+ ### Updated
11
+ - **CLARIFICATION**: Agent registration is REST API-only, not available in SDK
12
+ - Reformatted SKILL.md to clearly distinguish API-only vs SDK operations
13
+ - Shows scope: SDK handles agent financial operations only
14
+ - Setup & authentication (registration, login) must use REST API directly
15
+ - Included reference table of what's in SDK vs what's API-only
16
+
17
+ ---
18
+
19
+ ## [1.0.28] - 2026-02-14
20
+
21
+ ### Added
22
+ - **DOCUMENTATION**: Comprehensive troubleshooting section for agent registration
23
+ - Clarified that `/api/auth/agent/register-self` endpoint does NOT exist
24
+ - Documented correct endpoint: `POST /api/auth/agent/register`
25
+ - Added complete step-by-step registration flow with curl examples
26
+ - Explained common errors: 401 (authentication), 403 (authorization), and when tokens are invalid
27
+ - Shows difference between human and agent tokens
28
+
29
+ ### Fixed
30
+ - Improved error messages in SKILL.md to prevent common endpoint mistakes
31
+ - Better documentation of Bearer token requirements for agent registration
32
+
33
+ ---
34
+
8
35
  ## [1.0.27] - 2026-02-14
9
36
 
10
37
  ### Added
@@ -12,10 +39,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
39
  - Generated using adjective + animal + number pattern for better memorability
13
40
  - Example: `agent-bright-phoenix-5678`, `agent-bold-dragon-2341`
14
41
  - Makes agent identification more intuitive and user-friendly
42
+ - **DOCUMENTATION**: Added troubleshooting section to SKILL.md for common registration issues
43
+ - Clarified that `/api/auth/agent/register-self` endpoint does NOT exist
44
+ - Documented correct endpoint: `POST /api/auth/agent/register`
45
+ - Added step-by-step registration flow with curl examples
46
+ - Explained common errors: 401, 403, when using wrong endpoints
15
47
 
16
48
  ### Enhanced
17
49
  - Improved documentation in SKILL.md with skill definition and security boundaries
18
50
  - Updated metadata with v1.0.6 specification compliance
51
+ - Better error messages guiding users to correct endpoints
19
52
 
20
53
  ---
21
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentsbank/sdk",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
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",