From f31143f34ec658c09cb03dfd347a655ba8b2cc9f Mon Sep 17 00:00:00 2001 From: naz_dou <41945483+nduchak@users.noreply.github.com> Date: Wed, 22 Jan 2020 15:03:10 +0200 Subject: [PATCH] Realign/7.0.0 next.3 (#873) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 https://github.com/aeternity/aepp-sdk-js/commit/885090073e93616809aec89046b859ec511715c6#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 Co-authored-by: MichaΕ‚ Powaga 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 Co-authored-by: Shubhendu Shekhar <9253059+shekhar-shubhendu@users.noreply.github.com> --- CHANGELOG.md | 18 ++++++++++++++++++ docs/api/ae/aens.md | 3 ++- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6b75ed7f1..48fda33922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +# [7.0.0-next.3](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.0.0-next.3) (2020-01-22) + + +### Features + +* **aens:** implement aensExtendTtl function. Refactor aensUpdate ([#866](https://github.com/aeternity/aepp-sdk-js/issues/866)) ([72b073a](https://github.com/aeternity/aepp-sdk-js/commit/72b073a)), closes [#865](https://github.com/aeternity/aepp-sdk-js/issues/865) +> `aensUpdate` now accept array of pointers +> `aensUpdate` have new option `extendPointers=false` which retrieve pointers from the node and merge with provided +* **Build:** update node to `5.4.0` and compiler to `4.2.0` +* **Guide** Add guide for `AENS` usage + +### BREAKING CHANGES + +* **AENS:** Change AENS methods arguments +> Now all of AENS module methods accept `name` as a first argument instead of `nameId` + + + # [7.0.0-next.2](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.0.0-next.2) (2020-01-10) diff --git a/docs/api/ae/aens.md b/docs/api/ae/aens.md index 38496c35fe..edf8a3a242 100644 --- a/docs/api/ae/aens.md +++ b/docs/api/ae/aens.md @@ -42,7 +42,7 @@ Aens provides name-system related methods atop ### .update(name, pointers, [options]) β‡’ `Promise.<Object>` ⏏ -Update an name +Update a name **Kind**: instance method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens) **Category**: async @@ -56,6 +56,7 @@ Update an name | name | `String` | | AENS name | | pointers | `Array.<String>` | | Array of name pointers. Can be oracle|account|contract|channel public key | | [options] | `Object` | {} | | +| [options.extendPointers] | `Boolean` | false | extendPointers Get the pointers from the node and merge with provided one. Pointers with the same type will be overwrited | | [options.onAccount] | `String` \| `Object` | | onAccount Make operation on specific account from sdk(you pass publickKey) or using provided KeyPair(Can be keypair object or MemoryAccount) | | [options.fee] | `Number` \| `String` \| `BigNumber` | | fee | | [options.ttl] | `Number` \| `String` \| `BigNumber` | | ttl | diff --git a/package-lock.json b/package-lock.json index 40f5d31b13..57fe3400ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@aeternity/aepp-sdk", - "version": "7.0.0-next.2", + "version": "7.0.0-next.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c4d7540d0e..218106a527 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aeternity/aepp-sdk", - "version": "7.0.0-next.2", + "version": "7.0.0-next.3", "description": "SDK for the Γ¦ternity blockchain", "main": "dist/aepp-sdk.js", "browser": "dist/aepp-sdk.browser.js",