Skip to content

Commit

Permalink
Realign 7.2.0 (#947)
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

* chore(release): Generate CHANGELOG

* chore(release): Generate CHANGELOG

* chore(release): Regenerate lock file

* chore(release): bump version. generate CHANGELOG. Regenerate docs

* chore(release): Adjust readme

* chore(release): Adjust readme

* chore(release): bum version to 7.1.0

* chore(release): Adjust CHANGELOG

* chore(release): Regenerate API docs

* chore(release): Bump version

* chore(release): Adjust CHANGELOG

* chore(release): Bump version to 7.2.0.

* chore(release): Adjust CHANGELOG

* chore(release): Regenerate API docs. Fix JsDoc errors

* chore(release): Regenerate API docs. Fix JsDoc errors

* chore(release): Fix Pr comments
Switch to latest version of node

Co-authored-by: Michał Powaga <michalpowaga13@gmail.com>
Co-authored-by: Taras Herasymchuk <taras.gerasymchuk@gmail.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 Mar 25, 2020
1 parent b282b0b commit e9a7a9e
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NODE_TAG=v5.4.0
NODE_TAG=v5.5.0
COMPILER_TAG=v4.2.0
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
# [7.2.0](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.2.0) (2020-03-24)

### Docs

* **Guide:** Adjust guide for RPC Wallet/Aepp usage

### Code Refactoring

* **RPC:** Refactor rpc-related stuff ([#921](https://github.com/aeternity/aepp-sdk-js/pull/921))
* **Build:** Include amountFormatter and SCHEMA in bundle([#936](https://github.com/aeternity/aepp-sdk-js/pull/936))
* **Examples** Update examples apps

### Features

* **TX:** Introduce new stamp `TxObject`([#933](https://github.com/aeternity/aepp-sdk-js/pull/933))
This stamp give more flexibility on transaction serialization/deserialization process
* **Keystore:** Allow to store secret as hex or buffer ([#939](https://github.com/aeternity/aepp-sdk-js/pull/939))
* **AEX-2:** Add permission layer for account management ([#937](https://github.com/aeternity/aepp-sdk-js/pull/937))


## [7.1.1](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.1.1) (2020-02-27)



### Bug Fixes

* **TxBuilder:** Fix fee calculation for Oracles ([#924](https://github.com/aeternity/aepp-sdk-js/issues/924)) ([a9d784f](https://github.com/aeternity/aepp-sdk-js/commit/a9d784f))
Expand Down
10 changes: 10 additions & 0 deletions docs/api/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Account from '@aeternity/aepp-sdk/es/account'
* [@aeternity/aepp-sdk/es/account](#module_@aeternity/aepp-sdk/es/account)
* [Account([options])](#exp_module_@aeternity/aepp-sdk/es/account--Account)`Object`
* [.signTransaction(tx, opt)](#module_@aeternity/aepp-sdk/es/account--Account+signTransaction)`String`
* [.getNetworkId()](#module_@aeternity/aepp-sdk/es/account--Account+getNetworkId)`String`
* [.signMessage(message, opt)](#module_@aeternity/aepp-sdk/es/account--Account+signMessage)`String`
* [.verifyMessage(message, signature, opt)](#module_@aeternity/aepp-sdk/es/account--Account+verifyMessage)`Boolean`
* *[.sign(data)](#module_@aeternity/aepp-sdk/es/account--Account+sign)`String`*
Expand Down Expand Up @@ -52,6 +53,15 @@ Sign encoded transaction
| tx | `String` | Transaction to sign |
| opt | `Object` | Options |

<a id="module_@aeternity/aepp-sdk/es/account--Account+getNetworkId"></a>

#### account.getNetworkId() ⇒ `String`
Get network Id

**Kind**: instance method of [`Account`](#exp_module_@aeternity/aepp-sdk/es/account--Account)
**Returns**: `String` - Network Id
**Category**: async
**rtype**: `() => networkId: String`
<a id="module_@aeternity/aepp-sdk/es/account--Account+signMessage"></a>

#### account.signMessage(message, opt) ⇒ `String`
Expand Down
2 changes: 1 addition & 1 deletion docs/api/tx/builder/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TxSchema from '@aeternity/aepp-sdk/es/tx/builder/schema'
```
<a id="exp_module_@aeternity/aepp-sdk/es/tx/builder/schema--exports.TX_TYPE"></a>

### exports.TX\_TYPE : `Object`
### exports.TX\_TYPE ⏏
Object with transaction types

**Kind**: Exported constant
Expand Down
8 changes: 4 additions & 4 deletions docs/api/tx/tx-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import TxObject from '@aeternity/aepp-sdk/es/tx/tx-object'
* [setProp(props, options)](#exp_module_@aeternity/aepp-sdk/es/tx/tx-object--setProp)`TxObject`
* [getSignatures()](#exp_module_@aeternity/aepp-sdk/es/tx/tx-object--getSignatures)`Array`
* [addSignature(signature)](#exp_module_@aeternity/aepp-sdk/es/tx/tx-object--addSignature)`void`
* [calculateFee(props)](#exp_module_@aeternity/aepp-sdk/es/tx/tx-object--calculateFee)`String`
* [calculateMinFee(props)](#exp_module_@aeternity/aepp-sdk/es/tx/tx-object--calculateMinFee)`String`
* _static_
* [.fromString(tx)](#exp_module_@aeternity/aepp-sdk/es/tx/tx-object--fromString)`TxObject`
* [.fromRlp(tx)](#exp_module_@aeternity/aepp-sdk/es/tx/tx-object--fromRlp)`TxObject`
Expand Down Expand Up @@ -123,11 +123,11 @@ Add signature

| Param | Type | Description |
| --- | --- | --- |
| signature | `Buffer` | Signature to add |
| signature | `Buffer` \| `String` | Signature to add ( Can be: Buffer | Uint8Array | HexString ) |

<a id="exp_module_@aeternity/aepp-sdk/es/tx/tx-object--calculateFee"></a>
<a id="exp_module_@aeternity/aepp-sdk/es/tx/tx-object--calculateMinFee"></a>

### calculateFee(props) ⇒ `String`
### calculateMinFee(props) ⇒ `String`
Calculate fee

**Kind**: Exported function
Expand Down
37 changes: 33 additions & 4 deletions docs/api/utils/aepp-wallet-communication/rpc/rpc-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ import RpcClients from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/r
* [.getClient(id)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+getClient)`Object`
* [.removeClient(id, forceConnectionClose)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+removeClient)`Boolean`
* [.updateClientInfo(id, info)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+updateClientInfo)`void`
* [.sentNotificationByCondition(msg, condition)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+sentNotificationByCondition)`void`
* [.sendNotificationByCondition(msg, condition, transformMessage)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+sendNotificationByCondition)`void`
* [.operationByCondition(condition, operation)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+operationByCondition)`void`
* [.hasAccessToAccount(address)](#module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+hasAccessToAccount)`Boolean`
* [.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`
Expand Down Expand Up @@ -98,9 +100,9 @@ Update client info by id
| id | `String` \| `Number` | Client ID |
| info | `Object` | Info to update (will be merged with current info object) |

<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+sentNotificationByCondition"></a>
<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+sendNotificationByCondition"></a>

#### exports.RpcClient.sentNotificationByCondition(msg, condition) ⇒ `void`
#### exports.RpcClient.sendNotificationByCondition(msg, condition, transformMessage) ⇒ `void`
Send notification to all client passing condition

**Kind**: instance method of [`exports.RpcClient`](#exp_module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient)
Expand All @@ -110,6 +112,33 @@ Send notification to all client passing condition
| --- | --- | --- |
| msg | `Object` | Msg object |
| condition | `function` | Condition function of (client: RpcClient) => Boolean |
| transformMessage | | |

<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+operationByCondition"></a>

#### exports.RpcClient.operationByCondition(condition, operation) ⇒ `void`
Call provided function for each rpc client which by condition

**Kind**: instance method of [`exports.RpcClient`](#exp_module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient)
**rtype**: `(condition: Function, operation: Function) => void`

| Param | Type | Description |
| --- | --- | --- |
| condition | `function` | Condition function of (client: RpcClient) => Boolean |
| operation | `function` | Operation function of (client: RpcClient) => void |

<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+hasAccessToAccount"></a>

#### exports.RpcClient.hasAccessToAccount(address) ⇒ `Boolean`
Check if aepp has access to account

**Kind**: instance method of [`exports.RpcClient`](#exp_module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient)
**Returns**: `Boolean` - is connected
**rtype**: `(address: String) => Boolean`

| Param | Type | Description |
| --- | --- | --- |
| address | `String` | Account address |

<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+isConnected"></a>

Expand Down Expand Up @@ -141,7 +170,7 @@ Disconnect
<a id="module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient+updateSubscription"></a>

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

**Kind**: instance method of [`exports.RpcClient`](#exp_module_@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/rpc/rpc-client--exports.RpcClient)
**rtype**: `(type: String, value: String) => void`
Expand Down
9 changes: 9 additions & 0 deletions es/account/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ async function signTransaction (tx, opt = {}) {
return buildTx({ encodedTx: rlpBinaryTx, signatures }, TX_TYPE.signed).tx
}

/**
* Get network Id
* @instance
* @function getNetworkId
* @category async
* @rtype () => networkId: String
* @return {String} Network Id
*/

/**
* Sign message
* @instance
Expand Down
1 change: 0 additions & 1 deletion es/tx/builder/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ const revertObject = (obj) => Object.entries(obj).reduce((acc, [key, v]) => (acc
/**
* @constant
* @description Object with transaction types
* @type {Object} TX_TYPE
* @alias module:@aeternity/aepp-sdk/es/tx/builder/schema
* @property {String} signed
* @property {String} spend
Expand Down
8 changes: 4 additions & 4 deletions es/utils/aepp-wallet-communication/rpc/rpc-clients.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ export const RpcClients = stampit({
},
/**
* Send notification to all client passing condition
* @function sentNotificationByCondition
* @function sendNotificationByCondition
* @instance
* @rtype (msg: Object, condition: Function) => void
* @param {Object} msg Msg object
* @param {Function} condition Condition function of (client: RpcClient) => Boolean
* @param transformMessage
* @return {void}
*/
sentNotificationByCondition (msg, condition, transformMessage) {
sendNotificationByCondition (msg, condition, transformMessage) {
if (typeof condition !== 'function') throw new Error('Condition argument must be a function which return boolean')
const clients = Array.from(
this.clients.values()
Expand Down Expand Up @@ -249,8 +249,8 @@ export const RpcClient = stampit({
},
/**
* Update accounts and sent `update.address` notification to AEPP
* @param {{ current: { [String]: Object }, connected: { [String]: Object} }} accounts Object with current and connected accounts
* @param {{ forceNotification: Boolean = false}} [options={}] Don not sent update notification to AEPP
* @param {{ current: Object, connected: Object }} accounts Object with current and connected accounts
* @param {{ forceNotification: Boolean }} [options={ forceNotification: false }] Don not sent update notification to AEPP
*/
setAccounts (accounts, { forceNotification = false } = {}) {
if (!isValidAccounts(accounts)) {
Expand Down
2 changes: 1 addition & 1 deletion es/utils/aepp-wallet-communication/rpc/wallet-rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export const WalletRpc = Ae.compose(Accounts, Selector, {
this.selectNode = (name) => {
_selectNode(name)
// Send notification 'update.network' to all Aepp which connected
rpcClients.sentNotificationByCondition(
rpcClients.sendNotificationByCondition(
message(METHODS.updateNetwork, { networkId: this.getNetworkId() }),
(client) => client.isConnected()
)
Expand Down
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": "7.1.1",
"version": "7.2.0",
"description": "SDK for the æternity blockchain",
"main": "dist/aepp-sdk.js",
"browser": "dist/aepp-sdk.browser.js",
Expand Down

0 comments on commit e9a7a9e

Please sign in to comment.