Use telescope powered cosmjs-types

This commit is contained in:
Simon Warta 2022-11-24 19:18:43 +01:00
parent 302f3c83f7
commit 15270548e4
10 changed files with 27 additions and 25 deletions

16
.pnp.cjs generated
View File

@ -1036,7 +1036,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\
[\
"cosmjs-types",\
"npm:0.5.2"\
"npm:0.6.0-alpha.3"\
],\
[\
"cross-spawn",\
@ -3232,7 +3232,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["axios", "npm:0.21.4"],\
["babylon", "npm:6.18.0"],\
["chalk", "npm:4.1.2"],\
["cosmjs-types", "npm:0.5.2"],\
["cosmjs-types", "npm:0.6.0-alpha.3"],\
["diff", "npm:4.0.2"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
@ -3278,7 +3278,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/pako", "npm:1.0.1"],\
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.13.0"],\
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.13.0"],\
["cosmjs-types", "npm:0.5.2"],\
["cosmjs-types", "npm:0.6.0-alpha.3"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
["eslint-import-resolver-node", "npm:0.3.4"],\
@ -3651,7 +3651,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/node", "npm:15.9.0"],\
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.13.0"],\
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.13.0"],\
["cosmjs-types", "npm:0.5.2"],\
["cosmjs-types", "npm:0.6.0-alpha.3"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
["eslint-import-resolver-node", "npm:0.3.4"],\
@ -3752,7 +3752,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/node", "npm:15.9.0"],\
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.13.0"],\
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.13.0"],\
["cosmjs-types", "npm:0.5.2"],\
["cosmjs-types", "npm:0.6.0-alpha.3"],\
["eslint", "npm:7.26.0"],\
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\
["eslint-import-resolver-node", "npm:0.3.4"],\
@ -6919,10 +6919,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\
]],\
["cosmjs-types", [\
["npm:0.5.2", {\
"packageLocation": "./.yarn/cache/cosmjs-types-npm-0.5.2-cf7bc203f4-0362cb2136.zip/node_modules/cosmjs-types/",\
["npm:0.6.0-alpha.3", {\
"packageLocation": "./.yarn/cache/cosmjs-types-npm-0.6.0-alpha.3-aca128d7a2-4f5364c38a.zip/node_modules/cosmjs-types/",\
"packageDependencies": [\
["cosmjs-types", "npm:0.5.2"],\
["cosmjs-types", "npm:0.6.0-alpha.3"],\
["long", "npm:4.0.0"],\
["protobufjs", "npm:6.11.3"]\
],\

Binary file not shown.

BIN
.yarn/cache/cosmjs-types-npm-0.6.0-alpha.3-aca128d7a2-4f5364c38a.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

View File

@ -53,7 +53,7 @@
"axios": "^0.21.2",
"babylon": "^6.18.0",
"chalk": "^4",
"cosmjs-types": "^0.5.2",
"cosmjs-types": "^0.6.0-alpha.3",
"diff": "^4",
"recast": "^0.20",
"ts-node": "^8",

View File

@ -46,7 +46,7 @@
"@cosmjs/stargate": "workspace:^",
"@cosmjs/tendermint-rpc": "workspace:^",
"@cosmjs/utils": "workspace:^",
"cosmjs-types": "^0.5.2",
"cosmjs-types": "^0.6.0-alpha.3",
"long": "^4.0.0",
"pako": "^2.0.2"
},

View File

@ -14,7 +14,8 @@ import {
MsgSendEncodeObject,
} from "@cosmjs/stargate";
import { assert, sleep } from "@cosmjs/utils";
import { DeepPartial, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { DeepPartial } from "cosmjs-types";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx";
import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";

View File

@ -44,7 +44,7 @@
"@cosmjs/encoding": "workspace:^",
"@cosmjs/math": "workspace:^",
"@cosmjs/utils": "workspace:^",
"cosmjs-types": "^0.5.2",
"cosmjs-types": "^0.6.0-alpha.3",
"long": "^4.0.0"
},
"devDependencies": {

View File

@ -46,7 +46,7 @@
"@cosmjs/stream": "workspace:^",
"@cosmjs/tendermint-rpc": "workspace:^",
"@cosmjs/utils": "workspace:^",
"cosmjs-types": "^0.5.2",
"cosmjs-types": "^0.6.0-alpha.3",
"long": "^4.0.0",
"protobufjs": "~6.11.3",
"xstream": "^11.14.0"

View File

@ -10,11 +10,12 @@ import {
} from "@cosmjs/proto-signing";
import { Tendermint34Client } from "@cosmjs/tendermint-rpc";
import { assert, sleep } from "@cosmjs/utils";
import { DeepPartial } from "cosmjs-types";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
import { BasicAllowance } from "cosmjs-types/cosmos/feegrant/v1beta1/feegrant";
import { MsgGrantAllowance } from "cosmjs-types/cosmos/feegrant/v1beta1/tx";
import { DeepPartial, MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx";
import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx";
import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { Any } from "cosmjs-types/google/protobuf/any";
import Long from "long";

View File

@ -362,7 +362,7 @@ __metadata:
axios: ^0.21.2
babylon: ^6.18.0
chalk: ^4
cosmjs-types: ^0.5.2
cosmjs-types: ^0.6.0-alpha.3
diff: ^4
eslint: ^7.5
eslint-config-prettier: ^8.3.0
@ -408,7 +408,7 @@ __metadata:
"@types/pako": ^1.0.1
"@typescript-eslint/eslint-plugin": ^5.13.0
"@typescript-eslint/parser": ^5.13.0
cosmjs-types: ^0.5.2
cosmjs-types: ^0.6.0-alpha.3
eslint: ^7.5
eslint-config-prettier: ^8.3.0
eslint-import-resolver-node: ^0.3.4
@ -767,7 +767,7 @@ __metadata:
"@types/node": ^15.0.1
"@typescript-eslint/eslint-plugin": ^5.13.0
"@typescript-eslint/parser": ^5.13.0
cosmjs-types: ^0.5.2
cosmjs-types: ^0.6.0-alpha.3
eslint: ^7.5
eslint-config-prettier: ^8.3.0
eslint-import-resolver-node: ^0.3.4
@ -864,7 +864,7 @@ __metadata:
"@types/node": ^15.0.1
"@typescript-eslint/eslint-plugin": ^5.13.0
"@typescript-eslint/parser": ^5.13.0
cosmjs-types: ^0.5.2
cosmjs-types: ^0.6.0-alpha.3
eslint: ^7.5
eslint-config-prettier: ^8.3.0
eslint-import-resolver-node: ^0.3.4
@ -2929,13 +2929,13 @@ __metadata:
languageName: unknown
linkType: soft
"cosmjs-types@npm:^0.5.2":
version: 0.5.2
resolution: "cosmjs-types@npm:0.5.2"
"cosmjs-types@npm:^0.6.0-alpha.3":
version: 0.6.0-alpha.3
resolution: "cosmjs-types@npm:0.6.0-alpha.3"
dependencies:
long: ^4.0.0
protobufjs: ~6.11.2
checksum: 0362cb2136a17c0f91f0727a55a1f49058bb56665136cf88e4502febf6da59fa2d4ce91ed75bc55907571b9f1cd99546d594002509781b69fe71fe972dbfe4c1
checksum: 4f5364c38aa3ee11ceb6069a9a85ece4a4f84abc82c3943d6b0f040c790b74759ed1540c8e02932b1c3abe7a7c2b6fed60b75fd92b49f5c8023eccf011232154
languageName: node
linkType: hard