Skip to content

Commit

Permalink
Realign 7.0.0 next.2 (#858)
Browse files Browse the repository at this point in the history
* Release/6.0.2 (#741)

* 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

* removed empty lines

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

* 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

* 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

* 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

* Update commander to the latest version 🚀 (#743)

* fix(package): update commander to version 4.0.0

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

* Update vue-loader in group default to the latest version 🚀 (#745)

* chore(package): update vue-loader to version 15.7.2

* chore(package): update vue-loader to version 15.7.2

* Update rlp to the latest version 🚀 (#744)

* fix(package): update rlp to version 2.2.4

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

* fix(AENS): auction end block calculation (#746)

* fix(AENS): auction end block calculation

* chore(build): Update node to 5.0.2

* fix(AENS): Fix `produceNameId` function(Make name lowercase). Enable … (#750)

* fix(AENS): Fix `produceNameId` function(Make name lowercase). Enable spend by name test

* chore(Test): Increase amount of tokens for AENS tests

* aensQuery: Fix default value of pointers field (#735)

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

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

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

* 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

* Remove extra eslint exceptions (#729)

* Update babel7 in group default to the latest version 🚀 (#754)

* chore(package): update @babel/cli to version 7.7.0

* chore(package): update @babel/cli to version 7.7.0

* chore(package): update @babel/cli to version 7.7.0

* chore(package): update @babel/core to version 7.7.0

* chore(package): update @babel/core to version 7.7.0

* chore(package): update @babel/core to version 7.7.0

* chore(package): update @babel/node to version 7.7.0

* chore(package): update @babel/node to version 7.7.0

* chore(package): update @babel/node to version 7.7.0

* chore(package): update @babel/preset-env to version 7.7.0

* chore(package): update @babel/preset-env to version 7.7.0

* chore(package): update @babel/preset-env to version 7.7.0

* chore(package): update @babel/register to version 7.7.0

* chore(package): update @babel/register to version 7.7.0

* chore(package): update @babel/register to version 7.7.0

* chore(package): update @babel/runtime to version 7.7.0

* chore(package): update @babel/runtime to version 7.7.0

* chore(package): update @babel/runtime to version 7.7.0

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

* 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

* feat(state channels): allow to pass metadata to transfer update (#755)

* feat(state channels): allow off chain updates to be cancelled with custom error code (#753)

* fix(state channels): wait for connection to be established before sending generic message (#723)

* feat(state channels): add .off method

* fix(state channels): wait for connection to be established before sending generic message

* feat(state channels): add round method (#763)

* feat(ACI): Add validation for contractAddress (#764)

* feat(ACI): Add validation for contractAddress and provided bytecode with corresponding one on-chain

* feat(ACI): Add tests

* feat(AENS): Add nameFee validation to TxValidator (#765)

*  feat(Crypto): Implement asymmetric encoding/decoding using `tweennacl` and `Ed25519` keypair (#466)

* feat(Add nacl box implementtation): ]

* feat(Crypto): Implement asymetric encoding/decoding using tweennacl and Ed25519 keypair

Converts a 32-byte Ed25519 public key into a 32-byte Curve25519 public key.Converts a 64-byte
Ed25519 secret key (or just the first 32-byte part of it, which is the secret value) into a 32-byte
Curve25519 secret key

#465

* chore(merge): Fix conflict

* feat(Contract): Add ability to pass arguments or callData for contract `deploy/call/callStatic` API (#768)

* Update babel7 in group default to the latest version 🚀 (#771)

* chore(package): update @babel/core to version 7.7.2

* chore(package): update @babel/core to version 7.7.2

* chore(package): update @babel/core to version 7.7.2

* chore(package): update @babel/preset-env to version 7.7.1

* chore(package): update @babel/preset-env to version 7.7.1

* chore(package): update @babel/preset-env to version 7.7.1

* chore(package): update @babel/runtime to version 7.7.2

* chore(package): update @babel/runtime to version 7.7.2

* chore(package): update @babel/runtime to version 7.7.2

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

* 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

* feat(AENS): Increase default nameTtl (#775)

* feat(AENS): Increase default nameTtl

* feat(AENS): Increase default nameTtl

* feat(Http): Assign error object to http error (#770)

* feat(state channels): make state channels compatible with node v5.1.0… (#776)

* feat(state channels): make state channels compatible with node v5.1.0-rc.1

* Fix lint error

* docs(Examples): Fix contract example (#778)

* fix(TxHelpers): Use BigNumber in auction end block calculation

* docs(Helpers): Add missed jsdocs

* chore(release): Bump version. Regenerate docs and CHANGELOG

* removed empty lines

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

*  feat(Crypto): Implement asymmetric encoding/decoding using `tweennacl` and `Ed25519` keypair (#466)

* feat(Add nacl box implementtation): ]

* feat(Crypto): Implement asymetric encoding/decoding using tweennacl and Ed25519 keypair

Converts a 32-byte Ed25519 public key into a 32-byte Curve25519 public key.Converts a 64-byte
Ed25519 secret key (or just the first 32-byte part of it, which is the secret value) into a 32-byte
Curve25519 secret key

#465

* chore(merge): Fix conflict

* feat(Http): Assign error object to http error (#770)

* docs(Examples): Fix contract example (#778)

* feat(KeyStore): Remove `argon2` package, use `libsodium` for both browser and node (#782)

* fix(ACI): Disable bytecode check for source and code on-chain (#783)

* fix(ACI): Disable bytecode check for source and code on-chain

* fix(ACI): Disable bytecode check for source and code on-chain

* chore(release): Regenerate docs

* fix(Composition): Chain composition

* fix(Composition): Chain composition

* fix(Channel): 5.2.0 compatibility

* Fix lint error

* chore(release): Bump version. Generate CHANGELOG

* Fix internal.js

* chore(release): Point docker to node 5.2.0

* chore(release): Bump package, regenerate lock and CHANGELOG

* chore(release): Update CHANGELOG

* chore(release): Update CHANGELOG

* chore(release): Changelog

* chore(release): Bump version to 7.0.0-next.2
Regenerate docs
Regenerate lock file

* chore(release): generate lock file

Co-authored-by: Michał Powaga <michalpowaga13@gmail.com>
Co-authored-by: Taras Herasymchuk <52157472+tarasherasymchuk@users.noreply.github.com>
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Denis Davidyuk <denis_davidyuk@hotmail.com>
Co-authored-by: Shubhendu Shekhar <9253059+shekhar-shubhendu@users.noreply.github.com>
  • Loading branch information
6 people committed Jan 16, 2020
1 parent 4db4667 commit 199d2b3
Show file tree
Hide file tree
Showing 10 changed files with 1,122 additions and 1,337 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# [7.0.0-next.2](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.0.0-next.2) (2020-01-10)


### Bug Fixes

* **codecov:** Adjust codecov badge. Move @babel/runtime to dev-deps ([#848](https://github.com/aeternity/aepp-sdk-js/issues/848)) ([109b851](https://github.com/aeternity/aepp-sdk-js/commit/109b851))
* **AEX-2:** Fix `getBrowserAPI` function for firefox ([#853](https://github.com/aeternity/aepp-sdk-js/pull/853))


### Features

* **Account:** Add ability to pass `keypair` or `MemoryAccount` as nAccount` option ([#847](https://github.com/aeternity/aepp-sdk-js/issues/847)) ([75d8ad8](https://github.com/aeternity/aepp-sdk-js/commit/75d8ad8))
* **Test:** Increase code coverage ([#830](https://github.com/aeternity/aepp-sdk-js/issues/830)) ([6f760fb](https://github.com/aeternity/aepp-sdk-js/commit/6f760fb))
* **Chain:** Extend transaction verification error ([#849](https://github.com/aeternity/aepp-sdk-js/pull/849))
* **Aepp<->Wallet:** Add tests for Aepp<->Wallet communication ([#834](https://github.com/aeternity/aepp-sdk-js/pull/834))

### Documentation

* **Guide:** Add guide for Contract ACI usage ([#852](https://github.com/aeternity/aepp-sdk-js/pull/852))



# [7.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.0.0-next.1) (2019-12-18)


Expand Down
16 changes: 0 additions & 16 deletions docs/api/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import Accounts from '@aeternity/aepp-sdk/es/accounts'
* [addresses()](#exp_module_@aeternity/aepp-sdk/es/accounts--addresses)`Array.&lt;String&gt;`
* [Accounts([options])](#exp_module_@aeternity/aepp-sdk/es/accounts--Accounts)`Object`
* _async_
* [signWith(address, data)](#exp_module_@aeternity/aepp-sdk/es/accounts--signWith)`String`
* [addAccount(account, [options])](#exp_module_@aeternity/aepp-sdk/es/accounts--addAccount)`Void`

<a id="exp_module_@aeternity/aepp-sdk/es/accounts--removeAccount"></a>
Expand Down Expand Up @@ -70,21 +69,6 @@ accounts.removeAccount(address) // Remove account
accounts.selectAccount(address) // Select account
accounts.addresses() // Get available accounts
```
<a id="exp_module_@aeternity/aepp-sdk/es/accounts--signWith"></a>

### signWith(address, data) ⇒ `String`
Sign data blob with specific key

**Kind**: Exported function
**Returns**: `String` - Signed data blob
**Category**: async
**rtype**: `(address: String, data: String) => data: Promise[String], throws: Error`

| Param | Type | Description |
| --- | --- | --- |
| address | `String` | Public key of account to sign with |
| data | `String` | Data blob to sign |

<a id="exp_module_@aeternity/aepp-sdk/es/accounts--addAccount"></a>

### addAccount(account, [options]) ⇒ `Void`
Expand Down
2 changes: 1 addition & 1 deletion docs/api/tx/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Unpack transaction hash

| Param | Type | Description |
| --- | --- | --- |
| encodedTx | `String` \| `Array` | String or RLP encoded transaction array (if fromRlpBinary flag is true) |
| encodedTx | `String` \| `Buffer` | String or RLP encoded transaction array (if fromRlpBinary flag is true) |
| fromRlpBinary | `Boolean` | Unpack from RLP encoded transaction (default: false) |
| prefix | `String` | Prefix of data |

Expand Down
11 changes: 9 additions & 2 deletions docs/api/utils/aepp-wallet-communication/rpc/aepp-rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ContentScriptBridge from '@aeternity/aepp-sdk/es/utils/aepp-wallet-commun
* [.subscribeAddress(type, value)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc+subscribeAddress)`Promise`
* [.signTransaction()](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc+signTransaction)`Promise.&lt;String&gt;`
* [.sendConnectRequest()](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc+sendConnectRequest)`Promise`
* [.send()](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc+send)`Promise.&lt;Object&gt;`
* [.send(tx, [options])](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc+send)`Promise.&lt;Object&gt;`

<a id="exp_module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc"></a>

Expand Down Expand Up @@ -100,11 +100,18 @@ Send connection request to wallet
**rtype**: `() => Promise`
<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc+send"></a>

#### exports.AeppRpc.send() ⇒ `Promise.&lt;Object&gt;`
#### exports.AeppRpc.send(tx, [options]) ⇒ `Promise.&lt;Object&gt;`
Overwriting of `send` AE method
All sdk API which use it will be send notification to wallet and wait for callBack
This method will sign, broadcast and wait until transaction will be accepted using rpc communication with wallet

**Kind**: instance method of [`exports.AeppRpc`](#exp_module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/aepp-rpc--exports.AeppRpc)
**Returns**: `Promise.&lt;Object&gt;` - Transaction broadcast result
**rtype**: `(tx: String, options = {}) => Promise`

| Param | Type | Default |
| --- | --- | --- |
| tx | `String` | |
| [options] | `Object` | <code>{}</code> |
| [options.walletBroadcast] | `Object` | <code>{}</code> |

4 changes: 2 additions & 2 deletions docs/api/utils/aepp-wallet-communication/rpc/rpc-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import RpcClients from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/r
* [.isConnected()](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+isConnected)`Boolean`
* [.getCurrentAccount(options)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+getCurrentAccount)`String`
* [.disconnect()](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+disconnect)`void`
* [.updateSubscription(type, value)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+updateSubscription)`void`
* [.updateSubscription(type, value)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+updateSubscription)`Array.&lt;String&gt;`
* [.addAction(action, resolvers)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+addAction)`Object`
* [.addCallback(msgId)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+addCallback)`Promise`
* [.processResponse(msg, [transformResult])](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+processResponse)`void`
Expand Down Expand Up @@ -125,7 +125,7 @@ Disconnect
**rtype**: `() => void`
<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+updateSubscription"></a>

#### exports.RpcClient.updateSubscription(type, value) ⇒ `void`
#### exports.RpcClient.updateSubscription(type, value) ⇒ `Array.&lt;String&gt;`
Update subsription

**Kind**: instance method of [`exports.RpcClient`](#exp_module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient)
Expand Down
64 changes: 11 additions & 53 deletions docs/api/utils/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ import * as Crypto from '@aeternity/aepp-sdk/es/utils/crypto'
* [@aeternity/aepp-sdk/es/utils/crypto](#module_@aeternity/aepp-sdk/es/utils/crypto)
* _static_
* [.decode](#module_@aeternity/aepp-sdk/es/utils/crypto.decode)`Array`
* [.isBase64(str)](#module_@aeternity/aepp-sdk/es/utils/crypto.isBase64)`boolean`
* [.formatAddress(format, address)](#module_@aeternity/aepp-sdk/es/utils/crypto.formatAddress)`String`
* [.isAddressValid(address, prefix)](#module_@aeternity/aepp-sdk/es/utils/crypto.isAddressValid)`Boolean`
* [.addressToHex(base58CheckAddress)](#module_@aeternity/aepp-sdk/es/utils/crypto.addressToHex)`String`
* [.addressFromDecimal(decimalAddress)](#module_@aeternity/aepp-sdk/es/utils/crypto.addressFromDecimal)`String`
* [.hash(input)](#module_@aeternity/aepp-sdk/es/utils/crypto.hash)`Buffer`
* [.nameId(input)](#module_@aeternity/aepp-sdk/es/utils/crypto.nameId)`Buffer`
* [.sha256hash(input)](#module_@aeternity/aepp-sdk/es/utils/crypto.sha256hash)`String`
* [.salt()](#module_@aeternity/aepp-sdk/es/utils/crypto.salt)`Number`
* [.encodeBase64Check(input)](#module_@aeternity/aepp-sdk/es/utils/crypto.encodeBase64Check)`Buffer`
Expand All @@ -41,11 +39,10 @@ import * as Crypto from '@aeternity/aepp-sdk/es/utils/crypto'
* [.decryptPrivateKey(password)](#module_@aeternity/aepp-sdk/es/utils/crypto.decryptPrivateKey)`Buffer`
* [.decryptPubKey(password)](#module_@aeternity/aepp-sdk/es/utils/crypto.decryptPubKey)`Buffer`
* [.assertedType(data, type, forceError)](#module_@aeternity/aepp-sdk/es/utils/crypto.assertedType)`String` \| `Boolean`
* [.decodeTx(password)](#module_@aeternity/aepp-sdk/es/utils/crypto.decodeTx)`Array`
* [.decodeTx(txHash)](#module_@aeternity/aepp-sdk/es/utils/crypto.decodeTx)`Buffer`
* [.encodeTx(txData)](#module_@aeternity/aepp-sdk/es/utils/crypto.encodeTx)`String`
* [.isValidKeypair(privateKey, publicKey)](#module_@aeternity/aepp-sdk/es/utils/crypto.isValidKeypair)`Boolean`
* [.envKeypair(env)](#module_@aeternity/aepp-sdk/es/utils/crypto.envKeypair)`Object`
* [.deserialize(binary, opts)](#module_@aeternity/aepp-sdk/es/utils/crypto.deserialize)`Object`
* [.envKeypair(env, [force])](#module_@aeternity/aepp-sdk/es/utils/crypto.envKeypair)`Object`
* [.encryptData(msg, publicKey)](#module_@aeternity/aepp-sdk/es/utils/crypto.encryptData)`Object`
* [.decryptData(secretKey, encryptedData)](#module_@aeternity/aepp-sdk/es/utils/crypto.decryptData)`Buffer` \| `null`
* _inner_
Expand All @@ -64,18 +61,6 @@ RLP decode
| --- | --- | --- |
| data | `Buffer` \| `String` \| `Integer` \| `Array` | Data to decode |

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.isBase64"></a>

### @aeternity/aepp-sdk/es/utils/crypto.isBase64(str) ⇒ `boolean`
Check whether a string is valid base-64.

**Kind**: static method of [`@aeternity/aepp-sdk/es/utils/crypto`](#module_@aeternity/aepp-sdk/es/utils/crypto)
**Returns**: `boolean` - True if the string is valid base-64, false otherwise.

| Param | Type | Description |
| --- | --- | --- |
| str | `string` | String to validate. |

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.formatAddress"></a>

### @aeternity/aepp-sdk/es/utils/crypto.formatAddress(format, address) ⇒ `String`
Expand Down Expand Up @@ -143,20 +128,6 @@ Calculate 256bits Blake2b hash of `input`
| --- | --- | --- |
| input | `String` \| `Buffer` | Data to hash |

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.nameId"></a>

### @aeternity/aepp-sdk/es/utils/crypto.nameId(input) ⇒ `Buffer`
Calculate 256bits Blake2b nameId of `input`
as defined in https://github.com/aeternity/protocol/blob/master/AENS.md#hashing

**Kind**: static method of [`@aeternity/aepp-sdk/es/utils/crypto`](#module_@aeternity/aepp-sdk/es/utils/crypto)
**Returns**: `Buffer` - Hash
**rtype**: `(input: String) => hash: String`

| Param | Type | Description |
| --- | --- | --- |
| input | `String` | Data to hash |

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.sha256hash"></a>

### @aeternity/aepp-sdk/es/utils/crypto.sha256hash(input) ⇒ `String`
Expand Down Expand Up @@ -378,7 +349,7 @@ Verify that signature was signed by public key

| Param | Type | Description |
| --- | --- | --- |
| str | `String` | Data to verify |
| str | `String` \| `Buffer` | Data to verify |
| signature | `Buffer` | Signature to verify |
| publicKey | `Buffer` | Key to verify against |

Expand Down Expand Up @@ -466,16 +437,16 @@ Assert base58 encoded type and return its payload

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.decodeTx"></a>

### @aeternity/aepp-sdk/es/utils/crypto.decodeTx(password) ⇒ `Array`
### @aeternity/aepp-sdk/es/utils/crypto.decodeTx(txHash) ⇒ `Buffer`
Decode a transaction

**Kind**: static method of [`@aeternity/aepp-sdk/es/utils/crypto`](#module_@aeternity/aepp-sdk/es/utils/crypto)
**Returns**: `Array` - Decoded transaction
**Returns**: `Buffer` - Decoded transaction
**rtype**: `(txHash: String) => Buffer`

| Param | Type | Description |
| --- | --- | --- |
| password | `String` | Password to decrypt with |
| txHash | `String` | Transaction hash |

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.encodeTx"></a>

Expand Down Expand Up @@ -508,7 +479,7 @@ Sign a message, and then verifying that signature

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.envKeypair"></a>

### @aeternity/aepp-sdk/es/utils/crypto.envKeypair(env) ⇒ `Object`
### @aeternity/aepp-sdk/es/utils/crypto.envKeypair(env, [force]) ⇒ `Object`
Obtain key pair from `env`

Designed to be used with `env` from nodejs. Assumes enviroment variables
Expand All @@ -518,23 +489,10 @@ Designed to be used with `env` from nodejs. Assumes enviroment variables
**Returns**: `Object` - Key pair
**rtype**: `(env: Object) => {publicKey: String, secretKey: String}, throws: Error`

| Param | Type | Description |
| --- | --- | --- |
| env | `Object` | Environment |

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.deserialize"></a>

### @aeternity/aepp-sdk/es/utils/crypto.deserialize(binary, opts) ⇒ `Object`
Deserialize `binary` state channel transaction

**Kind**: static method of [`@aeternity/aepp-sdk/es/utils/crypto`](#module_@aeternity/aepp-sdk/es/utils/crypto)
**Returns**: `Object` - Channel data
**rtype**: `(binary: String) => Object`

| Param | Type | Description |
| --- | --- | --- |
| binary | `String` | Data to deserialize |
| opts | `Object` | Options |
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| env | `Object` | | Environment |
| [force] | `Boolean` | <code>false</code> | Force throwing error |

<a id="module_@aeternity/aepp-sdk/es/utils/crypto.encryptData"></a>

Expand Down
1 change: 0 additions & 1 deletion docs/api/utils/keystore.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

## @aeternity/aepp-sdk/es/utils/keystore
KeyStore module
!!!Work only in node.js!!!

**Example**
```js
Expand Down
9 changes: 4 additions & 5 deletions docs/examples/node/aecontract.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ We'll need the main client module `Ae` in the `Universal` flavor from the SDK.


```js
const { Universal: Ae } = require('@aeternity/aepp-sdk')
const { Universal: Ae, Node } = require('@aeternity/aepp-sdk')
const program = require('commander')
const fs = require('fs')

function exec (infile, fn, args) {
async function exec (infile, fn, args) {
if (!infile || !fn) {
program.outputHelp()
process.exit(1)
}

const code = fs.readFileSync(infile, 'utf-8')

const node = await Node({ url: program.host })

```
Expand Down Expand Up @@ -107,7 +107,7 @@ implementation directly in the SDK.
```js
Ae({ url: program.host, debug: program.debug, compilerUrl: program.compilerUrl, process }).then(ae => {
Ae({ debug: program.debug, process, nodes: [{ name: 'testNode', instance: node }] }).then(ae => {
return ae.contractCompile(code)

```
Expand Down Expand Up @@ -197,7 +197,6 @@ program
.arguments('<infile> <function> [args...]')
.option('-i, --init [state]', 'Arguments to contructor function')
.option('-H, --host [hostname]', 'Node to connect to', 'http://localhost:3013')
.option('-C, --compilerUrl [compilerUrl]', 'Compiler to connect to', 'http://localhost:3088')
.option('--debug', 'Switch on debugging')
.action(exec)
.parse(process.argv)
Expand Down
Loading

0 comments on commit 199d2b3

Please sign in to comment.