diff --git a/.changeset/funny-masks-cheat.md b/.changeset/funny-masks-cheat.md index f137b8dee..2b74eca83 100644 --- a/.changeset/funny-masks-cheat.md +++ b/.changeset/funny-masks-cheat.md @@ -1,7 +1,8 @@ --- +"@vechain/sdk-aws-kms-adapter": patch "@vechain/sdk-core": patch "@vechain/sdk-errors": patch -"@vechain/ethers-adapter": patch +"@vechain/sdk-ethers-adapter": patch "@vechain/sdk-hardhat-plugin": patch "@vechain/sdk-logging": patch "@vechain/sdk-network": patch diff --git a/.changeset/pre.json b/.changeset/pre.json index 29dc29dfb..f11fd8429 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -3,9 +3,10 @@ "tag": "beta", "initialVersions": { "docs": "1.0.0", + "@vechain/sdk-aws-kms-adapter": "1.0.0", "@vechain/sdk-core": "1.0.0", "@vechain/sdk-errors": "1.0.0", - "@vechain/ethers-adapter": "1.0.0", + "@vechain/sdk-ethers-adapter": "1.0.0", "@vechain/sdk-hardhat-plugin": "1.0.0", "@vechain/sdk-logging": "1.0.0", "@vechain/sdk-network": "1.0.0", diff --git a/.github/workflows/publish-sdk.yml b/.github/workflows/publish-sdk.yml index 91e711478..b22e9125f 100644 --- a/.github/workflows/publish-sdk.yml +++ b/.github/workflows/publish-sdk.yml @@ -86,5 +86,13 @@ jobs: cd packages/ethers-adapter yarn version --no-git-tag-version --new-version ${{ github.ref_name }} yarn publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + + - name: Publish AWS KMS Adapter + run: | + cd packages/aws-kms-adapter + yarn version --no-git-tag-version --new-version ${{ github.ref_name }} + yarn publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file diff --git a/.github/workflows/rpc-proxy-vulnerability-scan.yml b/.github/workflows/rpc-proxy-vulnerability-scan.yml index 2cae917f7..c9f2b6ade 100644 --- a/.github/workflows/rpc-proxy-vulnerability-scan.yml +++ b/.github/workflows/rpc-proxy-vulnerability-scan.yml @@ -34,4 +34,7 @@ jobs: exit-code: '1' vuln-type: os,library severity: CRITICAL,HIGH,MEDIUM - scanners: misconfig,vuln,secret \ No newline at end of file + scanners: misconfig,vuln,secret + env: + # See https://github.com/aquasecurity/trivy/discussions/7538 + TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2 \ No newline at end of file diff --git a/.github/workflows/unit-integration-test.yml b/.github/workflows/unit-integration-test.yml index 7c32280ea..4febbe85e 100644 --- a/.github/workflows/unit-integration-test.yml +++ b/.github/workflows/unit-integration-test.yml @@ -55,6 +55,11 @@ jobs: core, packages/core/junit.xml network, packages/network/junit.xml errors, packages/errors/junit.xml + logging, packages/logging/junit.xml + hardhat-plugin, packages/hardhat-plugin/junit.xml + aws-kms-adapter, packages/aws-kms-adapter/junit.xml + ethers-adapter, packages/ethers-adapter/junit.xml + rpc-proxy, packages/rpc-proxy/junit.xml - name: Archive coverage if: matrix.node == 'lts/*' diff --git a/docs/README.md b/docs/README.md index 548c777da..6e096f0a3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,11 +7,13 @@ This SDK provides developers with tools and resources to integrate VeChain block ## Installation To start using the VeChain SDK, you can install specific packages based on your needs. The SDK is a monorepo that includes various packages. Here are the packages available: + - [@vechain/sdk-aws-kms-adapter](https://www.npmjs.com/package/@vechain/sdk-aws-kms-adapter) - [@vechain/sdk-core](https://www.npmjs.com/package/@vechain/sdk-core) - - [@vechain/sdk-network](https://www.npmjs.com/package/@vechain/sdk-network) - [@vechain/sdk-errors](https://www.npmjs.com/package/@vechain/sdk-errors) + - [@vechain/sdk-ethers-adapter](https://www.npmjs.com/package/@vechain/sdk-ethers-adapter) - [@vechain/sdk-hardhat-plugin](https://www.npmjs.com/package/@vechain/sdk-hardhat-plugin) - [@vechain/sdk-logging](https://www.npmjs.com/package/@vechain/sdk-logging) + - [@vechain/sdk-network](https://www.npmjs.com/package/@vechain/sdk-network) - [@vechain/sdk-rpc-proxy](https://www.npmjs.com/package/@vechain/sdk-rpc-proxy) You can install these packages individually based on your requirements. Here's how you can install the packages using npm: