Skip to content

Commit

Permalink
Realign 6.0.0 (#719)
Browse files Browse the repository at this point in the history
* chrome(Release): Bump version 5.0.0. Regenerate docs

* chrome(Release): Prepare CHANGELOG. Regenerate lock file

* Release 6.0.0 (#716)

* Update @aeternity/aepp-sdk in group default to the latest version 🚀 (#702)

* fix(package): update @aeternity/aepp-sdk to version 5.0.0

* fix(package): update @aeternity/aepp-sdk to version 5.0.0

* chore(package): update lockfile examples/browser/vuejs/connect-two-ae/identity/yarn.lock

* chore(package): update lockfile examples/browser/vuejs/connect-two-ae/aepp/yarn.lock

* Realign 5.0.0 (#701)

* chrome(Release): Bump version 5.0.0. Regenerate docs

* chrome(Release): Prepare CHANGELOG. Regenerate lock file

* Update README.md (#704)

fix typo

* Feat(AENS): auction name fee calculation (#706)

* chrome(Release): Bump version 5.0.0. Regenerate docs

* chrome(Release): Prepare CHANGELOG. Regenerate lock file

* feat(AENS): Add auction name fee helpers and schema

* feat(AENS): Add nameFee calculation and validation to name `claim` function

* feat(AENS): Fix name length

* feat(AENS): Add `bid` function. Add test for name auction

* feat(AENS): Clear logs

* refactor(AENS): refactor claim (#709)

* chrome(Release): Bump version 5.0.0. Regenerate docs

* chrome(Release): Prepare CHANGELOG. Regenerate lock file

* refactor(constants): Move const to shema. Improve isAddressValid.

* refactor(constants): Move const to shema. Improve isAddressValid.

* refactor(AENS): Remove `prelimaCommitmentId`. Add function for generating `nameId`

* refactor(AE): Generate nameId in spend by name function instead of calling node

* Fix(Example): FIx example app (#712)

* chrome(Release): Bump version 5.0.0. Regenerate docs

* chrome(Release): Prepare CHANGELOG. Regenerate lock file

* fix(examples): Fix contract in example AEPP

* fix(examples): Add compilerVersion to AEPP example app

* fix(Compiler): Add cross compiler compatibility for old compiler

* fix(Compiler): Revert cross compiler options check

* chore(Jenkins): Force

* fix(AENS): Change tld for Lima from `aet` to `chain` (#714)

* fix(AENS): Change tld for Lima from `aet` to `chain`
Point docker to the rc-5 node and 4.0.0 compiler
Move `classify` method from AENS to transaction builder helpers

* fix(AENS): Fix claim command with new tld

* feat(SPEND): Add additional validation for recipient (#715)

* feat(state channels): make state channels compatible with node v5.0.0… (#688)

* feat(Lima): Create Lima branch

* feat(Compiler): Compiler 4.0.0 compatibility (#632)

* feat(newCompiler): Increase compiler version. Add `backend` option to compiler API

* fix(TX): Add fate vm version

* feat(Contract): Make Contract works with node 5.0.0 rc1 (lima hard-fork) and compiler 4.0.0 rc2

* chore(test): Debug channel test

* fix(channel): fix contract in channel test

* chore(test): Remove logs

* feat(ACI): Add `payable` to contract call

* feat(ACI): Add test for payable

* fix(Linter): Fix linter error

* feat(Compiler): Point to compiler 3.2.0. Improve `payble` to support old compiler

* feat(Compiler): disable payable test

* feat(Lima): Point compiler to 4.0.0. Enable tests for `payable`

* feat(Lima): Make contact for channel test payable

* chore(test): Enable tests

* feat(Contract/ACI): Add ability to use contract with external deps(`include "someLib"`) (#653)

* docs(Contract): Adjust contract docs (#658)

* Release 4.7.0-next.1 (#660)

* chore(release): Generate CHANGELOG. Bump version

* chore(test): Test backward compatibility

* chore(test): revert

* feat(SCHEMA): Add fate constants

* chore(release): bump version to 5.0.0-next.1

* feat(Lima): add check for compiler <-> consensus protocol version check

* feat(Lima): add check for abi/vm <-> backend(FATE/AEVM) (#680)

* feat(Lima): add check for abi/vm <-> backend(FATE/AEVM)

* feat(Lima): add check for abi/vm <-> backend(FATE/AEVM)

* feat(Contract): Add fate tests

* feat(Contract): enable all tests

* feat(Node): Add check in dry-run endpoint(node cross compatibility)

* feat(Contract): enable all tests

* feat(Contract): enable all tests

* feat(Contract): fix docker file run command

* feat(Swagger): Resolve refs

* feat(tests): Skip Channel and AENS

* feat(Node): Change compatibility range from 4.x.x to 5.x.x

* feat(Node): Change compatibility range from 4.x.x to 6.0.0

* fix(Oracle): fix abi field resolving

* chrome(build): Regenerate lock

* feat(state channels): make state channels compatible with node v5.0.0-rc.2

* feat(Compiler): make FATE by default (#693)

* feat(Contract): Use FATE by default

* Fix lint error

* feat(AENS): Lima compatibility (#687)

* Aens lima compatibility

* Make aens cross compatible with pre-lima releases

* Remove .only

* Fix native build of claim tx test

* feat(GA): Make GA compatible with Lima. Add cross compiler compatibility

* fix(Test): Fix test for cross compatibility. Add test for AEVM

* fix(AE): Add pointers verification for spend by name. Improve AENS cross node tests

* build(Node): Point node to 5.0.0-rc3

* Change node version to v5.0.0-rc.3

* Fix test

* Fix channel contracts tests

* chore(release): Bump version to 6.0.0

* chore(release): Adjust CHANGELOG. Regenerate lock file. Regenerate docs

* chore(release): Force Jenkins

* chore(Test): Adjust timeout for pollQuery test

* chrome(test): enable State chanel tests

* chrome(test): fix oracle pollQuery
  • Loading branch information
nduchak committed Oct 17, 2019
1 parent 33164a5 commit 7dca193
Show file tree
Hide file tree
Showing 17 changed files with 1,411 additions and 2,310 deletions.
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# [6.0.0](https://github.com/aeternity/aepp-sdk-js/compare/4.7.0...6.0.0) (2019-10-16)


### Code Refactoring

* **SPEND:** Add additional validation for recipient ([#715](https://github.com/aeternity/aepp-sdk-js/issues/715)) ([c1854bf](https://github.com/aeternity/aepp-sdk-js/commit/c1854bf))


### Features

* **State Channels:** make state channels compatible with node v5.0.0… ([#688](https://github.com/aeternity/aepp-sdk-js/issues/688)) ([23936f5](https://github.com/aeternity/aepp-sdk-js/commit/23936f5)), closes [#632](https://github.com/aeternity/aepp-sdk-js/issues/632) [#653](https://github.com/aeternity/aepp-sdk-js/issues/653) [#658](https://github.com/aeternity/aepp-sdk-js/issues/658) [#660](https://github.com/aeternity/aepp-sdk-js/issues/660) [#680](https://github.com/aeternity/aepp-sdk-js/issues/680) [#693](https://github.com/aeternity/aepp-sdk-js/issues/693) [#687](https://github.com/aeternity/aepp-sdk-js/issues/687)
* **AENS:** Change tld for Lima from `aet` to `chain` ([#714](https://github.com/aeternity/aepp-sdk-js/issues/714)) ([323ef6a](https://github.com/aeternity/aepp-sdk-js/commit/323ef6a))
* **AENS:** Implement name `bid` function ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706)))
* **AENS:** auction name fee calculation. Name fee validation and calculation in `claim/bid` ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706))
* **AENS:** Add `nameId` computation function (#709) ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706))


### BREAKING CHANGES

* **AENS:** Change `tld` for Lima from `.aet` to `.chain`




# [5.0.0](https://github.com/aeternity/aepp-sdk-js/compare/4.7.0...5.0.0) (2019-10-04)


Expand Down Expand Up @@ -1080,4 +1104,4 @@ fix(AEP exampe): Fix contract in AEPP example
### Bug Fixes
* **Chore** More consistent code examples
* **Chore** More consistent code examples
20 changes: 2 additions & 18 deletions docs/api/ae.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Attempting to create instances from the Stamp without overwriting all
abstract methods using composition will result in an exception.

Ae objects are the composition of three basic building blocks:
* [Tx](#exp_module_@aeternity/aepp-sdk/es/tx--Tx)
* [module:@aeternity/aepp-sdk/es/tx--Tx](module:@aeternity/aepp-sdk/es/tx--Tx)
* [Account](#exp_module_@aeternity/aepp-sdk/es/account--Account)
* [Chain](#exp_module_@aeternity/aepp-sdk/es/chain--Chain)
* [module:@aeternity/aepp-sdk/es/chain--Chain](module:@aeternity/aepp-sdk/es/chain--Chain)
Only by providing the joint functionality of those three, most more advanced
operations, i.e. the ones with actual use value on the chain, become
available.
Expand All @@ -49,22 +49,6 @@ available.
Remove all listeners for RPC

**Kind**: instance method of [`Ae`](#exp_module_@aeternity/aepp-sdk/es/ae--Ae)
<a id="module_@aeternity/aepp-sdk/es/ae--Ae+send"></a>

#### ae.send(tx, [options]) ⇒ `String` \| `String`
Sign and post a transaction to the chain

**Kind**: instance method of [`Ae`](#exp_module_@aeternity/aepp-sdk/es/ae--Ae)
**Returns**: `String` \| `String` - Transaction or transaction hash
**Category**: async
**rtype**: `(tx: String, options: Object) => Promise[String]`

| Param | Type | Default | Description |
| --- | --- | --- | --- |
| tx | `String` | | Transaction |
| [options] | `Object` | <code>{}</code> | options - Options |
| [options.verify] | `Object` | | verify - Verify transaction before broadcast, throw error if not valid |

<a id="module_@aeternity/aepp-sdk/es/ae--Ae+spend"></a>

#### ae.spend(amount, recipientId, options) ⇒ `String` \| `String`
Expand Down
77 changes: 42 additions & 35 deletions docs/api/ae/aens.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ import Aens from '@aeternity/aepp-sdk/es/ae/aens'
* _global_
* [exports.isNameValid(name, [throwError])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--exports.isNameValid) ⇒ ⏏
* _instance_
* [.update(nameId, target, options)](#exp_module_@aeternity/aepp-sdk/es/ae/aens--update)`Object`
* [.query(name)](#exp_module_@aeternity/aepp-sdk/es/ae/aens--query)`Promise.&lt;Object&gt;`
* [.claim(name, salt, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--claim)`Promise.&lt;Object&gt;`
* [.preclaim(name, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--preclaim)`Promise.&lt;Object&gt;`
* _async_
* [.update(nameId, target, options)](#exp_module_@aeternity/aepp-sdk/es/ae/aens--update)`Object`
* [.transfer(nameId, account, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--transfer)`Promise.&lt;Object&gt;`
* [.revoke(nameId, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--revoke)`Promise.&lt;Object&gt;`
* [.query(name, opt)](#exp_module_@aeternity/aepp-sdk/es/ae/aens--query)`Promise.&lt;Object&gt;`
* [.claim(name, salt, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--claim)`Promise.&lt;Object&gt;`
* [.preclaim(name, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--preclaim)`Promise.&lt;Object&gt;`
* [.bid(name, nameFee, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--bid)`Promise.&lt;Object&gt;`

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--Aens"></a>

Expand Down Expand Up @@ -64,23 +64,40 @@ Is name valid
Update an aens entry

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Category**: async

| Param | Description |
| --- | --- |
| nameId | domain hash |
| target | new target |
| options | |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--transfer"></a>

### .transfer(nameId, account, [options]) ⇒ `Promise.&lt;Object&gt;`
Transfer a domain to another account

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Category**: async

| Param | Type | Default |
| --- | --- | --- |
| nameId | `String` | |
| account | `String` | |
| [options] | `Object` | <code>{}</code> |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--query"></a>

### .query(name) ⇒ `Promise.&lt;Object&gt;`
### .query(name, opt) ⇒ `Promise.&lt;Object&gt;`
Query the status of an AENS registration

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Category**: async

| Param | Type |
| --- | --- |
| name | `string` |
| Param | Type | Description |
| --- | --- | --- |
| name | `string` | |
| opt | `Object` | Options |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--claim"></a>

Expand All @@ -90,49 +107,39 @@ preclaim step

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Returns**: `Promise.&lt;Object&gt;` - the result of the claim
**Category**: async

| Param | Type | Default |
| --- | --- | --- |
| name | `String` | |
| salt | `String` | |
| [options] | `Record` | <code>{}</code> |
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| name | `String` | | |
| salt | `Number` | | |
| [options] | `Record` | <code>{}</code> | |
| [options.nameFee] | `Number` \| `String` | | Name Fee |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--preclaim"></a>

### .preclaim(name, [options]) ⇒ `Promise.&lt;Object&gt;`
Preclaim a name. Sends a hash of the name and a random salt to the node

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Category**: async

| Param | Type | Default |
| --- | --- | --- |
| name | `string` | |
| [options] | `Record` | <code>{}</code> |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--transfer"></a>

### .transfer(nameId, account, [options]) ⇒ `Promise.&lt;Object&gt;`
Transfer a domain to another account

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Category**: async

| Param | Type | Default |
| --- | --- | --- |
| nameId | `String` | |
| account | `String` | |
| [options] | `Object` | <code>{}</code> |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--revoke"></a>
<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--bid"></a>

### .revoke(nameId, [options]) ⇒ `Promise.&lt;Object&gt;`
Revoke a domain
### .bid(name, nameFee, [options]) ⇒ `Promise.&lt;Object&gt;`
Bid to name auction

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Category**: async

| Param | Type | Default |
| --- | --- | --- |
| nameId | `String` | |
| [options] | `Object` | <code>{}</code> |
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| name | `String` | | Domain name |
| nameFee | `String` \| `Number` | | Name fee amount |
| [options] | `Record` | <code>{}</code> | |

4 changes: 1 addition & 3 deletions docs/api/ae/contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Contract module - routines to interact with the æternity contract
High level documentation of the contracts are available at
https://github.com/aeternity/protocol/tree/master/contracts and

**Export**: Contract
**Example**
```js
import Contract from '@aeternity/aepp-sdk/es/ae/contract' (Using tree-shaking)
Expand Down Expand Up @@ -215,10 +216,7 @@ Compile contract source code
| source | `String` | | Contract sourece code |
| [options] | `Object` | <code>{}</code> | Transaction options (fee, ttl, gas, amount, deposit) |
| [options.filesystem] | `Object` | <code>{}</code> | Contract external namespaces map* @return {Promise<Object>} Result object |
<<<<<<< HEAD
=======
| [options.backend] | `Object` | <code>&#x27;aevm&#x27;</code> | Contract backend version (aevm|fate) |
>>>>>>> develop

**Example**
```js
Expand Down
5 changes: 2 additions & 3 deletions docs/api/ae/oracle.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The high-level description of the oracle system is
https://github.com/aeternity/protocol/blob/master/ORACLE.md in the protocol
repository.

**Export**: Oracle
**Example**
```js
import Oracle from '@aeternity/aepp-sdk/es/ae/oracle'
Expand Down Expand Up @@ -54,9 +55,7 @@ Constructor for Oracle Object (helper object for using Oracle)
| --- | --- | --- |
| oracleId | `String` | Oracle public key |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/oracle--exports.pollForQueries"></a>

### .exports.pollForQueries(oracleId, onQuery, [options]) ⇒ `function`
### .pollForQueries(oracleId, onQuery, [options]) ⇒ `function`
Poll for oracle queries

**Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/oracle`](#module_@aeternity/aepp-sdk/es/ae/oracle)
Expand Down
Loading

0 comments on commit 7dca193

Please sign in to comment.