mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Migrate cli to @cosmwasm/cosmwasm and @cosmwasm/sdk38
This commit is contained in:
parent
948d24aef7
commit
2c8349a10c
@ -38,7 +38,8 @@
|
||||
"!**/testdata/"
|
||||
],
|
||||
"dependencies": {
|
||||
"@cosmwasm/sdk": "^0.8.0",
|
||||
"@cosmwasm/cosmwasm": "^0.8.0",
|
||||
"@cosmwasm/sdk38": "^0.8.0",
|
||||
"@iov/crypto": "^2.1.0",
|
||||
"@iov/encoding": "^2.1.0",
|
||||
"@iov/utils": "^2.0.2",
|
||||
|
@ -30,19 +30,8 @@ export function main(originalArgs: readonly string[]): void {
|
||||
|
||||
const imports = new Map<string, readonly string[]>([
|
||||
[
|
||||
"@cosmwasm/sdk",
|
||||
"@cosmwasm/cosmwasm",
|
||||
[
|
||||
"encodeSecp256k1Pubkey",
|
||||
"encodeSecp256k1Signature",
|
||||
"logs",
|
||||
"makeCosmoshubPath",
|
||||
"makeSignBytes",
|
||||
"marshalTx",
|
||||
"Pen",
|
||||
"pubkeyToAddress",
|
||||
"RestClient",
|
||||
"Secp256k1Pen",
|
||||
"types",
|
||||
// cosmwasmclient
|
||||
"Account",
|
||||
"Block",
|
||||
@ -53,7 +42,6 @@ export function main(originalArgs: readonly string[]): void {
|
||||
"ContractDetails",
|
||||
"CosmWasmClient",
|
||||
"GetNonceResult",
|
||||
"IndexedTx",
|
||||
"PostTxResult",
|
||||
"SearchByHeightQuery",
|
||||
"SearchByIdQuery",
|
||||
@ -71,6 +59,23 @@ export function main(originalArgs: readonly string[]): void {
|
||||
"UploadResult",
|
||||
],
|
||||
],
|
||||
[
|
||||
"@cosmwasm/sdk38",
|
||||
[
|
||||
"encodeSecp256k1Pubkey",
|
||||
"encodeSecp256k1Signature",
|
||||
"logs",
|
||||
"makeCosmoshubPath",
|
||||
"makeSignBytes",
|
||||
"marshalTx",
|
||||
"Pen",
|
||||
"pubkeyToAddress",
|
||||
"RestClient",
|
||||
"Secp256k1Pen",
|
||||
"types",
|
||||
"IndexedTx",
|
||||
],
|
||||
],
|
||||
[
|
||||
"@iov/crypto",
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user