Skip to content

Commit 3b45b13

Browse files
authored
build: release 2.1.0-rc.2 (#313)
1 parent 64ae9d1 commit 3b45b13

5 files changed

Lines changed: 633 additions & 575 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## 2.1.0-rc.2 (UNRELEASED)
8+
## 2.1.0-rc.2 (2024-02-28)
99

1010
### Fixed
1111

package.json

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@archwayhq/cli",
3-
"version": "2.1.0-rc.1",
3+
"version": "2.1.0-rc.2",
4+
"stableVersion": "2.0.2",
45
"description": "Develop WASM smart contracts with the Archway Network's Developer CLI",
56
"homepage": "https://docs.archway.io",
67
"repository": "github:archway-network/cli",
@@ -66,17 +67,17 @@
6667
"changelog": "conventional-changelog -p conventionalcommits"
6768
},
6869
"dependencies": {
69-
"@archwayhq/arch3.js": "^0.5.0",
70+
"@archwayhq/arch3.js": "^0.7.0",
7071
"@archwayhq/keyring-go": "^0.2.1",
71-
"@cosmjs/amino": "^0.31.3",
72-
"@cosmjs/cosmwasm-stargate": "^0.31.3",
73-
"@cosmjs/crypto": "^0.31.3",
74-
"@cosmjs/encoding": "^0.31.3",
75-
"@cosmjs/ledger-amino": "^0.31.3",
76-
"@cosmjs/proto-signing": "^0.31.3",
77-
"@cosmjs/stargate": "^0.31.3",
78-
"@cosmjs/tendermint-rpc": "^0.31.3",
79-
"@ledgerhq/hw-transport-node-hid": "^6.27.21",
72+
"@cosmjs/amino": "^0.32.2",
73+
"@cosmjs/cosmwasm-stargate": "^0.32.2",
74+
"@cosmjs/crypto": "^0.32.2",
75+
"@cosmjs/encoding": "^0.32.2",
76+
"@cosmjs/ledger-amino": "^0.32.2",
77+
"@cosmjs/proto-signing": "^0.32.2",
78+
"@cosmjs/stargate": "^0.32.2",
79+
"@cosmjs/tendermint-rpc": "^0.32.2",
80+
"@ledgerhq/hw-transport-node-hid": "^6.28.4",
8081
"@oclif/core": "^2.15.0",
8182
"@oclif/plugin-autocomplete": "^2.3.10",
8283
"ajv": "^8.12.0",
@@ -87,62 +88,62 @@
8788
"chalk": "^4.1.2",
8889
"cosmjs-types": "^0.9.0",
8990
"debug": "^4.3.4",
90-
"dockerode": "^4.0.0",
91+
"dockerode": "^4.0.2",
9192
"lodash": "^4.17.21",
9293
"ora": "^5.4.1",
9394
"ow": "^0.28.2",
9495
"promisify-child-process": "^4.1.2",
9596
"prompts": "^2.4.2",
96-
"semver": "^7.5.4",
97+
"semver": "^7.6.0",
9798
"terminal-link": "^2.1.1",
9899
"toml": "^3.0.0"
99100
},
100101
"devDependencies": {
101102
"@commitlint/cli": "^18.2.0",
102103
"@commitlint/config-conventional": "^18.1.0",
103104
"@oclif/test": "^2.5.6",
104-
"@types/chai": "^4.3.10",
105+
"@types/chai": "^4.3.12",
105106
"@types/debug": "^4.1.12",
106-
"@types/dockerode": "^3.3.21",
107-
"@types/elliptic": "^6.4.16",
107+
"@types/dockerode": "^3.3.24",
108+
"@types/elliptic": "^6.4.18",
108109
"@types/expect": "^24.3.0",
109-
"@types/ledgerhq__hw-transport": "^4.21.6",
110-
"@types/lodash": "^4.14.200",
111-
"@types/mocha": "^10.0.4",
112-
"@types/node": "^18.18.9",
110+
"@types/ledgerhq__hw-transport": "^4.21.8",
111+
"@types/lodash": "^4.14.202",
112+
"@types/mocha": "^10.0.6",
113+
"@types/node": "^18.19.19",
113114
"@types/node-hid": "^1.3.4",
114-
"@types/prompts": "^2.4.7",
115-
"@types/semver": "^7.5.4",
116-
"@typescript-eslint/eslint-plugin": "^6.10.0",
117-
"@typescript-eslint/parser": "^6.10.0",
118-
"chai": "^4.3.10",
115+
"@types/prompts": "^2.4.9",
116+
"@types/semver": "^7.5.8",
117+
"@typescript-eslint/eslint-plugin": "^6.21.0",
118+
"@typescript-eslint/parser": "^6.21.0",
119+
"chai": "^4.4.1",
119120
"conventional-changelog-cli": "^4.1.0",
120121
"elliptic": "^6.5.4",
121-
"eslint": "^8.53.0",
122-
"eslint-config-oclif": "^5.0.0",
123-
"eslint-config-oclif-typescript": "^3.0.13",
124-
"eslint-plugin-import": "^2.29.0",
125-
"eslint-plugin-jsdoc": "^46.8.2",
126-
"eslint-plugin-mocha": "^10.2.0",
122+
"eslint": "^8.57.0",
123+
"eslint-config-oclif": "^5.0.3",
124+
"eslint-config-oclif-typescript": "^3.0.48",
125+
"eslint-plugin-import": "^2.29.1",
126+
"eslint-plugin-jsdoc": "^46.10.1",
127+
"eslint-plugin-mocha": "^10.3.0",
127128
"eslint-plugin-node": "^11.1.0",
128-
"eslint-plugin-perfectionist": "^2.2.0",
129+
"eslint-plugin-perfectionist": "^2.5.0",
129130
"eslint-plugin-tsdoc": "^0.2.17",
130131
"eslint-plugin-unicorn": "^49.0.0",
131-
"fancy-test": "^3.0.1",
132+
"fancy-test": "^3.0.11",
132133
"husky": "^8.0.3",
133-
"json-schema-to-typescript": "^13.1.1",
134-
"mocha": "^10.2.0",
134+
"json-schema-to-typescript": "^13.1.2",
135+
"mocha": "^10.3.0",
135136
"oclif": "^3.17.2",
136137
"pinst": "^3.0.0",
137138
"shx": "^0.3.4",
138139
"sinon": "^17.0.1",
139140
"spawk": "^1.8.1",
140141
"ts-alias": "^0.0.7",
141-
"ts-node": "^10.9.1",
142+
"ts-node": "^10.9.2",
142143
"tsc-alias": "^1.8.8",
143144
"tsconfig-paths": "^4.2.0",
144145
"tslib": "^2.6.2",
145-
"typescript": "^5.2.2"
146+
"typescript": "^5.3.3"
146147
},
147148
"oclif": {
148149
"additionalVersionFlags": [

src/lib/base.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
9595
* @param json - JSON object to be logged
9696
*/
9797
public logJson(json: unknown): void {
98-
super.logJson(json);
98+
// FIXME: This is a workaround to avoid the error "TypeError: Do not know how to serialize a BigInt"
99+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
100+
const serialized = JSON.stringify(json, (_key, value) => (typeof value === 'bigint') ? value.toString() : value);
101+
super.logJson(JSON.parse(serialized));
99102
}
100103

101104
/**

test/dummies/transactions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ export const dummyStoreTransaction: UploadResult = {
7878
],
7979
},
8080
],
81-
gasWanted: 1_199_279,
82-
gasUsed: 935_691,
81+
gasWanted: BigInt(1_199_279),
82+
gasUsed: BigInt(935_691),
8383
};
8484

8585
export const dummyInstantiateTransaction = {

0 commit comments

Comments
 (0)