Skip to content

Commit

Permalink
Release/6.0.2 (#741) (#742)
Browse files Browse the repository at this point in the history
* 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

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

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

* fix(package): update @aeternity/aepp-sdk to version 6.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 6.0.0 (#719)

* 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

* Update libsodium-wrappers-sumo to the latest version 🚀 (#721)

* fix(package): update libsodium-wrappers-sumo to version 0.7.6

* chore(package): update lockfile package-lock.json

* Keystore: Make usable in nodejs@10 and below (#726)

* keystore: Fix name in example

* Add missed Keystore module export

* keystore: Add example for versions of nodejs that don't supports esm

* fix(aens): added lower case transformation for aens names (#730)

* fix(aens): added lower case transformation for aens names

commitment Id has been generated incorrectly because names have not been transformed to a lower case

* fix(aens): removed unnecessary lower case transformation during the name encoding process

* fix(aens): disable test for spend by name

#728

* fix(aens): fixed namespace for claim transactions

#728

* removed empty lines

* style(changelog): added whitespaces to separate changelog sections

* name claim: Revert ignoring waitMined from user passed options (#727)

Reverts changes in 8850900#diff-bd3d95ffcb66b185645d812b7d5ba656L179-R176

* Bump version to 6.0.2

* Regenerate lock file. Regenerate docs
  • Loading branch information
mpowaga authored and nduchak committed Nov 1, 2019
1 parent 50603d6 commit 844849d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 114 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [6.0.2](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...6.0.2) (2019-10-31)


### Bug Fixes

* **name claim:** Revert ignoring waitMined from user passed options (#727)



## [6.0.1](https://github.com/aeternity/aepp-sdk-js/compare/6.0.0...6.0.1) (2019-10-29)


Expand Down
1 change: 0 additions & 1 deletion docs/api/ae.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import Ae from '@aeternity/aepp-sdk/es/ae'
* _instance_
* [.destroyInstance()](#module_@aeternity/aepp-sdk/es/ae--Ae+destroyInstance)`void`
* _async_
* [.send(tx, [options])](#module_@aeternity/aepp-sdk/es/ae--Ae+send)`String` \| `String`
* [.spend(amount, recipientId, options)](#module_@aeternity/aepp-sdk/es/ae--Ae+spend)`String` \| `String`
* [.transferFunds(percentage, recipientId, options)](#module_@aeternity/aepp-sdk/es/ae--Ae+transferFunds)`String` \| `String`
* _inner_
Expand Down
19 changes: 0 additions & 19 deletions docs/api/ae/aens.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import Aens from '@aeternity/aepp-sdk/es/ae/aens'

* [@aeternity/aepp-sdk/es/ae/aens](#module_@aeternity/aepp-sdk/es/ae/aens)
* [Aens([options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--Aens)`Object`
* _global_
* [exports.isNameValid(name, [throwError])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--exports.isNameValid) ⇒ ⏏
* _instance_
* _async_
* [.update(nameId, target, options)](#exp_module_@aeternity/aepp-sdk/es/ae/aens--update)`Object`
Expand All @@ -41,23 +39,6 @@ Aens provides name-system related methods atop
| --- | --- | --- | --- |
| [options] | `Object` | <code>{}</code> | Initializer object |

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

### exports.isNameValid(name, [throwError]) ⇒ ⏏
Is name valid

**Kind**: global method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Returns**: Boolean
**Throws**:

- Error


| Param | Type | Default | Description |
| --- | --- | --- | --- |
| name | `string` | | |
| [throwError] | `boolean` | <code>true</code> | Throw error on invalid |

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

### .update(nameId, target, options) ⇒ `Object`
Expand Down
31 changes: 1 addition & 30 deletions docs/api/ae/oracle.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import Oracle from '@aeternity/aepp-sdk/es/ae/oracle'
* [Oracle([options])](#exp_module_@aeternity/aepp-sdk/es/ae/oracle--Oracle)`Object`
* _instance_
* _async_
* [.getOracleObject(oracleId)](#exp_module_@aeternity/aepp-sdk/es/ae/oracle--getOracleObject)`Promise.&lt;Object&gt;`
* [.exports.pollForQueries(oracleId, onQuery, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/oracle--exports.pollForQueries)`function`
* [.pollForQueries(oracleId, onQuery, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/oracle--pollForQueries)`function`
* [.getQueryObject(oracleId, queryId)](#exp_module_@aeternity/aepp-sdk/es/ae/oracle--getQueryObject)`Promise.&lt;Object&gt;`
* [.exports.pollForQueryResponse(oracleId, queryId, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/oracle--exports.pollForQueryResponse)`Promise.&lt;Object&gt;`
* [.registerOracle(queryFormat, responseFormat, [options])](#exp_module_@aeternity/aepp-sdk/es/ae/oracle--registerOracle)`Promise.&lt;Object&gt;`
Expand Down Expand Up @@ -57,34 +56,6 @@ Poll for oracle queries
| [options] | `Object` | Options object |
| [options.interval] | `Object` | Poll interval(default: 5000) |

### .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)
**Returns**: `function` - stopPolling - Stop polling function
**Category**: async

| Param | Type | Description |
| --- | --- | --- |
| oracleId | `String` | Oracle public key |
| onQuery | `function` | OnQuery callback |
| [options] | `Object` | Options object |
| [options.interval] | `Object` | Poll interval(default: 5000) |

### .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)
**Returns**: `function` - stopPolling - Stop polling function
**Category**: async

| Param | Type | Description |
| --- | --- | --- |
| oracleId | `String` | Oracle public key |
| onQuery | `function` | OnQuery callback |
| [options] | `Object` | Options object |
| [options.interval] | `Object` | Poll interval(default: 5000) |

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

### .getQueryObject(oracleId, queryId) ⇒ `Promise.&lt;Object&gt;`
Expand Down
20 changes: 3 additions & 17 deletions docs/api/chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,12 @@ import Chain from '@aeternity/aepp-sdk/es/chain'
* _static_
* [.waitMined(bool)](#module_@aeternity/aepp-sdk/es/chain.waitMined)`Stamp`

### Chain([options]) ⇒ `Object`
Basic Chain Stamp
<a id="module_@aeternity/aepp-sdk/es/chain+sendTransaction"></a>

Attempting to create instances from the Stamp without overwriting all
abstract methods using composition will result in an exception.

**Kind**: Exported function
**Returns**: `Object` - Chain instance
**rtype**: `Stamp`

| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [options] | `Object` | <code>{}</code> | Initializer object |

<a id="module_@aeternity/aepp-sdk/es/chain--Chain+sendTransaction"></a>

#### *chain.sendTransaction(tx, [options]) ⇒ `Object` \| `String`*
### *@aeternity/aepp-sdk/es/chain.sendTransaction(tx, [options]) ⇒ `Object` \| `String`*
Submit a signed transaction for mining

**Kind**: instance abstract method of [`Chain`](#exp_module_@aeternity/aepp-sdk/es/chain--Chain)
**Kind**: instance abstract method of [`@aeternity/aepp-sdk/es/chain`](#module_@aeternity/aepp-sdk/es/chain)
**Returns**: `Object` \| `String` - Transaction or transaction hash
**Category**: async
**rtype**: `(tx: String, options?: Object) => tx: Promise[Object]|txHash: Promise[String]`
Expand Down
19 changes: 2 additions & 17 deletions docs/api/contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,9 @@ import ContractBase from '@aeternity/aepp-sdk/es/contract'
* *[.setCompilerUrl(url)](#module_@aeternity/aepp-sdk/es/contract+setCompilerUrl)`void`*
* *[.getCompilerVersion()](#module_@aeternity/aepp-sdk/es/contract+getCompilerVersion)`String`*

### ContractBase([options]) ⇒ `Object`
Basic Contract Stamp
<a id="module_@aeternity/aepp-sdk/es/contract+contractGetACI"></a>

This stamp include api call's related to contract functionality.
Attempting to create instances from the Stamp without overwriting all
abstract methods using composition will result in an exception.

**Kind**: Exported function
**Returns**: `Object` - Contract instance
**rtype**: `Stamp`

| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [options] | `Object` | <code>{}</code> | Initializer object |

<a id="module_@aeternity/aepp-sdk/es/contract--ContractBase+contractGetACI"></a>

#### *contractBase.contractGetACI(source, [options]) ⇒ `Object`*
### *@aeternity/aepp-sdk/es/contract.contractGetACI(source, [options]) ⇒ `Object`*
Get contract ACI

**Kind**: instance abstract method of [`@aeternity/aepp-sdk/es/contract`](#module_@aeternity/aepp-sdk/es/contract)
Expand Down
27 changes: 0 additions & 27 deletions docs/api/contract/ga.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,9 @@ import { GeneralizeAccount } from '@aeternity/aepp-sdk' (Using bundle)
```

* [@aeternity/aepp-sdk/es/contract/ga](#module_@aeternity/aepp-sdk/es/contract/ga)
* [exports.GeneralizeAccount([options])](#exp_module_@aeternity/aepp-sdk/es/contract/ga--exports.GeneralizeAccount)`Object`
* [createGeneralizeAccount(authFnName, source, args, options)](#exp_module_@aeternity/aepp-sdk/es/contract/ga--createGeneralizeAccount)`Promise.&lt;Readonly.&lt;{result: \*, owner: \*, createdAt: Date, address, rawTx: \*, transaction: \*}&gt;&gt;`
* [createMetaTx(rawTransaction, authData, authFnName, options)](#exp_module_@aeternity/aepp-sdk/es/contract/ga--createMetaTx)`String`

<a id="exp_module_@aeternity/aepp-sdk/es/contract/ga--exports.GeneralizeAccount"></a>

### exports.GeneralizeAccount([options]) ⇒ `Object`
GeneralizeAccount Stamp

Provide Generalize Account implementation
[@aeternity/aepp-sdk/es/contract/ga](#module_@aeternity/aepp-sdk/es/contract/ga) clients.

**Kind**: Exported function
**Returns**: `Object` - GeneralizeAccount instance
**rtype**: `Stamp`

| Param | Type | Default | Description |
| --- | --- | --- | --- |
| [options] | `Object` | <code>{}</code> | Initializer object |

**Example**
```js
const authContract = ``
await client.createGeneralizeAccount(authFnName, authContract, [...authFnArguments]
// Make spend using GA
const callData = 'cb_...' // encoded call data for auth contract
await client.spend(10000, receiverPub, { authData: { callData } })
// or
await client.spend(10000, receiverPub, { authData: { source: authContract, args: [...authContractArgs] } }) // sdk will prepare callData itself
```
<a id="exp_module_@aeternity/aepp-sdk/es/contract/ga--createGeneralizeAccount"></a>

### createGeneralizeAccount(authFnName, source, args, options) ⇒ `Promise.&lt;Readonly.&lt;{result: \*, owner: \*, createdAt: Date, address, rawTx: \*, transaction: \*}&gt;&gt;`
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aeternity/aepp-sdk",
"version": "6.0.1",
"version": "6.0.2",
"description": "SDK for the æternity blockchain",
"main": "dist/aepp-sdk.js",
"browser": "dist/aepp-sdk.browser.js",
Expand Down

0 comments on commit 844849d

Please sign in to comment.