@gnolang/tm2-js-client 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/proto/google/protobuf/any.js +6 -4
- package/bin/proto/tm2/abci.js +18 -10
- package/bin/proto/tm2/tx.js +20 -11
- package/package.json +2 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
5
|
-
// protoc v5.29.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.5
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: google/protobuf/any.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.Any = exports.protobufPackage = void 0;
|
|
@@ -30,18 +30,20 @@ exports.Any = {
|
|
|
30
30
|
while (reader.pos < end) {
|
|
31
31
|
var tag = reader.uint32();
|
|
32
32
|
switch (tag >>> 3) {
|
|
33
|
-
case 1:
|
|
33
|
+
case 1: {
|
|
34
34
|
if (tag !== 10) {
|
|
35
35
|
break;
|
|
36
36
|
}
|
|
37
37
|
message.typeUrl = reader.string();
|
|
38
38
|
continue;
|
|
39
|
-
|
|
39
|
+
}
|
|
40
|
+
case 2: {
|
|
40
41
|
if (tag !== 18) {
|
|
41
42
|
break;
|
|
42
43
|
}
|
|
43
44
|
message.value = reader.bytes();
|
|
44
45
|
continue;
|
|
46
|
+
}
|
|
45
47
|
}
|
|
46
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
47
49
|
break;
|
package/bin/proto/tm2/abci.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
5
|
-
// protoc v5.29.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.5
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: tm2/abci.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -38,24 +38,27 @@ exports.ResponseDeliverTx = {
|
|
|
38
38
|
while (reader.pos < end) {
|
|
39
39
|
var tag = reader.uint32();
|
|
40
40
|
switch (tag >>> 3) {
|
|
41
|
-
case 1:
|
|
41
|
+
case 1: {
|
|
42
42
|
if (tag !== 10) {
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
45
|
message.responseBase = exports.ResponseBase.decode(reader, reader.uint32());
|
|
46
46
|
continue;
|
|
47
|
-
|
|
47
|
+
}
|
|
48
|
+
case 2: {
|
|
48
49
|
if (tag !== 16) {
|
|
49
50
|
break;
|
|
50
51
|
}
|
|
51
52
|
message.gasWanted = long_1.default.fromString(reader.sint64().toString());
|
|
52
53
|
continue;
|
|
53
|
-
|
|
54
|
+
}
|
|
55
|
+
case 3: {
|
|
54
56
|
if (tag !== 24) {
|
|
55
57
|
break;
|
|
56
58
|
}
|
|
57
59
|
message.gasUsed = long_1.default.fromString(reader.sint64().toString());
|
|
58
60
|
continue;
|
|
61
|
+
}
|
|
59
62
|
}
|
|
60
63
|
if ((tag & 7) === 4 || tag === 0) {
|
|
61
64
|
break;
|
|
@@ -147,36 +150,41 @@ exports.ResponseBase = {
|
|
|
147
150
|
while (reader.pos < end) {
|
|
148
151
|
var tag = reader.uint32();
|
|
149
152
|
switch (tag >>> 3) {
|
|
150
|
-
case 1:
|
|
153
|
+
case 1: {
|
|
151
154
|
if (tag !== 10) {
|
|
152
155
|
break;
|
|
153
156
|
}
|
|
154
157
|
message.error = any_1.Any.decode(reader, reader.uint32());
|
|
155
158
|
continue;
|
|
156
|
-
|
|
159
|
+
}
|
|
160
|
+
case 2: {
|
|
157
161
|
if (tag !== 18) {
|
|
158
162
|
break;
|
|
159
163
|
}
|
|
160
164
|
message.data = reader.bytes();
|
|
161
165
|
continue;
|
|
162
|
-
|
|
166
|
+
}
|
|
167
|
+
case 3: {
|
|
163
168
|
if (tag !== 26) {
|
|
164
169
|
break;
|
|
165
170
|
}
|
|
166
171
|
message.events.push(any_1.Any.decode(reader, reader.uint32()));
|
|
167
172
|
continue;
|
|
168
|
-
|
|
173
|
+
}
|
|
174
|
+
case 4: {
|
|
169
175
|
if (tag !== 34) {
|
|
170
176
|
break;
|
|
171
177
|
}
|
|
172
178
|
message.log = reader.string();
|
|
173
179
|
continue;
|
|
174
|
-
|
|
180
|
+
}
|
|
181
|
+
case 5: {
|
|
175
182
|
if (tag !== 42) {
|
|
176
183
|
break;
|
|
177
184
|
}
|
|
178
185
|
message.info = reader.string();
|
|
179
186
|
continue;
|
|
187
|
+
}
|
|
180
188
|
}
|
|
181
189
|
if ((tag & 7) === 4 || tag === 0) {
|
|
182
190
|
break;
|
package/bin/proto/tm2/tx.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
5
|
-
// protoc v5.29.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.5
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: tm2/tx.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -43,30 +43,34 @@ exports.Tx = {
|
|
|
43
43
|
while (reader.pos < end) {
|
|
44
44
|
var tag = reader.uint32();
|
|
45
45
|
switch (tag >>> 3) {
|
|
46
|
-
case 1:
|
|
46
|
+
case 1: {
|
|
47
47
|
if (tag !== 10) {
|
|
48
48
|
break;
|
|
49
49
|
}
|
|
50
50
|
message.messages.push(any_1.Any.decode(reader, reader.uint32()));
|
|
51
51
|
continue;
|
|
52
|
-
|
|
52
|
+
}
|
|
53
|
+
case 2: {
|
|
53
54
|
if (tag !== 18) {
|
|
54
55
|
break;
|
|
55
56
|
}
|
|
56
57
|
message.fee = exports.TxFee.decode(reader, reader.uint32());
|
|
57
58
|
continue;
|
|
58
|
-
|
|
59
|
+
}
|
|
60
|
+
case 3: {
|
|
59
61
|
if (tag !== 26) {
|
|
60
62
|
break;
|
|
61
63
|
}
|
|
62
64
|
message.signatures.push(exports.TxSignature.decode(reader, reader.uint32()));
|
|
63
65
|
continue;
|
|
64
|
-
|
|
66
|
+
}
|
|
67
|
+
case 4: {
|
|
65
68
|
if (tag !== 34) {
|
|
66
69
|
break;
|
|
67
70
|
}
|
|
68
71
|
message.memo = reader.string();
|
|
69
72
|
continue;
|
|
73
|
+
}
|
|
70
74
|
}
|
|
71
75
|
if ((tag & 7) === 4 || tag === 0) {
|
|
72
76
|
break;
|
|
@@ -142,18 +146,20 @@ exports.TxFee = {
|
|
|
142
146
|
while (reader.pos < end) {
|
|
143
147
|
var tag = reader.uint32();
|
|
144
148
|
switch (tag >>> 3) {
|
|
145
|
-
case 1:
|
|
149
|
+
case 1: {
|
|
146
150
|
if (tag !== 8) {
|
|
147
151
|
break;
|
|
148
152
|
}
|
|
149
153
|
message.gasWanted = long_1.default.fromString(reader.sint64().toString());
|
|
150
154
|
continue;
|
|
151
|
-
|
|
155
|
+
}
|
|
156
|
+
case 2: {
|
|
152
157
|
if (tag !== 18) {
|
|
153
158
|
break;
|
|
154
159
|
}
|
|
155
160
|
message.gasFee = reader.string();
|
|
156
161
|
continue;
|
|
162
|
+
}
|
|
157
163
|
}
|
|
158
164
|
if ((tag & 7) === 4 || tag === 0) {
|
|
159
165
|
break;
|
|
@@ -215,18 +221,20 @@ exports.TxSignature = {
|
|
|
215
221
|
while (reader.pos < end) {
|
|
216
222
|
var tag = reader.uint32();
|
|
217
223
|
switch (tag >>> 3) {
|
|
218
|
-
case 1:
|
|
224
|
+
case 1: {
|
|
219
225
|
if (tag !== 10) {
|
|
220
226
|
break;
|
|
221
227
|
}
|
|
222
228
|
message.pubKey = any_1.Any.decode(reader, reader.uint32());
|
|
223
229
|
continue;
|
|
224
|
-
|
|
230
|
+
}
|
|
231
|
+
case 2: {
|
|
225
232
|
if (tag !== 18) {
|
|
226
233
|
break;
|
|
227
234
|
}
|
|
228
235
|
message.signature = reader.bytes();
|
|
229
236
|
continue;
|
|
237
|
+
}
|
|
230
238
|
}
|
|
231
239
|
if ((tag & 7) === 4 || tag === 0) {
|
|
232
240
|
break;
|
|
@@ -285,12 +293,13 @@ exports.PubKeySecp256k1 = {
|
|
|
285
293
|
while (reader.pos < end) {
|
|
286
294
|
var tag = reader.uint32();
|
|
287
295
|
switch (tag >>> 3) {
|
|
288
|
-
case 1:
|
|
296
|
+
case 1: {
|
|
289
297
|
if (tag !== 10) {
|
|
290
298
|
break;
|
|
291
299
|
}
|
|
292
300
|
message.key = reader.bytes();
|
|
293
301
|
continue;
|
|
302
|
+
}
|
|
294
303
|
}
|
|
295
304
|
if ((tag & 7) === 4 || tag === 0) {
|
|
296
305
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gnolang/tm2-js-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "Tendermint2 JS / TS Client",
|
|
5
5
|
"main": "./bin/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -65,6 +65,5 @@
|
|
|
65
65
|
"test": "jest",
|
|
66
66
|
"prepare": "yarn build",
|
|
67
67
|
"prepublishOnly": "yarn lint && yarn prettier"
|
|
68
|
-
}
|
|
69
|
-
"packageManager": "yarn@4.9.2"
|
|
68
|
+
}
|
|
70
69
|
}
|