Skip to content

Commit

Permalink
chore: 2.0.0 release (#1639)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiorigam authored Jan 8, 2025
1 parent 8e8d5b7 commit 3d0571d
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions apps/sdk-cloudflare-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sdk-cloudflare-integration",
"description": "An example app of how to integrate the VeChain SDK with Cloudflare Workers",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"private": true,
"author": "VeChain Foundation",
"license": "MIT",
Expand All @@ -16,6 +16,6 @@
"wrangler": "^3.72.3"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-rc.5"
"@vechain/sdk-core": "2.0.0-beta.1"
}
}
8 changes: 4 additions & 4 deletions apps/sdk-hardhat-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sdk-hardhat-integration",
"description": "An example app of how to use the @vechain/sdk-hardhat-plugin to interact with the VeChainThor blockchain",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"private": true,
"main": "index.js",
"author": "VeChain Foundation",
Expand All @@ -18,9 +18,9 @@
},
"dependencies": {
"@openzeppelin/contracts": "^5.1.0",
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-hardhat-plugin": "1.0.0-rc.5",
"@vechain/sdk-logging": "1.0.0-rc.5"
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-hardhat-plugin": "2.0.0-beta.1",
"@vechain/sdk-logging": "2.0.0-beta.1"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/sdk-nextjs-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sdk-nextjs-integration",
"description": "An example app of how to integrate the VeChain SDK with Next.js",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"private": true,
"author": "VeChain Foundation",
"license": "MIT",
Expand All @@ -15,8 +15,8 @@
"test:e2e": "playwright test"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-network": "1.0.0-rc.5",
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-network": "2.0.0-beta.1",
"install": "^0.13.0",
"next": "15.1.2",
"react": "^18",
Expand Down
6 changes: 3 additions & 3 deletions apps/sdk-node-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sdk-node-integration",
"description": "An example app of how to integrate the VeChain SDK with Node.js",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"private": true,
"main": "dist/index.js",
"types": "src/index.ts",
Expand All @@ -13,7 +13,7 @@
"test": "jest"
},
"dependencies": {
"@vechain/sdk-network": "1.0.0-rc.5"
"@vechain/sdk-network": "2.0.0-beta.1"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
Expand All @@ -22,4 +22,4 @@
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
}
}
}
6 changes: 3 additions & 3 deletions apps/sdk-vite-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sdk-vite-integration",
"private": true,
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -12,8 +12,8 @@
"test:e2e": "playwright test"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-network": "1.0.0-rc.5",
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-network": "2.0.0-beta.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.27.0"
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"private": true,
"description": "Official documentation for the VeChain TypeScript SDK with examples",
"author": "VeChain Foundation",
Expand All @@ -17,8 +17,8 @@
"test:examples:solo": "(yarn start-thor-solo && yarn test:examples && yarn stop-thor-solo) || yarn stop-thor-solo"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-network": "1.0.0-rc.5"
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-network": "2.0.0-beta.1"
},
"devDependencies": {
"expect": "^29.7.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/aws-kms-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-aws-kms-adapter",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "This module implements the VeChain abstract signer so it is integrated with AWS KMS",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down Expand Up @@ -40,9 +40,9 @@
"dependencies": {
"@aws-sdk/client-kms": "^3.723.0",
"@noble/curves": "^1.7.0",
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-errors": "1.0.0-rc.5",
"@vechain/sdk-network": "1.0.0-rc.5",
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-errors": "2.0.0-beta.1",
"@vechain/sdk-network": "2.0.0-beta.1",
"asn1js": "^3.0.5",
"ethers": "6.13.4",
"viem": "^2.21.54"
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-core",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "This module is crafted for dApp development and various blockchain operations that seamlessly unfold offline",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down Expand Up @@ -44,8 +44,8 @@
"@scure/base": "^1.2.1",
"@scure/bip32": "^1.4.0",
"@scure/bip39": "^1.4.0",
"@vechain/sdk-errors": "1.0.0-rc.5",
"@vechain/sdk-logging": "1.0.0-rc.5",
"@vechain/sdk-errors": "2.0.0-beta.1",
"@vechain/sdk-logging": "2.0.0-beta.1",
"abitype": "^1.0.8",
"ethers": "6.13.4",
"fast-json-stable-stringify": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-errors",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "This module is dedicated to managing and customizing errors within the VeChain SDK",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions packages/ethers-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-ethers-adapter",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "This module serves as a crucial bridge between the standard Ethereum tooling provided by Hardhat and the unique features of the VeChainThor blockchain",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down Expand Up @@ -33,9 +33,9 @@
"test": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-errors": "1.0.0-rc.5",
"@vechain/sdk-network": "1.0.0-rc.5",
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-errors": "2.0.0-beta.1",
"@vechain/sdk-network": "2.0.0-beta.1",
"ethers": "6.13.4"
}
}
12 changes: 6 additions & 6 deletions packages/hardhat-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-hardhat-plugin",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "This module allows to create smart contracts and interact with them using the VeChain SDK and Hardhat",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down Expand Up @@ -38,11 +38,11 @@
},
"dependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.8",
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-errors": "1.0.0-rc.5",
"@vechain/sdk-ethers-adapter": "1.0.0-rc.5",
"@vechain/sdk-logging": "1.0.0-rc.5",
"@vechain/sdk-network": "1.0.0-rc.5",
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-errors": "2.0.0-beta.1",
"@vechain/sdk-ethers-adapter": "2.0.0-beta.1",
"@vechain/sdk-logging": "2.0.0-beta.1",
"@vechain/sdk-network": "2.0.0-beta.1",
"ethers": "6.13.4",
"hardhat": "^2.22.15"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/logging/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-logging",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "This module provides functionality to logging data for vechain-sdk",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down Expand Up @@ -34,6 +34,6 @@
"test": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit"
},
"dependencies": {
"@vechain/sdk-errors": "1.0.0-rc.5"
"@vechain/sdk-errors": "2.0.0-beta.1"
}
}
8 changes: 4 additions & 4 deletions packages/network/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-network",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "This module serves as the standard interface connecting decentralized applications (dApps) and users to the VeChainThor blockchain",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down Expand Up @@ -42,9 +42,9 @@
},
"dependencies": {
"@noble/curves": "^1.7.0",
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-errors": "1.0.0-rc.5",
"@vechain/sdk-logging": "1.0.0-rc.5",
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-errors": "2.0.0-beta.1",
"@vechain/sdk-logging": "2.0.0-beta.1",
"@vechain/vebetterdao-contracts": "^4.1.0",
"abitype": "^1.0.8",
"ethers": "6.13.4",
Expand Down
12 changes: 6 additions & 6 deletions packages/rpc-proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/sdk-rpc-proxy",
"version": "1.0.0-rc.5",
"version": "2.0.0-beta.1",
"description": "Proxy Thor's RESTful API to Eth JSON-RPC",
"author": "VeChain Foundation",
"license": "MIT",
Expand Down Expand Up @@ -39,10 +39,10 @@
"test:browser": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit --config ./jest.config.browser.js"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-rc.5",
"@vechain/sdk-errors": "1.0.0-rc.5",
"@vechain/sdk-logging": "1.0.0-rc.5",
"@vechain/sdk-network": "1.0.0-rc.5",
"@vechain/sdk-core": "2.0.0-beta.1",
"@vechain/sdk-errors": "2.0.0-beta.1",
"@vechain/sdk-logging": "2.0.0-beta.1",
"@vechain/sdk-network": "2.0.0-beta.1",
"commander": "^12.1.0",
"cors": "^2.8.5",
"express": "^4.21.2"
Expand All @@ -54,4 +54,4 @@
"cross-env": "^7.0.3",
"testcontainers": "^10.14.0"
}
}
}
2 changes: 1 addition & 1 deletion scripts/pre-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const preparePackages = async () => {
const version = process.argv[2];

// NOTE: Remote the beta tag from the version in the future
if (!version?.match(/^\d+\.\d+\.\d+(-rc\.\d+)?$/)) {
if (!version?.match(/^\d+\.\d+\.\d+(-beta\.\d+)?$/)) {
console.error(
`🚨 You must specify a semantic version as the first argument 🚨`
);
Expand Down

1 comment on commit 3d0571d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Summary

Lines Statements Branches Functions
Coverage: 99%
99% (4370/4414) 97.55% (1399/1434) 99.01% (906/915)
Title Tests Skipped Failures Errors Time
core 836 0 πŸ’€ 0 ❌ 0 πŸ”₯ 2m 32s ⏱️
network 729 0 πŸ’€ 0 ❌ 0 πŸ”₯ 5m 8s ⏱️
errors 40 0 πŸ’€ 0 ❌ 0 πŸ”₯ 18.639s ⏱️
logging 3 0 πŸ’€ 0 ❌ 0 πŸ”₯ 19.777s ⏱️
hardhat-plugin 19 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 8s ⏱️
aws-kms-adapter 23 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 41s ⏱️
ethers-adapter 5 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 21s ⏱️
rpc-proxy 37 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 8s ⏱️

Please sign in to comment.