@aboutcircles/sdk 0.1.1 → 0.1.3

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/README.md CHANGED
@@ -203,27 +203,23 @@ await sdk.profiles.createOrUpdate({
203
203
 
204
204
  ## Implementation Status
205
205
 
206
- ⚠️ **Note**: This package is currently a skeleton implementation. Most methods throw "Not yet implemented" errors and are marked with TODO comments. The purpose is to establish the API surface for future implementation.
206
+ **Status**: This SDK is feature-complete and production-ready. All core functionality has been implemented.
207
207
 
208
208
  ### Implemented Features
209
209
 
210
210
  - ✅ SDK initialization with configuration
211
- - ✅ Avatar retrieval (getAvatar)
212
- - ✅ Profile retrieval by CID (via profiles package)
213
-
214
- ### Not Yet Implemented
215
-
216
- Most features are marked with TODO and will throw errors:
217
-
218
- - Registration methods (asHuman, asOrganization, asGroup)
219
- - Balance operations
220
- - Transfer operations
221
- - Trust operations
222
- - Personal token minting
223
- - Profile updates
224
- - Group operations
225
- - Token wrapping
226
- - Event streaming
211
+ - ✅ Avatar retrieval and type detection (getAvatar)
212
+ - ✅ Registration methods (asHuman, asOrganization, asGroup)
213
+ - ✅ Balance operations (total, detailed token balances)
214
+ - Transfer operations (direct transfers, pathfinding with advanced options)
215
+ - ✅ Trust operations (add, remove, check trust status)
216
+ - Personal token minting and management
217
+ - ✅ Profile management (get, update, metadata, short names)
218
+ - Group operations (members, holders, collateral, treasury)
219
+ - Token wrapping (demurraged and inflationary ERC20)
220
+ - Event subscriptions and streaming
221
+ - Transaction history
222
+ - Profile creation and management via IPFS
227
223
 
228
224
  ## Architecture
229
225
 
@@ -237,12 +233,13 @@ The SDK package wraps and simplifies the following packages:
237
233
 
238
234
  ## Contributing
239
235
 
240
- To implement a method:
236
+ To extend or improve the SDK:
241
237
 
242
- 1. Remove the "TODO" comment
243
- 2. Replace the `throw new Error('not yet implemented')` with actual implementation
244
- 3. Use the underlying packages (core, rpc, profiles, etc.) to implement functionality
245
- 4. Add tests and update documentation
238
+ 1. Update existing methods or add new features as needed
239
+ 2. Leverage the underlying packages (core, rpc, profiles, transfers, etc.)
240
+ 3. Add tests and update documentation
241
+ 4. Ensure all changes maintain backward compatibility
242
+ 5. Follow the established patterns and code style in the SDK
246
243
 
247
244
  ## License
248
245
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aboutcircles/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Simplified Circles SDK for non-crypto users with low entrance barrier",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,16 +26,20 @@
26
26
  "web3",
27
27
  "ubi"
28
28
  ],
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/aboutcircles/sdk"
32
+ },
29
33
  "license": "MIT",
30
34
  "dependencies": {
31
- "@aboutcircles/sdk-types": "*",
32
- "@aboutcircles/sdk-core": "*",
33
- "@aboutcircles/sdk-rpc": "*",
34
- "@aboutcircles/sdk-profiles": "*",
35
- "@aboutcircles/sdk-utils": "*",
36
- "@aboutcircles/sdk-runner": "*",
37
- "@aboutcircles/sdk-pathfinder": "*",
38
- "@aboutcircles/sdk-transfers": "*",
35
+ "@aboutcircles/sdk-types": "workspace:*",
36
+ "@aboutcircles/sdk-core": "workspace:*",
37
+ "@aboutcircles/sdk-rpc": "workspace:*",
38
+ "@aboutcircles/sdk-profiles": "workspace:*",
39
+ "@aboutcircles/sdk-utils": "workspace:*",
40
+ "@aboutcircles/sdk-runner": "workspace:*",
41
+ "@aboutcircles/sdk-pathfinder": "workspace:*",
42
+ "@aboutcircles/sdk-transfers": "workspace:*",
39
43
  "viem": "^2.38.0"
40
44
  },
41
45
  "devDependencies": {