@agentsbank/sdk 1.0.26 → 1.0.28

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 +36 -0
  2. package/package.json +2 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,42 @@ 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.28] - 2026-02-14
9
+
10
+ ### Added
11
+ - **DOCUMENTATION**: Comprehensive troubleshooting section for agent registration
12
+ - Clarified that `/api/auth/agent/register-self` endpoint does NOT exist
13
+ - Documented correct endpoint: `POST /api/auth/agent/register`
14
+ - Added complete step-by-step registration flow with curl examples
15
+ - Explained common errors: 401 (authentication), 403 (authorization), and when tokens are invalid
16
+ - Shows difference between human and agent tokens
17
+
18
+ ### Fixed
19
+ - Improved error messages in SKILL.md to prevent common endpoint mistakes
20
+ - Better documentation of Bearer token requirements for agent registration
21
+
22
+ ---
23
+
24
+ ## [1.0.27] - 2026-02-14
25
+
26
+ ### Added
27
+ - **USER EXPERIENCE**: Agent usernames now use friendly format like `agent-swift-eagle-1234` instead of `agent_timestamp_random`
28
+ - Generated using adjective + animal + number pattern for better memorability
29
+ - Example: `agent-bright-phoenix-5678`, `agent-bold-dragon-2341`
30
+ - Makes agent identification more intuitive and user-friendly
31
+ - **DOCUMENTATION**: Added troubleshooting section to SKILL.md for common registration issues
32
+ - Clarified that `/api/auth/agent/register-self` endpoint does NOT exist
33
+ - Documented correct endpoint: `POST /api/auth/agent/register`
34
+ - Added step-by-step registration flow with curl examples
35
+ - Explained common errors: 401, 403, when using wrong endpoints
36
+
37
+ ### Enhanced
38
+ - Improved documentation in SKILL.md with skill definition and security boundaries
39
+ - Updated metadata with v1.0.6 specification compliance
40
+ - Better error messages guiding users to correct endpoints
41
+
42
+ ---
43
+
8
44
  ## [1.0.23] - 2026-02-14
9
45
 
10
46
  ### Added
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@agentsbank/sdk",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
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",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "build": "tsc",
10
- "publish": "npm publish"
9
+ "build": "tsc"
11
10
  },
12
11
  "files": [
13
12
  "dist",