forked from cerc-io/laconic-sdk
Fix protoc-gen-ts error with updated typescript
This commit is contained in:
parent
2493e2c706
commit
7d0a84b701
@ -14,7 +14,7 @@
|
|||||||
"dotenv": "^16.0.0",
|
"dotenv": "^16.0.0",
|
||||||
"google-protobuf": "^3.21.0",
|
"google-protobuf": "^3.21.0",
|
||||||
"jest": "29.0.0",
|
"jest": "29.0.0",
|
||||||
"protoc-gen-ts": "^0.8.5",
|
"protoc-gen-ts": "^0.8.6-rc1",
|
||||||
"ts-jest": "^29.0.2",
|
"ts-jest": "^29.0.2",
|
||||||
"typescript": "^4.6.2"
|
"typescript": "^4.6.2"
|
||||||
},
|
},
|
||||||
|
@ -37,7 +37,7 @@ export namespace cosmos.base.query.v1beta1 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
get key() {
|
get key() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 1, new Uint8Array()) as Uint8Array;
|
return pb_1.Message.getFieldWithDefault(this, 1, new Uint8Array(0)) as Uint8Array;
|
||||||
}
|
}
|
||||||
set key(value: Uint8Array) {
|
set key(value: Uint8Array) {
|
||||||
pb_1.Message.setField(this, 1, value);
|
pb_1.Message.setField(this, 1, value);
|
||||||
@ -184,7 +184,7 @@ export namespace cosmos.base.query.v1beta1 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
get next_key() {
|
get next_key() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 1, new Uint8Array()) as Uint8Array;
|
return pb_1.Message.getFieldWithDefault(this, 1, new Uint8Array(0)) as Uint8Array;
|
||||||
}
|
}
|
||||||
set next_key(value: Uint8Array) {
|
set next_key(value: Uint8Array) {
|
||||||
pb_1.Message.setField(this, 1, value);
|
pb_1.Message.setField(this, 1, value);
|
||||||
|
@ -32,7 +32,7 @@ export namespace google.protobuf {
|
|||||||
pb_1.Message.setField(this, 1, value);
|
pb_1.Message.setField(this, 1, value);
|
||||||
}
|
}
|
||||||
get value() {
|
get value() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 2, new Uint8Array()) as Uint8Array;
|
return pb_1.Message.getFieldWithDefault(this, 2, new Uint8Array(0)) as Uint8Array;
|
||||||
}
|
}
|
||||||
set value(value: Uint8Array) {
|
set value(value: Uint8Array) {
|
||||||
pb_1.Message.setField(this, 2, value);
|
pb_1.Message.setField(this, 2, value);
|
||||||
|
@ -3604,7 +3604,7 @@ export namespace google.protobuf {
|
|||||||
return pb_1.Message.getField(this, 6) != null;
|
return pb_1.Message.getField(this, 6) != null;
|
||||||
}
|
}
|
||||||
get string_value() {
|
get string_value() {
|
||||||
return pb_1.Message.getFieldWithDefault(this, 7, new Uint8Array()) as Uint8Array;
|
return pb_1.Message.getFieldWithDefault(this, 7, new Uint8Array(0)) as Uint8Array;
|
||||||
}
|
}
|
||||||
set string_value(value: Uint8Array) {
|
set string_value(value: Uint8Array) {
|
||||||
pb_1.Message.setField(this, 7, value);
|
pb_1.Message.setField(this, 7, value);
|
||||||
|
@ -3086,10 +3086,10 @@ protobufjs@~6.11.2:
|
|||||||
"@types/node" ">=13.7.0"
|
"@types/node" ">=13.7.0"
|
||||||
long "^4.0.0"
|
long "^4.0.0"
|
||||||
|
|
||||||
protoc-gen-ts@^0.8.5:
|
protoc-gen-ts@^0.8.6-rc1:
|
||||||
version "0.8.5"
|
version "0.8.6-rc1"
|
||||||
resolved "https://registry.yarnpkg.com/protoc-gen-ts/-/protoc-gen-ts-0.8.5.tgz#5c277ff90b6b38f52313b1b0ad69e6c825305b29"
|
resolved "https://registry.yarnpkg.com/protoc-gen-ts/-/protoc-gen-ts-0.8.6-rc1.tgz#6c0a247ec4e67bbaf09546263b1ec18b52c2638d"
|
||||||
integrity sha512-LHZ+w/+DqmdgnhPtShgqtPtdv+hJ9bAXEIqNU0kkY2bPcCVIEWz5seOv20FCw6gbKorriTGP8xgz2RsIcrRvVw==
|
integrity sha512-UfnuENo5T32nKC/jEEpobDeQQU94xtSe3ku4CH3q2/xGLcZ9KpIsUChdh5PK+Yl5Ed7KemU895ZmqeZex4nB5w==
|
||||||
|
|
||||||
randombytes@^2.0.1, randombytes@^2.1.0:
|
randombytes@^2.0.1, randombytes@^2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user