@agentsbank/sdk 1.0.16 → 1.0.20
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 +18 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,24 @@ 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.
|
|
8
|
+
## [1.0.20] - 2026-02-14
|
|
9
|
+
|
|
10
|
+
### CRITICAL FIX
|
|
11
|
+
- **Login Method Signature**: Fixed common initialization error - `login()` takes NO parameters
|
|
12
|
+
- ❌ WRONG: `instance.login('agent_name', 'password')`
|
|
13
|
+
- ✅ CORRECT: Provide credentials in constructor config, then call `await instance.login()`
|
|
14
|
+
- Updated SKILL.md with clear examples showing correct initialization pattern
|
|
15
|
+
- Added Mode Selection Guide to SKILL.md for authentication scenarios
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Clarified documentation across README and SKILL.md with working code examples
|
|
19
|
+
- Added "Mode Selection Guide" showing when to use default vs autonomous mode
|
|
20
|
+
|
|
21
|
+
### Documentation
|
|
22
|
+
- SKILL.md: Complete rewrite with dual-mode examples (user-approved + autonomous)
|
|
23
|
+
- Added explicit initialization example with credential configuration
|
|
24
|
+
- Added autonomous mode examples with spending limits implementation
|
|
25
|
+
- Updated all support URLs from agentsbank.ai to agentsbank.online
|
|
9
26
|
|
|
10
27
|
### Fixed
|
|
11
28
|
- **CRITICAL**: Fixed MODULE_NOT_FOUND error by ensuring dist/ folder is built before publishing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentsbank/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
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",
|