Skip to content

Commit

Permalink
fix: release candidate 1.0.0-rc.1 (#1465)
Browse files Browse the repository at this point in the history
* fix: release candidate 1.0.0-rc.1

* fix: release candidate 1.0.0-r

* fix: 1.0.0-rc.1
lucanicoladebiasi authored Nov 5, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
rogargon Roberto GarcΓ­a
1 parent c02b2ff commit b777aa0
Showing 16 changed files with 53 additions and 50 deletions.
4 changes: 2 additions & 2 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"mode": "pre",
"tag": "beta",
"mode": "exit",
"tag": "latest",
"initialVersions": {
"docs": "1.0.0",
"@vechain/sdk-aws-kms-adapter": "1.0.0",
6 changes: 3 additions & 3 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-beta.32",
"version": "1.0.0-rc.1",
"private": true,
"author": "VeChain Foundation",
"license": "MIT",
@@ -16,6 +16,6 @@
"wrangler": "^3.72.3"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-beta.32"
"@vechain/sdk-core": "1.0.0-rc.1"
}
}
}
10 changes: 5 additions & 5 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-beta.32",
"version": "1.0.0-rc.1",
"private": true,
"main": "index.js",
"author": "VeChain Foundation",
@@ -18,9 +18,9 @@
},
"dependencies": {
"@openzeppelin/contracts": "^5.0.2",
"@vechain/sdk-core": "1.0.0-beta.32",
"@vechain/sdk-hardhat-plugin": "1.0.0-beta.32",
"@vechain/sdk-logging": "1.0.0-beta.32"
"@vechain/sdk-core": "1.0.0-rc.1",
"@vechain/sdk-hardhat-plugin": "1.0.0-rc.1",
"@vechain/sdk-logging": "1.0.0-rc.1"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
@@ -40,4 +40,4 @@
"typechain": "^8.3.0",
"typescript": "^5.6.3"
}
}
}
8 changes: 4 additions & 4 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-beta.32",
"version": "1.0.0-rc.1",
"private": true,
"author": "VeChain Foundation",
"license": "MIT",
@@ -14,8 +14,8 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-beta.32",
"@vechain/sdk-network": "1.0.0-beta.32",
"@vechain/sdk-core": "1.0.0-rc.1",
"@vechain/sdk-network": "1.0.0-rc.1",
"install": "^0.13.0",
"next": "15.0.2",
"react": "^18",
@@ -39,4 +39,4 @@
"tailwindcss": "^3.4.14",
"typescript": "^5"
}
}
}
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-beta.32",
"version": "1.0.0-rc.1",
"private": true,
"main": "dist/index.js",
"types": "src/index.ts",
@@ -13,7 +13,7 @@
"test": "jest"
},
"dependencies": {
"@vechain/sdk-network": "1.0.0-beta.32"
"@vechain/sdk-network": "1.0.0-rc.1"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
@@ -23,4 +23,4 @@
"tsup": "^8.3.0",
"typescript": "^5.6.3"
}
}
}
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "1.0.0-beta.32",
"version": "1.0.0-rc.1",
"description": "Official documentation for the VeChain TypeScript SDK with examples",
"author": "VeChain Foundation",
"license": "MIT",
@@ -16,12 +16,12 @@
"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-beta.32",
"@vechain/sdk-network": "1.0.0-beta.32"
"@vechain/sdk-core": "1.0.0-rc.1",
"@vechain/sdk-network": "1.0.0-rc.1"
},
"devDependencies": {
"expect": "^29.7.0",
"ts-node-test": "^0.4.4",
"typescript": "^5.6.3"
}
}
}
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "vechain-sdk",
"description": "The official JavaScript SDK for vechain",
"repository": "https://github.com/vechain/vechain-sdk.git",
"repository": {
"type": "git",
"url": "git+https://github.com/vechain/vechain-sdk.git"
},
"author": "VeChain Foundation",
"license": "MIT",
"keywords": [
@@ -81,5 +84,5 @@
"peerDependencies": {
"hardhat": "^2.22.13"
},
"version": "v1.22.22"
}
"version": "1.22.22"
}
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": "sdk-aws-kms-adapter",
"version": "1.0.0-beta.32",
"version": "1.0.0-rc.1",
"description": "This module implements the VeChain abstract signer so it is integrated with AWS KMS",
"author": "VeChain Foundation",
"license": "MIT",
@@ -39,8 +39,8 @@
},
"dependencies": {
"@aws-sdk/client-kms": "^3.682.0",
"@vechain/sdk-errors": "1.0.0-beta.32",
"@vechain/sdk-network": "1.0.0-beta.32",
"@vechain/sdk-errors": "1.0.0-rc.1",
"@vechain/sdk-network": "1.0.0-rc.1",
"asn1js": "^3.0.5"
}
}
}
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-beta.32",
"version": "1.0.0-rc.1",
"description": "This module is crafted for dApp development and various blockchain operations that seamlessly unfold offline",
"author": "VeChain Foundation",
"license": "MIT",
@@ -41,8 +41,8 @@
"@noble/ciphers": "^1.0.0",
"@scure/bip32": "^1.4.0",
"@scure/bip39": "^1.4.0",
"@vechain/sdk-errors": "1.0.0-beta.32",
"@vechain/sdk-logging": "1.0.0-beta.32",
"@vechain/sdk-errors": "1.0.0-rc.1",
"@vechain/sdk-logging": "1.0.0-rc.1",
"ethers": "6.13.4",
"fast-json-stable-stringify": "^2.1.0",
"viem": "^2.21.19"
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-beta.32",
"version": "1.0.0-rc.1",
"description": "This module is dedicated to managing and customizing errors within the VeChain SDK",
"author": "VeChain Foundation",
"license": "MIT",
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-beta.32",
"version": "1.0.0-rc.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",
@@ -33,8 +33,8 @@
"test": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-beta.32",
"@vechain/sdk-errors": "1.0.0-beta.32",
"@vechain/sdk-network": "1.0.0-beta.32"
"@vechain/sdk-core": "1.0.0-rc.1",
"@vechain/sdk-errors": "1.0.0-rc.1",
"@vechain/sdk-network": "1.0.0-rc.1"
}
}
8 changes: 4 additions & 4 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-beta.32",
"version": "1.0.0-rc.1",
"description": "This module allows to create smart contracts and interact with them using the VeChain SDK and Hardhat",
"author": "VeChain Foundation",
"license": "MIT",
@@ -37,9 +37,9 @@
"test:solo": "(yarn start-thor-solo && yarn test && yarn stop-thor-solo) || yarn stop-thor-solo"
},
"dependencies": {
"@vechain/sdk-errors": "1.0.0-beta.32",
"@vechain/sdk-ethers-adapter": "1.0.0-beta.32",
"@vechain/sdk-network": "1.0.0-beta.32"
"@vechain/sdk-errors": "1.0.0-rc.1",
"@vechain/sdk-ethers-adapter": "1.0.0-rc.1",
"@vechain/sdk-network": "1.0.0-rc.1"
},
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.8"
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-beta.32",
"version": "1.0.0-rc.1",
"description": "This module provides functionality to logging data for vechain-sdk",
"author": "VeChain Foundation",
"license": "MIT",
@@ -34,6 +34,6 @@
"test": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit"
},
"dependencies": {
"@vechain/sdk-errors": "1.0.0-beta.32"
"@vechain/sdk-errors": "1.0.0-rc.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-beta.32",
"version": "1.0.0-rc.1",
"description": "This module serves as the standard interface connecting decentralized applications (dApps) and users to the VeChainThor blockchain",
"author": "VeChain Foundation",
"license": "MIT",
@@ -41,9 +41,9 @@
"test:browser:solo": "(yarn start-thor-solo && yarn test:browser && yarn stop-thor-solo) || yarn stop-thor-solo"
},
"dependencies": {
"@vechain/sdk-core": "1.0.0-beta.32",
"@vechain/sdk-errors": "1.0.0-beta.32",
"@vechain/sdk-logging": "1.0.0-beta.32",
"@vechain/sdk-core": "1.0.0-rc.1",
"@vechain/sdk-errors": "1.0.0-rc.1",
"@vechain/sdk-logging": "1.0.0-rc.1",
"@vechain/vebetterdao-contracts": "^2.0.0",
"abitype": "^1.0.6",
"isomorphic-ws": "^5.0.0",
6 changes: 3 additions & 3 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-beta.32",
"version": "1.0.0-rc.1",
"description": "Proxy Thor's RESTful API to Eth JSON-RPC",
"author": "VeChain Foundation",
"license": "MIT",
@@ -39,8 +39,8 @@
"test:browser": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit --config ./jest.config.browser.js"
},
"dependencies": {
"@vechain/sdk-logging": "1.0.0-beta.32",
"@vechain/sdk-network": "1.0.0-beta.32",
"@vechain/sdk-logging": "1.0.0-rc.1",
"@vechain/sdk-network": "1.0.0-rc.1",
"commander": "^12.1.0",
"cors": "^2.8.5",
"express": "^4.21.1"
2 changes: 1 addition & 1 deletion scripts/pre-release.ts
Original file line number Diff line number Diff line change
@@ -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+(-beta\.\d+)?$/)) {
if (!version?.match(/^\d+\.\d+\.\d+(-rc\.\d+)?$/)) {
console.error(
`🚨 You must specify a semantic version as the first argument 🚨`
);

1 comment on commit b777aa0

@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.06% (4352/4393) 97.71% (1413/1446) 99.11% (896/904)
Title Tests Skipped Failures Errors Time
core 808 0 πŸ’€ 0 ❌ 0 πŸ”₯ 2m 7s ⏱️
network 734 0 πŸ’€ 0 ❌ 0 πŸ”₯ 4m 42s ⏱️
errors 42 0 πŸ’€ 0 ❌ 0 πŸ”₯ 14.668s ⏱️
logging 3 0 πŸ’€ 0 ❌ 0 πŸ”₯ 14.963s ⏱️
hardhat-plugin 19 0 πŸ’€ 0 ❌ 0 πŸ”₯ 53.302s ⏱️
aws-kms-adapter 23 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 11s ⏱️
ethers-adapter 5 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 4s ⏱️
rpc-proxy 37 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 0s ⏱️

Please sign in to comment.