Releases: aeternity/aepp-sdk-js
Releases · aeternity/aepp-sdk-js
6.0.0 (2019-10-16)
Code Refactoring
Features
- State Channels: make state channels compatible with node v5.0.0… (#688) (23936f5), closes #632 #653 #658 #660 #680 #693 #687
- AENS: Change tld for Lima from
aet
tochain
(#714) (323ef6a) - AENS: Implement name
bid
function (#706)) - AENS: auction name fee calculation. Name fee validation and calculation in
claim/bid
(#706) - AENS: Add
nameId
computation function (#709) (#706)
BREAKING CHANGES
- AENS: Change
tld
for Lima from.aet
to.chain
5.0.0 (2019-10-04)
Bug Fixes
Code Refactoring
Features
- AENS: Add ability to spend by name (#682) (0d43804)
- AENS: Add ability to claim contract, oracle, SC (#671) (49fd0fd)
- GA: enbale GA (#692) (eded912)
- Lima: Lima compatibility (#683) (a88042e), closes #632 #653 #658 #660 #680 #693 #687
- AENS auction support
- compiler 4.0.0 support
- node 5.0.0 support
- SDK use
FATE
for contract by default
- AE: Add pointers verification for spend by name
BREAKING CHANGES
- aci: Change Sophia option type representation in ACI
// from
await contract.methods.optionFn(Promise.resolve(1) || Promise.reject())
// to
await contract.methods.optionFn(1 || undefined)
5.0.0-next.1
Feature
- Compiler: Compiler 4.2.0-rc-2 compatibility
- Contract/ACI: Implement
payable
feature - Contract/ACI: Implement external namespaces
4.7.0 (2019-09-11)
4.6.0 (2019-08-28)
Bug Fixes
- Compiler: Fix
forceCompatibility
option (26beba8)
Features
- Lima: add preliminary support for lima
- ACI/Contract: Implement static-call for deploy transaction for ACI methods/Contract low lvl API (#630) (5b7eeb4)
Notes
GA support has been disabled until further notice due to node compatibility issues
This version support aeternity node up to 5.0.0-rc.1
4.5.1 (2019-08-22)
4.5.0 (2019-08-20)
Bug Fixes
- Crypto: Fix
keypair
verification (#605) (83a52fb) - RPC: Remove NodePool stamp from AE composition (#612) (21af2eb)
- state channels: add missing argument in onOnChainTx callback (#604) (165cfe8)
- state channels: fix awaitingOnChainTx state handler (#608) (8b7b65a)
- Swagger: Always throw error from
axios
error handler (#607) (0e5cf61)
Features
- MemoryAccount: Add validation of keypair (#594) (b8c2b20)
- state channels: handle BigNumbers with json-bigint (#596) (14eaa3d)
- state channels: send generic messages immediately (#600) (8ad7583)
- Generalize Account Implement Generalized account support (#449)
const authContract = `YOUR_AUTH_CONTRACT` // Make current account Generalized await client.createGeneralizeAccount(authFnName, authContract, [...authFnArguments] // Make spend transaction using GA // One Way // encoded call data for auth contract const callData = 'cb_...' await client.spend(10000, receiverPub, { authData: { callData } }) // or // sdk will prepare callData itself await client.spend(10000, receiverPub, { authData: { source: authContract, args: [...authContractArgs] } })
4.4.0 (2019-08-09)
Bug Fixes
- Package: update commander to version 3.0.0 (#597) (9aaa05c)
- Contract: Fix dry-run without account (227fc5c)
Features
- AE: Add ability to make operation on specific account using
onAccount
option.Exm: await client.spend(1, receiver, { onAccount: 'PUBLIC_KEY' }) Add `onAccount` to `AENS`, `Contract`, `Oracle`. Add tests for using specific account to Contract, ACI, Account.
- JSON:: Add serialization to JSON for bigNumbers
- MemoryAccount: Add validation of
keypair
(#594) (b8c2b20) - State Channels: persist connection by pinging every 10 seconds (#571) (a70f919)
4.3.0 (2019-08-05)
Bug Fixes
- State Channels: Fix onChainTx event params (#566) (11c85eb)
- State Channels: Fix websocket url (#558) (33c1fd8)
- Swagger: Pass query params in case of get request (#570)
Code Refactoring
- State Channel: Do not include white space for outgoing websocket messages (#559)
Features
- ACI: Implement sophia
variant
type (#567) (8505dcf) - Contract: add ability to use call-static/dry-run without keyPair (#577) (c38edd9)
So now you can make static calls without
keypair
, instead will be usezero
accounts with predefined amount of tokens - NodePool: Implement NodePool stamp (#574) (674166c)
Change composition of AE stamp, compose it with NodePool instead of Node. Now you have ability to manage more then one Node.
- State Channel: make state channel compatible with [email protected] (#568) (0d0e09b)
- TxBuilder: Add helper for producing tx hash (#579) (e1b405e)
- AE Make all AE stamps composed with Accounts (#581)
Change composition of Universal stamp. Now composed with Accounts instead of MemoryAccount.
Now you have ability to manage more then one Account and init sdk without account at all
Docs
- ACI Add some additional clarification to
getContractInstance
4.2.0 (2019-07-15)
Bug Fixes
- package: update libsodium-wrappers-sumo to version 0.7.5 (#541) (956ed75)
- rpc-server: Fix type 'object' check (#526) (48c42e4)
Code Refactoring
- swagger: Speedup initialisation
- AENS: Remove unused param from claim method
- AENS: Fix exception if not waiting for mining(claim)
- Test: Add test for contract namespaces
Features
- Node: Add 4.0.0 node compatibility
- Compiler: Add compatibility with compiler 3.2.0
- Channel: Implement GA awareness of State Channels