Skip to content

Commit 428ebe6

Browse files
authored
Merge pull request #1848 from aeternity/release/13.1.0
Release 13.1.0
2 parents 26014b7 + d42bca6 commit 428ebe6

File tree

116 files changed

+3243
-551
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+3243
-551
lines changed

.env

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = {
2323
],
2424
ignorePatterns: [
2525
'dist', 'es', 'src/apis', 'docs/api', 'test/environment/ledger/browser', 'types-legacy',
26+
'docs/examples', 'site',
2627
],
2728
rules: {
2829
'rulesdir/tsdoc-syntax': 'error',

.github/workflows/docs-develop.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
1+
# TODO: combine with docs-release using if
12
name: Publish develop docs
23
on:
34
push:
45
branches: ['develop']
5-
6+
67
jobs:
78
main:
89
runs-on: ubuntu-latest
910
steps:
10-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1112
with:
1213
fetch-depth: 0
13-
- uses: actions/setup-python@v2
14+
- uses: actions/setup-python@v4
1415
with:
15-
python-version: 3.8
16-
- uses: actions/cache@v2
16+
python-version: 3.11
17+
- uses: actions/cache@v3
1718
with:
1819
path: ~/.cache/pip3
1920
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}
21+
- uses: actions/cache@v3
22+
with:
23+
path: |
24+
~/.npm
25+
~/.autorest
26+
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
2027
- run: pip3 install -r docs/requirements.txt
2128
- run: git config --global user.email "[email protected]"
2229
- run: git config --global user.name "GitHub Action"
23-
- run: mike deploy --push develop
30+
- run: mike deploy --push develop

.github/workflows/docs-release.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,29 @@ name: Publish release docs
22
on:
33
release:
44
types: [released]
5-
5+
66
jobs:
77
main:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
with:
1212
fetch-depth: 0
13-
- uses: actions/setup-python@v2
13+
- uses: actions/setup-python@v4
1414
with:
15-
python-version: 3.8
16-
- uses: actions/cache@v2
15+
python-version: 3.11
16+
- uses: actions/cache@v3
1717
with:
1818
path: ~/.cache/pip3
1919
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}
20+
- uses: actions/cache@v3
21+
with:
22+
path: |
23+
~/.npm
24+
~/.autorest
25+
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
2026
- run: pip3 install -r docs/requirements.txt
27+
- run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
2128
- run: git config --global user.email "[email protected]"
2229
- run: git config --global user.name "GitHub Action"
23-
- run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
24-
- run: mike deploy --push --update-aliases $RELEASE_VERSION latest
30+
- run: mike deploy --push --update-aliases $RELEASE_VERSION latest

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: Test & build
2-
on: [push, pull_request]
2+
on: [pull_request]
33
jobs:
44
main:
55
runs-on: ubuntu-22.04
66
steps:
77
- run: |
88
wget -q https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_25.0.4-1~ubuntu~jammy_amd64.deb
99
sudo apt install --allow-downgrades ./esl-erlang_25.0.4-1~ubuntu~jammy_amd64.deb
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
with:
1212
fetch-depth: 100
13-
- uses: actions/setup-node@v2
13+
- uses: actions/setup-node@v3
1414
with:
1515
node-version: 18.x
1616
- uses: actions/cache@v3

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ site
3030
/src/apis/
3131
/src/tx/builder/schema.generated.ts
3232
/tooling/autorest/compiler-swagger.yaml
33+
/tooling/autorest/middleware-openapi.yaml
3334
/test/environment/ledger/browser
3435
/types-legacy
3536
/bin

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# [æternity](https://aeternity.com)'s JavaScript SDK
22

