@dashevo/dapi-grpc 0.22.16 → 0.23.0-dev.10
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/README.md +2 -3
- package/clients/core/v0/nodejs/core_protoc.js +7 -1
- package/clients/core/v0/web/core_grpc_web_pb.js +18 -151
- package/clients/core/v0/web/core_pb.js +7 -1
- package/clients/platform/v0/nodejs/PlatformPromiseClient.js +0 -40
- package/clients/platform/v0/nodejs/platform_pbjs.js +0 -524
- package/clients/platform/v0/nodejs/platform_protoc.js +7 -537
- package/clients/platform/v0/web/platform_grpc_web_pb.js +18 -231
- package/clients/platform/v0/web/platform_pb.js +7 -537
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +0 -12
- package/scripts/build.sh +16 -14
|
@@ -25,7 +25,7 @@ proto.org.dash.platform.dapi.v0 = require('./platform_pb.js');
|
|
|
25
25
|
/**
|
|
26
26
|
* @param {string} hostname
|
|
27
27
|
* @param {?Object} credentials
|
|
28
|
-
* @param {?
|
|
28
|
+
* @param {?grpc.web.ClientOptions} options
|
|
29
29
|
* @constructor
|
|
30
30
|
* @struct
|
|
31
31
|
* @final
|
|
@@ -33,7 +33,7 @@ proto.org.dash.platform.dapi.v0 = require('./platform_pb.js');
|
|
|
33
33
|
proto.org.dash.platform.dapi.v0.PlatformClient =
|
|
34
34
|
function(hostname, credentials, options) {
|
|
35
35
|
if (!options) options = {};
|
|
36
|
-
options
|
|
36
|
+
options.format = 'text';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
@@ -51,7 +51,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient =
|
|
|
51
51
|
/**
|
|
52
52
|
* @param {string} hostname
|
|
53
53
|
* @param {?Object} credentials
|
|
54
|
-
* @param {?
|
|
54
|
+
* @param {?grpc.web.ClientOptions} options
|
|
55
55
|
* @constructor
|
|
56
56
|
* @struct
|
|
57
57
|
* @final
|
|
@@ -59,7 +59,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient =
|
|
|
59
59
|
proto.org.dash.platform.dapi.v0.PlatformPromiseClient =
|
|
60
60
|
function(hostname, credentials, options) {
|
|
61
61
|
if (!options) options = {};
|
|
62
|
-
options
|
|
62
|
+
options.format = 'text';
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
@@ -96,31 +96,12 @@ const methodDescriptor_Platform_broadcastStateTransition = new grpc.web.MethodDe
|
|
|
96
96
|
);
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
/**
|
|
100
|
-
* @const
|
|
101
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
102
|
-
* !proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest,
|
|
103
|
-
* !proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse>}
|
|
104
|
-
*/
|
|
105
|
-
const methodInfo_Platform_broadcastStateTransition = new grpc.web.AbstractClientBase.MethodInfo(
|
|
106
|
-
proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse,
|
|
107
|
-
/**
|
|
108
|
-
* @param {!proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest} request
|
|
109
|
-
* @return {!Uint8Array}
|
|
110
|
-
*/
|
|
111
|
-
function(request) {
|
|
112
|
-
return request.serializeBinary();
|
|
113
|
-
},
|
|
114
|
-
proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse.deserializeBinary
|
|
115
|
-
);
|
|
116
|
-
|
|
117
|
-
|
|
118
99
|
/**
|
|
119
100
|
* @param {!proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest} request The
|
|
120
101
|
* request proto
|
|
121
102
|
* @param {?Object<string, string>} metadata User defined
|
|
122
103
|
* call metadata
|
|
123
|
-
* @param {function(?grpc.web.
|
|
104
|
+
* @param {function(?grpc.web.RpcError, ?proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse)}
|
|
124
105
|
* callback The callback function(error, response)
|
|
125
106
|
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse>|undefined}
|
|
126
107
|
* The XHR Node Readable Stream
|
|
@@ -139,7 +120,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient.prototype.broadcastStateTransitio
|
|
|
139
120
|
/**
|
|
140
121
|
* @param {!proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest} request The
|
|
141
122
|
* request proto
|
|
142
|
-
* @param {?Object<string, string
|
|
123
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
143
124
|
* call metadata
|
|
144
125
|
* @return {!Promise<!proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse>}
|
|
145
126
|
* Promise that resolves to the response
|
|
@@ -176,31 +157,12 @@ const methodDescriptor_Platform_getIdentity = new grpc.web.MethodDescriptor(
|
|
|
176
157
|
);
|
|
177
158
|
|
|
178
159
|
|
|
179
|
-
/**
|
|
180
|
-
* @const
|
|
181
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
182
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentityRequest,
|
|
183
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentityResponse>}
|
|
184
|
-
*/
|
|
185
|
-
const methodInfo_Platform_getIdentity = new grpc.web.AbstractClientBase.MethodInfo(
|
|
186
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse,
|
|
187
|
-
/**
|
|
188
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityRequest} request
|
|
189
|
-
* @return {!Uint8Array}
|
|
190
|
-
*/
|
|
191
|
-
function(request) {
|
|
192
|
-
return request.serializeBinary();
|
|
193
|
-
},
|
|
194
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.deserializeBinary
|
|
195
|
-
);
|
|
196
|
-
|
|
197
|
-
|
|
198
160
|
/**
|
|
199
161
|
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityRequest} request The
|
|
200
162
|
* request proto
|
|
201
163
|
* @param {?Object<string, string>} metadata User defined
|
|
202
164
|
* call metadata
|
|
203
|
-
* @param {function(?grpc.web.
|
|
165
|
+
* @param {function(?grpc.web.RpcError, ?proto.org.dash.platform.dapi.v0.GetIdentityResponse)}
|
|
204
166
|
* callback The callback function(error, response)
|
|
205
167
|
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.GetIdentityResponse>|undefined}
|
|
206
168
|
* The XHR Node Readable Stream
|
|
@@ -219,7 +181,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient.prototype.getIdentity =
|
|
|
219
181
|
/**
|
|
220
182
|
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityRequest} request The
|
|
221
183
|
* request proto
|
|
222
|
-
* @param {?Object<string, string
|
|
184
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
223
185
|
* call metadata
|
|
224
186
|
* @return {!Promise<!proto.org.dash.platform.dapi.v0.GetIdentityResponse>}
|
|
225
187
|
* Promise that resolves to the response
|
|
@@ -256,31 +218,12 @@ const methodDescriptor_Platform_getDataContract = new grpc.web.MethodDescriptor(
|
|
|
256
218
|
);
|
|
257
219
|
|
|
258
220
|
|
|
259
|
-
/**
|
|
260
|
-
* @const
|
|
261
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
262
|
-
* !proto.org.dash.platform.dapi.v0.GetDataContractRequest,
|
|
263
|
-
* !proto.org.dash.platform.dapi.v0.GetDataContractResponse>}
|
|
264
|
-
*/
|
|
265
|
-
const methodInfo_Platform_getDataContract = new grpc.web.AbstractClientBase.MethodInfo(
|
|
266
|
-
proto.org.dash.platform.dapi.v0.GetDataContractResponse,
|
|
267
|
-
/**
|
|
268
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractRequest} request
|
|
269
|
-
* @return {!Uint8Array}
|
|
270
|
-
*/
|
|
271
|
-
function(request) {
|
|
272
|
-
return request.serializeBinary();
|
|
273
|
-
},
|
|
274
|
-
proto.org.dash.platform.dapi.v0.GetDataContractResponse.deserializeBinary
|
|
275
|
-
);
|
|
276
|
-
|
|
277
|
-
|
|
278
221
|
/**
|
|
279
222
|
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractRequest} request The
|
|
280
223
|
* request proto
|
|
281
224
|
* @param {?Object<string, string>} metadata User defined
|
|
282
225
|
* call metadata
|
|
283
|
-
* @param {function(?grpc.web.
|
|
226
|
+
* @param {function(?grpc.web.RpcError, ?proto.org.dash.platform.dapi.v0.GetDataContractResponse)}
|
|
284
227
|
* callback The callback function(error, response)
|
|
285
228
|
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.GetDataContractResponse>|undefined}
|
|
286
229
|
* The XHR Node Readable Stream
|
|
@@ -299,7 +242,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient.prototype.getDataContract =
|
|
|
299
242
|
/**
|
|
300
243
|
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractRequest} request The
|
|
301
244
|
* request proto
|
|
302
|
-
* @param {?Object<string, string
|
|
245
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
303
246
|
* call metadata
|
|
304
247
|
* @return {!Promise<!proto.org.dash.platform.dapi.v0.GetDataContractResponse>}
|
|
305
248
|
* Promise that resolves to the response
|
|
@@ -336,31 +279,12 @@ const methodDescriptor_Platform_getDocuments = new grpc.web.MethodDescriptor(
|
|
|
336
279
|
);
|
|
337
280
|
|
|
338
281
|
|
|
339
|
-
/**
|
|
340
|
-
* @const
|
|
341
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
342
|
-
* !proto.org.dash.platform.dapi.v0.GetDocumentsRequest,
|
|
343
|
-
* !proto.org.dash.platform.dapi.v0.GetDocumentsResponse>}
|
|
344
|
-
*/
|
|
345
|
-
const methodInfo_Platform_getDocuments = new grpc.web.AbstractClientBase.MethodInfo(
|
|
346
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse,
|
|
347
|
-
/**
|
|
348
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} request
|
|
349
|
-
* @return {!Uint8Array}
|
|
350
|
-
*/
|
|
351
|
-
function(request) {
|
|
352
|
-
return request.serializeBinary();
|
|
353
|
-
},
|
|
354
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinary
|
|
355
|
-
);
|
|
356
|
-
|
|
357
|
-
|
|
358
282
|
/**
|
|
359
283
|
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} request The
|
|
360
284
|
* request proto
|
|
361
285
|
* @param {?Object<string, string>} metadata User defined
|
|
362
286
|
* call metadata
|
|
363
|
-
* @param {function(?grpc.web.
|
|
287
|
+
* @param {function(?grpc.web.RpcError, ?proto.org.dash.platform.dapi.v0.GetDocumentsResponse)}
|
|
364
288
|
* callback The callback function(error, response)
|
|
365
289
|
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse>|undefined}
|
|
366
290
|
* The XHR Node Readable Stream
|
|
@@ -379,7 +303,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient.prototype.getDocuments =
|
|
|
379
303
|
/**
|
|
380
304
|
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} request The
|
|
381
305
|
* request proto
|
|
382
|
-
* @param {?Object<string, string
|
|
306
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
383
307
|
* call metadata
|
|
384
308
|
* @return {!Promise<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse>}
|
|
385
309
|
* Promise that resolves to the response
|
|
@@ -416,31 +340,12 @@ const methodDescriptor_Platform_getIdentitiesByPublicKeyHashes = new grpc.web.Me
|
|
|
416
340
|
);
|
|
417
341
|
|
|
418
342
|
|
|
419
|
-
/**
|
|
420
|
-
* @const
|
|
421
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
422
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest,
|
|
423
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse>}
|
|
424
|
-
*/
|
|
425
|
-
const methodInfo_Platform_getIdentitiesByPublicKeyHashes = new grpc.web.AbstractClientBase.MethodInfo(
|
|
426
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse,
|
|
427
|
-
/**
|
|
428
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest} request
|
|
429
|
-
* @return {!Uint8Array}
|
|
430
|
-
*/
|
|
431
|
-
function(request) {
|
|
432
|
-
return request.serializeBinary();
|
|
433
|
-
},
|
|
434
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.deserializeBinary
|
|
435
|
-
);
|
|
436
|
-
|
|
437
|
-
|
|
438
343
|
/**
|
|
439
344
|
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest} request The
|
|
440
345
|
* request proto
|
|
441
346
|
* @param {?Object<string, string>} metadata User defined
|
|
442
347
|
* call metadata
|
|
443
|
-
* @param {function(?grpc.web.
|
|
348
|
+
* @param {function(?grpc.web.RpcError, ?proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse)}
|
|
444
349
|
* callback The callback function(error, response)
|
|
445
350
|
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse>|undefined}
|
|
446
351
|
* The XHR Node Readable Stream
|
|
@@ -459,7 +364,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient.prototype.getIdentitiesByPublicKe
|
|
|
459
364
|
/**
|
|
460
365
|
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest} request The
|
|
461
366
|
* request proto
|
|
462
|
-
* @param {?Object<string, string
|
|
367
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
463
368
|
* call metadata
|
|
464
369
|
* @return {!Promise<!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse>}
|
|
465
370
|
* Promise that resolves to the response
|
|
@@ -474,86 +379,6 @@ proto.org.dash.platform.dapi.v0.PlatformPromiseClient.prototype.getIdentitiesByP
|
|
|
474
379
|
};
|
|
475
380
|
|
|
476
381
|
|
|
477
|
-
/**
|
|
478
|
-
* @const
|
|
479
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
480
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest,
|
|
481
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse>}
|
|
482
|
-
*/
|
|
483
|
-
const methodDescriptor_Platform_getIdentityIdsByPublicKeyHashes = new grpc.web.MethodDescriptor(
|
|
484
|
-
'/org.dash.platform.dapi.v0.Platform/getIdentityIdsByPublicKeyHashes',
|
|
485
|
-
grpc.web.MethodType.UNARY,
|
|
486
|
-
proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest,
|
|
487
|
-
proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse,
|
|
488
|
-
/**
|
|
489
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} request
|
|
490
|
-
* @return {!Uint8Array}
|
|
491
|
-
*/
|
|
492
|
-
function(request) {
|
|
493
|
-
return request.serializeBinary();
|
|
494
|
-
},
|
|
495
|
-
proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinary
|
|
496
|
-
);
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* @const
|
|
501
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
502
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest,
|
|
503
|
-
* !proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse>}
|
|
504
|
-
*/
|
|
505
|
-
const methodInfo_Platform_getIdentityIdsByPublicKeyHashes = new grpc.web.AbstractClientBase.MethodInfo(
|
|
506
|
-
proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse,
|
|
507
|
-
/**
|
|
508
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} request
|
|
509
|
-
* @return {!Uint8Array}
|
|
510
|
-
*/
|
|
511
|
-
function(request) {
|
|
512
|
-
return request.serializeBinary();
|
|
513
|
-
},
|
|
514
|
-
proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinary
|
|
515
|
-
);
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} request The
|
|
520
|
-
* request proto
|
|
521
|
-
* @param {?Object<string, string>} metadata User defined
|
|
522
|
-
* call metadata
|
|
523
|
-
* @param {function(?grpc.web.Error, ?proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse)}
|
|
524
|
-
* callback The callback function(error, response)
|
|
525
|
-
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse>|undefined}
|
|
526
|
-
* The XHR Node Readable Stream
|
|
527
|
-
*/
|
|
528
|
-
proto.org.dash.platform.dapi.v0.PlatformClient.prototype.getIdentityIdsByPublicKeyHashes =
|
|
529
|
-
function(request, metadata, callback) {
|
|
530
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
531
|
-
'/org.dash.platform.dapi.v0.Platform/getIdentityIdsByPublicKeyHashes',
|
|
532
|
-
request,
|
|
533
|
-
metadata || {},
|
|
534
|
-
methodDescriptor_Platform_getIdentityIdsByPublicKeyHashes,
|
|
535
|
-
callback);
|
|
536
|
-
};
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} request The
|
|
541
|
-
* request proto
|
|
542
|
-
* @param {?Object<string, string>} metadata User defined
|
|
543
|
-
* call metadata
|
|
544
|
-
* @return {!Promise<!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse>}
|
|
545
|
-
* Promise that resolves to the response
|
|
546
|
-
*/
|
|
547
|
-
proto.org.dash.platform.dapi.v0.PlatformPromiseClient.prototype.getIdentityIdsByPublicKeyHashes =
|
|
548
|
-
function(request, metadata) {
|
|
549
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
550
|
-
'/org.dash.platform.dapi.v0.Platform/getIdentityIdsByPublicKeyHashes',
|
|
551
|
-
request,
|
|
552
|
-
metadata || {},
|
|
553
|
-
methodDescriptor_Platform_getIdentityIdsByPublicKeyHashes);
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
|
|
557
382
|
/**
|
|
558
383
|
* @const
|
|
559
384
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -576,31 +401,12 @@ const methodDescriptor_Platform_waitForStateTransitionResult = new grpc.web.Meth
|
|
|
576
401
|
);
|
|
577
402
|
|
|
578
403
|
|
|
579
|
-
/**
|
|
580
|
-
* @const
|
|
581
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
582
|
-
* !proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest,
|
|
583
|
-
* !proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse>}
|
|
584
|
-
*/
|
|
585
|
-
const methodInfo_Platform_waitForStateTransitionResult = new grpc.web.AbstractClientBase.MethodInfo(
|
|
586
|
-
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse,
|
|
587
|
-
/**
|
|
588
|
-
* @param {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest} request
|
|
589
|
-
* @return {!Uint8Array}
|
|
590
|
-
*/
|
|
591
|
-
function(request) {
|
|
592
|
-
return request.serializeBinary();
|
|
593
|
-
},
|
|
594
|
-
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.deserializeBinary
|
|
595
|
-
);
|
|
596
|
-
|
|
597
|
-
|
|
598
404
|
/**
|
|
599
405
|
* @param {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest} request The
|
|
600
406
|
* request proto
|
|
601
407
|
* @param {?Object<string, string>} metadata User defined
|
|
602
408
|
* call metadata
|
|
603
|
-
* @param {function(?grpc.web.
|
|
409
|
+
* @param {function(?grpc.web.RpcError, ?proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse)}
|
|
604
410
|
* callback The callback function(error, response)
|
|
605
411
|
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse>|undefined}
|
|
606
412
|
* The XHR Node Readable Stream
|
|
@@ -619,7 +425,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient.prototype.waitForStateTransitionR
|
|
|
619
425
|
/**
|
|
620
426
|
* @param {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest} request The
|
|
621
427
|
* request proto
|
|
622
|
-
* @param {?Object<string, string
|
|
428
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
623
429
|
* call metadata
|
|
624
430
|
* @return {!Promise<!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse>}
|
|
625
431
|
* Promise that resolves to the response
|
|
@@ -656,31 +462,12 @@ const methodDescriptor_Platform_getConsensusParams = new grpc.web.MethodDescript
|
|
|
656
462
|
);
|
|
657
463
|
|
|
658
464
|
|
|
659
|
-
/**
|
|
660
|
-
* @const
|
|
661
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
662
|
-
* !proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest,
|
|
663
|
-
* !proto.org.dash.platform.dapi.v0.GetConsensusParamsResponse>}
|
|
664
|
-
*/
|
|
665
|
-
const methodInfo_Platform_getConsensusParams = new grpc.web.AbstractClientBase.MethodInfo(
|
|
666
|
-
proto.org.dash.platform.dapi.v0.GetConsensusParamsResponse,
|
|
667
|
-
/**
|
|
668
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest} request
|
|
669
|
-
* @return {!Uint8Array}
|
|
670
|
-
*/
|
|
671
|
-
function(request) {
|
|
672
|
-
return request.serializeBinary();
|
|
673
|
-
},
|
|
674
|
-
proto.org.dash.platform.dapi.v0.GetConsensusParamsResponse.deserializeBinary
|
|
675
|
-
);
|
|
676
|
-
|
|
677
|
-
|
|
678
465
|
/**
|
|
679
466
|
* @param {!proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest} request The
|
|
680
467
|
* request proto
|
|
681
468
|
* @param {?Object<string, string>} metadata User defined
|
|
682
469
|
* call metadata
|
|
683
|
-
* @param {function(?grpc.web.
|
|
470
|
+
* @param {function(?grpc.web.RpcError, ?proto.org.dash.platform.dapi.v0.GetConsensusParamsResponse)}
|
|
684
471
|
* callback The callback function(error, response)
|
|
685
472
|
* @return {!grpc.web.ClientReadableStream<!proto.org.dash.platform.dapi.v0.GetConsensusParamsResponse>|undefined}
|
|
686
473
|
* The XHR Node Readable Stream
|
|
@@ -699,7 +486,7 @@ proto.org.dash.platform.dapi.v0.PlatformClient.prototype.getConsensusParams =
|
|
|
699
486
|
/**
|
|
700
487
|
* @param {!proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest} request The
|
|
701
488
|
* request proto
|
|
702
|
-
* @param {?Object<string, string
|
|
489
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
703
490
|
* call metadata
|
|
704
491
|
* @return {!Promise<!proto.org.dash.platform.dapi.v0.GetConsensusParamsResponse>}
|
|
705
492
|
* Promise that resolves to the response
|