v0.8.0
-
Added
cors
option inconfig.json
(see #62) -
You can now use either
inId
orisIn
in/api/transactions
and/api/chats/get
endpoints.
Example:/api/chats/get?InId=U6386412615727665758
and/api/chats/get?isIn=U6386412615727665758
are the same. -
Users ID in
/api/chats/get
and/api/chatrooms
endpoints became case insensitive.
Example:/api/chatrooms/U6386412615727665758
and/api/chatrooms/u6386412615727665758
are the same. -
Transactions and
POST /api/accounts/delegates
accept transaction in plain object and insidetransaction
property .
Example:curl -X POST https://endless.adamant.im/api/transactions/process -H 'Content-Type: application/json' -d '{"type": 0, "amount": 100000000, ...}' # or {"transaction": { "type": 0, "amount": 100000000, ... }}
-
Added
confirmations
property for/api/states/get
endpoint -
generatorPublicKey
query optimization. -
Fixed "permission denied for schema public" error
-
Other minor changes.
Breaking changes
/api/blocks
endpoint doesn't returncount
any more