Skip to content

Commit 0478eed

Browse files
authored
Merge pull request #1631 from aeternity/release/12.1.1
Release 12.1.1
2 parents 10e88a5 + 02f64a6 commit 0478eed

File tree

6 files changed

+22
-17
lines changed

6 files changed

+22
-17
lines changed

commitlint.config.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@ module.exports = {
1717
'release',
1818
'tx-builder',
1919
'wallet',
20-
// TODO: remove the below after release
21-
'pollForQueryResponse',
22-
'awaitHeight',
23-
'pretty-numbers',
24-
'contract-aci',
25-
'sendTransaction',
26-
'AeSdkBase',
27-
'Node',
28-
'wallet-web-extension',
29-
'rpc',
30-
'examples',
3120
],
3221
],
3322
},

docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
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.
44

5+
### [12.1.1](https://github.com/aeternity/aepp-sdk-js/compare/v12.1.0...v12.1.1) (2022-07-28)
6+
7+
8+
### Bug Fixes
9+
10+
* export and implementation of calculateMinFee ([cee0f7c](https://github.com/aeternity/aepp-sdk-js/commit/cee0f7c0cda890ac3639611abc5677161428dad9))
11+
512
## [12.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v12.0.0...v12.1.0) (2022-07-28)
613

714

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aeternity/aepp-sdk",
3-
"version": "12.1.0",
3+
"version": "12.1.1",
44
"description": "SDK for the æternity blockchain",
55
"main": "dist/aepp-sdk.js",
66
"types": "es/index.d.ts",

src/deprecated/index.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,16 @@ export const createSalt = salt;
4545
* calculateMinFee('spendTx', { gasLimit, params })
4646
* ```
4747
*/
48-
export default function calculateMinFee(
48+
export function calculateMinFee(
4949
txType: Tag,
5050
{ params, vsn, denomination }: CalculateMinFeeOptions,
5151
): BigNumber {
5252
return calculateMinFeeInternal(
5353
txType,
54-
// @ts-expect-error anyway this planned to be removed
55-
(fee: BigNumber) => buildTx({ ...params, fee }, txType, { vsn, denomination }),
54+
(fee: BigNumber) => (
55+
// @ts-expect-error anyway this planned to be removed
56+
buildTx({ ...params, _computingMinFee: fee }, txType, { vsn, denomination })
57+
),
5658
);
5759
}
5860

test/examples.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#!/bin/bash
22
set -e
33

4+
echo Run environment/node.js
5+
./test/environment/node.js
6+
echo Run environment/node.mjs
7+
./test/environment/node.mjs
8+
echo Run environment/node.ts
9+
./test/environment/node.ts
10+
411
run_node_example () {
512
echo Run $1
613
cat ./examples/node/$1 | sed -e "s|@aeternity/aepp-sdk|./dist/aepp-sdk.js|" | node

0 commit comments

Comments
 (0)