Releases: SOVEREIGN-NET/Sovereign-Network-API-Client
Releases · SOVEREIGN-NET/Sovereign-Network-API-Client
v1.3.0
What's New
Features
registerIdentity()method - New API method for iOS/mobile client-side key registration- Calls
POST /api/v1/identity/registerinstead of/api/v1/identity/create - Supports client-generated Dilithium5 keys (private keys stay on device)
- Includes
registration_proofsignature verification
- Calls
Types
RegisterIdentityRequest- Request type for client-side registrationRegisterIdentityResponse- Response withidentity_id,did,blockchain_tx,welcome_bonus, etc.
Fixes
- Fixed duplicate
FetchAdaptertype declaration inzhtp-api-core.ts
Migration
iOS apps should use registerIdentity() instead of signup() for client-side key generation:
const response = await api.registerIdentity({
did: "did:zhtp:...",
public_key: base64EncodedDilithiumPubKey,
node_id: base64EncodedNodeId,
device_id: "...",
registration_proof: base64EncodedSignature,
timestamp: Math.floor(Date.now() / 1000)
});v1.1.12
v1.1.10
v1.1.9
1.1.8
Full Changelog: v1.1.4...v1.1.8
1.1.4
Full Changelog: v...v1.1.4
1.1.2
Full Changelog: v1.1.1...v1.1.2