From 22a972efeae57ab1b44cf22cebb3ac599170489f Mon Sep 17 00:00:00 2001 From: AbigailDeng Date: Mon, 26 Aug 2024 14:54:31 +0800 Subject: [PATCH 1/3] feat: update node ver --- .github/workflows/test-badge.yml | 1 + README.md | 3 +-- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-badge.yml b/.github/workflows/test-badge.yml index 412c07e3..ba13eb83 100644 --- a/.github/workflows/test-badge.yml +++ b/.github/workflows/test-badge.yml @@ -9,6 +9,7 @@ on: - dev - master - feature/test-chain-util + - feature/readme env: BRANCH_NAME: 'feature/badge-json' diff --git a/README.md b/README.md index 1aa300d5..e3d51ed6 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,7 @@

Node version - - NPM + NPM Commitizen friendly coverage diff --git a/package.json b/package.json index 662d3975..91524604 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aelf-sdk", - "version": "3.4.15-beta.0", + "version": "3.4.15-beta.1", "description": "aelf-sdk js library", "main": "dist/aelf.cjs.js", "browser": "dist/aelf.umd.js", @@ -44,7 +44,7 @@ "node": "16.x || 18.x || 20.x" }, "engines": { - "node": "^16.10.0 || >=18.0.0" + "node": ">=18.18.0" }, "types": "types", "engineStrict": true, From f3f8af102e2c43848a6916b6a2115f40cf857310 Mon Sep 17 00:00:00 2001 From: AbigailDeng Date: Mon, 26 Aug 2024 15:00:39 +0800 Subject: [PATCH 2/3] feat: badge --- .github/workflows/test-badge.yml | 2 -- README.md | 11 +++++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-badge.yml b/.github/workflows/test-badge.yml index ba13eb83..48ad084d 100644 --- a/.github/workflows/test-badge.yml +++ b/.github/workflows/test-badge.yml @@ -8,8 +8,6 @@ on: branches: - dev - master - - feature/test-chain-util - - feature/readme env: BRANCH_NAME: 'feature/badge-json' diff --git a/README.md b/README.md index e3d51ed6..bfc353dd 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,17 @@ # aelf-sdk.js - AELF JavaScript API

- - Node version - NPM + Node version + NPM Commitizen friendly coverage

-| Branch | Tests | Coverage | -| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -| `feature/test-chain-util` | ![Tests](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AElfProject/aelf-web3.js/feature/badge-json/feature-test-chain-util-test-results.json) | ![Coverage](https://AElfProject.github.io/aelf-web3.js/badges.svg) | +| Branch | Tests | Coverage | +| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | +| `master` | ![Tests](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AElfProject/aelf-web3.js/feature/badge-json/feature-test-chain-util-test-results.json) | ![Coverage](https://AElfProject.github.io/aelf-web3.js/badges.svg) |