Upgrade cosmjs-types to ^0.4.0

This commit is contained in:
Simon Warta 2021-12-06 09:50:52 +01:00
parent 700cac88ec
commit fa58c73988
10 changed files with 26 additions and 26 deletions

16
.pnp.cjs generated
View File

@ -1048,7 +1048,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],
[
"cosmjs-types",
"npm:0.3.0"
"npm:0.4.0"
],
[
"create-hash",
@ -3282,7 +3282,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["axios", "npm:0.21.4"],
["babylon", "npm:6.18.0"],
["colors", "npm:1.4.0"],
["cosmjs-types", "npm:0.3.0"],
["cosmjs-types", "npm:0.4.0"],
["diff", "npm:4.0.2"],
["eslint", "npm:7.26.0"],
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],
@ -3328,7 +3328,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/pako", "npm:1.0.1"],
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["cosmjs-types", "npm:0.3.0"],
["cosmjs-types", "npm:0.4.0"],
["eslint", "npm:7.26.0"],
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],
["eslint-import-resolver-node", "npm:0.3.4"],
@ -3766,7 +3766,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/node", "npm:15.3.1"],
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["cosmjs-types", "npm:0.3.0"],
["cosmjs-types", "npm:0.4.0"],
["eslint", "npm:7.26.0"],
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],
["eslint-import-resolver-node", "npm:0.3.4"],
@ -3870,7 +3870,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/node", "npm:15.3.1"],
["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:4.28.4"],
["cosmjs-types", "npm:0.3.0"],
["cosmjs-types", "npm:0.4.0"],
["eslint", "npm:7.26.0"],
["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],
["eslint-import-resolver-node", "npm:0.3.4"],
@ -7033,10 +7033,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]
]],
["cosmjs-types", [
["npm:0.3.0", {
"packageLocation": "./.yarn/cache/cosmjs-types-npm-0.3.0-7e874d3092-b123bc1a55.zip/node_modules/cosmjs-types/",
["npm:0.4.0", {
"packageLocation": "./.yarn/cache/cosmjs-types-npm-0.4.0-accb450c96-ffc3e6451e.zip/node_modules/cosmjs-types/",
"packageDependencies": [
["cosmjs-types", "npm:0.3.0"],
["cosmjs-types", "npm:0.4.0"],
["long", "npm:4.0.0"],
["protobufjs", "npm:6.11.2"]
],

Binary file not shown.

BIN
.yarn/cache/cosmjs-types-npm-0.4.0-accb450c96-ffc3e6451e.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

View File

@ -37,7 +37,7 @@ and this project adheres to
code that only needs to support one backend. ([#865])
- @cosmjs/tendermint-rpc: Remove default URL from `HttpClient` and
`WebsocketClient` constructors ([#897]).
- all: Upgrade cosmjs-types to 0.3. This includes the types of the Cosmos SDK
- all: Upgrade cosmjs-types to 0.4. This includes the types of the Cosmos SDK
0.44 modules x/authz and x/feegrant. It causes a few breaking changes by
adding fields to interfaces. ([#928])
- @cosmjs/stargate and @cosmjs/cosmwasm-stargate: Add simulation support

View File

@ -54,7 +54,7 @@
"axios": "^0.21.2",
"babylon": "^6.18.0",
"colors": "^1.3.3",
"cosmjs-types": "^0.3.0",
"cosmjs-types": "^0.4.0",
"diff": "^4",
"recast": "^0.20",
"ts-node": "^8",

View File

@ -46,7 +46,7 @@
"@cosmjs/stargate": "workspace:packages/stargate",
"@cosmjs/tendermint-rpc": "workspace:packages/tendermint-rpc",
"@cosmjs/utils": "workspace:packages/utils",
"cosmjs-types": "^0.3.0",
"cosmjs-types": "^0.4.0",
"long": "^4.0.0",
"pako": "^2.0.2",
"protobufjs": "~6.10.2"

View File

@ -42,7 +42,7 @@
"@cosmjs/amino": "workspace:packages/amino",
"@cosmjs/crypto": "workspace:packages/crypto",
"@cosmjs/math": "workspace:packages/math",
"cosmjs-types": "^0.3.0",
"cosmjs-types": "^0.4.0",
"long": "^4.0.0",
"protobufjs": "~6.10.2"
},

View File

@ -12,8 +12,8 @@ import protobuf from "protobufjs";
export interface TsProtoGeneratedType {
readonly encode: (message: any | { [k: string]: any }, writer?: protobuf.Writer) => protobuf.Writer;
readonly decode: (input: Uint8Array | protobuf.Reader, length?: number) => any;
readonly fromJSON: (object: { [k: string]: any }) => any;
readonly fromPartial: (object: { [k: string]: any }) => any;
readonly fromJSON: (object: any) => any;
readonly fromPartial: (object: any) => any;
readonly toJSON: (message: any | { [k: string]: any }) => unknown;
}

View File

@ -46,7 +46,7 @@
"@cosmjs/stream": "workspace:packages/stream",
"@cosmjs/tendermint-rpc": "workspace:packages/tendermint-rpc",
"@cosmjs/utils": "workspace:packages/utils",
"cosmjs-types": "^0.3.0",
"cosmjs-types": "^0.4.0",
"long": "^4.0.0",
"protobufjs": "~6.10.2",
"xstream": "^11.14.0"

View File

@ -367,7 +367,7 @@ __metadata:
axios: ^0.21.2
babylon: ^6.18.0
colors: ^1.3.3
cosmjs-types: ^0.3.0
cosmjs-types: ^0.4.0
diff: ^4
eslint: ^7.5
eslint-config-prettier: ^8.3.0
@ -413,7 +413,7 @@ __metadata:
"@types/pako": ^1.0.1
"@typescript-eslint/eslint-plugin": ^4.28
"@typescript-eslint/parser": ^4.28
cosmjs-types: ^0.3.0
cosmjs-types: ^0.4.0
eslint: ^7.5
eslint-config-prettier: ^8.3.0
eslint-import-resolver-node: ^0.3.4
@ -835,7 +835,7 @@ __metadata:
"@types/node": ^15.0.1
"@typescript-eslint/eslint-plugin": ^4.28
"@typescript-eslint/parser": ^4.28
cosmjs-types: ^0.3.0
cosmjs-types: ^0.4.0
eslint: ^7.5
eslint-config-prettier: ^8.3.0
eslint-import-resolver-node: ^0.3.4
@ -935,7 +935,7 @@ __metadata:
"@types/node": ^15.0.1
"@typescript-eslint/eslint-plugin": ^4.28
"@typescript-eslint/parser": ^4.28
cosmjs-types: ^0.3.0
cosmjs-types: ^0.4.0
eslint: ^7.5
eslint-config-prettier: ^8.3.0
eslint-import-resolver-node: ^0.3.4
@ -3009,13 +3009,13 @@ __metadata:
languageName: unknown
linkType: soft
"cosmjs-types@npm:^0.3.0":
version: 0.3.0
resolution: "cosmjs-types@npm:0.3.0"
"cosmjs-types@npm:^0.4.0":
version: 0.4.0
resolution: "cosmjs-types@npm:0.4.0"
dependencies:
long: ^4.0.0
protobufjs: ~6.11.2
checksum: b123bc1a55b6a8d4bd8963a75fa5d4a63109359c980810c31bcf3426e8a0d3384f570d6a3e11bab4337ff9611075fa8e24c3cd4ab6a77f86e8d35f2abd4cdcc6
checksum: ffc3e6451e85023f81e17ae55cc221d2be77fa01ac65cbd51ec69b695c49a7fba5ddd50a913e519db8aae821f02f0c1a231a2d20337d4646ca520bb3584631a1
languageName: node
linkType: hard