Skip to content

Releases: aeternity/aepp-sdk-js

6.0.0 (2019-10-16)

17 Oct 09:58
697a097
Compare
Choose a tag to compare

Code Refactoring

  • SPEND: Add additional validation for recipient (#715) (c1854bf)

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 to chain (#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)

04 Oct 13:38
b1e7be7
Compare
Choose a tag to compare

Bug Fixes

Code Refactoring

  • ACI: rework Sophia Option type representation (#691) (0dbb2fe)

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

12 Sep 09:45
Compare
Choose a tag to compare
5.0.0-next.1 Pre-release
Pre-release

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)

12 Sep 10:00
2aa03db
Compare
Choose a tag to compare

Features

  • Oracle: Add methods for polling queries #637
  • Chain: Add getBalance method (#655) (15147af)
  • state channels: add reconnect method (#662) (9d8d1e8)
  • state channels: add backchannel updates test#664

4.6.0 (2019-08-28)

28 Aug 14:56
9ab5f10
Compare
Choose a tag to compare

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)

22 Aug 13:33
4925d2e
Compare
Choose a tag to compare

Refactor

  • Example Add node info to AEPP (#620)

Bug Fixes

  • GA Fix GA account composition (211e409)

4.5.0 (2019-08-20)

20 Aug 14:26
58eaf05
Compare
Choose a tag to compare

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)

09 Aug 15:13
1cd8b80
Compare
Choose a tag to compare

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)

05 Aug 16:06
772f3ab
Compare
Choose a tag to compare

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 use zero 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)

15 Jul 17:16
ca79d6e
Compare
Choose a tag to compare

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