@aeternity/aepp-sdk 10.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +15 -14
- package/dist/aepp-sdk.browser-script.js +1 -1
- package/dist/aepp-sdk.browser-script.js.LICENSE.txt +13 -40
- package/dist/aepp-sdk.browser-script.js.map +1 -1
- package/dist/aepp-sdk.browser.js +1 -1
- package/dist/aepp-sdk.browser.js.map +1 -1
- package/dist/aepp-sdk.js +1 -1
- package/dist/aepp-sdk.js.map +1 -1
- package/es/AeSdk.d.ts +37 -0
- package/es/AeSdk.mjs +81 -0
- package/es/AeSdk.mjs.map +1 -0
- package/es/AeSdkAepp.d.ts +69 -0
- package/es/AeSdkAepp.mjs +175 -0
- package/es/AeSdkAepp.mjs.map +1 -0
- package/es/AeSdkBase.d.ts +212 -0
- package/es/AeSdkBase.mjs +310 -0
- package/es/AeSdkBase.mjs.map +1 -0
- package/es/AeSdkWallet.d.ts +103 -0
- package/es/AeSdkWallet.mjs +322 -0
- package/es/AeSdkWallet.mjs.map +1 -0
- package/es/Node.d.ts +44 -0
- package/es/Node.mjs +141 -0
- package/es/Node.mjs.map +1 -0
- package/es/account/Base.d.ts +65 -0
- package/es/account/Base.mjs +123 -0
- package/es/account/Base.mjs.map +1 -0
- package/es/account/Memory.d.ts +25 -0
- package/es/account/Memory.mjs +81 -0
- package/es/account/Memory.mjs.map +1 -0
- package/es/account/Rpc.d.ts +27 -0
- package/es/account/Rpc.mjs +79 -0
- package/es/account/Rpc.mjs.map +1 -0
- package/es/aens.d.ts +209 -0
- package/es/aens.mjs +332 -0
- package/es/aens.mjs.map +1 -0
- package/es/aepp-wallet-communication/connection/Browser.d.ts +32 -0
- package/es/aepp-wallet-communication/connection/Browser.mjs +70 -0
- package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +17 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +57 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -0
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +35 -0
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +142 -0
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -0
- package/es/aepp-wallet-communication/connection-proxy.d.ts +10 -0
- package/{src/utils/crypto-ts.ts → es/aepp-wallet-communication/connection-proxy.mjs} +15 -11
- package/es/aepp-wallet-communication/connection-proxy.mjs.map +1 -0
- package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +33 -0
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs +169 -0
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -0
- package/es/aepp-wallet-communication/rpc/types.d.ts +77 -0
- package/es/aepp-wallet-communication/rpc/types.mjs +3 -0
- package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -0
- package/es/aepp-wallet-communication/schema.d.ts +118 -0
- package/es/aepp-wallet-communication/schema.mjs +214 -0
- package/es/aepp-wallet-communication/schema.mjs.map +1 -0
- package/es/aepp-wallet-communication/wallet-detector.d.ts +24 -0
- package/es/aepp-wallet-communication/wallet-detector.mjs +63 -0
- package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -0
- package/es/apis/compiler/compiler.d.ts +92 -0
- package/es/apis/compiler/compiler.mjs +576 -0
- package/es/apis/compiler/compiler.mjs.map +1 -0
- package/es/apis/compiler/index.d.ts +2 -0
- package/es/apis/compiler/index.mjs +3 -0
- package/es/apis/compiler/index.mjs.map +1 -0
- package/es/apis/compiler/models/index.d.ts +248 -0
- package/es/apis/compiler/models/index.mjs +48 -0
- package/es/apis/compiler/models/index.mjs.map +1 -0
- package/es/apis/compiler/models/mappers.d.ts +23 -0
- package/es/apis/compiler/models/mappers.mjs +585 -0
- package/es/apis/compiler/models/mappers.mjs.map +1 -0
- package/es/apis/compiler/models/parameters.d.ts +13 -0
- package/es/apis/compiler/models/parameters.mjs +71 -0
- package/es/apis/compiler/models/parameters.mjs.map +1 -0
- package/es/apis/node/index.d.ts +2 -0
- package/es/apis/node/index.mjs +3 -0
- package/es/apis/node/index.mjs.map +1 -0
- package/es/apis/node/models/index.d.ts +1061 -0
- package/es/apis/node/models/index.mjs +2 -0
- package/es/apis/node/models/index.mjs.map +1 -0
- package/es/apis/node/models/mappers.d.ts +95 -0
- package/es/apis/node/models/mappers.mjs +4164 -0
- package/es/apis/node/models/mappers.mjs.map +1 -0
- package/es/apis/node/models/parameters.d.ts +17 -0
- package/es/apis/node/models/parameters.mjs +165 -0
- package/es/apis/node/models/parameters.mjs.map +1 -0
- package/es/apis/node/node.d.ts +215 -0
- package/es/apis/node/node.mjs +1165 -0
- package/es/apis/node/node.mjs.map +1 -0
- package/es/chain.d.ts +220 -0
- package/es/chain.mjs +524 -0
- package/es/chain.mjs.map +1 -0
- package/es/channel/handlers.d.ts +34 -0
- package/es/channel/{handlers.js → handlers.mjs} +163 -130
- package/es/channel/handlers.mjs.map +1 -0
- package/es/channel/index.d.ts +634 -0
- package/es/channel/index.mjs +978 -0
- package/es/channel/index.mjs.map +1 -0
- package/es/channel/internal.d.ts +100 -0
- package/es/channel/internal.mjs +328 -0
- package/es/channel/internal.mjs.map +1 -0
- package/es/contract/Compiler.d.ts +17 -0
- package/es/contract/Compiler.mjs +67 -0
- package/es/contract/Compiler.mjs.map +1 -0
- package/es/contract/aci.d.ts +125 -0
- package/es/contract/aci.mjs +496 -0
- package/es/contract/aci.mjs.map +1 -0
- package/es/contract/ga.d.ts +68 -0
- package/es/contract/ga.mjs +190 -0
- package/es/contract/ga.mjs.map +1 -0
- package/es/contract/methods.d.ts +68 -0
- package/es/contract/methods.mjs +101 -0
- package/es/contract/methods.mjs.map +1 -0
- package/es/index.d.ts +32 -0
- package/es/index.mjs +49 -0
- package/es/index.mjs.map +1 -0
- package/es/oracle.d.ts +154 -0
- package/es/oracle.mjs +288 -0
- package/es/oracle.mjs.map +1 -0
- package/es/spend.d.ts +61 -0
- package/es/spend.mjs +122 -0
- package/es/spend.mjs.map +1 -0
- package/es/tx/builder/constants.d.ts +41 -0
- package/es/tx/builder/constants.mjs +100 -0
- package/es/tx/builder/constants.mjs.map +1 -0
- package/es/tx/builder/field-types.d.ts +62 -0
- package/es/tx/builder/field-types.mjs +126 -0
- package/es/tx/builder/field-types.mjs.map +1 -0
- package/es/tx/builder/helpers.d.ts +131 -0
- package/es/tx/builder/helpers.mjs +223 -0
- package/es/tx/builder/helpers.mjs.map +1 -0
- package/es/tx/builder/index.d.ts +75 -0
- package/es/tx/builder/index.mjs +424 -0
- package/es/tx/builder/index.mjs.map +1 -0
- package/es/tx/builder/schema.d.ts +350 -0
- package/es/tx/builder/schema.mjs +320 -0
- package/es/tx/builder/schema.mjs.map +1 -0
- package/es/tx/index.d.ts +63 -0
- package/es/tx/index.mjs +209 -0
- package/es/tx/index.mjs.map +1 -0
- package/es/tx/min-fee.d.ts +20 -0
- package/es/tx/min-fee.mjs +148 -0
- package/es/tx/min-fee.mjs.map +1 -0
- package/es/tx/validator.d.ts +19 -0
- package/es/tx/validator.mjs +240 -0
- package/es/tx/validator.mjs.map +1 -0
- package/es/typings/@aeternity__argon2-browser/index.d.mjs +2 -0
- package/es/typings/@aeternity__argon2-browser/index.d.mjs.map +1 -0
- package/es/typings/@aeternity__uuid/index.d.mjs +2 -0
- package/es/typings/@aeternity__uuid/index.d.mjs.map +1 -0
- package/es/typings/bip32-path/index.d.mjs +2 -0
- package/es/typings/bip32-path/index.d.mjs.map +1 -0
- package/es/typings/blakejs/index.d.mjs +2 -0
- package/es/typings/blakejs/index.d.mjs.map +1 -0
- package/es/typings/tweetnacl-auth/index.d.mjs +2 -0
- package/es/typings/tweetnacl-auth/index.d.mjs.map +1 -0
- package/es/utils/amount-formatter.d.ts +42 -0
- package/es/utils/{amount-formatter.js → amount-formatter.mjs} +38 -44
- package/es/utils/amount-formatter.mjs.map +1 -0
- package/es/utils/autorest.d.ts +6 -0
- package/es/utils/autorest.mjs +97 -0
- package/es/utils/autorest.mjs.map +1 -0
- package/es/utils/bignumber.d.ts +13 -0
- package/es/utils/bignumber.mjs +23 -0
- package/es/utils/bignumber.mjs.map +1 -0
- package/es/{bytes.d.ts → utils/bytes.d.ts} +10 -13
- package/es/utils/{bytes.js → bytes.mjs} +26 -22
- package/es/utils/bytes.mjs.map +1 -0
- package/es/utils/crypto.d.ts +103 -0
- package/es/utils/crypto.mjs +221 -0
- package/es/utils/crypto.mjs.map +1 -0
- package/es/utils/encoder.d.ts +26 -0
- package/es/utils/encoder.mjs +102 -0
- package/es/utils/encoder.mjs.map +1 -0
- package/es/utils/errors.d.ts +481 -0
- package/es/utils/errors.mjs +882 -0
- package/es/utils/errors.mjs.map +1 -0
- package/es/utils/hd-wallet.d.ts +34 -0
- package/es/utils/hd-wallet.mjs +122 -0
- package/es/utils/hd-wallet.mjs.map +1 -0
- package/es/utils/json-big.d.ts +5 -0
- package/es/utils/json-big.mjs +41 -0
- package/es/utils/json-big.mjs.map +1 -0
- package/es/utils/keystore.d.ts +51 -0
- package/es/utils/keystore.mjs +145 -0
- package/es/utils/keystore.mjs.map +1 -0
- package/es/{mptree.d.ts → utils/mptree.d.ts} +5 -8
- package/es/utils/{mptree.js → mptree.mjs} +33 -25
- package/es/utils/mptree.mjs.map +1 -0
- package/es/utils/other.d.ts +14 -0
- package/es/utils/other.mjs +28 -0
- package/es/utils/other.mjs.map +1 -0
- package/es/{semver-satisfies.d.ts → utils/semver-satisfies.d.ts} +0 -0
- package/es/utils/{semver-satisfies.js → semver-satisfies.mjs} +1 -1
- package/es/utils/semver-satisfies.mjs.map +1 -0
- package/es/utils/string.d.ts +24 -0
- package/es/utils/{string.js → string.mjs} +9 -11
- package/es/utils/string.mjs.map +1 -0
- package/package.json +67 -64
- package/src/AeSdk.ts +65 -0
- package/src/AeSdkAepp.ts +167 -0
- package/src/AeSdkBase.ts +320 -0
- package/src/AeSdkWallet.ts +332 -0
- package/src/Node.ts +167 -0
- package/src/account/Base.ts +114 -0
- package/src/account/Memory.ts +83 -0
- package/src/account/Rpc.ts +67 -0
- package/src/aens.ts +391 -0
- package/src/aepp-wallet-communication/connection/Browser.ts +68 -0
- package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +58 -0
- package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +111 -0
- package/{es/utils/crypto-ts.js → src/aepp-wallet-communication/connection-proxy.ts} +16 -9
- package/src/aepp-wallet-communication/rpc/RpcClient.ts +137 -0
- package/src/aepp-wallet-communication/rpc/types.ts +66 -0
- package/src/aepp-wallet-communication/schema.ts +181 -0
- package/src/aepp-wallet-communication/wallet-detector.ts +71 -0
- package/src/apis/compiler/code-model-v4.yaml +2649 -0
- package/src/apis/compiler/compiler.ts +585 -0
- package/src/apis/compiler/index.ts +2 -0
- package/src/apis/compiler/models/index.ts +301 -0
- package/src/apis/compiler/models/mappers.ts +583 -0
- package/src/apis/compiler/models/parameters.ts +93 -0
- package/src/apis/node/code-model-v4.yaml +10046 -0
- package/src/apis/node/index.ts +2 -0
- package/src/apis/node/models/index.ts +1253 -0
- package/src/apis/node/models/mappers.ts +4278 -0
- package/src/apis/node/models/parameters.ts +188 -0
- package/src/apis/node/node.ts +1299 -0
- package/src/chain.ts +444 -0
- package/src/channel/{handlers.js → handlers.ts} +238 -143
- package/src/channel/index.ts +991 -0
- package/src/channel/internal.ts +345 -0
- package/src/contract/Compiler.ts +66 -0
- package/src/contract/aci.ts +529 -0
- package/src/contract/ga.ts +178 -0
- package/src/contract/methods.ts +118 -0
- package/src/index.ts +51 -0
- package/src/oracle.ts +342 -0
- package/src/spend.ts +152 -0
- package/src/tx/builder/constants.ts +96 -0
- package/src/tx/builder/field-types.ts +111 -0
- package/src/tx/builder/helpers.ts +253 -0
- package/src/tx/builder/index.ts +394 -0
- package/src/tx/builder/schema.ts +771 -0
- package/src/tx/index.ts +199 -0
- package/src/tx/min-fee.ts +136 -0
- package/src/tx/validator.ts +226 -0
- package/src/typings/@aeternity__argon2-browser/index.d.ts +3 -0
- package/src/typings/@aeternity__uuid/index.d.ts +3 -0
- package/src/typings/bip32-path/index.d.ts +33 -0
- package/src/typings/tweetnacl-auth/index.d.ts +14 -0
- package/src/utils/amount-formatter.ts +29 -41
- package/src/utils/autorest.ts +90 -0
- package/src/utils/bignumber.ts +9 -19
- package/src/utils/bytes.ts +15 -16
- package/src/utils/crypto.ts +217 -0
- package/src/utils/encoder.ts +98 -0
- package/src/utils/errors.ts +817 -0
- package/src/utils/hd-wallet.ts +134 -0
- package/src/utils/json-big.ts +26 -0
- package/src/utils/keystore.ts +179 -0
- package/src/utils/mptree.ts +26 -20
- package/src/utils/other.ts +28 -43
- package/src/utils/string.ts +8 -10
- package/CHANGELOG.md +0 -1603
- package/es/account/base.js +0 -169
- package/es/account/base.js.map +0 -1
- package/es/account/memory.js +0 -84
- package/es/account/memory.js.map +0 -1
- package/es/account/multiple.js +0 -178
- package/es/account/multiple.js.map +0 -1
- package/es/ae/aens.js +0 -408
- package/es/ae/aens.js.map +0 -1
- package/es/ae/aepp.js +0 -45
- package/es/ae/aepp.js.map +0 -1
- package/es/ae/contract.js +0 -312
- package/es/ae/contract.js.map +0 -1
- package/es/ae/index.js +0 -206
- package/es/ae/index.js.map +0 -1
- package/es/ae/oracle.js +0 -322
- package/es/ae/oracle.js.map +0 -1
- package/es/ae/universal.js +0 -45
- package/es/ae/universal.js.map +0 -1
- package/es/ae/wallet.js +0 -50
- package/es/ae/wallet.js.map +0 -1
- package/es/amount-formatter.d.ts +0 -58
- package/es/bignumber.d.ts +0 -24
- package/es/chain/index.js +0 -256
- package/es/chain/index.js.map +0 -1
- package/es/chain/node.js +0 -394
- package/es/chain/node.js.map +0 -1
- package/es/channel/handlers.js.map +0 -1
- package/es/channel/index.js +0 -980
- package/es/channel/index.js.map +0 -1
- package/es/channel/internal.js +0 -266
- package/es/channel/internal.js.map +0 -1
- package/es/contract/aci/helpers.js +0 -298
- package/es/contract/aci/helpers.js.map +0 -1
- package/es/contract/aci/index.js +0 -361
- package/es/contract/aci/index.js.map +0 -1
- package/es/contract/aci/transformation.js +0 -66
- package/es/contract/aci/transformation.js.map +0 -1
- package/es/contract/compiler.js +0 -244
- package/es/contract/compiler.js.map +0 -1
- package/es/contract/ga/helpers.js +0 -22
- package/es/contract/ga/helpers.js.map +0 -1
- package/es/contract/ga/index.js +0 -170
- package/es/contract/ga/index.js.map +0 -1
- package/es/contract/index.js +0 -162
- package/es/contract/index.js.map +0 -1
- package/es/crypto-ts.d.ts +0 -9
- package/es/index.js +0 -57
- package/es/index.js.map +0 -1
- package/es/node-pool/index.js +0 -187
- package/es/node-pool/index.js.map +0 -1
- package/es/node.js +0 -132
- package/es/node.js.map +0 -1
- package/es/other.d.ts +0 -31
- package/es/string.d.ts +0 -26
- package/es/tx/builder/helpers.js +0 -305
- package/es/tx/builder/helpers.js.map +0 -1
- package/es/tx/builder/index.js +0 -595
- package/es/tx/builder/index.js.map +0 -1
- package/es/tx/builder/schema.js +0 -814
- package/es/tx/builder/schema.js.map +0 -1
- package/es/tx/index.js +0 -300
- package/es/tx/index.js.map +0 -1
- package/es/tx/tx-object.js +0 -276
- package/es/tx/tx-object.js.map +0 -1
- package/es/tx/tx.js +0 -937
- package/es/tx/tx.js.map +0 -1
- package/es/tx/validator.js +0 -208
- package/es/tx/validator.js.map +0 -1
- package/es/typings/blakejs/index.d.js +0 -2
- package/es/typings/blakejs/index.d.js.map +0 -1
- package/es/utils/aepp-wallet-communication/connection/browser-runtime.js +0 -131
- package/es/utils/aepp-wallet-communication/connection/browser-runtime.js.map +0 -1
- package/es/utils/aepp-wallet-communication/connection/browser-window-message.js +0 -184
- package/es/utils/aepp-wallet-communication/connection/browser-window-message.js.map +0 -1
- package/es/utils/aepp-wallet-communication/connection/index.js +0 -84
- package/es/utils/aepp-wallet-communication/connection/index.js.map +0 -1
- package/es/utils/aepp-wallet-communication/content-script-bridge.js +0 -97
- package/es/utils/aepp-wallet-communication/content-script-bridge.js.map +0 -1
- package/es/utils/aepp-wallet-communication/helpers.js +0 -103
- package/es/utils/aepp-wallet-communication/helpers.js.map +0 -1
- package/es/utils/aepp-wallet-communication/rpc/aepp-rpc.js +0 -329
- package/es/utils/aepp-wallet-communication/rpc/aepp-rpc.js.map +0 -1
- package/es/utils/aepp-wallet-communication/rpc/rpc-client.js +0 -270
- package/es/utils/aepp-wallet-communication/rpc/rpc-client.js.map +0 -1
- package/es/utils/aepp-wallet-communication/rpc/wallet-rpc.js +0 -533
- package/es/utils/aepp-wallet-communication/rpc/wallet-rpc.js.map +0 -1
- package/es/utils/aepp-wallet-communication/schema.js +0 -107
- package/es/utils/aepp-wallet-communication/schema.js.map +0 -1
- package/es/utils/aepp-wallet-communication/wallet-detector.js +0 -109
- package/es/utils/aepp-wallet-communication/wallet-detector.js.map +0 -1
- package/es/utils/amount-formatter.js.map +0 -1
- package/es/utils/async-init.js +0 -67
- package/es/utils/async-init.js.map +0 -1
- package/es/utils/bignumber.js +0 -28
- package/es/utils/bignumber.js.map +0 -1
- package/es/utils/bytes.js.map +0 -1
- package/es/utils/crypto-ts.js.map +0 -1
- package/es/utils/crypto.js +0 -304
- package/es/utils/crypto.js.map +0 -1
- package/es/utils/hd-wallet.js +0 -112
- package/es/utils/hd-wallet.js.map +0 -1
- package/es/utils/json-big.js +0 -45
- package/es/utils/json-big.js.map +0 -1
- package/es/utils/keystore.js +0 -228
- package/es/utils/keystore.js.map +0 -1
- package/es/utils/mptree.js.map +0 -1
- package/es/utils/other.js +0 -43
- package/es/utils/other.js.map +0 -1
- package/es/utils/semver-satisfies.js.map +0 -1
- package/es/utils/string.js.map +0 -1
- package/es/utils/swagger.js +0 -132
- package/es/utils/swagger.js.map +0 -1
- package/src/account/base.js +0 -153
- package/src/account/memory.js +0 -78
- package/src/account/multiple.js +0 -154
- package/src/ae/aens.js +0 -366
- package/src/ae/aepp.js +0 -45
- package/src/ae/contract.js +0 -285
- package/src/ae/index.js +0 -167
- package/src/ae/oracle.js +0 -296
- package/src/ae/universal.js +0 -47
- package/src/ae/wallet.js +0 -50
- package/src/chain/index.js +0 -250
- package/src/chain/node.js +0 -293
- package/src/channel/index.js +0 -898
- package/src/channel/internal.js +0 -231
- package/src/contract/aci/index.js +0 -317
- package/src/contract/aci/transformation.js +0 -72
- package/src/contract/compiler.js +0 -195
- package/src/contract/ga/helpers.js +0 -17
- package/src/contract/ga/index.js +0 -147
- package/src/contract/index.js +0 -163
- package/src/index.js +0 -90
- package/src/node-pool/index.js +0 -171
- package/src/node.js +0 -118
- package/src/tx/builder/helpers.js +0 -325
- package/src/tx/builder/index.js +0 -460
- package/src/tx/builder/schema.js +0 -1211
- package/src/tx/index.js +0 -301
- package/src/tx/tx-object.js +0 -186
- package/src/tx/tx.js +0 -622
- package/src/tx/validator.js +0 -161
- package/src/utils/aepp-wallet-communication/connection/browser-runtime.js +0 -114
- package/src/utils/aepp-wallet-communication/connection/browser-window-message.js +0 -161
- package/src/utils/aepp-wallet-communication/connection/index.js +0 -85
- package/src/utils/aepp-wallet-communication/content-script-bridge.js +0 -85
- package/src/utils/aepp-wallet-communication/helpers.js +0 -70
- package/src/utils/aepp-wallet-communication/rpc/aepp-rpc.js +0 -268
- package/src/utils/aepp-wallet-communication/rpc/rpc-client.js +0 -223
- package/src/utils/aepp-wallet-communication/rpc/wallet-rpc.js +0 -390
- package/src/utils/aepp-wallet-communication/schema.js +0 -108
- package/src/utils/aepp-wallet-communication/wallet-detector.js +0 -91
- package/src/utils/async-init.js +0 -41
- package/src/utils/crypto.js +0 -312
- package/src/utils/hd-wallet.js +0 -115
- package/src/utils/json-big.js +0 -26
- package/src/utils/keystore.js +0 -223
- package/src/utils/swagger.js +0 -133
package/CHANGELOG.md
DELETED
|
@@ -1,1603 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
## [10.0.0](https://github.com/aeternity/aepp-sdk-js/compare/v9.0.1...v10.0.0) (2021-12-07)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### ⚠ BREAKING CHANGES
|
|
9
|
-
|
|
10
|
-
* **crypto:** remove unused asymmetric encode/decode functions
|
|
11
|
-
* **aens:** don't limit pointer keys
|
|
12
|
-
* specify browserlist to better choice of features to transpile
|
|
13
|
-
* **aci:** don't require source code
|
|
14
|
-
* make contractDeploy a wrapper, remove unused code
|
|
15
|
-
* inline getConsensusProtocolVersion function
|
|
16
|
-
* invert and rename forceCodeCheck option to validateByteCode
|
|
17
|
-
* require compiler 6 and above
|
|
18
|
-
* make contractCall/Static a wrapper around getContractInstance
|
|
19
|
-
* **contract instance:** thread all extra options as contract's
|
|
20
|
-
* **contract instance:** remove unnecessary `setOptions` function
|
|
21
|
-
* remove contractDecodeData as extra wrapper
|
|
22
|
-
* remove contractEncodeCall as extra wrapper
|
|
23
|
-
* don't accept ak_ addresses as hash, bytes and signature
|
|
24
|
-
* **transformation:** drop extra wrapper around bindings
|
|
25
|
-
* **transformation:** don't export extra functions
|
|
26
|
-
* drop unnecessary skipTransformDecoded option
|
|
27
|
-
* drop unnecessary skipArgsConvert option
|
|
28
|
-
|
|
29
|
-
### Features
|
|
30
|
-
|
|
31
|
-
* **aci:** don't require source code ([5c690d2](https://github.com/aeternity/aepp-sdk-js/commit/5c690d2d77a433c8496ab9cda6fd66e52a6b4b23))
|
|
32
|
-
* **aens:** don't limit pointer keys ([f6b8999](https://github.com/aeternity/aepp-sdk-js/commit/f6b8999ac70d10c5455e9a45d8ad65e161d28ca4))
|
|
33
|
-
* **aens:** enable commitmentHash preclaim in tests ([5de05e5](https://github.com/aeternity/aepp-sdk-js/commit/5de05e58d097a2842c78d80a34c49a8e7635997c))
|
|
34
|
-
* decode using calldata package ([2bb494d](https://github.com/aeternity/aepp-sdk-js/commit/2bb494d67c02c9abd017274e06c55ed07aef65d7))
|
|
35
|
-
* encode using calldata package ([eeebbd5](https://github.com/aeternity/aepp-sdk-js/commit/eeebbd58b860c2e4b35c1ed4cb3aaf12677b0982))
|
|
36
|
-
* **poll-interval:** reduce poll interval to be a more sensible default ([9e55b2b](https://github.com/aeternity/aepp-sdk-js/commit/9e55b2be92125b42713f0e2a35916abc9f3c18fb))
|
|
37
|
-
* support for new node feature next-nonce of release 6.2.0 ([#1299](https://github.com/aeternity/aepp-sdk-js/issues/1299)) ([e40b046](https://github.com/aeternity/aepp-sdk-js/commit/e40b04678b7c4819074803095da31c813aa367e0))
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Bug Fixes
|
|
41
|
-
|
|
42
|
-
* commitlint issue ([2c1cf54](https://github.com/aeternity/aepp-sdk-js/commit/2c1cf541e45b87b6acf54c2929847a3d227d8ada))
|
|
43
|
-
* **compiler errors:** construct error message by server response ([8621352](https://github.com/aeternity/aepp-sdk-js/commit/8621352691d47373d4e79d495f2d6e6d6e87b432))
|
|
44
|
-
* don't accept ak_ addresses as hash, bytes and signature ([cbaac62](https://github.com/aeternity/aepp-sdk-js/commit/cbaac6263dd1729d64ef3a01c94e10687fed3b0d))
|
|
45
|
-
* **events:** don't require function name for events decoding ([f963bdb](https://github.com/aeternity/aepp-sdk-js/commit/f963bdbf2f5eb9284c44b3191c4d61555694030d))
|
|
46
|
-
* **events:** fix event decoding order and address prefix ([faad530](https://github.com/aeternity/aepp-sdk-js/commit/faad53057cbf7bca65d0f2c6262b27090773fbb6))
|
|
47
|
-
* **events:** fix test for incorrect address return type ([31aaeec](https://github.com/aeternity/aepp-sdk-js/commit/31aaeec87fcd59eb3866682a0d529100a975f7fb))
|
|
48
|
-
* **events:** ignore unknown events in decoding ([45795fa](https://github.com/aeternity/aepp-sdk-js/commit/45795fa4eb33fc591b203d9f37501c25803f281e))
|
|
49
|
-
* **node errors:** construct error message by server response ([d556936](https://github.com/aeternity/aepp-sdk-js/commit/d5569361c925bca35df76f31bcb049c83a6daf31))
|
|
50
|
-
* **semverSatisfies:** ignore build number ([c3cce0a](https://github.com/aeternity/aepp-sdk-js/commit/c3cce0a256b9b0af29b30662e4fa7a08bb9ab187))
|
|
51
|
-
* **swagger:** detection of empty response ([9bfab02](https://github.com/aeternity/aepp-sdk-js/commit/9bfab026e0ac980b1bb3181f12c5093996c22710))
|
|
52
|
-
* **contract instance:** remove unnecessary `setOptions` function ([b88e767](https://github.com/aeternity/aepp-sdk-js/commit/b88e767c86874f259ff7a1eb1784c368524e7167))
|
|
53
|
-
* **contract instance:** thread all extra options as contract's ([10fb7ba](https://github.com/aeternity/aepp-sdk-js/commit/10fb7bad8f61b973c1be5daec50909d251ec1f90))
|
|
54
|
-
* **crypto:** remove unused asymmetric encode/decode functions ([51def34](https://github.com/aeternity/aepp-sdk-js/commit/51def34624d57f5cca548481176968dfc8f857d9))
|
|
55
|
-
* drop unnecessary skipArgsConvert option ([6d4a599](https://github.com/aeternity/aepp-sdk-js/commit/6d4a59986d6833866b6828085fad96b364e5d315))
|
|
56
|
-
* drop unnecessary skipTransformDecoded option ([bb49239](https://github.com/aeternity/aepp-sdk-js/commit/bb492396a29d673f02eee7cfec4e114c2fba2f3c))
|
|
57
|
-
* inline getConsensusProtocolVersion function ([75f0447](https://github.com/aeternity/aepp-sdk-js/commit/75f044792bd2d81eca3a2abc8218e8ca5f167134))
|
|
58
|
-
* invert and rename forceCodeCheck option to validateByteCode ([72122fa](https://github.com/aeternity/aepp-sdk-js/commit/72122facdcec9921202b210c387c19509b26e578))
|
|
59
|
-
* make contractCall/Static a wrapper around getContractInstance ([c4ec019](https://github.com/aeternity/aepp-sdk-js/commit/c4ec019372f5d5745378e781afb1eb6b2b5acfeb))
|
|
60
|
-
* make contractDeploy a wrapper, remove unused code ([48d36f9](https://github.com/aeternity/aepp-sdk-js/commit/48d36f9be30805a476590282bffae9944134eb41))
|
|
61
|
-
* remove contractDecodeData as extra wrapper ([5df2285](https://github.com/aeternity/aepp-sdk-js/commit/5df2285a7b5694475554e5154c544e0885bd4b33))
|
|
62
|
-
* remove contractEncodeCall as extra wrapper ([a4b303f](https://github.com/aeternity/aepp-sdk-js/commit/a4b303fbcc3b7cc544a2b5b3415d0f4a147b488c))
|
|
63
|
-
* require compiler 6 and above ([f9cef12](https://github.com/aeternity/aepp-sdk-js/commit/f9cef12a7db4b2559519ef7f8380cc9e89630492))
|
|
64
|
-
* specify browserlist to better choice of features to transpile ([c2ec71a](https://github.com/aeternity/aepp-sdk-js/commit/c2ec71a7690ed2590093c0cbff048599b5ca87bd))
|
|
65
|
-
* **transformation:** don't export extra functions ([fa38b40](https://github.com/aeternity/aepp-sdk-js/commit/fa38b40ef56744e2941db198533b3f454b3bf53c))
|
|
66
|
-
* **transformation:** drop extra wrapper around bindings ([9b70f8e](https://github.com/aeternity/aepp-sdk-js/commit/9b70f8ea0ce509a91ec78f0718574b59c0143de0))
|
|
67
|
-
|
|
68
|
-
## [10.0.0-beta.1](https://github.com/aeternity/aepp-sdk-js/compare/v9.0.1...v10.0.0-beta.1) (2021-11-24)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### ⚠ BREAKING CHANGES
|
|
72
|
-
|
|
73
|
-
* specify browserlist to better choice of features to transpile
|
|
74
|
-
* **aci:** don't require source code
|
|
75
|
-
* make contractDeploy a wrapper, remove unused code
|
|
76
|
-
* inline getConsensusProtocolVersion function
|
|
77
|
-
* invert and rename forceCodeCheck option to validateByteCode
|
|
78
|
-
* require compiler 6 and above
|
|
79
|
-
* make contractCall/Static a wrapper around getContractInstance
|
|
80
|
-
* **contract instance:** thread all extra options as contract's
|
|
81
|
-
* **contract instance:** remove unnecessary `setOptions` function
|
|
82
|
-
* remove contractDecodeData as extra wrapper
|
|
83
|
-
* remove contractEncodeCall as extra wrapper
|
|
84
|
-
* don't accept ak_ addresses as hash, bytes and signature
|
|
85
|
-
* **transformation:** drop extra wrapper around bindings
|
|
86
|
-
* **transformation:** don't export extra functions
|
|
87
|
-
* drop unnecessary skipTransformDecoded option
|
|
88
|
-
* drop unnecessary skipArgsConvert option
|
|
89
|
-
|
|
90
|
-
### Features
|
|
91
|
-
|
|
92
|
-
* **aci:** don't require source code ([5c690d2](https://github.com/aeternity/aepp-sdk-js/commit/5c690d2d77a433c8496ab9cda6fd66e52a6b4b23))
|
|
93
|
-
* decode using calldata package ([2bb494d](https://github.com/aeternity/aepp-sdk-js/commit/2bb494d67c02c9abd017274e06c55ed07aef65d7))
|
|
94
|
-
* encode using calldata package ([eeebbd5](https://github.com/aeternity/aepp-sdk-js/commit/eeebbd58b860c2e4b35c1ed4cb3aaf12677b0982))
|
|
95
|
-
* **poll-interval:** reduce poll interval to be a more sensible default ([9e55b2b](https://github.com/aeternity/aepp-sdk-js/commit/9e55b2be92125b42713f0e2a35916abc9f3c18fb))
|
|
96
|
-
* support for new node feature next-nonce of release 6.2.0 ([#1299](https://github.com/aeternity/aepp-sdk-js/issues/1299)) ([e40b046](https://github.com/aeternity/aepp-sdk-js/commit/e40b04678b7c4819074803095da31c813aa367e0))
|
|
97
|
-
* **aens:** enable commitmentHash preclaim in tests ([5de05e5](https://github.com/aeternity/aepp-sdk-js/commit/5de05e58d097a2842c78d80a34c49a8e7635997c))
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
### Bug Fixes
|
|
101
|
-
|
|
102
|
-
* **compiler errors:** construct error message by server response ([8621352](https://github.com/aeternity/aepp-sdk-js/commit/8621352691d47373d4e79d495f2d6e6d6e87b432))
|
|
103
|
-
* **events:** fix event decoding order and address prefix ([faad530](https://github.com/aeternity/aepp-sdk-js/commit/faad53057cbf7bca65d0f2c6262b27090773fbb6))
|
|
104
|
-
* **events:** fix test for incorrect address return type ([31aaeec](https://github.com/aeternity/aepp-sdk-js/commit/31aaeec87fcd59eb3866682a0d529100a975f7fb))
|
|
105
|
-
* **node errors:** construct error message by server response ([d556936](https://github.com/aeternity/aepp-sdk-js/commit/d5569361c925bca35df76f31bcb049c83a6daf31))
|
|
106
|
-
* **semverSatisfies:** ignore build number ([c3cce0a](https://github.com/aeternity/aepp-sdk-js/commit/c3cce0a256b9b0af29b30662e4fa7a08bb9ab187))
|
|
107
|
-
* commitlint issue ([2c1cf54](https://github.com/aeternity/aepp-sdk-js/commit/2c1cf541e45b87b6acf54c2929847a3d227d8ada))
|
|
108
|
-
* don't accept ak_ addresses as hash, bytes and signature ([cbaac62](https://github.com/aeternity/aepp-sdk-js/commit/cbaac6263dd1729d64ef3a01c94e10687fed3b0d))
|
|
109
|
-
* drop unnecessary skipArgsConvert option ([6d4a599](https://github.com/aeternity/aepp-sdk-js/commit/6d4a59986d6833866b6828085fad96b364e5d315))
|
|
110
|
-
* drop unnecessary skipTransformDecoded option ([bb49239](https://github.com/aeternity/aepp-sdk-js/commit/bb492396a29d673f02eee7cfec4e114c2fba2f3c))
|
|
111
|
-
* inline getConsensusProtocolVersion function ([75f0447](https://github.com/aeternity/aepp-sdk-js/commit/75f044792bd2d81eca3a2abc8218e8ca5f167134))
|
|
112
|
-
* invert and rename forceCodeCheck option to validateByteCode ([72122fa](https://github.com/aeternity/aepp-sdk-js/commit/72122facdcec9921202b210c387c19509b26e578))
|
|
113
|
-
* make contractCall/Static a wrapper around getContractInstance ([c4ec019](https://github.com/aeternity/aepp-sdk-js/commit/c4ec019372f5d5745378e781afb1eb6b2b5acfeb))
|
|
114
|
-
* make contractDeploy a wrapper, remove unused code ([48d36f9](https://github.com/aeternity/aepp-sdk-js/commit/48d36f9be30805a476590282bffae9944134eb41))
|
|
115
|
-
* remove contractDecodeData as extra wrapper ([5df2285](https://github.com/aeternity/aepp-sdk-js/commit/5df2285a7b5694475554e5154c544e0885bd4b33))
|
|
116
|
-
* require compiler 6 and above ([f9cef12](https://github.com/aeternity/aepp-sdk-js/commit/f9cef12a7db4b2559519ef7f8380cc9e89630492))
|
|
117
|
-
* specify browserlist to better choice of features to transpile ([c2ec71a](https://github.com/aeternity/aepp-sdk-js/commit/c2ec71a7690ed2590093c0cbff048599b5ca87bd))
|
|
118
|
-
* **contract instance:** remove unnecessary `setOptions` function ([b88e767](https://github.com/aeternity/aepp-sdk-js/commit/b88e767c86874f259ff7a1eb1784c368524e7167))
|
|
119
|
-
* **contract instance:** thread all extra options as contract's ([10fb7ba](https://github.com/aeternity/aepp-sdk-js/commit/10fb7bad8f61b973c1be5daec50909d251ec1f90))
|
|
120
|
-
* remove contractEncodeCall as extra wrapper ([a4b303f](https://github.com/aeternity/aepp-sdk-js/commit/a4b303fbcc3b7cc544a2b5b3415d0f4a147b488c))
|
|
121
|
-
* **transformation:** don't export extra functions ([fa38b40](https://github.com/aeternity/aepp-sdk-js/commit/fa38b40ef56744e2941db198533b3f454b3bf53c))
|
|
122
|
-
* **transformation:** drop extra wrapper around bindings ([9b70f8e](https://github.com/aeternity/aepp-sdk-js/commit/9b70f8ea0ce509a91ec78f0718574b59c0143de0))
|
|
123
|
-
|
|
124
|
-
## [9.0.1](https://github.com/aeternity/aepp-sdk-js/compare/v9.0.0...v9.0.1) (2021-10-04)
|
|
125
|
-
|
|
126
|
-
### Refactoring
|
|
127
|
-
|
|
128
|
-
* Remove channel from universal stamp ([63e88ce74](https://github.com/aeternity/aepp-sdk-js/commit/63e88ce74))
|
|
129
|
-
|
|
130
|
-
## [9.0.0](https://github.com/aeternity/aepp-sdk-js/compare/v8.2.1...v9.0.0) (2021-09-30)
|
|
131
|
-
|
|
132
|
-
### ⚠ BREAKING CHANGES
|
|
133
|
-
|
|
134
|
-
* drop following AENS delegation signature methods over the new common `createAensDelegationSignature` implementation which accepts an object as param ([456fe00](https://github.com/aeternity/aepp-sdk-js/commit/456fe00cb8b8eba09ea53800e8713550d0f329cc))
|
|
135
|
-
* ` delegateNamePreclaimSignature`
|
|
136
|
-
* ` delegateNameClaimSignature`
|
|
137
|
-
* `delegateNameTransferSignature`
|
|
138
|
-
* `delegateNameRevokeSignature`
|
|
139
|
-
* drop following oracle delegation signature methods over the new common `createOracleDelegationSignature` implementation accepts an object param ([88b7bf3](https://github.com/aeternity/aepp-sdk-js/commit/88b7bf3aa55b3740c9a64fb4049abcc0fdd3b277))
|
|
140
|
-
* `delegateOracleRegisterSignature`
|
|
141
|
-
* `delegateOracleExtendSignature`
|
|
142
|
-
* `delegateOracleRespondSignature`
|
|
143
|
-
* drop `assertedType`, use `decode` instead ([00d563f](https://github.com/aeternity/aepp-sdk-js/commit/00d563feca871e2c9474df667696946d1c8d12c7))
|
|
144
|
-
* drop `waitMined` static method ([2f299de](https://github.com/aeternity/aepp-sdk-js/commit/2f299de2c985ce2619db10e4a264f7e6d1b7279c))
|
|
145
|
-
* tx-validator now gives different, more meaningful, errors ([95a2a23](https://github.com/aeternity/aepp-sdk-js/commit/95a2a232f3fd8b875b223e352445b045a7217dad))
|
|
146
|
-
* no longer exports buildHash function, use hash or buildTxHash ([9e1fde7](https://github.com/aeternity/aepp-sdk-js/commit/9e1fde7693986359a9ac0ff80829dbc058882f7b))
|
|
147
|
-
* tx-verification is now done by default ([989b36f](https://github.com/aeternity/aepp-sdk-js/commit/989b36f28e9649fd74b384f2a16bf8fd64bac85c))
|
|
148
|
-
|
|
149
|
-
### Features
|
|
150
|
-
|
|
151
|
-
* `payForTransaction` method ([fbf204d](https://github.com/aeternity/aepp-sdk-js/commit/fbf204dd2ba333551327adce579b9f9d9edc601b))
|
|
152
|
-
* don't check is GA if innerTx ([0ee9db4](https://github.com/aeternity/aepp-sdk-js/commit/0ee9db4b7e1cbab5b874bee56b5bf8814610b913))
|
|
153
|
-
* don't sent to blockchain if innerTx ([523e9bb](https://github.com/aeternity/aepp-sdk-js/commit/523e9bbd62a506efd8a9d50317bcf3980052948e))
|
|
154
|
-
* **deposit-trap:** enforce zero value for `deposit` during contract deploy ([cfb5f22](https://github.com/aeternity/aepp-sdk-js/commit/cfb5f2263316f0f70290cb174c1d334cf49c6db3))
|
|
155
|
-
|
|
156
|
-
### Maintenance
|
|
157
|
-
* change default gas limit to 25000 ([831e4dd](https://github.com/aeternity/aepp-sdk-js/commit/831e4dde12a78583d1a567fdc5a9ef86518d5fe6))
|
|
158
|
-
|
|
159
|
-
### Bug Fixes
|
|
160
|
-
|
|
161
|
-
* **AENS:** name length minimum bid fee ([db6ca4c](https://github.com/aeternity/aepp-sdk-js/commit/db6ca4c3d89eedf7fa326bd6d0484ea0d94de19e))
|
|
162
|
-
* **delegate-signature:** stop using the default account in the context of signing ([29d760e](https://github.com/aeternity/aepp-sdk-js/commit/29d760ef04591cd9a745a508ff4dfbb8859c347a))
|
|
163
|
-
* **mustAccountStamp:** process accounts only if supplied ([10ec2c3](https://github.com/aeternity/aepp-sdk-js/commit/10ec2c37f6f35516023cace435bdde6294786ed7))
|
|
164
|
-
* swagger https issue ([3a876bb](https://github.com/aeternity/aepp-sdk-js/commit/3a876bbb80300cbf91891daa642f6daee61c1427))
|
|
165
|
-
* **tx serialisation:** accept unpackTx output produced by deserialisator ([ff0b3f5](https://github.com/aeternity/aepp-sdk-js/commit/ff0b3f551f7cf0684ac9c8e528d94eae9c31f226))
|
|
166
|
-
|
|
167
|
-
## [8.2.1](https://github.com/aeternity/aepp-sdk-js/compare/v8.2.0...v8.2.1) (2021-06-21)
|
|
168
|
-
|
|
169
|
-
### Bug Fixes
|
|
170
|
-
|
|
171
|
-
* swagger file of aeternity's compiler ([4001e64](https://github.com/aeternity/aepp-sdk-js/commit/4001e64f8ce90d234c9cd971e05f6b386b54221d))
|
|
172
|
-
* swagger file of aeternity's latest compiler ([a1caa03](https://github.com/aeternity/aepp-sdk-js/commit/a1caa0374e3a0be84644d7b8dd846d70193e8242))
|
|
173
|
-
|
|
174
|
-
## [8.2.0](https://github.com/aeternity/aepp-sdk-js/compare/8.1.0...v8.2.0) (2021-06-17)
|
|
175
|
-
|
|
176
|
-
### ⚠ BREAKING CHANGES
|
|
177
|
-
|
|
178
|
-
* **crypto:** remove outdated generateSaveWallet function
|
|
179
|
-
* **crypto:** remove unused prepareTx, encodeTx, decodeTx functions
|
|
180
|
-
* **crypto:** remove unused hexStringToByte function
|
|
181
|
-
* **crypto:** rename messageToBinary to messageToHash adding hashing
|
|
182
|
-
* **crypto:** drop extra "personal" from message functions
|
|
183
|
-
* **crypto:** remove unused formatAddress function
|
|
184
|
-
* **crypto:** remove unused addressToHex function
|
|
185
|
-
* **node-pool:** inline helpers, export by default
|
|
186
|
-
* **string:** use isAddressValid instead of isAeAddress
|
|
187
|
-
* **string:** remove unused snakeOrKebabToPascal function
|
|
188
|
-
* drop outdated protocols and transactions schemas
|
|
189
|
-
* drop compatibility with node@5
|
|
190
|
-
|
|
191
|
-
### Bug Fixes
|
|
192
|
-
|
|
193
|
-
* export aepp-wallet-communication ([d5d741c](https://github.com/aeternity/aepp-sdk-js/commit/d5d741cfd71c757f1b3e55e6708fb589c8ed6136))
|
|
194
|
-
* ponyfill `Buffer` in browser ([953bf08](https://github.com/aeternity/aepp-sdk-js/commit/953bf0845bd64731cd57ed152fed67575120a276))
|
|
195
|
-
* ponyfill `process` in browser ([798ab63](https://github.com/aeternity/aepp-sdk-js/commit/798ab63d0f3ebd3648be4bfce88b0b3d38013e6e))
|
|
196
|
-
* **rlp:** import as it is ([736b0f5](https://github.com/aeternity/aepp-sdk-js/commit/736b0f5b8a4cfb39c76c2dc57880c234b804a8e2))
|
|
197
|
-
* typo name of broadcast failed error generator ([ae7e823](https://github.com/aeternity/aepp-sdk-js/commit/ae7e8238c378e0aa2095328577ef0ce2bd518e49))
|
|
198
|
-
* **examlple-aepp:** open only when ready to accept connection ([4872eb9](https://github.com/aeternity/aepp-sdk-js/commit/4872eb979330f1676241dfefc434c0eeafcf5eab))
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
* **crypto:** drop extra "personal" from message functions ([34288cb](https://github.com/aeternity/aepp-sdk-js/commit/34288cb9adb443d8bd44ba6ddc93edf4de37349a))
|
|
202
|
-
* **crypto:** remove outdated generateSaveWallet function ([37298be](https://github.com/aeternity/aepp-sdk-js/commit/37298be567d7065e06904cb0d7d5a01f649131fb))
|
|
203
|
-
* **crypto:** remove unused addressToHex function ([93f9def](https://github.com/aeternity/aepp-sdk-js/commit/93f9def0e90bcc20641aab464f93ddcedd1d1aa2))
|
|
204
|
-
* **crypto:** remove unused formatAddress function ([a5d4b62](https://github.com/aeternity/aepp-sdk-js/commit/a5d4b6263d45edf0e454addfe1e96b4741b46db3))
|
|
205
|
-
* **crypto:** remove unused hexStringToByte function ([ed39a76](https://github.com/aeternity/aepp-sdk-js/commit/ed39a7659ac04abd5dbd80d54d28369bfa4322b9))
|
|
206
|
-
* **crypto:** remove unused prepareTx, encodeTx, decodeTx functions ([64d15eb](https://github.com/aeternity/aepp-sdk-js/commit/64d15eb8eb7608b7418eebd84bedb697a1a7b12a))
|
|
207
|
-
* **crypto:** rename messageToBinary to messageToHash adding hashing ([df37004](https://github.com/aeternity/aepp-sdk-js/commit/df37004f57a751b0f089dcef7b8fbcdf306bd08f))
|
|
208
|
-
* **node-pool:** inline helpers, export by default ([ed1cfb5](https://github.com/aeternity/aepp-sdk-js/commit/ed1cfb59ada165b535a7f9bb7a3f3acdec00aac1))
|
|
209
|
-
* **string:** remove unused snakeOrKebabToPascal function ([79bdc04](https://github.com/aeternity/aepp-sdk-js/commit/79bdc0490024e173c7620cfa089a4e84212930b3))
|
|
210
|
-
* **string:** use isAddressValid instead of isAeAddress ([ac7d827](https://github.com/aeternity/aepp-sdk-js/commit/ac7d82701e30f9b7f2bc0d40412244face330d18))
|
|
211
|
-
* drop compatibility with node@5 ([f5e2fdb](https://github.com/aeternity/aepp-sdk-js/commit/f5e2fdb42cc115a11c6be6e3dfd5cd1acfd6d3cc))
|
|
212
|
-
* drop outdated protocols and transactions schemas ([f18d305](https://github.com/aeternity/aepp-sdk-js/commit/f18d305ca29204f006a438c157add0b511df4e93))
|
|
213
|
-
|
|
214
|
-
## [8.1.0](https://github.com/aeternity/aepp-sdk-js/compare/8.0.0...8.1.0) (2021-05-31)
|
|
215
|
-
|
|
216
|
-
### Bug Fixes
|
|
217
|
-
|
|
218
|
-
* **poi-tx schema:** use proper type name ([9e7c7b2](https://github.com/aeternity/aepp-sdk-js/commit/9e7c7b22c70cb0dcd194f8b1871be8fbf9b914ea))
|
|
219
|
-
* **wait-for-tx-confirm:** validate transaction height after awaitHeight ([95e0d93](https://github.com/aeternity/aepp-sdk-js/commit/95e0d9334ffb9bf56f028fcc96d75f5a83905df0))
|
|
220
|
-
|
|
221
|
-
### Features
|
|
222
|
-
|
|
223
|
-
* support compiler@6.0.0 and above ([3cdc7f9](https://github.com/aeternity/aepp-sdk-js/commit/3cdc7f9046b53de5c1ddeb0f7bd1b20af7cf433e))
|
|
224
|
-
|
|
225
|
-
## [8.0.0](https://github.com/aeternity/aepp-sdk-js/compare/8.0.0-beta.2...8.0.0) (2021-05-18)
|
|
226
|
-
|
|
227
|
-
### Bug Fixes
|
|
228
|
-
|
|
229
|
-
* avoid instanceof between possible not/polyfilled objects ([906ee0e](https://github.com/aeternity/aepp-sdk-js/commit/906ee0ea4eb71160c3a482ea068cbb0d857cef8f))
|
|
230
|
-
|
|
231
|
-
## [8.0.0-beta.2](https://github.com/aeternity/aepp-sdk-js/compare/8.0.0-beta.1...8.0.0-beta.2) (2021-05-12)
|
|
232
|
-
|
|
233
|
-
### Bug Fixes
|
|
234
|
-
|
|
235
|
-
* revert conversion of case in calls to compiler ([0a69e49](https://github.com/aeternity/aepp-sdk-js/commit/0a69e4979b20bdd5ee954e2860fdc827f808eb8f))
|
|
236
|
-
|
|
237
|
-
### Maintenance
|
|
238
|
-
|
|
239
|
-
* avoid ts definitions based on broken JsDoc ([572d19f](https://github.com/aeternity/aepp-sdk-js/commit/572d19f5ae6bd549c92a1a37452c0270490b9f6e))
|
|
240
|
-
|
|
241
|
-
## [8.0.0-beta.1](https://github.com/aeternity/aepp-sdk-js/compare/7.7.0...8.0.0-beta.1) (2021-05-6)
|
|
242
|
-
|
|
243
|
-
### Important changes
|
|
244
|
-
|
|
245
|
-
* Iris compatibility (compatible with nodes >= 5.2.0 < 7.0.0)
|
|
246
|
-
* initial TypeScript support (not enough type definitions yet)
|
|
247
|
-
* documentation is generated using MkDocs on Travis
|
|
248
|
-
|
|
249
|
-
### BREAKING CHANGES
|
|
250
|
-
|
|
251
|
-
* Drop old aepp-wallet RPC interface ([254f5a93](https://github.com/aeternity/aepp-sdk-js/commit/254f5a93))
|
|
252
|
-
* **refactor:** don't retrieve account from process.env ([59e5c9b5](https://github.com/aeternity/aepp-sdk-js/commit/59e5c9b5))
|
|
253
|
-
* **refactor(crypto):** don't reexport RLP methods ([c6004bc7](https://github.com/aeternity/aepp-sdk-js/commit/c6004bc7))
|
|
254
|
-
* **refactoring:** remove legacy contractDecodeDataAPI compiler method ([dfadac8d](https://github.com/aeternity/aepp-sdk-js/commit/dfadac8d))
|
|
255
|
-
* **refactor:** rename `forceCompatibility` to more clear `ignoreVersion` ([72f1d326](https://github.com/aeternity/aepp-sdk-js/commit/72f1d326))
|
|
256
|
-
* **refactoring:** require compiler above or equal to 4.1.0 ([c9f48f91](https://github.com/aeternity/aepp-sdk-js/commit/c9f48f91))
|
|
257
|
-
* **RpcClient:** Drop unnecessary action stuff ([84545fd7](https://github.com/aeternity/aepp-sdk-js/commit/84545fd7))
|
|
258
|
-
* Combine RpcWallet and RpcClients ([12892002](https://github.com/aeternity/aepp-sdk-js/commit/12892002))
|
|
259
|
-
* Drop old names support, split ensureNameValid and isNameValid ([315a78a9](https://github.com/aeternity/aepp-sdk-js/commit/315a78a9))
|
|
260
|
-
* **refactor(contract-aci):** export single function instead of stamp ([091b3282](https://github.com/aeternity/aepp-sdk-js/commit/091b3282))
|
|
261
|
-
* Combine Accounts and Selector into AccountMultiple ([0cacd3b3](https://github.com/aeternity/aepp-sdk-js/commit/0cacd3b3))
|
|
262
|
-
* Use swagger-client instead of a custom implementation ([4b3260d5](https://github.com/aeternity/aepp-sdk-js/commit/4b3260d5))
|
|
263
|
-
* Remove OracleNodeAPI wrapper ([c6f9a76d](https://github.com/aeternity/aepp-sdk-js/commit/c6f9a76d))
|
|
264
|
-
* Flatten options of contractCallStatic, remove extra dryRunContractTx ([f3ffb664](https://github.com/aeternity/aepp-sdk-js/commit/f3ffb664))
|
|
265
|
-
* **txDryRun:** Simplify arguments, support `txEvents` option ([401c53da](https://github.com/aeternity/aepp-sdk-js/commit/401c53da))
|
|
266
|
-
* **contracts:** Mark handleCallError as private, simplify arguments ([bdf76e24](https://github.com/aeternity/aepp-sdk-js/commit/bdf76e24))
|
|
267
|
-
* import/no-named-as-default linter error ([d63e1511](https://github.com/aeternity/aepp-sdk-js/commit/d63e1511))
|
|
268
|
-
* **oracle:** make pollForQueries a sync function ([dc955e14](https://github.com/aeternity/aepp-sdk-js/commit/dc955e14))
|
|
269
|
-
* chore: drop aevm support and backend (compiler) option ([6eb702dd](https://github.com/aeternity/aepp-sdk-js/commit/6eb702dd))
|
|
270
|
-
* refactor(schema): export enum with consensus protocol versions ([e92f187d](https://github.com/aeternity/aepp-sdk-js/commit/e92f187d))
|
|
271
|
-
|
|
272
|
-
### Features
|
|
273
|
-
|
|
274
|
-
* **swagger:** allow to provide external specification ([683082b3](https://github.com/aeternity/aepp-sdk-js/commit/683082b3))
|
|
275
|
-
* **swagger:** make compatible with OpenAPI 3 ([1d83f1a4](https://github.com/aeternity/aepp-sdk-js/commit/1d83f1a4))
|
|
276
|
-
* switch to v3 endpoints on Iris ([eca6697b](https://github.com/aeternity/aepp-sdk-js/commit/eca6697b))
|
|
277
|
-
* **traverse-keys:** add keysOfValuesToIgnore option as a workaround ([8ff5afe4](https://github.com/aeternity/aepp-sdk-js/commit/8ff5afe4))
|
|
278
|
-
* Use es modules version in browser if supported ([b49c38f0](https://github.com/aeternity/aepp-sdk-js/commit/b49c38f0))
|
|
279
|
-
* Add typescript support ([abde033a](https://github.com/aeternity/aepp-sdk-js/commit/abde033a))
|
|
280
|
-
|
|
281
|
-
### Docs
|
|
282
|
-
|
|
283
|
-
* **contract:** fix default backend value ([9fcbeb32](https://github.com/aeternity/aepp-sdk-js/commit/9fcbeb32))
|
|
284
|
-
* **wallet-iframe:** fix disconnect button ([59014bd0](https://github.com/aeternity/aepp-sdk-js/commit/59014bd0))
|
|
285
|
-
* **examples-browser:** rearrange files and docs ([985e3b96](https://github.com/aeternity/aepp-sdk-js/commit/985e3b96))
|
|
286
|
-
* use relative links between docs pages ([d34d8181](https://github.com/aeternity/aepp-sdk-js/commit/d34d8181))
|
|
287
|
-
* remove outdated aecrypto example ([7df05bfe](https://github.com/aeternity/aepp-sdk-js/commit/7df05bfe))
|
|
288
|
-
* refactor node examples ([e8c443cf](https://github.com/aeternity/aepp-sdk-js/commit/e8c443cf))
|
|
289
|
-
* **changelog:** add missed single quote in example ([45fd0002](https://github.com/aeternity/aepp-sdk-js/commit/45fd0002))
|
|
290
|
-
* **resolveName:** Document verify option ([ca865596](https://github.com/aeternity/aepp-sdk-js/commit/ca865596))
|
|
291
|
-
* Remove outdated docs ([cf9c166f](https://github.com/aeternity/aepp-sdk-js/commit/cf9c166f))
|
|
292
|
-
* **decodeTx:** Fix arg naming and annotation ([883819c0](https://github.com/aeternity/aepp-sdk-js/commit/883819c0))
|
|
293
|
-
* **contract-events:** Remove outdated contract, update links and markup ([37d39d61](https://github.com/aeternity/aepp-sdk-js/commit/37d39d61))
|
|
294
|
-
* Update docs/guides/import-nodejs.md ([9dc274ed](https://github.com/aeternity/aepp-sdk-js/commit/9dc274ed))
|
|
295
|
-
* Update docs/guides/import-nodejs.md ([93bfce11](https://github.com/aeternity/aepp-sdk-js/commit/93bfce11))
|
|
296
|
-
* break down json obj keys necessary for account initialization in nodejs docs ([af5ee41d](https://github.com/aeternity/aepp-sdk-js/commit/af5ee41d))
|
|
297
|
-
* Ignore __pycache__ in the docs folder ([9989e8e7](https://github.com/aeternity/aepp-sdk-js/commit/9989e8e7))
|
|
298
|
-
* Specify the python version more precisely ([d6204523](https://github.com/aeternity/aepp-sdk-js/commit/d6204523))
|
|
299
|
-
* Add __pycache__ to .gitignore ([f0b7e1f1](https://github.com/aeternity/aepp-sdk-js/commit/f0b7e1f1))
|
|
300
|
-
* Add navigation and update some titles ([8ad15ced](https://github.com/aeternity/aepp-sdk-js/commit/8ad15ced))
|
|
301
|
-
* **docco template:** Remove extra new lines around code, skip extra blocks ([65ce3cf1](https://github.com/aeternity/aepp-sdk-js/commit/65ce3cf1))
|
|
302
|
-
* **aecontract:** Make a list out of a long sentence ([8ff7839c](https://github.com/aeternity/aepp-sdk-js/commit/8ff7839c))
|
|
303
|
-
* **aens-usage:** Use more semantic markup, compatible with mkdocs ([de3d3cd5](https://github.com/aeternity/aepp-sdk-js/commit/de3d3cd5))
|
|
304
|
-
* **docs readme:** Fix typos and formatting ([5b0c790d](https://github.com/aeternity/aepp-sdk-js/commit/5b0c790d))
|
|
305
|
-
* Add initial mkdocs and readthedocs configuration ([b688a96b](https://github.com/aeternity/aepp-sdk-js/commit/b688a96b))
|
|
306
|
-
* Extract quick-start to guides ([28f7e6f7](https://github.com/aeternity/aepp-sdk-js/commit/28f7e6f7))
|
|
307
|
-
* Update testnet URL ([7bb823f8](https://github.com/aeternity/aepp-sdk-js/commit/7bb823f8))
|
|
308
|
-
* **assertedType:** Make the last parameter more obvious ([50094d3a](https://github.com/aeternity/aepp-sdk-js/commit/50094d3a))
|
|
309
|
-
* **travis:** Build docs to gh-pages ([7c935a2b](https://github.com/aeternity/aepp-sdk-js/commit/7c935a2b))
|
|
310
|
-
* **Docs root:** Add link to API reference ([4a36102d](https://github.com/aeternity/aepp-sdk-js/commit/4a36102d))
|
|
311
|
-
* Move outdated disclaimer to the root readme ([80a6a663](https://github.com/aeternity/aepp-sdk-js/commit/80a6a663))
|
|
312
|
-
* Remove generated docs ([fd802b00](https://github.com/aeternity/aepp-sdk-js/commit/fd802b00))
|
|
313
|
-
* Fix api docs generation ([56e3aa9d](https://github.com/aeternity/aepp-sdk-js/commit/56e3aa9d))
|
|
314
|
-
|
|
315
|
-
### Code Refactoring
|
|
316
|
-
|
|
317
|
-
* use BigNumber constructor instead of custom wrapper ([4488b4d7](https://github.com/aeternity/aepp-sdk-js/commit/4488b4d7))
|
|
318
|
-
* avoid extra object nesting ([f99d3045](https://github.com/aeternity/aepp-sdk-js/commit/f99d3045))
|
|
319
|
-
* **compiler:** use swagger file ([0d821614](https://github.com/aeternity/aepp-sdk-js/commit/0d821614))
|
|
320
|
-
* **semver-satisfies:** remove extra splitting by dash ([35d5c11a](https://github.com/aeternity/aepp-sdk-js/commit/35d5c11a))
|
|
321
|
-
* remove extra char in regex ([37eeefae](https://github.com/aeternity/aepp-sdk-js/commit/37eeefae))
|
|
322
|
-
* refactor wallet detector ([1bc8d027](https://github.com/aeternity/aepp-sdk-js/commit/1bc8d027))
|
|
323
|
-
* **shareWalletInfo:** Don't create unnecessary copy of info ([3a4e50b9](https://github.com/aeternity/aepp-sdk-js/commit/3a4e50b9))
|
|
324
|
-
* Inline receive helper that is used once ([a4a13889](https://github.com/aeternity/aepp-sdk-js/commit/a4a13889))
|
|
325
|
-
* **rpc:** Inline helpers used once ([21903f4d](https://github.com/aeternity/aepp-sdk-js/commit/21903f4d))
|
|
326
|
-
* **rpc:** Prefer default export ([70fc3f0f](https://github.com/aeternity/aepp-sdk-js/commit/70fc3f0f))
|
|
327
|
-
* **rpc helpers:** Remove unused getWindow function ([c12b528f](https://github.com/aeternity/aepp-sdk-js/commit/c12b528f))
|
|
328
|
-
* don't use AsyncInit where it is not necessary ([84373697](https://github.com/aeternity/aepp-sdk-js/commit/84373697))
|
|
329
|
-
* **contract-aci:** reuse defaults from Contract stamp ([47013962](https://github.com/aeternity/aepp-sdk-js/commit/47013962))
|
|
330
|
-
* cleanup MIN_GAS_PRICE ([a5b28842](https://github.com/aeternity/aepp-sdk-js/commit/a5b28842))
|
|
331
|
-
* remove unused option string ([0e28af23](https://github.com/aeternity/aepp-sdk-js/commit/0e28af23))
|
|
332
|
-
* remove unused dryRunAccount default option ([8c42b706](https://github.com/aeternity/aepp-sdk-js/commit/8c42b706))
|
|
333
|
-
* Consistent new on Error creation ([39f93d3f](https://github.com/aeternity/aepp-sdk-js/commit/39f93d3f))
|
|
334
|
-
* **height:** Use a shorter syntax ([b013bf9d](https://github.com/aeternity/aepp-sdk-js/commit/b013bf9d))
|
|
335
|
-
* **height:** Improve naming of internal promise ([7915119a](https://github.com/aeternity/aepp-sdk-js/commit/7915119a))
|
|
336
|
-
* Move source code to "src" folder ([ddbce389](https://github.com/aeternity/aepp-sdk-js/commit/ddbce389))
|
|
337
|
-
* **sign-using-ga:** don't pass extra options ([44bab6d0](https://github.com/aeternity/aepp-sdk-js/commit/44bab6d0))
|
|
338
|
-
|
|
339
|
-
### Bug Fixes
|
|
340
|
-
|
|
341
|
-
* **traverse-keys:** add missed null check ([7b724b86](https://github.com/aeternity/aepp-sdk-js/commit/7b724b86))
|
|
342
|
-
* **swagger:** add workaround to get transaction details of GAAttachTx ([bb7ec479](https://github.com/aeternity/aepp-sdk-js/commit/bb7ec479))
|
|
343
|
-
* **top-block:** use getTopHeader on Iris, mark deprecated ([2b410257](https://github.com/aeternity/aepp-sdk-js/commit/2b410257))
|
|
344
|
-
* **nonce-verification:** add missed space ([3f244dfb](https://github.com/aeternity/aepp-sdk-js/commit/3f244dfb))
|
|
345
|
-
* missed aepp id in wallet connect handler ([1ed9284a](https://github.com/aeternity/aepp-sdk-js/commit/1ed9284a))
|
|
346
|
-
* **get-node-info:** bring url and internalUrl back ([e984f3b3](https://github.com/aeternity/aepp-sdk-js/commit/e984f3b3))
|
|
347
|
-
* contract error decoding ([d56931ac](https://github.com/aeternity/aepp-sdk-js/commit/d56931ac))
|
|
348
|
-
* **contract-aci:** don't proxy prepareArgsForEncode from helpers ([7e40eda0](https://github.com/aeternity/aepp-sdk-js/commit/7e40eda0))
|
|
349
|
-
* Improve handling of call error ([584eb5e4](https://github.com/aeternity/aepp-sdk-js/commit/584eb5e4))
|
|
350
|
-
|
|
351
|
-
### Maintenance
|
|
352
|
-
|
|
353
|
-
* Use ts-standard instead of standard ([be5aece7](https://github.com/aeternity/aepp-sdk-js/commit/be5aece7))
|
|
354
|
-
* **tsconfig:** Set target version to es5 ([ed131b1b](https://github.com/aeternity/aepp-sdk-js/commit/ed131b1b))
|
|
355
|
-
* Fix eslint errors manually ([dfe3a05e](https://github.com/aeternity/aepp-sdk-js/commit/dfe3a05e))
|
|
356
|
-
* require node below 7.0.0 ([ae1a5ef5](https://github.com/aeternity/aepp-sdk-js/commit/ae1a5ef5))
|
|
357
|
-
* require node above or equal to 5.2.0 ([ebb36f06](https://github.com/aeternity/aepp-sdk-js/commit/ebb36f06))
|
|
358
|
-
* update dependencies ([d876cff7](https://github.com/aeternity/aepp-sdk-js/commit/d876cff7))
|
|
359
|
-
* **deps:** bump ssri from 6.0.1 to 6.0.2 ([e0dfb8c9](https://github.com/aeternity/aepp-sdk-js/commit/e0dfb8c9))
|
|
360
|
-
* **deps:** bump y18n from 4.0.0 to 4.0.1 ([9e4acd61](https://github.com/aeternity/aepp-sdk-js/commit/9e4acd61))
|
|
361
|
-
* **deps:** bump elliptic from 6.5.3 to 6.5.4 ([feb3aa68](https://github.com/aeternity/aepp-sdk-js/commit/feb3aa68))
|
|
362
|
-
* **deps:** bump axios from 0.19.2 to 0.21.1 ([0f619f27](https://github.com/aeternity/aepp-sdk-js/commit/0f619f27))
|
|
363
|
-
* **deps:** bump ini from 1.3.5 to 1.3.7 ([95580324](https://github.com/aeternity/aepp-sdk-js/commit/95580324))
|
|
364
|
-
* **deps:** bump highlight.js from 10.4.0 to 10.4.1 ([9fcfadfe](https://github.com/aeternity/aepp-sdk-js/commit/9fcfadfe))
|
|
365
|
-
* **deps:** bump highlight.js from 10.1.1 to 10.4.0 ([43aff25f](https://github.com/aeternity/aepp-sdk-js/commit/43aff25f))
|
|
366
|
-
* **deps:** bump node-fetch from 2.6.0 to 2.6.1 ([80ed6d70](https://github.com/aeternity/aepp-sdk-js/commit/80ed6d70))
|
|
367
|
-
* Update node to 5.8.0 ([b6ff3422](https://github.com/aeternity/aepp-sdk-js/commit/b6ff3422))
|
|
368
|
-
* Update .gitignore ([1f1563dc](https://github.com/aeternity/aepp-sdk-js/commit/1f1563dc))
|
|
369
|
-
* add vscode .history folder to gitignore ([f4d61df4](https://github.com/aeternity/aepp-sdk-js/commit/f4d61df4))
|
|
370
|
-
* Update testnet URL in JS files ([dc1b807a](https://github.com/aeternity/aepp-sdk-js/commit/dc1b807a))
|
|
371
|
-
* add Iris consensus protocol ([41fd4a13](https://github.com/aeternity/aepp-sdk-js/commit/41fd4a13))
|
|
372
|
-
* add vsn 2 version of GA_META transaction ([b5abe098](https://github.com/aeternity/aepp-sdk-js/commit/b5abe098))
|
|
373
|
-
* add new versions of CHANNEL, CHANNEL_CREATE transactions ([366981a3](https://github.com/aeternity/aepp-sdk-js/commit/366981a3))
|
|
374
|
-
* support compilers below 6.0.0 ([876e5164](https://github.com/aeternity/aepp-sdk-js/commit/876e5164))
|
|
375
|
-
|
|
376
|
-
### Performance
|
|
377
|
-
|
|
378
|
-
* Optimize height queries ([f74ca4cb](https://github.com/aeternity/aepp-sdk-js/commit/f74ca4cb))
|
|
379
|
-
|
|
380
|
-
### Tests
|
|
381
|
-
|
|
382
|
-
* simplify GA tests ([7b9628c2](https://github.com/aeternity/aepp-sdk-js/commit/7b9628c2))
|
|
383
|
-
* **oracle:** avoid explicit waiting for 1 second ([f81cd3a1](https://github.com/aeternity/aepp-sdk-js/commit/f81cd3a1))
|
|
384
|
-
* passing of forceCompatibility flag ([6f900b98](https://github.com/aeternity/aepp-sdk-js/commit/6f900b98))
|
|
385
|
-
* **contract:** remove extra backend option ([184566f9](https://github.com/aeternity/aepp-sdk-js/commit/184566f9))
|
|
386
|
-
* update channel tests to fate ([35a996d8](https://github.com/aeternity/aepp-sdk-js/commit/35a996d8))
|
|
387
|
-
* Faster tests ([5d629103](https://github.com/aeternity/aepp-sdk-js/commit/5d629103))
|
|
388
|
-
* Extract strings tests into separate file ([f3c7d3fa](https://github.com/aeternity/aepp-sdk-js/commit/f3c7d3fa))
|
|
389
|
-
* **ga:** Remove extra await ([72bfc746](https://github.com/aeternity/aepp-sdk-js/commit/72bfc746))
|
|
390
|
-
* Make tests more precise ([fe7a8567](https://github.com/aeternity/aepp-sdk-js/commit/fe7a8567))
|
|
391
|
-
|
|
392
|
-
## [7.7.0](https://github.com/aeternity/aepp-sdk-js/compare/7.6.0...7.7.0) (2020-08-18)
|
|
393
|
-
|
|
394
|
-
### Features
|
|
395
|
-
|
|
396
|
-
* **transferFunds:** Accept onAccount option ([#1060](https://github.com/aeternity/aepp-sdk-js/pull/1060))
|
|
397
|
-
* **bigNumberToByteArray:** Avoid unexpected behaviour by throwing exception ([#1066](https://github.com/aeternity/aepp-sdk-js/pull/1066))
|
|
398
|
-
* **example:** Add disconnect button on wallet side ([#1056](https://github.com/aeternity/aepp-sdk-js/pull/1056))
|
|
399
|
-
|
|
400
|
-
### Code Refactoring
|
|
401
|
-
|
|
402
|
-
* Use external version of json-bigint ([#1033](https://github.com/aeternity/aepp-sdk-js/pull/1033))
|
|
403
|
-
* Make tests configuration more flexible ([#1037](https://github.com/aeternity/aepp-sdk-js/pull/1037))
|
|
404
|
-
* test-else: Exclude aens tests and speedup jobs ([#1040](https://github.com/aeternity/aepp-sdk-js/pull/1040))
|
|
405
|
-
* Avoid unnecessary eslint-disable ([#1043](https://github.com/aeternity/aepp-sdk-js/pull/1043))
|
|
406
|
-
* Add lint script ([#1045](https://github.com/aeternity/aepp-sdk-js/pull/1045))
|
|
407
|
-
* Refactor tests ([#1039](https://github.com/aeternity/aepp-sdk-js/pull/1039))
|
|
408
|
-
* Refactor bytes unit tests ([#1050](https://github.com/aeternity/aepp-sdk-js/pull/1050))
|
|
409
|
-
* travis: Run linter and unit tests firstly ([#1051](https://github.com/aeternity/aepp-sdk-js/pull/1051))
|
|
410
|
-
* Disable Travis on all branches except master, develop ([#1054](https://github.com/aeternity/aepp-sdk-js/pull/1054))
|
|
411
|
-
* Refactor contract, oracle, chain ([#1048](https://github.com/aeternity/aepp-sdk-js/pull/1048))
|
|
412
|
-
* Refactor state channels ([#1047](https://github.com/aeternity/aepp-sdk-js/pull/1047))
|
|
413
|
-
|
|
414
|
-
### Docs
|
|
415
|
-
|
|
416
|
-
* Fix typo in Readme.md ([#1053](https://github.com/aeternity/aepp-sdk-js/pull/1053))
|
|
417
|
-
|
|
418
|
-
## [7.6.0](https://github.com/aeternity/aepp-sdk-js/compare/7.5.0...7.6.0) (2020-07-22)
|
|
419
|
-
|
|
420
|
-
### Features
|
|
421
|
-
|
|
422
|
-
* **wallet-detector:** allow to connect wallet to aepp between iframes ([3f74a05](https://github.com/aeternity/aepp-sdk-js/commit/3f74a05350aac261d9637cf61b5dd519b29b6723))
|
|
423
|
-
|
|
424
|
-
## [7.5.0](https://github.com/aeternity/aepp-sdk-js/compare/7.4.2...7.5.0) (2020-06-18)
|
|
425
|
-
|
|
426
|
-
### Features
|
|
427
|
-
|
|
428
|
-
* **Account:** Build signature from transaction hash ([#1025](https://github.com/aeternity/aepp-sdk-js/issues/1025)) ([2cb8cc2](https://github.com/aeternity/aepp-sdk-js/commit/2cb8cc2))
|
|
429
|
-
* **ACI:** External contract integration ([#1027](https://github.com/aeternity/aepp-sdk-js/issues/1027)) ([a14d13a](https://github.com/aeternity/aepp-sdk-js/commit/a14d13a))
|
|
430
|
-
|
|
431
|
-
### Refactor
|
|
432
|
-
|
|
433
|
-
* **Deps:** Clean up repository ([#1029](https://github.com/aeternity/aepp-sdk-js/pull/1029))
|
|
434
|
-
* **Env:** Simplify Travis and docker-compose ([#1031](https://github.com/aeternity/aepp-sdk-js/pull/1031))
|
|
435
|
-
* **Env:** Remove unused packages ([#1032](https://github.com/aeternity/aepp-sdk-js/pull/1032))
|
|
436
|
-
|
|
437
|
-
## [7.4.2](https://github.com/aeternity/aepp-sdk-js/compare/7.2.1...7.4.2) (2020-06-10)
|
|
438
|
-
|
|
439
|
-
### Bug Fixes
|
|
440
|
-
|
|
441
|
-
* **AEX-2:** Handler always as Promise ([#1018](https://github.com/aeternity/aepp-sdk-js/issues/1018)) ([a8b0aab](https://github.com/aeternity/aepp-sdk-js/commit/a8b0aab))
|
|
442
|
-
|
|
443
|
-
### Refactor
|
|
444
|
-
|
|
445
|
-
* **AEX-2:** Add debug option for `getHandler`. Hide unknown message logs ([#1021](https://github.com/aeternity/aepp-sdk-js/issues/1021)) ([22c452c](https://github.com/aeternity/aepp-sdk-js/commit/22c452c))
|
|
446
|
-
* **Contract** Add AENS name resolver for Contract API
|
|
447
|
-
|
|
448
|
-
## [7.4.1](https://github.com/aeternity/aepp-sdk-js/compare/7.4.0...7.4.1) (2020-05-30)
|
|
449
|
-
|
|
450
|
-
### Bug Fixes
|
|
451
|
-
|
|
452
|
-
* **AEX-2:** Fix `isExtensionContext ` check ([#1011](https://github.com/aeternity/aepp-sdk-js/issues/1011)) ([814f99b](https://github.com/aeternity/aepp-sdk-js/commit/814f99b))
|
|
453
|
-
|
|
454
|
-
## [7.4.0](https://github.com/aeternity/aepp-sdk-js/compare/7.3.1...7.4.0) (2020-05-29)
|
|
455
|
-
|
|
456
|
-
### Bug Fixes
|
|
457
|
-
|
|
458
|
-
* **AEX-2:** Fix `getBrowserAPI` helper for cross-browser compatibility ([#1007](https://github.com/aeternity/aepp-sdk-js/issues/1007)) ([98b0e29](https://github.com/aeternity/aepp-sdk-js/commit/98b0e29))
|
|
459
|
-
|
|
460
|
-
### Features
|
|
461
|
-
|
|
462
|
-
* **ACI:** Event decoding ([#1006](https://github.com/aeternity/aepp-sdk-js/issues/1006)) ([6b8e6fe](https://github.com/aeternity/aepp-sdk-js/commit/6b8e6fe))
|
|
463
|
-
|
|
464
|
-
## [7.3.1](https://github.com/aeternity/aepp-sdk-js/compare/7.2.1...7.3.1) (2020-05-25)
|
|
465
|
-
|
|
466
|
-
### Improvements
|
|
467
|
-
|
|
468
|
-
* **AEX_2:** Handle network switch and update state on both sides. Adjust networkId check for signing request. Add node switcher for example apps ([#996](https://github.com/aeternity/aepp-sdk-js/pull/996))
|
|
469
|
-
|
|
470
|
-
## [7.3.0](https://github.com/aeternity/aepp-sdk-js/compare/7.2.1...7.3.0) (2020-05-20)
|
|
471
|
-
|
|
472
|
-
### Bug Fixes
|
|
473
|
-
|
|
474
|
-
* **example:** Regenerate lock ([#960](https://github.com/aeternity/aepp-sdk-js/issues/960)) ([5b6a30e](https://github.com/aeternity/aepp-sdk-js/commit/5b6a30e))
|
|
475
|
-
|
|
476
|
-
### Features
|
|
477
|
-
|
|
478
|
-
* **ACI:** expose events decoding through Contract ACI stamp ([#971](https://github.com/aeternity/aepp-sdk-js/issues/971)) ([4930635](https://github.com/aeternity/aepp-sdk-js/commit/4930635))
|
|
479
|
-
* **AEX_2:** Allow to connect without node ([#991](https://github.com/aeternity/aepp-sdk-js/issues/991)) ([87b9ef9](https://github.com/aeternity/aepp-sdk-js/commit/87b9ef9))
|
|
480
|
-
* **AEX_2:** Connect to extension from iframe ([#992](https://github.com/aeternity/aepp-sdk-js/issues/992)) ([47179f7](https://github.com/aeternity/aepp-sdk-js/commit/47179f7))
|
|
481
|
-
* **Build:** Expose `ACIHelpers` and `ACITransformation` to bundle ([#970](https://github.com/aeternity/aepp-sdk-js/issues/970)) ([8b475e0](https://github.com/aeternity/aepp-sdk-js/commit/8b475e0))
|
|
482
|
-
* **Chain:** Add option `allowUnsynced` for `poll` method which allow to depend on `get tx/info` API ([9c80ce0](https://github.com/aeternity/aepp-sdk-js/commit/9c80ce0))
|
|
483
|
-
* **Channel:** add timeout message handler ([#983](https://github.com/aeternity/aepp-sdk-js/issues/983)) ([1940a15](https://github.com/aeternity/aepp-sdk-js/commit/1940a15))
|
|
484
|
-
* **Channel:** Channel force progress ([#964](https://github.com/aeternity/aepp-sdk-js/issues/964)) ([8f15bef](https://github.com/aeternity/aepp-sdk-js/commit/8f15bef))
|
|
485
|
-
* **Contract:** Add unpacked transaction to contract call with error ([#981](https://github.com/aeternity/aepp-sdk-js/issues/981)) ([4efd341](https://github.com/aeternity/aepp-sdk-js/commit/4efd341))
|
|
486
|
-
* **Node:** Add `debug` option to Channel stamp ([#967](https://github.com/aeternity/aepp-sdk-js/issues/967)) ([68fcba5](https://github.com/aeternity/aepp-sdk-js/commit/68fcba5))
|
|
487
|
-
|
|
488
|
-
## [7.2.1](https://github.com/aeternity/aepp-sdk-js/compare/7.2.0...7.2.1) (2020-03-25)
|
|
489
|
-
|
|
490
|
-
### Fix
|
|
491
|
-
|
|
492
|
-
* **build** Remove resolving of `minimist` using `npx`
|
|
493
|
-
|
|
494
|
-
## [7.2.0](https://github.com/aeternity/aepp-sdk-js/compare/7.1.1...7.2.0) (2020-03-24)
|
|
495
|
-
|
|
496
|
-
### Docs
|
|
497
|
-
|
|
498
|
-
* **Guide:** Adjust guide for RPC Wallet/Aepp usage
|
|
499
|
-
|
|
500
|
-
### Code Refactoring
|
|
501
|
-
|
|
502
|
-
* **RPC:** Refactor rpc-related stuff ([#921](https://github.com/aeternity/aepp-sdk-js/pull/921))
|
|
503
|
-
* **Build:** Include amountFormatter and SCHEMA in bundle([#936](https://github.com/aeternity/aepp-sdk-js/pull/936))
|
|
504
|
-
* **Examples** Update examples apps
|
|
505
|
-
|
|
506
|
-
### Features
|
|
507
|
-
|
|
508
|
-
* **TX:** Introduce new stamp `TxObject`([#933](https://github.com/aeternity/aepp-sdk-js/pull/933))
|
|
509
|
-
This stamp give more flexibility on transaction serialization/deserialization process
|
|
510
|
-
* **Keystore:** Allow to store secret as hex or buffer ([#939](https://github.com/aeternity/aepp-sdk-js/pull/939))
|
|
511
|
-
* **AEX-2:** Add permission layer for account management ([#937](https://github.com/aeternity/aepp-sdk-js/pull/937))
|
|
512
|
-
|
|
513
|
-
## [7.1.1](https://github.com/aeternity/aepp-sdk-js/compare/7.1.0...7.1.1) (2020-02-27)
|
|
514
|
-
|
|
515
|
-
### Bug Fixes
|
|
516
|
-
|
|
517
|
-
* **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))
|
|
518
|
-
* **AEX-2:** Broken wallet detection ([#926](https://github.com/aeternity/aepp-sdk-js/pull/926))
|
|
519
|
-
|
|
520
|
-
## [7.1.0](https://github.com/aeternity/aepp-sdk-js/compare/7.0.0...7.1.0) (2020-02-25)
|
|
521
|
-
|
|
522
|
-
### Refactor
|
|
523
|
-
|
|
524
|
-
* **AEX:** Simplify message id processing ([#916](https://github.com/aeternity/aepp-sdk-js/pull/916)). Pass AEEP `origin` to Wallet callback ([#918](https://github.com/aeternity/aepp-sdk-js/pull/918))
|
|
525
|
-
* **Node:** Move `getNetworkId` to helpers ([#910](https://github.com/aeternity/aepp-sdk-js/pull/910))
|
|
526
|
-
* **ACI:** Minor ACI validation improvement.
|
|
527
|
-
Move decoding of events to builder. Add ability to decode events without ACI
|
|
528
|
-
|
|
529
|
-
### Features
|
|
530
|
-
|
|
531
|
-
* **ACI:** Implement Contract Events for ACI([Contract Event Guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/contract-events.md))
|
|
532
|
-
* **Contract:** Helpers for Oracle and AENS signature delegation([Signature delegation guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/delegate-signature-to-contract.md))
|
|
533
|
-
* **AmountFormatter:** Rework amount formatter. Change formatter units naming. Add more units ([#909](https://github.com/aeternity/aepp-sdk-js/issues/909)) ([6970efe](https://github.com/aeternity/aepp-sdk-js/commit/6970efe))
|
|
534
|
-
* **TxBuilder:** Integrate amount formatter to transaction builder ([#897](https://github.com/aeternity/aepp-sdk-js/pull/897))
|
|
535
|
-
* **Account:** Implement Message Signing (`singMessage`, `verifyMessage`) ([#903](https://github.com/aeternity/aepp-sdk-js/pull/903))
|
|
536
|
-
* **AEX-2:** Add `removeRpcClient` method to RpcClient/RpcWallet stamp's([#912](https://github.com/aeternity/aepp-sdk-js/pull/912))
|
|
537
|
-
|
|
538
|
-
## [7.0.0](https://github.com/aeternity/aepp-sdk-js/compare/7.0.0-next.3...7.0.0) (2020-01-31)
|
|
539
|
-
|
|
540
|
-
### Bug Fixes
|
|
541
|
-
|
|
542
|
-
* **AEX-2:** Fix firefox compatibility issue ([#882](https://github.com/aeternity/aepp-sdk-js/issues/882)) ([2e16e10](https://github.com/aeternity/aepp-sdk-js/commit/2e16e10))
|
|
543
|
-
|
|
544
|
-
### Features
|
|
545
|
-
|
|
546
|
-
* **Chain:** add new method `waitFOrTxConfirm`. Add new option { confirm: 3 } to all of high lvl SDK API. Add tests. Adjust docs ([#874](https://github.com/aeternity/aepp-sdk-js/issues/874)) ([43528f9](https://github.com/aeternity/aepp-sdk-js/commit/43528f9))
|
|
547
|
-
* **Compiler:** Add new compiler methods API ([#875](https://github.com/aeternity/aepp-sdk-js/issues/875)) ([a939395](https://github.com/aeternity/aepp-sdk-js/commit/a939395))
|
|
548
|
-
* **network:** Throw error when can not get networkId ([#863](https://github.com/aeternity/aepp-sdk-js/issues/863)) ([41b7bd1](https://github.com/aeternity/aepp-sdk-js/commit/41b7bd1))
|
|
549
|
-
|
|
550
|
-
### Docs
|
|
551
|
-
|
|
552
|
-
* **Guide** [Add 7.0.0 migration guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/migration/7.0.0.md)
|
|
553
|
-
* **Guide:** Add [Oracle](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/oracle-usage.md), [AENS](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/aens-usage.md) and [Contract](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/contract-aci-usage.md) guides
|
|
554
|
-
|
|
555
|
-
### BREAKING CHANGES
|
|
556
|
-
|
|
557
|
-
Please check out [7.0.0 migration guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/migration/7.0.0.md)
|
|
558
|
-
|
|
559
|
-
This release include all changes from [7.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/releases/tag/7.0.0-next.1), [7.0.0-next.2](https://github.com/aeternity/aepp-sdk-js/releases/tag/7.0.0-next.2), [7.0.0-next.3](https://github.com/aeternity/aepp-sdk-js/releases/tag/7.0.0-next.3)
|
|
560
|
-
|
|
561
|
-
## [7.0.0-next.3](https://github.com/aeternity/aepp-sdk-js/compare/7.0.0-next.2...7.0.0-next.3) (2020-01-22)
|
|
562
|
-
|
|
563
|
-
### Features
|
|
564
|
-
|
|
565
|
-
* **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)
|
|
566
|
-
> `aensUpdate` now accept array of pointers
|
|
567
|
-
> `aensUpdate` have new option `extendPointers=false` which retrieve pointers from the node and merge with provided
|
|
568
|
-
* **Build:** update node to `5.4.0` and compiler to `4.2.0`
|
|
569
|
-
* **Guide** Add guide for `AENS` usage
|
|
570
|
-
|
|
571
|
-
### BREAKING CHANGES
|
|
572
|
-
|
|
573
|
-
* **AENS:** Change AENS methods arguments
|
|
574
|
-
> Now all of AENS module methods accept `name` as a first argument instead of `nameId`
|
|
575
|
-
|
|
576
|
-
## [7.0.0-next.2](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.0.0-next.2) (2020-01-10)
|
|
577
|
-
|
|
578
|
-
### Bug Fixes
|
|
579
|
-
|
|
580
|
-
* **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))
|
|
581
|
-
* **AEX-2:** Fix `getBrowserAPI` function for firefox ([#853](https://github.com/aeternity/aepp-sdk-js/pull/853))
|
|
582
|
-
|
|
583
|
-
### Features
|
|
584
|
-
|
|
585
|
-
* **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))
|
|
586
|
-
* **Test:** Increase code coverage ([#830](https://github.com/aeternity/aepp-sdk-js/issues/830)) ([6f760fb](https://github.com/aeternity/aepp-sdk-js/commit/6f760fb))
|
|
587
|
-
* **Chain:** Extend transaction verification error ([#849](https://github.com/aeternity/aepp-sdk-js/pull/849))
|
|
588
|
-
* **Aepp<->Wallet:** Add tests for Aepp<->Wallet communication ([#834](https://github.com/aeternity/aepp-sdk-js/pull/834))
|
|
589
|
-
|
|
590
|
-
### Documentation
|
|
591
|
-
|
|
592
|
-
* **Guide:** Add guide for Contract ACI usage ([#852](https://github.com/aeternity/aepp-sdk-js/pull/852))
|
|
593
|
-
|
|
594
|
-
## [7.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/compare/6.1.3...7.0.0-next.1) (2019-12-18)
|
|
595
|
-
|
|
596
|
-
### Bug Fixes
|
|
597
|
-
|
|
598
|
-
* **Contract/Chain:** Using { waitMined: false } with Contract high lvl API ([#828](https://github.com/aeternity/aepp-sdk-js/issues/828)) ([475c2aa](https://github.com/aeternity/aepp-sdk-js/commit/475c2aa))
|
|
599
|
-
* **HdWallet:** Fix derive function ([#801](https://github.com/aeternity/aepp-sdk-js/issues/801)) ([6c6177d](https://github.com/aeternity/aepp-sdk-js/commit/6c6177d))
|
|
600
|
-
* **Compiler:** Filter compiler options
|
|
601
|
-
|
|
602
|
-
### Code Refactoring
|
|
603
|
-
|
|
604
|
-
* **Cross-Node:** Remove cross-node compatibility code ([#829](https://github.com/aeternity/aepp-sdk-js/issues/829)) ([b29a162](https://github.com/aeternity/aepp-sdk-js/commit/b29a162))
|
|
605
|
-
* **Chain:** Handle time until tx is not added to mempool ([#816](https://github.com/aeternity/aepp-sdk-js/pull/816))
|
|
606
|
-
* **Git:** Update issue template([#806](https://github.com/aeternity/aepp-sdk-js/pull/806))
|
|
607
|
-
* **Flavors:** Remove deprecated code ([#697](https://github.com/aeternity/aepp-sdk-js/pull/697))
|
|
608
|
-
* **Test:** Increase code covarage ([#830](https://github.com/aeternity/aepp-sdk-js/issues/830)) ([6f760fb](https://github.com/aeternity/aepp-sdk-js/commit/6f760fb))
|
|
609
|
-
|
|
610
|
-
### Features
|
|
611
|
-
|
|
612
|
-
* **Wallet<->AEPP:** Add new Wallet<->Aepp communication API
|
|
613
|
-
>Add two new stamps `RpcWallet` and `RpcAepp`
|
|
614
|
-
>Example of usage you can find heere: [Aepp example](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/how-to-build-aepp-using-new-wallet-api.md) and [Wallet example](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/how-to-build-an-wallet-app-or-extension.md)
|
|
615
|
-
|
|
616
|
-
* **Wallet:** Use `postMessage` for communication with extension wall… ([#815](https://github.com/aeternity/aepp-sdk-js/issues/815)) ([dc7b4c2](https://github.com/aeternity/aepp-sdk-js/commit/dc7b4c2))
|
|
617
|
-
* **CI:** Move to Travis CI ([#809](https://github.com/aeternity/aepp-sdk-js/issues/809)) ([2d77f20](https://github.com/aeternity/aepp-sdk-js/commit/2d77f20))
|
|
618
|
-
* **CI:** enable daily builds on latest node and compiler and enable codecov ([#820](https://github.com/aeternity/aepp-sdk-js/issues/820)) ([3c52a1e](https://github.com/aeternity/aepp-sdk-js/commit/3c52a1e))
|
|
619
|
-
* **ACI:** Add check for contract address validity and existence. Add `forceCodeCheck` option for bytecode verification skip ([#788](https://github.com/aeternity/aepp-sdk-js/issues/788)) ([c0cccc9](https://github.com/aeternity/aepp-sdk-js/commit/c0cccc9))
|
|
620
|
-
* **Contract:** Add ability to pass arguments or callData for contract `deploy/call/callStatic` API ([#768](https://github.com/aeternity/aepp-sdk-js/issues/768)) ([a828076](https://github.com/aeternity/aepp-sdk-js/commit/a828076))
|
|
621
|
-
* **Contract:** Adjust `fee` calculation for `contractCall` tx using `FATE` backend ([#793](https://github.com/aeternity/aepp-sdk-js/issues/793)) ([7254ac1](https://github.com/aeternity/aepp-sdk-js/commit/7254ac1))
|
|
622
|
-
* **Compiler:** Add new API `validateByteCodeAPI` available on compiler >= 4.1.0 ([#788](https://github.com/aeternity/aepp-sdk-js/issues/788)) ([c0cccc9](https://github.com/aeternity/aepp-sdk-js/commit/c0cccc9))
|
|
623
|
-
* **Tx:** Always verify transaction before send it to the node ([#798](https://github.com/aeternity/aepp-sdk-js/issues/798)) ([170f479](https://github.com/aeternity/aepp-sdk-js/commit/170f479))
|
|
624
|
-
|
|
625
|
-
### BREAKING CHANGES
|
|
626
|
-
|
|
627
|
-
* **Tx:** By default `sdk` make a transaction `verification`
|
|
628
|
-
* **Node:** Change node compatibility range to `node >= 5.0.0 && node < 6.0.0`
|
|
629
|
-
* **Compiler:** Drop compiler version to `version >= 4.0.0 && version < 5.0.0`
|
|
630
|
-
* **ACI:** Add additional method to RPC communication. Required sdk update on wallet side
|
|
631
|
-
Add `getContractByteCode` API
|
|
632
|
-
* **Flavor:** Remove deprecated params:
|
|
633
|
-
- remove `url` and `internalUrl` instead use `nodes: [ { name: 'NODE_NAME', instance: await Node({ url, internalUrl }) } ]`
|
|
634
|
-
- remove `keypair` params instead use `accounts: [MemmoryAccount({ keypair })]`
|
|
635
|
-
- remove `setKeypair` function from `Account` stamps
|
|
636
|
-
|
|
637
|
-
## [6.1.3](https://github.com/aeternity/aepp-sdk-js/compare/6.1.2...6.1.3) (2019-12-11)
|
|
638
|
-
|
|
639
|
-
### Bug Fixes
|
|
640
|
-
|
|
641
|
-
* **Channel:** 5.2.0 compatibility ([4be8eb8](https://github.com/aeternity/aepp-sdk-js/commit/4be8eb8))
|
|
642
|
-
|
|
643
|
-
## [6.1.2](https://github.com/aeternity/aepp-sdk-js/compare/6.1.1...6.1.2) (2019-11-12)
|
|
644
|
-
|
|
645
|
-
### Bug Fixes
|
|
646
|
-
|
|
647
|
-
* **Composition:** Chain composition ([9ac705f](https://github.com/aeternity/aepp-sdk-js/commit/9ac705f))
|
|
648
|
-
|
|
649
|
-
## [6.1.1](https://github.com/aeternity/aepp-sdk-js/compare/6.1.0...6.1.1) (2019-11-12)
|
|
650
|
-
|
|
651
|
-
### Bug Fixes
|
|
652
|
-
|
|
653
|
-
* **ACI:** Disable bytecode check for source and code on-chain. This changes will be included in next major release ([#783](https://github.com/aeternity/aepp-sdk-js/issues/783)) ([fe6021b](https://github.com/aeternity/aepp-sdk-js/commit/fe6021b))
|
|
654
|
-
|
|
655
|
-
### Features
|
|
656
|
-
|
|
657
|
-
* **KeyStore:** Remove `argon2` package, use `libsodium` for both browser and node ([#782](https://github.com/aeternity/aepp-sdk-js/issues/782)) ([c18047e](https://github.com/aeternity/aepp-sdk-js/commit/c18047e))
|
|
658
|
-
|
|
659
|
-
## [6.1.0](https://github.com/aeternity/aepp-sdk-js/compare/6.0.2...6.1.0) (2019-11-11)
|
|
660
|
-
|
|
661
|
-
### Bug Fixes
|
|
662
|
-
|
|
663
|
-
* **AENS:** auction end block calculation ([#746](https://github.com/aeternity/aepp-sdk-js/issues/746)) ([4c1f5e4](https://github.com/aeternity/aepp-sdk-js/commit/4c1f5e4))
|
|
664
|
-
* **AENS:** Fix `produceNameId` function(Make name lowercase). Enable … ([#750](https://github.com/aeternity/aepp-sdk-js/issues/750)) ([fd14225](https://github.com/aeternity/aepp-sdk-js/commit/fd14225))
|
|
665
|
-
* **state channels:** wait for connection to be established before sending generic message ([#723](https://github.com/aeternity/aepp-sdk-js/issues/723)) ([c5f35d1](https://github.com/aeternity/aepp-sdk-js/commit/c5f35d1))
|
|
666
|
-
* **TxHelpers:** Use BigNumber in auction end block calculation ([777c012](https://github.com/aeternity/aepp-sdk-js/commit/777c012))
|
|
667
|
-
|
|
668
|
-
### Features
|
|
669
|
-
|
|
670
|
-
* **ACI:** Add validation for contractAddress ([#764](https://github.com/aeternity/aepp-sdk-js/issues/764)) ([07cb0e7](https://github.com/aeternity/aepp-sdk-js/commit/07cb0e7))
|
|
671
|
-
* **AENS:** Add nameFee validation to TxValidator ([#765](https://github.com/aeternity/aepp-sdk-js/issues/765)) ([5250e75](https://github.com/aeternity/aepp-sdk-js/commit/5250e75))
|
|
672
|
-
* **AENS:** Increase default nameTtl ([#775](https://github.com/aeternity/aepp-sdk-js/issues/775)) ([c5f2582](https://github.com/aeternity/aepp-sdk-js/commit/c5f2582))
|
|
673
|
-
* **Contract:** Add ability to pass arguments or callData for contract `deploy/call/callStatic` API ([#768](https://github.com/aeternity/aepp-sdk-js/issues/768)) ([12aaca3](https://github.com/aeternity/aepp-sdk-js/commit/12aaca3))
|
|
674
|
-
* **Http:** Assign error object to http error ([#770](https://github.com/aeternity/aepp-sdk-js/issues/770)) ([87062ea](https://github.com/aeternity/aepp-sdk-js/commit/87062ea))
|
|
675
|
-
* **state channels:** add round method ([#763](https://github.com/aeternity/aepp-sdk-js/issues/763)) ([c950937](https://github.com/aeternity/aepp-sdk-js/commit/c950937))
|
|
676
|
-
* **state channels:** allow off chain updates to be cancelled with custom error code ([#753](https://github.com/aeternity/aepp-sdk-js/issues/753)) ([ae4426e](https://github.com/aeternity/aepp-sdk-js/commit/ae4426e))
|
|
677
|
-
* **state channels:** allow to pass metadata to transfer update ([#755](https://github.com/aeternity/aepp-sdk-js/issues/755)) ([ddc6611](https://github.com/aeternity/aepp-sdk-js/commit/ddc6611))
|
|
678
|
-
* **state channels:** make state channels compatible with node v5.0.0… ([#688](https://github.com/aeternity/aepp-sdk-js/issues/688)) ([deed7fc](https://github.com/aeternity/aepp-sdk-js/commit/deed7fc)), closes [#632](https://github.com/aeternity/aepp-sdk-js/issues/632) [#653](https://github.com/aeternity/aepp-sdk-js/issues/653) [#658](https://github.com/aeternity/aepp-sdk-js/issues/658) [#660](https://github.com/aeternity/aepp-sdk-js/issues/660) [#680](https://github.com/aeternity/aepp-sdk-js/issues/680) [#693](https://github.com/aeternity/aepp-sdk-js/issues/693) [#687](https://github.com/aeternity/aepp-sdk-js/issues/687)
|
|
679
|
-
* **state channels:** make state channels compatible with node v5.1.0… ([#776](https://github.com/aeternity/aepp-sdk-js/issues/776)) ([74952aa](https://github.com/aeternity/aepp-sdk-js/commit/74952aa))
|
|
680
|
-
|
|
681
|
-
## [6.0.2](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...6.0.2) (2019-10-31)
|
|
682
|
-
|
|
683
|
-
### Bug Fixes
|
|
684
|
-
|
|
685
|
-
* **name claim:** Revert ignoring waitMined from user passed options (#727)
|
|
686
|
-
|
|
687
|
-
## [6.0.1](https://github.com/aeternity/aepp-sdk-js/compare/6.0.0...6.0.1) (2019-10-29)
|
|
688
|
-
|
|
689
|
-
### Bug Fixes
|
|
690
|
-
|
|
691
|
-
* **aens:** added lower case transformation for aens names ([#730](https://github.com/aeternity/aepp-sdk-js/issues/730)) ([f7f9f17](https://github.com/aeternity/aepp-sdk-js/commit/f7f9f17246c727566ce3c8159d30b7de19b027c9)), closes [#728](https://github.com/aeternity/aepp-sdk-js/issues/728)
|
|
692
|
-
|
|
693
|
-
## [6.0.0](https://github.com/aeternity/aepp-sdk-js/compare/4.7.0...6.0.0) (2019-10-16)
|
|
694
|
-
|
|
695
|
-
### Code Refactoring
|
|
696
|
-
|
|
697
|
-
* **SPEND:** Add additional validation for recipient ([#715](https://github.com/aeternity/aepp-sdk-js/issues/715)) ([c1854bf](https://github.com/aeternity/aepp-sdk-js/commit/c1854bf))
|
|
698
|
-
|
|
699
|
-
### Features
|
|
700
|
-
|
|
701
|
-
* **State Channels:** make state channels compatible with node v5.0.0… ([#688](https://github.com/aeternity/aepp-sdk-js/issues/688)) ([23936f5](https://github.com/aeternity/aepp-sdk-js/commit/23936f5)), closes [#632](https://github.com/aeternity/aepp-sdk-js/issues/632) [#653](https://github.com/aeternity/aepp-sdk-js/issues/653) [#658](https://github.com/aeternity/aepp-sdk-js/issues/658) [#660](https://github.com/aeternity/aepp-sdk-js/issues/660) [#680](https://github.com/aeternity/aepp-sdk-js/issues/680) [#693](https://github.com/aeternity/aepp-sdk-js/issues/693) [#687](https://github.com/aeternity/aepp-sdk-js/issues/687)
|
|
702
|
-
* **AENS:** Change tld for Lima from `aet` to `chain` ([#714](https://github.com/aeternity/aepp-sdk-js/issues/714)) ([323ef6a](https://github.com/aeternity/aepp-sdk-js/commit/323ef6a))
|
|
703
|
-
* **AENS:** Implement name `bid` function ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706)))
|
|
704
|
-
* **AENS:** auction name fee calculation. Name fee validation and calculation in `claim/bid` ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706))
|
|
705
|
-
* **AENS:** Add `nameId` computation function (#709) ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706))
|
|
706
|
-
|
|
707
|
-
### BREAKING CHANGES
|
|
708
|
-
|
|
709
|
-
* **AENS:** Change `tld` for Lima from `.aet` to `.chain`
|
|
710
|
-
|
|
711
|
-
## [5.0.0](https://github.com/aeternity/aepp-sdk-js/compare/4.7.0...5.0.0) (2019-10-04)
|
|
712
|
-
|
|
713
|
-
### Bug Fixes
|
|
714
|
-
|
|
715
|
-
* **rpc:** fix resolution rpc ops ([#669](https://github.com/aeternity/aepp-sdk-js/issues/669)) ([abd7c56](https://github.com/aeternity/aepp-sdk-js/commit/abd7c56))
|
|
716
|
-
|
|
717
|
-
### Code Refactoring
|
|
718
|
-
|
|
719
|
-
* **ACI:** rework Sophia Option type representation ([#691](https://github.com/aeternity/aepp-sdk-js/issues/691)) ([0dbb2fe](https://github.com/aeternity/aepp-sdk-js/commit/0dbb2fe))
|
|
720
|
-
|
|
721
|
-
### Features
|
|
722
|
-
|
|
723
|
-
* **AENS:** Add ability to spend by name ([#682](https://github.com/aeternity/aepp-sdk-js/issues/682)) ([0d43804](https://github.com/aeternity/aepp-sdk-js/commit/0d43804))
|
|
724
|
-
* **AENS:** Add ability to claim contract, oracle, SC ([#671](https://github.com/aeternity/aepp-sdk-js/issues/671)) ([49fd0fd](https://github.com/aeternity/aepp-sdk-js/commit/49fd0fd))
|
|
725
|
-
* **GA:** enbale GA ([#692](https://github.com/aeternity/aepp-sdk-js/issues/692)) ([eded912](https://github.com/aeternity/aepp-sdk-js/commit/eded912))
|
|
726
|
-
* **Lima:** Lima compatibility ([#683](https://github.com/aeternity/aepp-sdk-js/issues/683)) ([a88042e](https://github.com/aeternity/aepp-sdk-js/commit/a88042e)), closes [#632](https://github.com/aeternity/aepp-sdk-js/issues/632) [#653](https://github.com/aeternity/aepp-sdk-js/issues/653) [#658](https://github.com/aeternity/aepp-sdk-js/issues/658) [#660](https://github.com/aeternity/aepp-sdk-js/issues/660) [#680](https://github.com/aeternity/aepp-sdk-js/issues/680) [#693](https://github.com/aeternity/aepp-sdk-js/issues/693) [#687](https://github.com/aeternity/aepp-sdk-js/issues/687)
|
|
727
|
-
- AENS auction support
|
|
728
|
-
- compiler 4.0.0 support
|
|
729
|
-
- node 5.0.0 support
|
|
730
|
-
- SDK use `FATE` for contract by default
|
|
731
|
-
* **AE**: Add pointers verification for spend by name
|
|
732
|
-
|
|
733
|
-
### BREAKING CHANGES
|
|
734
|
-
|
|
735
|
-
* **aci:** Change Sophia option type representation in ACI
|
|
736
|
-
```js
|
|
737
|
-
// from
|
|
738
|
-
await contract.methods.optionFn(Promise.resolve(1) || Promise.reject())
|
|
739
|
-
// to
|
|
740
|
-
await contract.methods.optionFn(1 || undefined)
|
|
741
|
-
```
|
|
742
|
-
|
|
743
|
-
## [5.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/compare/4.6.0...4.7.0-next.1) (2019-09-10)
|
|
744
|
-
|
|
745
|
-
### Bug Fixes
|
|
746
|
-
|
|
747
|
-
* **package:** update serialize-javascript to version 2.0.0 ([#647](https://github.com/aeternity/aepp-sdk-js/issues/647)) ([1ddb392](https://github.com/aeternity/aepp-sdk-js/commit/1ddb392))
|
|
748
|
-
|
|
749
|
-
### Features
|
|
750
|
-
|
|
751
|
-
* **Contract/ACI** Add `payable` feature
|
|
752
|
-
* **Compiler:** Compiler 4.0.0 compatibility ([#632](https://github.com/aeternity/aepp-sdk-js/issues/632)) ([d5f1632](https://github.com/aeternity/aepp-sdk-js/commit/d5f1632))
|
|
753
|
-
* **Contract/ACI:** Add ability to use contract with external namespaces(`include "someLib"`) ([#653](https://github.com/aeternity/aepp-sdk-js/issues/653)) ([9708b43](https://github.com/aeternity/aepp-sdk-js/commit/9708b43))
|
|
754
|
-
|
|
755
|
-
## [4.7.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.7.0) (2019-09-11)
|
|
756
|
-
|
|
757
|
-
### Features
|
|
758
|
-
|
|
759
|
-
* **Oracle:** Add methods for polling queries [#637](https://github.com/aeternity/aepp-sdk-js/pull/637)
|
|
760
|
-
* **Chain:** Add `getBalance` method ([#655](https://github.com/aeternity/aepp-sdk-js/issues/655)) ([15147af](https://github.com/aeternity/aepp-sdk-js/commit/15147af))
|
|
761
|
-
* **state channels:** add reconnect method ([#662](https://github.com/aeternity/aepp-sdk-js/issues/662)) ([9d8d1e8](https://github.com/aeternity/aepp-sdk-js/commit/9d8d1e8))
|
|
762
|
-
* **state channels:** add backchannel updates test[#664](https://github.com/aeternity/aepp-sdk-js/pull/664)
|
|
763
|
-
|
|
764
|
-
## [4.6.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.6.0) (2019-08-28)
|
|
765
|
-
|
|
766
|
-
### Bug Fixes
|
|
767
|
-
|
|
768
|
-
* **Compiler:** Fix `forceCompatibility` option ([26beba8](https://github.com/aeternity/aepp-sdk-js/commit/26beba8))
|
|
769
|
-
|
|
770
|
-
### Features
|
|
771
|
-
|
|
772
|
-
* **Lima**: add preliminary support for lima
|
|
773
|
-
* **ACI/Contract:** Implement static-call for deploy transaction for ACI methods/Contract low lvl API ([#630](https://github.com/aeternity/aepp-sdk-js/issues/630)) ([5b7eeb4](https://github.com/aeternity/aepp-sdk-js/commit/5b7eeb4))
|
|
774
|
-
|
|
775
|
-
### Notes
|
|
776
|
-
|
|
777
|
-
**GA support has been disabled until further notice due to node compatibility issues**
|
|
778
|
-
**This version support aeternity node up to 5.0.0-rc.1**
|
|
779
|
-
|
|
780
|
-
## [4.5.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.5.1) (2019-08-22)
|
|
781
|
-
|
|
782
|
-
### Refactor
|
|
783
|
-
* **Example** Add node info to AEPP ([#620](https://github.com/aeternity/aepp-sdk-js/pull/620))
|
|
784
|
-
|
|
785
|
-
### Bug Fixes
|
|
786
|
-
|
|
787
|
-
* **GA** Fix GA account composition ([211e409](https://github.com/aeternity/aepp-sdk-js/pull/620/commits/211e409d785a2962d1220677b0b0bcf00196abc1))
|
|
788
|
-
|
|
789
|
-
## [4.5.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.5.0) (2019-08-20)
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
### Bug Fixes
|
|
793
|
-
|
|
794
|
-
* **Crypto:** Fix `keypair` verification ([#605](https://github.com/aeternity/aepp-sdk-js/issues/605)) ([83a52fb](https://github.com/aeternity/aepp-sdk-js/commit/83a52fb))
|
|
795
|
-
* **RPC:** Remove NodePool stamp from AE composition ([#612](https://github.com/aeternity/aepp-sdk-js/issues/612)) ([21af2eb](https://github.com/aeternity/aepp-sdk-js/commit/21af2eb))
|
|
796
|
-
* **state channels:** add missing argument in onOnChainTx callback ([#604](https://github.com/aeternity/aepp-sdk-js/issues/604)) ([165cfe8](https://github.com/aeternity/aepp-sdk-js/commit/165cfe8))
|
|
797
|
-
* **state channels:** fix awaitingOnChainTx state handler ([#608](https://github.com/aeternity/aepp-sdk-js/issues/608)) ([8b7b65a](https://github.com/aeternity/aepp-sdk-js/commit/8b7b65a))
|
|
798
|
-
* **Swagger:** Always throw error from `axios` error handler ([#607](https://github.com/aeternity/aepp-sdk-js/issues/607)) ([0e5cf61](https://github.com/aeternity/aepp-sdk-js/commit/0e5cf61))
|
|
799
|
-
|
|
800
|
-
### Features
|
|
801
|
-
|
|
802
|
-
* **MemoryAccount:** Add validation of keypair ([#594](https://github.com/aeternity/aepp-sdk-js/issues/594)) ([b8c2b20](https://github.com/aeternity/aepp-sdk-js/commit/b8c2b20))
|
|
803
|
-
* **state channels:** handle BigNumbers with json-bigint ([#596](https://github.com/aeternity/aepp-sdk-js/issues/596)) ([14eaa3d](https://github.com/aeternity/aepp-sdk-js/commit/14eaa3d))
|
|
804
|
-
* **state channels:** send generic messages immediately ([#600](https://github.com/aeternity/aepp-sdk-js/issues/600)) ([8ad7583](https://github.com/aeternity/aepp-sdk-js/commit/8ad7583))
|
|
805
|
-
* **Generalize Account** Implement Generalized account support ([#449](https://github.com/aeternity/aepp-sdk-js/pull/449))
|
|
806
|
-
```js
|
|
807
|
-
const authContract = `YOUR_AUTH_CONTRACT`
|
|
808
|
-
|
|
809
|
-
// Make current account Generalized
|
|
810
|
-
await client.createGeneralizeAccount(authFnName, authContract, [...authFnArguments]
|
|
811
|
-
|
|
812
|
-
// Make spend transaction using GA
|
|
813
|
-
// One Way
|
|
814
|
-
// encoded call data for auth contract
|
|
815
|
-
const callData = 'cb_...'
|
|
816
|
-
await client.spend(10000, receiverPub, { authData: { callData } })
|
|
817
|
-
|
|
818
|
-
// or
|
|
819
|
-
// sdk will prepare callData itself
|
|
820
|
-
await client.spend(10000, receiverPub, { authData: { source: authContract, args: [...authContractArgs] } })
|
|
821
|
-
```
|
|
822
|
-
|
|
823
|
-
## [4.4.0](https://github.com/aeternity/aepp-sdk-js/compare/4.3.0...4.4.0) (2019-08-09)
|
|
824
|
-
|
|
825
|
-
### Bug Fixes
|
|
826
|
-
|
|
827
|
-
* **Package:** update commander to version 3.0.0 ([#597](https://github.com/aeternity/aepp-sdk-js/issues/597)) ([9aaa05c](https://github.com/aeternity/aepp-sdk-js/commit/9aaa05c))
|
|
828
|
-
* **Contract:** Fix dry-run without account ([227fc5c](https://github.com/aeternity/aepp-sdk-js/pull/599/commits/227fc5c9d8369e1c3a3fbba2cf62f0495bcf08ae))
|
|
829
|
-
|
|
830
|
-
### Features
|
|
831
|
-
|
|
832
|
-
* **Contract:** add ability to use call-static/dry-run without keyPair ([#577](https://github.com/aeternity/aepp-sdk-js/issues/577)) ([c38edd9](https://github.com/aeternity/aepp-sdk-js/commit/c38edd9))
|
|
833
|
-
* **AE:** Add ability to make operation on specific account using `onAccount` option.
|
|
834
|
-
```
|
|
835
|
-
Exm: await client.spend(1, receiver, { onAccount: 'PUBLIC_KEY' })
|
|
836
|
-
Add `onAccount` to `AENS`, `Contract`, `Oracle`.
|
|
837
|
-
Add tests for using specific account to Contract, ACI, Account.
|
|
838
|
-
```
|
|
839
|
-
* **JSON:**: Add serialization to JSON for bigNumbers
|
|
840
|
-
* **MemoryAccount:** Add validation of `keypair` ([#594](https://github.com/aeternity/aepp-sdk-js/issues/594)) ([b8c2b20](https://github.com/aeternity/aepp-sdk-js/commit/b8c2b20))
|
|
841
|
-
* **State Channels:** persist connection by pinging every 10 seconds ([#571](https://github.com/aeternity/aepp-sdk-js/issues/571)) ([a70f919](https://github.com/aeternity/aepp-sdk-js/commit/a70f919))
|
|
842
|
-
|
|
843
|
-
## [4.3.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.3.0) (2019-08-05)
|
|
844
|
-
|
|
845
|
-
### Bug Fixes
|
|
846
|
-
|
|
847
|
-
* **State Channels:** Fix onChainTx event params ([#566](https://github.com/aeternity/aepp-sdk-js/issues/566)) ([11c85eb](https://github.com/aeternity/aepp-sdk-js/commit/11c85eb))
|
|
848
|
-
* **State Channels:** Fix websocket url ([#558](https://github.com/aeternity/aepp-sdk-js/issues/558)) ([33c1fd8](https://github.com/aeternity/aepp-sdk-js/commit/33c1fd8))
|
|
849
|
-
* **Swagger:** Pass query params in case of get request ([#570](https://github.com/aeternity/aepp-sdk-js/pull/570))
|
|
850
|
-
|
|
851
|
-
### Code Refactoring
|
|
852
|
-
|
|
853
|
-
* **State Channel:** Do not include white space for outgoing websocket messages ([#559](https://github.com/aeternity/aepp-sdk-js/pull/559))
|
|
854
|
-
|
|
855
|
-
### Features
|
|
856
|
-
|
|
857
|
-
* **ACI:** Implement sophia `variant` type ([#567](https://github.com/aeternity/aepp-sdk-js/issues/567)) ([8505dcf](https://github.com/aeternity/aepp-sdk-js/commit/8505dcf))
|
|
858
|
-
* **Contract:** add ability to use call-static/dry-run without keyPair ([#577](https://github.com/aeternity/aepp-sdk-js/issues/577)) ([c38edd9](https://github.com/aeternity/aepp-sdk-js/commit/c38edd9))
|
|
859
|
-
* **NodePool:** Implement NodePool stamp ([#574](https://github.com/aeternity/aepp-sdk-js/issues/574)) ([674166c](https://github.com/aeternity/aepp-sdk-js/commit/674166c))
|
|
860
|
-
* **State Channel:** make state channel compatible with aeternity@4.0.0 ([#568](https://github.com/aeternity/aepp-sdk-js/issues/568)) ([0d0e09b](https://github.com/aeternity/aepp-sdk-js/commit/0d0e09b))
|
|
861
|
-
* **TxBuilder:** Add helper for producing tx hash ([#579](https://github.com/aeternity/aepp-sdk-js/issues/579)) ([e1b405e](https://github.com/aeternity/aepp-sdk-js/commit/e1b405e))
|
|
862
|
-
* **AE** Make all AE stamps composed with Accounts ([#581](https://github.com/aeternity/aepp-sdk-js/pull/581))
|
|
863
|
-
|
|
864
|
-
### Docs
|
|
865
|
-
|
|
866
|
-
* **ACI** Add some additional clarification to `getContractInstance`
|
|
867
|
-
|
|
868
|
-
## [4.2.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.2.0) (2019-07-15)
|
|
869
|
-
|
|
870
|
-
### Bug Fixes
|
|
871
|
-
|
|
872
|
-
* **package:** update libsodium-wrappers-sumo to version 0.7.5 ([#541](https://github.com/aeternity/aepp-sdk-js/issues/541)) ([956ed75](https://github.com/aeternity/aepp-sdk-js/commit/956ed75))
|
|
873
|
-
* **rpc-server:** Fix type 'object' check ([#526](https://github.com/aeternity/aepp-sdk-js/issues/526)) ([48c42e4](https://github.com/aeternity/aepp-sdk-js/commit/48c42e4))
|
|
874
|
-
|
|
875
|
-
### Code Refactoring
|
|
876
|
-
|
|
877
|
-
* **swagger:** Speedup initialisation
|
|
878
|
-
* **AENS:** Remove unused param from claim method
|
|
879
|
-
* **AENS:** Fix exception if not waiting for mining(claim)
|
|
880
|
-
* **Test:** Add test for contract namespaces
|
|
881
|
-
|
|
882
|
-
### Features
|
|
883
|
-
|
|
884
|
-
* **Node:** Add 4.0.0 node compatibility
|
|
885
|
-
* **Compiler:** Add compatibility with compiler 3.2.0
|
|
886
|
-
* **Channel:** Implement GA awareness of State Channels
|
|
887
|
-
|
|
888
|
-
## [4.1.0](https://github.com/aeternity/aepp-sdk-js/compare/4.0.1...4.1.0) (2019-06-22)
|
|
889
|
-
|
|
890
|
-
### Bug Fixes
|
|
891
|
-
|
|
892
|
-
* **Node:** Do not throw error if `internalUrl` not provided. Instead use `url` ([#503](https://github.com/aeternity/aepp-sdk-js/issues/503)) ([053faae](https://github.com/aeternity/aepp-sdk-js/commit/053faae))
|
|
893
|
-
* **TXBuilder:** Fix payload serialization if you try to unpack and pack tx. ([#498](https://github.com/aeternity/aepp-sdk-js/issues/498)) ([73552e5](https://github.com/aeternity/aepp-sdk-js/commit/73552e5))
|
|
894
|
-
* **TxValidator:** Fix validation of state channel open transaction ([#496](https://github.com/aeternity/aepp-sdk-js/issues/496)) ([325cc90](https://github.com/aeternity/aepp-sdk-js/commit/325cc90))
|
|
895
|
-
|
|
896
|
-
### Features
|
|
897
|
-
|
|
898
|
-
* **ACI:** Refactor ACI module. Split to separated files. ([#505](https://github.com/aeternity/aepp-sdk-js/issues/505)) ([fb7bc00](https://github.com/aeternity/aepp-sdk-js/commit/fb7bc00))
|
|
899
|
-
* **Selector:** If default account `address` not provided use the first
|
|
900
|
-
* **ACI:** Handle ACI without init function
|
|
901
|
-
* **ACI:** Automatically decide to send transaction on-chai or call-static.
|
|
902
|
-
Add `options` object like last arguments of generate fn under `instance.methods`
|
|
903
|
-
```
|
|
904
|
-
const instance = await client.getContractInstance(source)
|
|
905
|
-
// Deploy contract
|
|
906
|
-
await.contract.init(100, 'test', options)
|
|
907
|
-
//or
|
|
908
|
-
await.contract.deploy([100, 'test'], options)
|
|
909
|
-
// Call function
|
|
910
|
-
const result = await instance.call('sum', [2, 5], options)
|
|
911
|
-
//
|
|
912
|
-
// Automatically decide to send tx on-chain or call-static(dry-run) base on if function stateful or not
|
|
913
|
-
const result = await instance.methods.sum(2, 5, options)
|
|
914
|
-
// Manually make on-chain
|
|
915
|
-
const result = await instance.methods.sum.send(2, 5, options)
|
|
916
|
-
// Manually make call-static
|
|
917
|
-
const result = await instance.methods.sum.get(2, 5, options)
|
|
918
|
-
//
|
|
919
|
-
```
|
|
920
|
-
|
|
921
|
-
### Docs
|
|
922
|
-
|
|
923
|
-
* **Usage:**: Add instructions about how to include directly the `SDK` in a `html page`
|
|
924
|
-
|
|
925
|
-
## [4.0.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.0.1) (2019-06-13)
|
|
926
|
-
|
|
927
|
-
### Bug Fixes
|
|
928
|
-
|
|
929
|
-
* **RPC:** Add contract contractDecodeCallResultAPI to RPC ([#482](https://github.com/aeternity/aepp-sdk-js/issues/482)) ([7eb6bd8](https://github.com/aeternity/aepp-sdk-js/commit/7eb6bd8))
|
|
930
|
-
* **README:** Fix flavor link ([#480](https://github.com/aeternity/aepp-sdk-js/pull/480))
|
|
931
|
-
|
|
932
|
-
### Code Refactoring
|
|
933
|
-
|
|
934
|
-
* **Compiler:** Fix compiler compatibility mechanism ([#479](https://github.com/aeternity/aepp-sdk-js/issues/479)) ([78cc990](https://github.com/aeternity/aepp-sdk-js/commit/78cc990))
|
|
935
|
-
* **Utils:** Move json-bigint implementation to `utils` ([#486](https://github.com/aeternity/aepp-sdk-js/issues/486)) ([1538867](https://github.com/aeternity/aepp-sdk-js/commit/1538867))
|
|
936
|
-
|
|
937
|
-
### Build
|
|
938
|
-
|
|
939
|
-
* **webpack:** Add another bundle(`dist/aepp-sdk.browser-script.js`) for using in `<script>` tag ([#485](https://github.com/aeternity/aepp-sdk-js/pull/485))
|
|
940
|
-
|
|
941
|
-
## [4.0.0](https://github.com/aeternity/aepp-sdk-js/compare/3.4.1...4.0.0) (2019-06-12)
|
|
942
|
-
|
|
943
|
-
### Bug Fixes
|
|
944
|
-
|
|
945
|
-
* **Ae:** Fix exception when it used without Contract stamp
|
|
946
|
-
|
|
947
|
-
### Code Refactoring
|
|
948
|
-
|
|
949
|
-
* **SCM:** Update compatibility range for node: 3.0.1 - 4 and compiler 3.1.0 - 4 ([#474](https://github.com/aeternity/aepp-sdk-js/issues/474)) ([a1494fd](https://github.com/aeternity/aepp-sdk-js/commit/a1494fd))
|
|
950
|
-
* **Test:** Simplify client creation
|
|
951
|
-
|
|
952
|
-
### Features
|
|
953
|
-
|
|
954
|
-
* **Docs** chore(Docs): new docs ([#370](https://github.com/aeternity/aepp-sdk-js/pull/370))
|
|
955
|
-
* **Compiler:** Add `getCompilerVersion` to compiler stamp
|
|
956
|
-
* **ACI:** Make compatible with compiler 3.1.0 ([#457](https://github.com/aeternity/aepp-sdk-js/issues/457)) ([d92f2c7](https://github.com/aeternity/aepp-sdk-js/commit/d92f2c7)), closes [#458](https://github.com/aeternity/aepp-sdk-js/issues/458)
|
|
957
|
-
* **ACI:** Generate JS function proto for each of contract function ([#439](https://github.com/aeternity/aepp-sdk-js/issues/439)) ([2f47b4d](https://github.com/aeternity/aepp-sdk-js/commit/2f47b4d))
|
|
958
|
-
* **Compiler/ACI:** Make ACI compatible with compiler 3.0.0 ([#441](https://github.com/aeternity/aepp-sdk-js/issues/441)) ([2a8eb1a](https://github.com/aeternity/aepp-sdk-js/commit/2a8eb1a))
|
|
959
|
-
* **Node:** Avoid usage of "universal-url" package ([#434](https://github.com/aeternity/aepp-sdk-js/issues/434)) ([a8268d5](https://github.com/aeternity/aepp-sdk-js/commit/a8268d5))
|
|
960
|
-
* **TX:** encode payload as base64 ([#460](https://github.com/aeternity/aepp-sdk-js/issues/460)) ([ad490af](https://github.com/aeternity/aepp-sdk-js/commit/ad490af))
|
|
961
|
-
* **TX_BUILDER:** Fix bug related to contract fee calculation. ([#472](https://github.com/aeternity/aepp-sdk-js/issues/472)) ([7214cfb](https://github.com/aeternity/aepp-sdk-js/commit/7214cfb))
|
|
962
|
-
|
|
963
|
-
### BREAKING CHANGES
|
|
964
|
-
|
|
965
|
-
* **DOCS** Restructure and rework sdk documentation
|
|
966
|
-
* **SCM:** This change will make the release not compatible with older version of the node and
|
|
967
|
-
compiler
|
|
968
|
-
* **ACI:** Change Contract low lvl API:
|
|
969
|
-
- change `contractDecodeData` interface from:
|
|
970
|
-
- `(type:String, data: String) => Any` to `(source: String, fn: String, callValue: String, callResult:String) => Any`.
|
|
971
|
-
(`callResult` is `callType` from call result, can be `ok`, `revert`, ...)
|
|
972
|
-
|
|
973
|
-
## [3.4.1](https://github.com/aeternity/aepp-sdk-js/compare/3.4.0...3.4.1) (2019-06-05)
|
|
974
|
-
|
|
975
|
-
### Bug Fixes
|
|
976
|
-
|
|
977
|
-
* **Deps:** Update axios lib to 0.19.0 due to security issue ([f951765](https://github.com/aeternity/aepp-sdk-js/commit/f951765))
|
|
978
|
-
|
|
979
|
-
## [3.4.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.4.0) (2019-05-22)
|
|
980
|
-
|
|
981
|
-
### Bug Fixes
|
|
982
|
-
|
|
983
|
-
* **State Channels:** Remove automatic pinging to fix browser compatibility ([#432](https://github.com/aeternity/aepp-sdk-js/issues/432)) ([0700f3a](https://github.com/aeternity/aepp-sdk-js/commit/0700f3a))
|
|
984
|
-
|
|
985
|
-
### Features
|
|
986
|
-
|
|
987
|
-
* **Transaction Builder:** Improve min fee calculation(Reduce the fee) ([#424](https://github.com/aeternity/aepp-sdk-js/pull/424))
|
|
988
|
-
* **AXIOS:** Add ability to intercept error from axios ([#431](https://github.com/aeternity/aepp-sdk-js/pull/431))
|
|
989
|
-
> Added additional param to sdk initialization `axiosConfig`
|
|
990
|
-
|
|
991
|
-
> Example: `Universal({ axiosConfig: { config: { // axios config object }, errorHandler: (err) => throw err }})`
|
|
992
|
-
* **Transaction Builder:** Implement vm/abi validation for contract/oracle tx based on consensus protocol version. Add custom verification based on transaction type ([#425](https://github.com/aeternity/aepp-sdk-js/pull/425)) ([#426](https://github.com/aeternity/aepp-sdk-js/pull/426))
|
|
993
|
-
|
|
994
|
-
## [3.3.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.3.0) (2019-05-17)
|
|
995
|
-
|
|
996
|
-
### Bug Fixes
|
|
997
|
-
|
|
998
|
-
* **AEP exampe:** Fix contract in AEPP example ([e2fec19](https://github.com/aeternity/aepp-sdk-js/commit/e2fec19))
|
|
999
|
-
fix(AEP exampe): Fix contract in AEPP example
|
|
1000
|
-
|
|
1001
|
-
### Features
|
|
1002
|
-
|
|
1003
|
-
* **Consensus:** Add function to get consensus version. ([#413](https://github.com/aeternity/aepp-sdk-js/issues/413)) ([46027cd](https://github.com/aeternity/aepp-sdk-js/commit/46027cd))
|
|
1004
|
-
* **State Channels:** Make state channels compatible with aeternity 3.0.0 ([#415](https://github.com/aeternity/aepp-sdk-js/issues/415)) ([668e7f1](https://github.com/aeternity/aepp-sdk-js/commit/668e7f1))
|
|
1005
|
-
* **Transaction Builder:** Add serializations for transactions introd… ([#416](https://github.com/aeternity/aepp-sdk-js/issues/416)) ([fd7b8ce](https://github.com/aeternity/aepp-sdk-js/commit/fd7b8ce))
|
|
1006
|
-
|
|
1007
|
-
### BREAKING CHANGES
|
|
1008
|
-
|
|
1009
|
-
* **NODE** Change compatibility from `2.3.0` to `3.0.0`
|
|
1010
|
-
|
|
1011
|
-
## [3.2.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.2.1) (2019-05-16)
|
|
1012
|
-
|
|
1013
|
-
### Bug Fixes
|
|
1014
|
-
|
|
1015
|
-
* **Joi:** Add `JOI` browser comparability
|
|
1016
|
-
|
|
1017
|
-
## [3.2.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.2.0) (2019-05-16)
|
|
1018
|
-
|
|
1019
|
-
### Bug Fixes
|
|
1020
|
-
|
|
1021
|
-
* **ACI:** Add ability to pass zero address as number. ([#396](https://github.com/aeternity/aepp-sdk-js/issues/396)) ([b5b5c61](https://github.com/aeternity/aepp-sdk-js/commit/b5b5c61))
|
|
1022
|
-
* **ACI:** Fix address type transformation when decoding data ([#335](https://github.com/aeternity/aepp-sdk-js/issues/335)) ([e37cdfc](https://github.com/aeternity/aepp-sdk-js/commit/e37cdfc))
|
|
1023
|
-
* **Contract:** Add error handling(decoding) in low lvl contract API ([#386](https://github.com/aeternity/aepp-sdk-js/issues/386)) ([e1fdce0](https://github.com/aeternity/aepp-sdk-js/commit/e1fdce0))
|
|
1024
|
-
* **Dependencies:** Use URL class instead of "url" package
|
|
1025
|
-
* **Dependencies:** Use custom version of json-bigint
|
|
1026
|
-
* **Dependencies:** Avoid usage of semver package and cleanup deps
|
|
1027
|
-
* **RPC:** rpc client: Handle case if aepp opened without wallet
|
|
1028
|
-
* **Channels:** Fix state channel test's
|
|
1029
|
-
|
|
1030
|
-
### Features
|
|
1031
|
-
|
|
1032
|
-
* **KEYSTORE:** Add browser compatibility
|
|
1033
|
-
* **TX:** Handle VM/ABI fields serialization and validation basaed on tx type and node version
|
|
1034
|
-
* **ACI:** Add `contract`, `address`, `record` types argument/result transformation ([#349](https://github.com/aeternity/aepp-sdk-js/issues/349)) ([0599d7d](https://github.com/aeternity/aepp-sdk-js/commit/0599d7d))
|
|
1035
|
-
* **WEBPACK:** webpack configs: Mark all dependencies as external
|
|
1036
|
-
* **WEBPACK:** Setup webpack-bundle-analyzer plugin
|
|
1037
|
-
* **ACI:** Add `Option` sophia type to ACI ([#390](https://github.com/aeternity/aepp-sdk-js/issues/390)) ([83f5279](https://github.com/aeternity/aepp-sdk-js/commit/83f5279))
|
|
1038
|
-
* **ACI:** Implement arguments validation for generic sophia types(list, map, tuple, record) ([#384](https://github.com/aeternity/aepp-sdk-js/issues/384)) ([956e59e](https://github.com/aeternity/aepp-sdk-js/commit/956e59e))
|
|
1039
|
-
* **ACI:** Update due to compiler API changes ([#331](https://github.com/aeternity/aepp-sdk-js/issues/331)) ([e047f3b](https://github.com/aeternity/aepp-sdk-js/commit/e047f3b))
|
|
1040
|
-
* **AE:** Allow to spend % of balance. ([#371](https://github.com/aeternity/aepp-sdk-js/issues/371)) ([f97a2ae](https://github.com/aeternity/aepp-sdk-js/commit/f97a2ae)), closes [#336](https://github.com/aeternity/aepp-sdk-js/issues/336)
|
|
1041
|
-
* **Aepp:** Add Compiler to Aepp rpc methods. Update example app ([#312](https://github.com/aeternity/aepp-sdk-js/issues/312)) ([9c72521](https://github.com/aeternity/aepp-sdk-js/commit/9c72521))
|
|
1042
|
-
* **Aepp:** Refactor Aepp example app. Allow to spend with payload and add reverse iframe approach.
|
|
1043
|
-
* **Compiler:** Add decode CallData by source/bytecode ([#354](https://github.com/aeternity/aepp-sdk-js/issues/354)) ([761f36b](https://github.com/aeternity/aepp-sdk-js/commit/761f36b))
|
|
1044
|
-
* **Fortuna:** Node 3.0.0 compatibility ([#397](https://github.com/aeternity/aepp-sdk-js/issues/397)) ([17b78d5](https://github.com/aeternity/aepp-sdk-js/commit/17b78d5))
|
|
1045
|
-
* **RPC:** Add `getNodeInfo` to AEPP stamp through RPC ([#359](https://github.com/aeternity/aepp-sdk-js/issues/359)) ([2ddeea8](https://github.com/aeternity/aepp-sdk-js/commit/2ddeea8))
|
|
1046
|
-
* **State Channels:** Add cleanContractCalls method ([#338](https://github.com/aeternity/aepp-sdk-js/issues/338)) ([778159a](https://github.com/aeternity/aepp-sdk-js/commit/778159a))
|
|
1047
|
-
* **State Channels:** Ping every 10 seconds to persist connection ([#324](https://github.com/aeternity/aepp-sdk-js/issues/324)) ([6d0e156](https://github.com/aeternity/aepp-sdk-js/commit/6d0e156)), closes [#276](https://github.com/aeternity/aepp-sdk-js/issues/276) [#299](https://github.com/aeternity/aepp-sdk-js/issues/299) [#300](https://github.com/aeternity/aepp-sdk-js/issues/300) [#303](https://github.com/aeternity/aepp-sdk-js/issues/303) [#302](https://github.com/aeternity/aepp-sdk-js/issues/302) [#279](https://github.com/aeternity/aepp-sdk-js/issues/279) [#275](https://github.com/aeternity/aepp-sdk-js/issues/275) [#276](https://github.com/aeternity/aepp-sdk-js/issues/276) [#299](https://github.com/aeternity/aepp-sdk-js/issues/299) [#300](https://github.com/aeternity/aepp-sdk-js/issues/300)
|
|
1048
|
-
* **State Channels:** Remove endpoint param ([#391](https://github.com/aeternity/aepp-sdk-js/issues/391)) ([8d9ea7e](https://github.com/aeternity/aepp-sdk-js/commit/8d9ea7e))
|
|
1049
|
-
|
|
1050
|
-
### BREAKING CHANGES
|
|
1051
|
-
|
|
1052
|
-
* **State Channels:** Endpoint param is removed and no longer defaults to "/channel". This means that
|
|
1053
|
-
"/channel" (or other path) must be appendend to url para
|
|
1054
|
-
|
|
1055
|
-
## [3.1.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.1.0) (2019-04-24)
|
|
1056
|
-
|
|
1057
|
-
### Bug Fixes
|
|
1058
|
-
|
|
1059
|
-
* **ACI:** Fix address type transformation when decoding data ([#335](https://github.com/aeternity/aepp-sdk-js/issues/335)) ([e37cdfc](https://github.com/aeternity/aepp-sdk-js/commit/e37cdfc))
|
|
1060
|
-
|
|
1061
|
-
### Features
|
|
1062
|
-
|
|
1063
|
-
* **ACI:** Add `contract`, `address`, `record` types argument/result transformation ([#349](https://github.com/aeternity/aepp-sdk-js/issues/349)) ([0599d7d](https://github.com/aeternity/aepp-sdk-js/commit/0599d7d))
|
|
1064
|
-
* **ACI:** Update due to compiler API changes ([#331](https://github.com/aeternity/aepp-sdk-js/issues/331)) ([e047f3b](https://github.com/aeternity/aepp-sdk-js/commit/e047f3b))
|
|
1065
|
-
* **Aepp:** Add Compiler to Aepp rpc methods. Update example app ([#312](https://github.com/aeternity/aepp-sdk-js/issues/312)) ([9c72521](https://github.com/aeternity/aepp-sdk-js/commit/9c72521))
|
|
1066
|
-
* **Compiler:** Add decode CallData by source/bytecode ([#354](https://github.com/aeternity/aepp-sdk-js/issues/354)) ([761f36b](https://github.com/aeternity/aepp-sdk-js/commit/761f36b))
|
|
1067
|
-
* **RPC:** Add getNodeInfo and getNetworkId to AEPP stamp through RPC ([#359](https://github.com/aeternity/aepp-sdk-js/issues/359)) ([2ddeea8](https://github.com/aeternity/aepp-sdk-js/commit/2ddeea8))
|
|
1068
|
-
* **State Channels:** Add cleanContractCalls method ([#338](https://github.com/aeternity/aepp-sdk-js/issues/338)) ([778159a](https://github.com/aeternity/aepp-sdk-js/commit/778159a))
|
|
1069
|
-
* **State Channels:** Ping every 10 seconds to persist connection ([#324](https://github.com/aeternity/aepp-sdk-js/issues/324)) ([6d0e156](https://github.com/aeternity/aepp-sdk-js/commit/6d0e156))
|
|
1070
|
-
|
|
1071
|
-
## [3.0.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.0.0) (2019-04-17)
|
|
1072
|
-
|
|
1073
|
-
### Bug Fixes
|
|
1074
|
-
|
|
1075
|
-
* **ACI:** Fix address type transformation when decoding data ([#335](https://github.com/aeternity/aepp-sdk-js/issues/335)) ([e37cdfc](https://github.com/aeternity/aepp-sdk-js/commit/e37cdfc))
|
|
1076
|
-
|
|
1077
|
-
### Features
|
|
1078
|
-
|
|
1079
|
-
* **TX_BUILDER:** Channel tx serializations
|
|
1080
|
-
* **TxValidator:** Add minGasPrice validation to contract transactions
|
|
1081
|
-
* **ACI:** Update due to compiler API changes ([#331](https://github.com/aeternity/aepp-sdk-js/issues/331)) ([e047f3b](https://github.com/aeternity/aepp-sdk-js/commit/e047f3b))
|
|
1082
|
-
* **Aepp:** Add Compiler to Aepp rpc methods. Update example app ([#312](https://github.com/aeternity/aepp-sdk-js/issues/312)) ([9c72521](https://github.com/aeternity/aepp-sdk-js/commit/9c72521))
|
|
1083
|
-
* **State Channels:** Add cleanContractCalls method ([#338](https://github.com/aeternity/aepp-sdk-js/issues/338)) ([778159a](https://github.com/aeternity/aepp-sdk-js/commit/778159a))
|
|
1084
|
-
|
|
1085
|
-
### BREAKING CHANGES
|
|
1086
|
-
|
|
1087
|
-
* **ACI** Remove 2.0.0 compiler compatibility
|
|
1088
|
-
|
|
1089
|
-
## [2.4.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...2.4.1) (2019-04-17)
|
|
1090
|
-
|
|
1091
|
-
### Features
|
|
1092
|
-
|
|
1093
|
-
* **ACI:** Add transform decoded data for 'address' type
|
|
1094
|
-
* **AEPP:** Add Compiler to Aepp rpc methods. Update example app
|
|
1095
|
-
* **Channel:** Add call contract static support
|
|
1096
|
-
* **Channel:** Add get contract state support
|
|
1097
|
-
* **Channel:** Get full channel state support
|
|
1098
|
-
* **DOCS:** Adjust ACI, Contract and Usage
|
|
1099
|
-
|
|
1100
|
-
### Bug Fixes
|
|
1101
|
-
|
|
1102
|
-
* **HTTP:** Handle no response in http stamp error handler
|
|
1103
|
-
* **Crypto:** Fix crypto `formatAddress`
|
|
1104
|
-
* **Crypto:** Move ADDRESS_FORMAT to crypto
|
|
1105
|
-
|
|
1106
|
-
### BREAKING CHANGES
|
|
1107
|
-
|
|
1108
|
-
* **Channels:**
|
|
1109
|
-
- `channel.state()` now returns offchain state instead of last co-signed offchain transaction
|
|
1110
|
-
- `channel.update(...).state` has been renamed to `signedTx`
|
|
1111
|
-
- `channel.withdraw(...).state` has been renamed to `signedTx`
|
|
1112
|
-
- `channel.deposit(...).state` has been renamed to `signedTx`
|
|
1113
|
-
- `channel.leave().state` has been renamed to `signedTx`
|
|
1114
|
-
- `channel.createContract(...).state` has been renamed to `signedTx`
|
|
1115
|
-
- `channel.callContract(...).state` has been renamed to `signedTx`
|
|
1116
|
-
|
|
1117
|
-
## [2.4.0](https://github.com/aeternity/aepp-sdk-js/compare/2.3.2...2.4.0) (2019-04-17)
|
|
1118
|
-
|
|
1119
|
-
### Features
|
|
1120
|
-
|
|
1121
|
-
* **Chore:** Install and configure `commitizen`
|
|
1122
|
-
* **Crypto:** Add `formatAddress` function to `Crypto`
|
|
1123
|
-
* **Contract:** Add Contract Compiler API stamp to `es/contract` (now using instead contract node API)
|
|
1124
|
-
* **Utils:** Add basic `http` client stamp (`es/utils/http`)
|
|
1125
|
-
* **Contract:** ACI stamp (New Contract interface base on contract ACI schema)
|
|
1126
|
-
```
|
|
1127
|
-
const contractIns = await client.getContractInstance(contractSourceCode)
|
|
1128
|
-
console.log(contract)
|
|
1129
|
-
{
|
|
1130
|
-
interface: String, // Contract interface source code
|
|
1131
|
-
aci: String, // Contract interface json schema
|
|
1132
|
-
source: String, // Contract source code
|
|
1133
|
-
compiled: String, // Compiled contract code
|
|
1134
|
-
deployInfo: { address: contractAddress } // Object with deploy transaction,
|
|
1135
|
-
// Function
|
|
1136
|
-
compile: () => this, // Compile contract,
|
|
1137
|
-
deploy: (init = [], options = { skipArgsConvert: false }) => this, // Deploy contract (compile before if needed)
|
|
1138
|
-
call: (fn, params = [], options = { skipArgsConvert: false, skipTransformDecoded: false, callStatic: false } => CallRersult: Object // Call contract function
|
|
1139
|
-
}
|
|
1140
|
-
```
|
|
1141
|
-
* **Account:** Extend `Account.address()` with `accountFormatter` now you can do
|
|
1142
|
-
```
|
|
1143
|
-
export const ADDRESS_FORMAT = {
|
|
1144
|
-
sophia: 1, // return address like `0xHEX_ADDRESS`
|
|
1145
|
-
api: 2, // return address like `ak_9LJ8ne9tks78hTD2Tp571f7w2MJmzQMRsiZxKCkMA2d2Sbrc4`
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
//
|
|
1149
|
-
|
|
1150
|
-
export { ADDRESS_FORMAT } from 'es/account'
|
|
1151
|
-
await account.address(format: ADDRESS_FORMAT) // default ADDRESS_FORMAT.api
|
|
1152
|
-
```
|
|
1153
|
-
* **Channel:** Improve channel rpc usage
|
|
1154
|
-
* **Channel:** Improve channel tests and error handling
|
|
1155
|
-
* **Channel:** Improve state channel params handling
|
|
1156
|
-
* **Chain:** Add ability to get `account/balance` on specific block `hash/height`
|
|
1157
|
-
* **Universal:** Add `{ compilerUrl }` to `Universal, Contract, Wallet` stamp initialization
|
|
1158
|
-
|
|
1159
|
-
### Bug Fixes
|
|
1160
|
-
|
|
1161
|
-
* **Contract:** decode node error coming from contract `call` and `callStatic`
|
|
1162
|
-
* **Chain:** Throw native error instead of object in chain `chain.sendTransaction`
|
|
1163
|
-
* **Crypto:** fix arguments parsing in `Crypto.sing`
|
|
1164
|
-
* **Crypto:** Fix `name hash` function arguments parsing in `Crypto`
|
|
1165
|
-
|
|
1166
|
-
### BREAKING CHANGES
|
|
1167
|
-
|
|
1168
|
-
* **Contract:** Remove `ContractNodeAPI` stamp
|
|
1169
|
-
* **Contract:** Change Contract stamp API
|
|
1170
|
-
```
|
|
1171
|
-
1) Use Compiler instead of node API for encode/decode call-data and compile.
|
|
1172
|
-
2) Change Contract interface:
|
|
1173
|
-
- contractCallStatic (address, abi = 'sophia-address', name, { top, args = '()', call, options = {} } = {}) -> (source, address, name, args = [], { top, options = {} } = {}))
|
|
1174
|
-
- contractCall (code, abi, address, name, { args = '()', options = {}, call } = {}) -> (source, address, name, args = [], options = {})
|
|
1175
|
-
- contractDeploy (code, abi, { initState = '()', options = {} } = {}) -> (code, source, initState = [], options = {})
|
|
1176
|
-
- contractEncodeCall (code, abi, name, args, call) -> (source, name, args) // 'source' is -> Contract source code or ACI interface source
|
|
1177
|
-
```
|
|
1178
|
-
|
|
1179
|
-
## [2.3.2](https://github.com/aeternity/aepp-sdk-js/compare/2.3.1...2.3.2) (2019-03-04)
|
|
1180
|
-
|
|
1181
|
-
### Features
|
|
1182
|
-
|
|
1183
|
-
* **Contract:** Change default `gasPrice` from `1e6` to `1e9z
|
|
1184
|
-
* **AEPP:** Fix `AEPP` example app
|
|
1185
|
-
* **Build:** Force `image` pull before `builds`
|
|
1186
|
-
|
|
1187
|
-
## [2.3.1](https://github.com/aeternity/aepp-sdk-js/compare/2.3.0...2.3.1) (2019-02-22)
|
|
1188
|
-
|
|
1189
|
-
### Features
|
|
1190
|
-
|
|
1191
|
-
* **Oracle:** `Oracle` fee calculation
|
|
1192
|
-
* **Tx:** `getAccountNonce` function to `tx` stamp
|
|
1193
|
-
* **TX_BUILDER:** Change `FEE_BYTE_SIZE` from 1 to 8 bytes in `fee` calculation
|
|
1194
|
-
* **TX_BUILDER:** Improve error handling in `tx` builder
|
|
1195
|
-
|
|
1196
|
-
## [2.3.0](https://github.com/aeternity/aepp-sdk-js/compare/2.3.0-next...2.3.0) (2019-02-22)
|
|
1197
|
-
|
|
1198
|
-
### Features
|
|
1199
|
-
|
|
1200
|
-
* **Node:** `Minerva` comparability
|
|
1201
|
-
* **Utils:** `Mnemonic` wallet implementation `es/utils/hd-wallet`
|
|
1202
|
-
* **Oracle:** Change Channel `legacy` API to `JSON RPC`
|
|
1203
|
-
* **Oracle:** Change default `gasPrice` to `1e6`
|
|
1204
|
-
* **Oracle:** Change `minFee` calculation, multiply min fee by `1e9`
|
|
1205
|
-
|
|
1206
|
-
### BREAKING CHANGES
|
|
1207
|
-
|
|
1208
|
-
* **Node:** Change supported node version range to `1.4.0 <= version < 3.0.0`
|
|
1209
|
-
* This release contain changes from: [2.3.0-next](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.3.0-next), [2.2.1-next](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.2.1-next), [2.1.1-0.1.0-next](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.1.1-0.1.0-next), [2.1.0](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.1.0)
|
|
1210
|
-
|
|
1211
|
-
## [2.3.0-next](https://github.com/aeternity/aepp-sdk-js/compare/2.2.1-next...2.3.0-next) (2019-02-21)
|
|
1212
|
-
|
|
1213
|
-
### Features
|
|
1214
|
-
|
|
1215
|
-
* **Channel:** `channel` `withdraw` and `deposit` methods
|
|
1216
|
-
* **TX_BUILDER:** Change default `gasPrice` in `Contract` stamp and `Tx` stamp to `1e9`
|
|
1217
|
-
* **TX:** Fix `contract` tx `fee` calculation
|
|
1218
|
-
* **Chain:** Refactor error handling in `sendTransaction` function
|
|
1219
|
-
* **Contract:** Change default `gasPrice` to `1e9`
|
|
1220
|
-
* **TX_BUILDER:** Change `Fee` byte_size to 1
|
|
1221
|
-
|
|
1222
|
-
## [2.2.1-next](https://github.com/aeternity/aepp-sdk-js/compare/2.1.1-0.1.0-next...2.2.1-next) (2019-02-21)
|
|
1223
|
-
|
|
1224
|
-
### Feature
|
|
1225
|
-
|
|
1226
|
-
* **TX_BUILDER:** Add `deserialization` schema for `Channel` transactions(`channelCreate`, `channelCloseMutual`, `channelDeposit`, `channelWithdraw`, `channelSettle`)
|
|
1227
|
-
* **Chain:** Add `rawTx` and `verifyTx` to error from poll function(when you wait for transaction will mined)
|
|
1228
|
-
* **Chore:** Depend on `bip39` from npm instead of git repo
|
|
1229
|
-
* **Channel:** Change Channel `legacy` API to `JSON RPC`
|
|
1230
|
-
* **TX_BUILDER:** Change `minFee` calculation, multiply min fee by 10^9
|
|
1231
|
-
|
|
1232
|
-
## [2.1.1-0.1.0-next](https://github.com/aeternity/aepp-sdk-js/compare/2.1.0...2.1.1-0.1.0-next) (2019-02-21)
|
|
1233
|
-
|
|
1234
|
-
### Bug Fixes
|
|
1235
|
-
* **Chore:** Fix linter errors
|
|
1236
|
-
|
|
1237
|
-
## [2.1.0](https://github.com/aeternity/aepp-sdk-js/compare/2.0.0...2.1.0) (2019-02-21)
|
|
1238
|
-
|
|
1239
|
-
### Features
|
|
1240
|
-
|
|
1241
|
-
* **Node:** `Minerva` comparability
|
|
1242
|
-
* **Utils:** Add `Mnemonic` wallet implementation `es/utils/hd-wallet`
|
|
1243
|
-
|
|
1244
|
-
### BREAKING CHANGES
|
|
1245
|
-
|
|
1246
|
-
* **Node:** Change supported node version range to `1.4.0 <= version < 3.0.0`
|
|
1247
|
-
|
|
1248
|
-
## [2.0.0](https://github.com/aeternity/aepp-sdk-js/compare/1.3.2...2.0.0) (2019-02-21)
|
|
1249
|
-
|
|
1250
|
-
### Features
|
|
1251
|
-
|
|
1252
|
-
* **TX_BUILDER:** Add `unpackedTx`, `txType` and `signature` to `validate` transaction function
|
|
1253
|
-
* **Contract:** Add `top` param to contract `static call(dry-run)`
|
|
1254
|
-
* **Contract:** Add errors handling for `dry-run`
|
|
1255
|
-
* **Docs:** Add `keystore` docs
|
|
1256
|
-
* **Ae:** Add `verify` options to `send` function which verify tx before broadcasting and throw error if tx is invalid
|
|
1257
|
-
* **Rpc:** Add `dryRun` to `RPC` methods
|
|
1258
|
-
* **Rpc:** Add `Oracle` transaction creation to `Aepp` rpc
|
|
1259
|
-
* **Docs:** Add `tx builder` docs
|
|
1260
|
-
* **Docs:** Add doc's for `utils/bytes` and tx builder `schema`
|
|
1261
|
-
* **TX_BUILDER:** refactor `calculateFee` function in `TxBuilder`(use BigNumber)
|
|
1262
|
-
* **TX_BUILDER:** Extend response of `Oracle`, `Aens`, `Contrat` with `rawTx`
|
|
1263
|
-
* **Ae:** Change response of `send` function now it's and object with transaction data(hash, rawTxHash, ...)
|
|
1264
|
-
* **Chain:** Move `Contract` and `Oracle` API wrapper's to `Chain` stamp
|
|
1265
|
-
* **Chore:** Rename `epoch` in `CHANGELOG`, `README`, `HACKING`
|
|
1266
|
-
|
|
1267
|
-
### Bug Fixes
|
|
1268
|
-
|
|
1269
|
-
* **Rpc:** `RpcServer`: Avoid storing of `window` in `instance` properties
|
|
1270
|
-
* **Chain:** Disable `balance formatting` by default
|
|
1271
|
-
* **Chain:** Move `verification of transaction` to `chain` stamp
|
|
1272
|
-
* **Node:** Retrieve `node` version from `/api`
|
|
1273
|
-
* **Chore:** Fix unpack tx example in `bin/aecrypto.js`
|
|
1274
|
-
* **Chore:** Remove unused function's from `crypto.js`
|
|
1275
|
-
|
|
1276
|
-
### BREAKING CHANGES
|
|
1277
|
-
|
|
1278
|
-
* **TX:** Remove old transaction builder `es/tx/js.js` (Please use `es/tx/builder` instead)
|
|
1279
|
-
* **Chore:** Rename `es/epoch.js` to `es/node.js`
|
|
1280
|
-
* **Chore:** Rename `Oracle`, `Contract`, `Chain` API wrapper files from `epoch` to `node`
|
|
1281
|
-
* **Chore:** Rename `Contract` api wrapper method's
|
|
1282
|
-
|
|
1283
|
-
## [1.3.2](https://github.com/aeternity/aepp-sdk-js/compare/1.3.1...1.3.2) (2019-02-01)
|
|
1284
|
-
|
|
1285
|
-
### Features
|
|
1286
|
-
|
|
1287
|
-
* **Ae:** Add `destroyInstance` function to `Ae` stamp which remove all listeners for RPC event's
|
|
1288
|
-
* **Docs:** Add docs for `TransactionValidator` and `TxBuilder` stamp's
|
|
1289
|
-
* **Build:** Add `TxBuilderHelper` to bundle
|
|
1290
|
-
* **Chore:** Contract call static now using `dry-run` API
|
|
1291
|
-
* **Test:** Improve test's for Transaction verification
|
|
1292
|
-
|
|
1293
|
-
### Changed
|
|
1294
|
-
|
|
1295
|
-
* **Docs:** Adjust doc's for `Contract` and `Aens` stamp's
|
|
1296
|
-
* **Chore:** Fix decoding of address from contract call
|
|
1297
|
-
|
|
1298
|
-
## [1.3.1](https://github.com/aeternity/aepp-sdk-js/compare/1.3.0...1.3.1) (2019-01-29)
|
|
1299
|
-
|
|
1300
|
-
### Features
|
|
1301
|
-
|
|
1302
|
-
* **Build:** Remove KeyStore from bundle due to build issue(for now you can export it only using tree-shaking `import * as Keystore from '@aeternity/aepp-sdk/utils/keystore'`)
|
|
1303
|
-
|
|
1304
|
-
## [1.3.0](https://github.com/aeternity/aepp-sdk-js/compare/1.2.1...1.3.0) (2019-01-29)
|
|
1305
|
-
|
|
1306
|
-
### Features
|
|
1307
|
-
|
|
1308
|
-
* **Channel:** Add support for State Channels
|
|
1309
|
-
* **TX_BUILDER:** New transaction builder going through schema(build, unpack)
|
|
1310
|
-
* **TX_VALIDATOR:** Add new stamp `TransactionValidator` which can verify your transaction
|
|
1311
|
-
* **Chore:** Rename epoch to aeternity node(docker configs, some docs)
|
|
1312
|
-
* **Tx:** Use new tx builder in TX stamp
|
|
1313
|
-
* **Contract:** Set default values for amount and deposit to 0 for `contract` transaction
|
|
1314
|
-
* **Rpc:** Improve RPC server
|
|
1315
|
-
|
|
1316
|
-
### Notes and known Issues
|
|
1317
|
-
- Old transaction builder `es/tx/js.js` will be removed in next major release.
|
|
1318
|
-
|
|
1319
|
-
## [1.2.1](https://github.com/aeternity/aepp-sdk-js/compare/1.1.2...1.2.1) (2018-12-21)
|
|
1320
|
-
|
|
1321
|
-
### Features
|
|
1322
|
-
|
|
1323
|
-
* **Chain:** amount formatter
|
|
1324
|
-
* **Chain:** amount format balance `client.balance('AK_PUBLICKEY', { format: true })`
|
|
1325
|
-
* **Aepp:** Oracle and Contracts API to Aepp stamp
|
|
1326
|
-
* **Chore:** Use `prepare` instead of `postinstall-build` (thanks @davidyuk)
|
|
1327
|
-
* **Docs:** Refreshed Docs: README.md + docs/usage.md
|
|
1328
|
-
|
|
1329
|
-
### Bug Fixes
|
|
1330
|
-
|
|
1331
|
-
* **Chr:** Fix Import RLP package (thanks @davidyuk)
|
|
1332
|
-
* **Rpc:** Fix for NetworkId propagation and override
|
|
1333
|
-
* **Tx:** TxJS is not a stamp anymore, and instead: it exports helper functions
|
|
1334
|
-
|
|
1335
|
-
### BREAKING CHANGES
|
|
1336
|
-
|
|
1337
|
-
* **Tx:** TxJs stamp (not a stamp anymore)
|
|
1338
|
-
* **Chain:** balance now answer a formatted string composed of `AMOUNT + ' ' + unit` (eg. `10 exa` for 10 AE)
|
|
1339
|
-
|
|
1340
|
-
### Notes and known Issues
|
|
1341
|
-
|
|
1342
|
-
* **Chore:** `10 exa` should be `10 ae`
|
|
1343
|
-
* **Chain:** format shouldn't be a flag, but a request for `unit` eg. `{ format: `ae` }`
|
|
1344
|
-
|
|
1345
|
-
## [1.1.2](https://github.com/aeternity/aepp-sdk-js/compare/1.1.1...1.1.2) (2018-12-15)
|
|
1346
|
-
|
|
1347
|
-
### Feature
|
|
1348
|
-
|
|
1349
|
-
* **Chore:** isAddressValid check
|
|
1350
|
-
* **Tx:** Tx Fee formulas
|
|
1351
|
-
|
|
1352
|
-
### Bug Fixes
|
|
1353
|
-
|
|
1354
|
-
* **Rpc:** Fixed networkId propagation (and overriding on init of Flavors)
|
|
1355
|
-
* **Crypto:** Fixed encodeBase58Check by feeding Buffered input
|
|
1356
|
-
|
|
1357
|
-
### BREAKING CHANGES
|
|
1358
|
-
|
|
1359
|
-
* **Chore:** Compatibility with Node >= 1.0.0 and <= 1.1.0
|
|
1360
|
-
|
|
1361
|
-
## [1.1.1](https://github.com/aeternity/aepp-sdk-js/compare/1.1.0...1.1.1) (2018-12-11)
|
|
1362
|
-
|
|
1363
|
-
### Features
|
|
1364
|
-
|
|
1365
|
-
* **Rpc:** Added a command to remove images after CI testing
|
|
1366
|
-
|
|
1367
|
-
### Bug Fixes
|
|
1368
|
-
|
|
1369
|
-
* **Rpc:** Fix Testing
|
|
1370
|
-
* **Rpc:** Fixed Oracle error for Wallet flavor
|
|
1371
|
-
|
|
1372
|
-
## [1.1.0](https://github.com/aeternity/aepp-sdk-js/compare/1.0.1...1.1.0) (2018-12-11)
|
|
1373
|
-
|
|
1374
|
-
### Features
|
|
1375
|
-
|
|
1376
|
-
* **Oracle:** Oracles functionality and flavor
|
|
1377
|
-
* **Aepp:** Simple example of aepp-in-aepp (see `/examples` folder)
|
|
1378
|
-
|
|
1379
|
-
### Bug Fixes
|
|
1380
|
-
|
|
1381
|
-
* **Tx:** Fixed issue with big numbers and `TX`
|
|
1382
|
-
|
|
1383
|
-
## [1.0.1](https://github.com/aeternity/aepp-sdk-js/compare/1.0.0...1.0.1) (2018-11-30)
|
|
1384
|
-
|
|
1385
|
-
### Features
|
|
1386
|
-
|
|
1387
|
-
* **Node:** ability to support Node range(s) using semver package (see https://www.npmjs.com/package/semver#ranges)
|
|
1388
|
-
|
|
1389
|
-
### BREAKING CHANGES
|
|
1390
|
-
|
|
1391
|
-
* **Node:** Support for Node >= 1.0.0 and < 2.0.0
|
|
1392
|
-
|
|
1393
|
-
## [1.0.0](https://github.com/aeternity/aepp-sdk-js/compare/0.25.0-0.1.1...1.0.0) (2018-11-30)
|
|
1394
|
-
|
|
1395
|
-
### Features
|
|
1396
|
-
|
|
1397
|
-
* **Contract:** Contract native Transactions
|
|
1398
|
-
|
|
1399
|
-
### Bug Fixes
|
|
1400
|
-
|
|
1401
|
-
* **BigNumber:** Rolled back to bignumbers.js for easier fix with axios.get/post
|
|
1402
|
-
|
|
1403
|
-
### BREAKING CHANGES
|
|
1404
|
-
|
|
1405
|
-
* **Node:** Support for Node < 1.0.0
|
|
1406
|
-
* **Build:** New NETWORK_ID (also used in docker/sdk.env for CI tests)
|
|
1407
|
-
* **Protocol:** Encoding of transaction (and other objects) [changed from base58check to base64check](https://github.com/aeternity/protocol/blob/master/node/api/api_encoding.md)
|
|
1408
|
-
|
|
1409
|
-
### Notes and known Issues
|
|
1410
|
-
|
|
1411
|
-
* **Channel:** State Channels have been excluded for problems with CI, will be included in next release
|
|
1412
|
-
|
|
1413
|
-
## [0.25.0-0.1.1](https://github.com/aeternity/aepp-sdk-js/compare/0.25.0-0.1.0...0.25.0-0.1.1) (2018-11-30)
|
|
1414
|
-
|
|
1415
|
-
### Notes and known Issues
|
|
1416
|
-
|
|
1417
|
-
* **Chore:** See [0.25.0-0.1.0]
|
|
1418
|
-
|
|
1419
|
-
## [0.25.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/0.25.0-0.1.0-next...0.25.0-0.1.0) (2018-11-30)
|
|
1420
|
-
|
|
1421
|
-
### Features
|
|
1422
|
-
|
|
1423
|
-
* **Utils** Parsing of `fee` using `bignum.js`
|
|
1424
|
-
* **Account** Add `networkId` as param to `Account` flavor(default: `ae_mainnet`)
|
|
1425
|
-
* **Tx** Implement native build of `AENS` transaction.
|
|
1426
|
-
* **Keystore** Update keystore for new [requirements](https://www.pivotaltracker.com/n/projects/2124891/stories/155155204)
|
|
1427
|
-
|
|
1428
|
-
### BREAKING CHANGES
|
|
1429
|
-
|
|
1430
|
-
* **CLI** [AE CLI](https://github.com/aeternity/aecli-js) and [AE PROJECT CLI](https://github.com/aeternity/aeproject) moved to separate repos and packages
|
|
1431
|
-
* **Node** Support for < 0.25.0
|
|
1432
|
-
|
|
1433
|
-
## [0.25.0-0.1.0-next](https://github.com/aeternity/aepp-sdk-js/compare/0.24.0-0.2.0...0.25.0-0.1.0-next) (2018-11-30)
|
|
1434
|
-
|
|
1435
|
-
### Features
|
|
1436
|
-
|
|
1437
|
-
* **Contract** Contract type checked call (Ability to call contract using contract address)
|
|
1438
|
-
* **Contract** Use ES methods instead of Ramda, where possible
|
|
1439
|
-
|
|
1440
|
-
### Bug Fixes
|
|
1441
|
-
|
|
1442
|
-
* **Contract** Fixed keystore by adding a salt param for derivedKey function
|
|
1443
|
-
|
|
1444
|
-
### Breaking Changes
|
|
1445
|
-
|
|
1446
|
-
* **Contract** Support for < 0.25.0
|
|
1447
|
-
* **Contract** Aens use domain `.test` instead of `.aet` (see [here](https://github.com/aeternity/aepp-sdk-js/commit/9c252f937f7ea501c4aaacbbef53c4c1833e48e4#diff-8ef3b328d008ef3dbb72a0bca42eba37L24))
|
|
1448
|
-
* **Contract** Use NETWORK_ID for signing (see [here](https://github.com/aeternity/aepp-sdk-js/commit/9c252f937f7ea501c4aaacbbef53c4c1833e48e4#diff-ffb275ebb09085c85c59f140998199e0R28))
|
|
1449
|
-
|
|
1450
|
-
## [0.24.0-0.2.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.24.0-0.1.0...v0.24.0-0.2.0) (2018-10-30)
|
|
1451
|
-
|
|
1452
|
-
### Features
|
|
1453
|
-
|
|
1454
|
-
* **Rpc** RPC Client improvements
|
|
1455
|
-
* **Rpc** `onContract` Guard
|
|
1456
|
-
* **CLI** born
|
|
1457
|
-
* **CLI** `Host` parameter became `Url`. (`-u` for hostname, `-U` for internal)
|
|
1458
|
-
* **CLI** New keystore following these specifications: https://www.pivotaltracker.com/n/projects/2124891/stories/155155204
|
|
1459
|
-
|
|
1460
|
-
### BREAKING CHANGES
|
|
1461
|
-
|
|
1462
|
-
* **Chore** The `Cli` flavor is now `Universal`
|
|
1463
|
-
* **Chore** the keypair keys changed from `{ pub, priv }` to `{ publicKey, secretKey }` for consistency with other systems using them (eg. AirGap and [HD Wallet](https://github.com/aeternity/hd-wallet-js))
|
|
1464
|
-
|
|
1465
|
-
### Notes and known Issues
|
|
1466
|
-
|
|
1467
|
-
* **Chore** CLI and AE PROJECT CLI will move to a separate package
|
|
1468
|
-
|
|
1469
|
-
## [0.24.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/0.22.0-0.1.0-beta.1...v0.24.0-0.1.0) (2018-10-23)
|
|
1470
|
-
|
|
1471
|
-
### Features
|
|
1472
|
-
|
|
1473
|
-
* **Node** Full support of [Node-0.24.0](https://github.com/aeternity/aeternity/releases/tag/v0.24.0)
|
|
1474
|
-
* **CLI** Develop `decode base58` address command in `crypto` module
|
|
1475
|
-
* **CLI** Add `nonce` param to all tx command's
|
|
1476
|
-
* **CLI** Add `gas` param to `deploy` and `call` commands
|
|
1477
|
-
* **Tx** Add ability to create `spend` transaction natively
|
|
1478
|
-
* **Keystore** Implement `ethereum keystore` using `AES-126-CTR` and `SCRYPT` as key derivation function
|
|
1479
|
-
* **CLI** Change `--privateKey` to `flag` on `ACCOUNT ADDRESS` command
|
|
1480
|
-
* **Build** Change `node version` in `Dockerfile`
|
|
1481
|
-
* **Node** API endpoints to meet new Node specifications
|
|
1482
|
-
* **Chore** Update `docco` config and change `rename` package to `recursive-rename`
|
|
1483
|
-
* **Docs** Improved documentation
|
|
1484
|
-
|
|
1485
|
-
### BREAKING CHANGES
|
|
1486
|
-
|
|
1487
|
-
* **Node** Support for < 0.24.0
|
|
1488
|
-
* **Keystore** `ethereum keystore` usage will be removed in the next release
|
|
1489
|
-
* **CLI** CLI will move to a separate package
|
|
1490
|
-
|
|
1491
|
-
## [0.22.0-0.1.0-beta.1](https://github.com/aeternity/aepp-sdk-js/compare/v0.18.0-0.1.1...0.22.0-0.1.0-beta.1) (2018-10-02)
|
|
1492
|
-
|
|
1493
|
-
### Features
|
|
1494
|
-
|
|
1495
|
-
* **CLI** Add **CLI** implementation
|
|
1496
|
-
* **Crypto** nameId function for commitment hash calculations
|
|
1497
|
-
* **Node** API endpoints to meet new Node specifications
|
|
1498
|
-
* **Tx** Add Nonce calculation on SDK side
|
|
1499
|
-
* **Contract** Add check for MAX_GAS in call and deploy contract
|
|
1500
|
-
* **Chore** change hash prefix separator from $ to _
|
|
1501
|
-
* **Chore** Add keywords ('SDK', 'CLI') to package.json
|
|
1502
|
-
* **CLI** Link aecli to `./bin/aecli.js` in package.json (After "npm link" you can use CLI globally)
|
|
1503
|
-
* **Aens** Wait until pre-claim transaction block was mined before send claim transaction
|
|
1504
|
-
* **Build** Updated `webpack`, `webpack-cli` and added new dev deps accordingly
|
|
1505
|
-
* **Node** Add Node Compatibility Check
|
|
1506
|
-
|
|
1507
|
-
### Bug Fixes
|
|
1508
|
-
|
|
1509
|
-
* **Crypto** Fixes commitment hash calculations in naming system, to be `Hash(nameId(name) + name_salt)` instead of `Hash(Hash(name + name_salt))`.
|
|
1510
|
-
|
|
1511
|
-
### BREAKING CHANGES
|
|
1512
|
-
|
|
1513
|
-
* **Node** Support for < 0.22.0
|
|
1514
|
-
|
|
1515
|
-
## [0.18.0-0.1.1](https://github.com/aeternity/aepp-sdk-js/compare/v0.18.0-0.1.0...v0.18.0-0.1.1) (2018-07-31)
|
|
1516
|
-
|
|
1517
|
-
### Features
|
|
1518
|
-
|
|
1519
|
-
* **Docs** Lots of new documentation (prose and API)
|
|
1520
|
-
* **Docs** Fancy badges to README
|
|
1521
|
-
* **Build** Transitive dev dependencies for standard-loader not covered by pnpm
|
|
1522
|
-
* **Build** CI Dockerfile to include pnpm
|
|
1523
|
-
* **Docs** Fancy-shmancy diagram in README
|
|
1524
|
-
* **Docs**Generated documentation files since they are linked in static docs
|
|
1525
|
-
* **Build** Switch from Yarn to pnpm for building
|
|
1526
|
-
* **Docs** Structure of documentation
|
|
1527
|
-
* **Docs** Generate Markdown from Docco
|
|
1528
|
-
|
|
1529
|
-
## [0.18.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.15.0-0.1.0...v0.18.0-0.1.0) (2018-07-24)
|
|
1530
|
-
|
|
1531
|
-
### Features
|
|
1532
|
-
|
|
1533
|
-
* **Node** Support for Node 0.18.0 (changed endpoints)
|
|
1534
|
-
* **RPC** Wallet/Aepp RPC support
|
|
1535
|
-
* **Contract** Contract call result decoding support
|
|
1536
|
-
* **Docs** Per-module API documentation (Markdown based on JSDoc)
|
|
1537
|
-
* **Docs** More API documentation (still incomplete)
|
|
1538
|
-
* **Build** SDK entrypoint factories (in `/es/ae/universal.js`)
|
|
1539
|
-
* **Build** Module load path (src -> es)
|
|
1540
|
-
* **Chore** Lower mining rate (5s) in docker-compose
|
|
1541
|
-
|
|
1542
|
-
### Bug Fixes
|
|
1543
|
-
|
|
1544
|
-
* **Crypto** Symmetric key encryption/decryption
|
|
1545
|
-
|
|
1546
|
-
### BREAKING CHANGES
|
|
1547
|
-
|
|
1548
|
-
* **Node** Support for < 0.18.0 (changed endpoints)
|
|
1549
|
-
|
|
1550
|
-
## [0.15.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.14.0-0.1.0...v0.15.0-0.1.0) (2018-06-12)
|
|
1551
|
-
|
|
1552
|
-
### Features
|
|
1553
|
-
|
|
1554
|
-
* **Node** Legacy Swagger file loading
|
|
1555
|
-
* **Node** Compatibility with < 0.15.0
|
|
1556
|
-
|
|
1557
|
-
### Bug Fixes
|
|
1558
|
-
|
|
1559
|
-
* **Contract** Contract unit state initialization
|
|
1560
|
-
* **Node** Missing required parameter for name transfers (workaround for
|
|
1561
|
-
[Swagger file bug](https://www.pivotaltracker.com/n/projects/2124891))
|
|
1562
|
-
|
|
1563
|
-
## [0.14.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.13.0-0.1.1...v0.14.0-0.1.0) (2018-06-11)
|
|
1564
|
-
|
|
1565
|
-
### Features
|
|
1566
|
-
|
|
1567
|
-
* **API** New, opinionated top-level API
|
|
1568
|
-
* **API** Rest of legacy API now uses new API as well
|
|
1569
|
-
* **API** Generated API now encapsulated in `api` object
|
|
1570
|
-
* **API** Automatic case conversion for remote parameter names
|
|
1571
|
-
* **API** Remaining tests to use new API
|
|
1572
|
-
* **API** Adapted new method of obtaining transaction hash, breaks compatibility (see
|
|
1573
|
-
below)
|
|
1574
|
-
|
|
1575
|
-
### Bug Fixes
|
|
1576
|
-
|
|
1577
|
-
* **API** [GH-49]: Handle existing path components correctly
|
|
1578
|
-
|
|
1579
|
-
### BREAKING CHANGES
|
|
1580
|
-
* **API** Remove Oracle API (for the time being)
|
|
1581
|
-
* **API** Remove Legacy API and tests
|
|
1582
|
-
* **API** Remove Compatibility with older versions of Node which provide the transaction hash
|
|
1583
|
-
the old way
|
|
1584
|
-
|
|
1585
|
-
## [0.13.0-0.1.1](https://github.com/aeternity/aepp-sdk-js/compare/v0.13.0-0.1.0...v0.13.0-0.1.1) (2018-05-24)
|
|
1586
|
-
|
|
1587
|
-
### Features
|
|
1588
|
-
|
|
1589
|
-
* **Node** Switch to curve ed25519 (from secp256k1) to align with Node protocol changes
|
|
1590
|
-
* **Node** Generate basic API directly from Swagger files, also validate input data
|
|
1591
|
-
* **Build** Compiled library now self-contained with all dependencies
|
|
1592
|
-
* **Build** Use Webpack 4 based cross-platform (Node/Web) compilation
|
|
1593
|
-
* **Docs** Package description now reads `SDK for the æternity blockchain`
|
|
1594
|
-
* **Chore** Authors are now taken from `AUTHORS` instead of `package.json`
|
|
1595
|
-
* **Docs** Moved code examples from README to separate file in docs
|
|
1596
|
-
|
|
1597
|
-
### BREAKING CHANGES
|
|
1598
|
-
|
|
1599
|
-
* **Node** Defunct scripts; will be brought back later
|
|
1600
|
-
|
|
1601
|
-
### Bug Fixes
|
|
1602
|
-
|
|
1603
|
-
* **Chore** More consistent code examples
|