3-
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/aeternity/aepp-sdk-js.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/aeternity/aepp-sdk-js/context:javascript)
3+
[![main action](https://github.com/aeternity/aepp-sdk-js/actions/workflows/main.yml/badge.svg)](https://github.com/aeternity/aepp-sdk-js/actions/workflows/main.yml)
4+
[![codecov](https://codecov.io/gh/aeternity/aepp-sdk-js/branch/develop/graph/badge.svg?token=wON6gOciRP)](https://codecov.io/gh/aeternity/aepp-sdk-js)
5+
[![docs](https://github.com/aeternity/aepp-sdk-js/actions/workflows/docs-develop.yml/badge.svg)](https://github.com/aeternity/aepp-sdk-js/actions/workflows/docs-develop.yml)
46
[![npm](https://img.shields.io/npm/v/@aeternity/aepp-sdk.svg)](https://www.npmjs.com/package/@aeternity/aepp-sdk)
57
[![npm](https://img.shields.io/npm/l/@aeternity/aepp-sdk.svg)](https://www.npmjs.com/package/@aeternity/aepp-sdk)
68

@@ -50,7 +52,7 @@ We keep our [Changelog](docs/CHANGELOG.md) up to date.
5052
## License
5153

5254
ISC License (ISC)
53-
Copyright © 2018 æternity developers
55+
Copyright © 2023 æternity developers
5456

5557
Permission to use, copy, modify, and/or distribute this software for any purpose
5658
with or without fee is hereby granted, provided that the above copyright notice

commitlint.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ module.exports = {
1212
'channel',
1313
'compiler',
1414
'contract',
15+
'middleware',
16+
'docs', // TODO: remove after releasing 13.1.0
1517
'deps',
1618
'deps-dev',
1719
'node',

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
version: '3'
22
services:
33
node:
4-
image: aeternity/aeternity:${NODE_TAG}
4+
image: aeternity/aeternity:v6.8.1
55
hostname: node
66
ports: ["3013:3013", "3113:3113", "3014:3014", "3114:3114"]
77
volumes:
88
- ./docker/aeternity_node_mean16.yaml:/home/aeternity/node/aeternity.yaml
99
- ./docker/accounts_test.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json
1010

1111
compiler:
12-
image: aeternity/aesophia_http:${COMPILER_TAG}
12+
image: aeternity/aesophia_http:v7.4.0
1313
hostname: compiler
1414
ports: ["3080:3080"]

docs/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@
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+
## [13.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v13.0.1...v13.1.0) (2023-07-07)
6+
7+
8+
### Features
9+
10+
* **account:** support signing typed data ([e5acdd4](https://github.com/aeternity/aepp-sdk-js/commit/e5acdd44e056cd60638088d74753f912809e63d2))
11+
* **aens:** add `ensureName` helper to check names ([f1322b1](https://github.com/aeternity/aepp-sdk-js/commit/f1322b13ab99860719ca47dda8e277ece6f7823c))
12+
* **aens:** support unicode names claim ([f837e90](https://github.com/aeternity/aepp-sdk-js/commit/f837e9081b0ac7eefa942f31e3056b00bd3768eb))
13+
* **aepp,wallet:** support inner transaction signing ([725782b](https://github.com/aeternity/aepp-sdk-js/commit/725782b8d84ac426d3a192d40de8e1e155e370bc))
14+
* **aepp,wallet:** support signing typed data ([78ce3b2](https://github.com/aeternity/aepp-sdk-js/commit/78ce3b259377a719dbf7ada7bf3b744e630f0dac))
15+
* **compiler:** add `generateAci`, `generateAciBySourceCode` ([981bcf2](https://github.com/aeternity/aepp-sdk-js/commit/981bcf252432a3b96aca92ccd682214c124009e2))
16+
* **middleware:** generate autorest wrapper ([bd08a08](https://github.com/aeternity/aepp-sdk-js/commit/bd08a087509bb47acf49cd015d5d7016b544094e))
17+
* **middleware:** implement MiddlewareSubscriber ([b51b0a3](https://github.com/aeternity/aepp-sdk-js/commit/b51b0a3ffb7258f3ed1f25395b95811f39ba0cc7))
18+
19+
20+
### Bug Fixes
21+
22+
* `onAccount` option in AeSdkMethods ([290758b](https://github.com/aeternity/aepp-sdk-js/commit/290758b1884dc36209194bc6bd760c6063f9edd3))
23+
* **aens:** more accurate name check in `isNameValid` ([b62dcc6](https://github.com/aeternity/aepp-sdk-js/commit/b62dcc655f086cdf28611837e1ed3de2bae09d37))
24+
* **aepp:** call `onDetected` always with `newWallet` ([80d97fa](https://github.com/aeternity/aepp-sdk-js/commit/80d97fa4b3d2c3fd5fb710c2bdaae10ab521f129))
25+
* **contract:** use fallback account if `onAccount` not provided ([9033cd7](https://github.com/aeternity/aepp-sdk-js/commit/9033cd799be5974ebf28a49df181eeb63b1fce84))
26+
* converting proxied options to JSON ([efebbd1](https://github.com/aeternity/aepp-sdk-js/commit/efebbd139ea85c35e28bdcfe907670743f9fc1f4))
27+
* provide types in exports field of package.json ([dbd19e7](https://github.com/aeternity/aepp-sdk-js/commit/dbd19e70bca2d6dbc5b2392db478bb98936b63f2))
28+
* reject prefixes other then provided in isAddressValid ([9462add](https://github.com/aeternity/aepp-sdk-js/commit/9462adde8fab9848fca0a6d9a382dbd34f5e2b8f))
29+
* **tx-builder:** `buildTx` produces the same type as `unpackTx` accepts ([d3d6c88](https://github.com/aeternity/aepp-sdk-js/commit/d3d6c88607abbfb74acf016fba886540938b216d))
30+
* **tx-builder:** decode tag in entry error message ([db0d96f](https://github.com/aeternity/aepp-sdk-js/commit/db0d96f156f3e8cfe52c6a7d7411c359f6dae35c))
31+
* **wallet:** emit internal error if something broke while broadcast ([332d1b5](https://github.com/aeternity/aepp-sdk-js/commit/332d1b567f69bf6b7d3567af43fb805556ac015b))
32+
* **wallet:** throw reason of internal error to handle it in wallet ([276699b](https://github.com/aeternity/aepp-sdk-js/commit/276699ba22539f75591754d2e2c3c503d528fdf4))
33+
534
### [13.0.1](https://github.com/aeternity/aepp-sdk-js/compare/v13.0.0...v13.0.1) (2023-04-24)
635

736

0 commit comments

Comments
 (0)