Releases: nknorg/nkn-sdk-go
Releases · nknorg/nkn-sdk-go
v1.2.8
- Prevent multiclient panic if underlying client is closed
- Close multiclient OnMessage and OnConnect channel when multiclient close
v1.2.7
- Fix WalletFromJSON not returning error when password is wrong
- Prevent duplicate scrypt computation in WalletFromJSON
v1.2.6
- Upgrade to v2 wallet json format
- Prevent panic when send dests is nil
v1.2.5
- Remove ProgramHash() in Signer interface to fix gomobile build fail
- Change interface to private to avoid error on gomobile android
- Reduce reconnectChan len to 0 to avoid infinite reconnect loop
v1.2.4
Rewrite RPC module and add RPC functions to clients:
- Client and Multiclient now have all RPC functions available, including the ones that needs to send transactions. Clients will try to use connected nodes as RPC address first, and fallback to seed node if failed.
- Transaction related function now accepts transaction config as last param, which includes fee, nonce and attributes.
v1.2.3
- Add package level RPC functions without requiring client or wallet
- Use error constants whenever possible
- Add documentation for godoc
v1.2.2
- Send always returns non-nil OnReply for gomobile compatibility
- Add websocket write timeout
- Will split oversized message into multiple ones
- Increment success and fail channel length to prevent potential signal
- NewMultiClient will return immediately when at least one client is created
v1.2.1
- Implement NoReply message logic for both sender and receiver
- Rename for consistency:
- noAck->noReply
- pid->messageId
- replyToPid->replyToId
v1.2.0
Version 1.2.0 introduces many major features including:
- End to end encryption by default
- Multiclient for better reliability and latency
- Request-response workflow
- Session mode for reliable, TCP-like streaming data transmission
- Gomobile compatibility
- Fully compatible with other sdk (e.g. nkn-sdk-js)
In addition, there are tons of minor improvements and bug fixes.