@aeternity/aepp-sdk 8.2.0 → 10.0.0-beta.1

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