@dashevo/dapi-grpc 4.0.0-beta.2 → 4.0.0-beta.4
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/clients/drive/v0/nodejs/drive_pbjs.js +31 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +31 -0
- package/clients/platform/v0/nodejs/platform_protoc.js +55 -1
- package/clients/platform/v0/web/platform_pb.d.ts +6 -0
- package/clients/platform/v0/web/platform_pb.js +55 -1
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +1 -0
|
@@ -91721,6 +91721,7 @@ $root.org = (function() {
|
|
|
91721
91721
|
* @property {Uint8Array|null} [nullifier] EncryptedNote nullifier
|
|
91722
91722
|
* @property {Uint8Array|null} [cmx] EncryptedNote cmx
|
|
91723
91723
|
* @property {Uint8Array|null} [encryptedNote] EncryptedNote encryptedNote
|
|
91724
|
+
* @property {Uint8Array|null} [cvNet] EncryptedNote cvNet
|
|
91724
91725
|
*/
|
|
91725
91726
|
|
|
91726
91727
|
/**
|
|
@@ -91762,6 +91763,14 @@ $root.org = (function() {
|
|
|
91762
91763
|
*/
|
|
91763
91764
|
EncryptedNote.prototype.encryptedNote = $util.newBuffer([]);
|
|
91764
91765
|
|
|
91766
|
+
/**
|
|
91767
|
+
* EncryptedNote cvNet.
|
|
91768
|
+
* @member {Uint8Array} cvNet
|
|
91769
|
+
* @memberof org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote
|
|
91770
|
+
* @instance
|
|
91771
|
+
*/
|
|
91772
|
+
EncryptedNote.prototype.cvNet = $util.newBuffer([]);
|
|
91773
|
+
|
|
91765
91774
|
/**
|
|
91766
91775
|
* Creates a new EncryptedNote instance using the specified properties.
|
|
91767
91776
|
* @function create
|
|
@@ -91792,6 +91801,8 @@ $root.org = (function() {
|
|
|
91792
91801
|
writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.cmx);
|
|
91793
91802
|
if (message.encryptedNote != null && Object.hasOwnProperty.call(message, "encryptedNote"))
|
|
91794
91803
|
writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.encryptedNote);
|
|
91804
|
+
if (message.cvNet != null && Object.hasOwnProperty.call(message, "cvNet"))
|
|
91805
|
+
writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.cvNet);
|
|
91795
91806
|
return writer;
|
|
91796
91807
|
};
|
|
91797
91808
|
|
|
@@ -91835,6 +91846,9 @@ $root.org = (function() {
|
|
|
91835
91846
|
case 3:
|
|
91836
91847
|
message.encryptedNote = reader.bytes();
|
|
91837
91848
|
break;
|
|
91849
|
+
case 4:
|
|
91850
|
+
message.cvNet = reader.bytes();
|
|
91851
|
+
break;
|
|
91838
91852
|
default:
|
|
91839
91853
|
reader.skipType(tag & 7);
|
|
91840
91854
|
break;
|
|
@@ -91879,6 +91893,9 @@ $root.org = (function() {
|
|
|
91879
91893
|
if (message.encryptedNote != null && message.hasOwnProperty("encryptedNote"))
|
|
91880
91894
|
if (!(message.encryptedNote && typeof message.encryptedNote.length === "number" || $util.isString(message.encryptedNote)))
|
|
91881
91895
|
return "encryptedNote: buffer expected";
|
|
91896
|
+
if (message.cvNet != null && message.hasOwnProperty("cvNet"))
|
|
91897
|
+
if (!(message.cvNet && typeof message.cvNet.length === "number" || $util.isString(message.cvNet)))
|
|
91898
|
+
return "cvNet: buffer expected";
|
|
91882
91899
|
return null;
|
|
91883
91900
|
};
|
|
91884
91901
|
|
|
@@ -91909,6 +91926,11 @@ $root.org = (function() {
|
|
|
91909
91926
|
$util.base64.decode(object.encryptedNote, message.encryptedNote = $util.newBuffer($util.base64.length(object.encryptedNote)), 0);
|
|
91910
91927
|
else if (object.encryptedNote.length >= 0)
|
|
91911
91928
|
message.encryptedNote = object.encryptedNote;
|
|
91929
|
+
if (object.cvNet != null)
|
|
91930
|
+
if (typeof object.cvNet === "string")
|
|
91931
|
+
$util.base64.decode(object.cvNet, message.cvNet = $util.newBuffer($util.base64.length(object.cvNet)), 0);
|
|
91932
|
+
else if (object.cvNet.length >= 0)
|
|
91933
|
+
message.cvNet = object.cvNet;
|
|
91912
91934
|
return message;
|
|
91913
91935
|
};
|
|
91914
91936
|
|
|
@@ -91947,6 +91969,13 @@ $root.org = (function() {
|
|
|
91947
91969
|
if (options.bytes !== Array)
|
|
91948
91970
|
object.encryptedNote = $util.newBuffer(object.encryptedNote);
|
|
91949
91971
|
}
|
|
91972
|
+
if (options.bytes === String)
|
|
91973
|
+
object.cvNet = "";
|
|
91974
|
+
else {
|
|
91975
|
+
object.cvNet = [];
|
|
91976
|
+
if (options.bytes !== Array)
|
|
91977
|
+
object.cvNet = $util.newBuffer(object.cvNet);
|
|
91978
|
+
}
|
|
91950
91979
|
}
|
|
91951
91980
|
if (message.nullifier != null && message.hasOwnProperty("nullifier"))
|
|
91952
91981
|
object.nullifier = options.bytes === String ? $util.base64.encode(message.nullifier, 0, message.nullifier.length) : options.bytes === Array ? Array.prototype.slice.call(message.nullifier) : message.nullifier;
|
|
@@ -91954,6 +91983,8 @@ $root.org = (function() {
|
|
|
91954
91983
|
object.cmx = options.bytes === String ? $util.base64.encode(message.cmx, 0, message.cmx.length) : options.bytes === Array ? Array.prototype.slice.call(message.cmx) : message.cmx;
|
|
91955
91984
|
if (message.encryptedNote != null && message.hasOwnProperty("encryptedNote"))
|
|
91956
91985
|
object.encryptedNote = options.bytes === String ? $util.base64.encode(message.encryptedNote, 0, message.encryptedNote.length) : options.bytes === Array ? Array.prototype.slice.call(message.encryptedNote) : message.encryptedNote;
|
|
91986
|
+
if (message.cvNet != null && message.hasOwnProperty("cvNet"))
|
|
91987
|
+
object.cvNet = options.bytes === String ? $util.base64.encode(message.cvNet, 0, message.cvNet.length) : options.bytes === Array ? Array.prototype.slice.call(message.cvNet) : message.cvNet;
|
|
91957
91988
|
return object;
|
|
91958
91989
|
};
|
|
91959
91990
|
|
|
@@ -91213,6 +91213,7 @@ $root.org = (function() {
|
|
|
91213
91213
|
* @property {Uint8Array|null} [nullifier] EncryptedNote nullifier
|
|
91214
91214
|
* @property {Uint8Array|null} [cmx] EncryptedNote cmx
|
|
91215
91215
|
* @property {Uint8Array|null} [encryptedNote] EncryptedNote encryptedNote
|
|
91216
|
+
* @property {Uint8Array|null} [cvNet] EncryptedNote cvNet
|
|
91216
91217
|
*/
|
|
91217
91218
|
|
|
91218
91219
|
/**
|
|
@@ -91254,6 +91255,14 @@ $root.org = (function() {
|
|
|
91254
91255
|
*/
|
|
91255
91256
|
EncryptedNote.prototype.encryptedNote = $util.newBuffer([]);
|
|
91256
91257
|
|
|
91258
|
+
/**
|
|
91259
|
+
* EncryptedNote cvNet.
|
|
91260
|
+
* @member {Uint8Array} cvNet
|
|
91261
|
+
* @memberof org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote
|
|
91262
|
+
* @instance
|
|
91263
|
+
*/
|
|
91264
|
+
EncryptedNote.prototype.cvNet = $util.newBuffer([]);
|
|
91265
|
+
|
|
91257
91266
|
/**
|
|
91258
91267
|
* Creates a new EncryptedNote instance using the specified properties.
|
|
91259
91268
|
* @function create
|
|
@@ -91284,6 +91293,8 @@ $root.org = (function() {
|
|
|
91284
91293
|
writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.cmx);
|
|
91285
91294
|
if (message.encryptedNote != null && Object.hasOwnProperty.call(message, "encryptedNote"))
|
|
91286
91295
|
writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.encryptedNote);
|
|
91296
|
+
if (message.cvNet != null && Object.hasOwnProperty.call(message, "cvNet"))
|
|
91297
|
+
writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.cvNet);
|
|
91287
91298
|
return writer;
|
|
91288
91299
|
};
|
|
91289
91300
|
|
|
@@ -91327,6 +91338,9 @@ $root.org = (function() {
|
|
|
91327
91338
|
case 3:
|
|
91328
91339
|
message.encryptedNote = reader.bytes();
|
|
91329
91340
|
break;
|
|
91341
|
+
case 4:
|
|
91342
|
+
message.cvNet = reader.bytes();
|
|
91343
|
+
break;
|
|
91330
91344
|
default:
|
|
91331
91345
|
reader.skipType(tag & 7);
|
|
91332
91346
|
break;
|
|
@@ -91371,6 +91385,9 @@ $root.org = (function() {
|
|
|
91371
91385
|
if (message.encryptedNote != null && message.hasOwnProperty("encryptedNote"))
|
|
91372
91386
|
if (!(message.encryptedNote && typeof message.encryptedNote.length === "number" || $util.isString(message.encryptedNote)))
|
|
91373
91387
|
return "encryptedNote: buffer expected";
|
|
91388
|
+
if (message.cvNet != null && message.hasOwnProperty("cvNet"))
|
|
91389
|
+
if (!(message.cvNet && typeof message.cvNet.length === "number" || $util.isString(message.cvNet)))
|
|
91390
|
+
return "cvNet: buffer expected";
|
|
91374
91391
|
return null;
|
|
91375
91392
|
};
|
|
91376
91393
|
|
|
@@ -91401,6 +91418,11 @@ $root.org = (function() {
|
|
|
91401
91418
|
$util.base64.decode(object.encryptedNote, message.encryptedNote = $util.newBuffer($util.base64.length(object.encryptedNote)), 0);
|
|
91402
91419
|
else if (object.encryptedNote.length >= 0)
|
|
91403
91420
|
message.encryptedNote = object.encryptedNote;
|
|
91421
|
+
if (object.cvNet != null)
|
|
91422
|
+
if (typeof object.cvNet === "string")
|
|
91423
|
+
$util.base64.decode(object.cvNet, message.cvNet = $util.newBuffer($util.base64.length(object.cvNet)), 0);
|
|
91424
|
+
else if (object.cvNet.length >= 0)
|
|
91425
|
+
message.cvNet = object.cvNet;
|
|
91404
91426
|
return message;
|
|
91405
91427
|
};
|
|
91406
91428
|
|
|
@@ -91439,6 +91461,13 @@ $root.org = (function() {
|
|
|
91439
91461
|
if (options.bytes !== Array)
|
|
91440
91462
|
object.encryptedNote = $util.newBuffer(object.encryptedNote);
|
|
91441
91463
|
}
|
|
91464
|
+
if (options.bytes === String)
|
|
91465
|
+
object.cvNet = "";
|
|
91466
|
+
else {
|
|
91467
|
+
object.cvNet = [];
|
|
91468
|
+
if (options.bytes !== Array)
|
|
91469
|
+
object.cvNet = $util.newBuffer(object.cvNet);
|
|
91470
|
+
}
|
|
91442
91471
|
}
|
|
91443
91472
|
if (message.nullifier != null && message.hasOwnProperty("nullifier"))
|
|
91444
91473
|
object.nullifier = options.bytes === String ? $util.base64.encode(message.nullifier, 0, message.nullifier.length) : options.bytes === Array ? Array.prototype.slice.call(message.nullifier) : message.nullifier;
|
|
@@ -91446,6 +91475,8 @@ $root.org = (function() {
|
|
|
91446
91475
|
object.cmx = options.bytes === String ? $util.base64.encode(message.cmx, 0, message.cmx.length) : options.bytes === Array ? Array.prototype.slice.call(message.cmx) : message.cmx;
|
|
91447
91476
|
if (message.encryptedNote != null && message.hasOwnProperty("encryptedNote"))
|
|
91448
91477
|
object.encryptedNote = options.bytes === String ? $util.base64.encode(message.encryptedNote, 0, message.encryptedNote.length) : options.bytes === Array ? Array.prototype.slice.call(message.encryptedNote) : message.encryptedNote;
|
|
91478
|
+
if (message.cvNet != null && message.hasOwnProperty("cvNet"))
|
|
91479
|
+
object.cvNet = options.bytes === String ? $util.base64.encode(message.cvNet, 0, message.cvNet.length) : options.bytes === Array ? Array.prototype.slice.call(message.cvNet) : message.cvNet;
|
|
91449
91480
|
return object;
|
|
91450
91481
|
};
|
|
91451
91482
|
|
|
@@ -89324,7 +89324,8 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89324
89324
|
var f, obj = {
|
|
89325
89325
|
nullifier: msg.getNullifier_asB64(),
|
|
89326
89326
|
cmx: msg.getCmx_asB64(),
|
|
89327
|
-
encryptedNote: msg.getEncryptedNote_asB64()
|
|
89327
|
+
encryptedNote: msg.getEncryptedNote_asB64(),
|
|
89328
|
+
cvNet: msg.getCvNet_asB64()
|
|
89328
89329
|
};
|
|
89329
89330
|
|
|
89330
89331
|
if (includeInstance) {
|
|
@@ -89373,6 +89374,10 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89373
89374
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
89374
89375
|
msg.setEncryptedNote(value);
|
|
89375
89376
|
break;
|
|
89377
|
+
case 4:
|
|
89378
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
89379
|
+
msg.setCvNet(value);
|
|
89380
|
+
break;
|
|
89376
89381
|
default:
|
|
89377
89382
|
reader.skipField();
|
|
89378
89383
|
break;
|
|
@@ -89423,6 +89428,13 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89423
89428
|
f
|
|
89424
89429
|
);
|
|
89425
89430
|
}
|
|
89431
|
+
f = message.getCvNet_asU8();
|
|
89432
|
+
if (f.length > 0) {
|
|
89433
|
+
writer.writeBytes(
|
|
89434
|
+
4,
|
|
89435
|
+
f
|
|
89436
|
+
);
|
|
89437
|
+
}
|
|
89426
89438
|
};
|
|
89427
89439
|
|
|
89428
89440
|
|
|
@@ -89552,6 +89564,48 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89552
89564
|
};
|
|
89553
89565
|
|
|
89554
89566
|
|
|
89567
|
+
/**
|
|
89568
|
+
* optional bytes cv_net = 4;
|
|
89569
|
+
* @return {string}
|
|
89570
|
+
*/
|
|
89571
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.getCvNet = function() {
|
|
89572
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
89573
|
+
};
|
|
89574
|
+
|
|
89575
|
+
|
|
89576
|
+
/**
|
|
89577
|
+
* optional bytes cv_net = 4;
|
|
89578
|
+
* This is a type-conversion wrapper around `getCvNet()`
|
|
89579
|
+
* @return {string}
|
|
89580
|
+
*/
|
|
89581
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.getCvNet_asB64 = function() {
|
|
89582
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
89583
|
+
this.getCvNet()));
|
|
89584
|
+
};
|
|
89585
|
+
|
|
89586
|
+
|
|
89587
|
+
/**
|
|
89588
|
+
* optional bytes cv_net = 4;
|
|
89589
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
89590
|
+
* @see http://caniuse.com/Uint8Array
|
|
89591
|
+
* This is a type-conversion wrapper around `getCvNet()`
|
|
89592
|
+
* @return {!Uint8Array}
|
|
89593
|
+
*/
|
|
89594
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.getCvNet_asU8 = function() {
|
|
89595
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
89596
|
+
this.getCvNet()));
|
|
89597
|
+
};
|
|
89598
|
+
|
|
89599
|
+
|
|
89600
|
+
/**
|
|
89601
|
+
* @param {!(string|Uint8Array)} value
|
|
89602
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote} returns this
|
|
89603
|
+
*/
|
|
89604
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.setCvNet = function(value) {
|
|
89605
|
+
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
89606
|
+
};
|
|
89607
|
+
|
|
89608
|
+
|
|
89555
89609
|
|
|
89556
89610
|
/**
|
|
89557
89611
|
* List of repeated fields within this message type.
|
|
@@ -11704,6 +11704,11 @@ export namespace GetShieldedEncryptedNotesResponse {
|
|
|
11704
11704
|
getEncryptedNote_asB64(): string;
|
|
11705
11705
|
setEncryptedNote(value: Uint8Array | string): void;
|
|
11706
11706
|
|
|
11707
|
+
getCvNet(): Uint8Array | string;
|
|
11708
|
+
getCvNet_asU8(): Uint8Array;
|
|
11709
|
+
getCvNet_asB64(): string;
|
|
11710
|
+
setCvNet(value: Uint8Array | string): void;
|
|
11711
|
+
|
|
11707
11712
|
serializeBinary(): Uint8Array;
|
|
11708
11713
|
toObject(includeInstance?: boolean): EncryptedNote.AsObject;
|
|
11709
11714
|
static toObject(includeInstance: boolean, msg: EncryptedNote): EncryptedNote.AsObject;
|
|
@@ -11719,6 +11724,7 @@ export namespace GetShieldedEncryptedNotesResponse {
|
|
|
11719
11724
|
nullifier: Uint8Array | string,
|
|
11720
11725
|
cmx: Uint8Array | string,
|
|
11721
11726
|
encryptedNote: Uint8Array | string,
|
|
11727
|
+
cvNet: Uint8Array | string,
|
|
11722
11728
|
}
|
|
11723
11729
|
}
|
|
11724
11730
|
|
|
@@ -89324,7 +89324,8 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89324
89324
|
var f, obj = {
|
|
89325
89325
|
nullifier: msg.getNullifier_asB64(),
|
|
89326
89326
|
cmx: msg.getCmx_asB64(),
|
|
89327
|
-
encryptedNote: msg.getEncryptedNote_asB64()
|
|
89327
|
+
encryptedNote: msg.getEncryptedNote_asB64(),
|
|
89328
|
+
cvNet: msg.getCvNet_asB64()
|
|
89328
89329
|
};
|
|
89329
89330
|
|
|
89330
89331
|
if (includeInstance) {
|
|
@@ -89373,6 +89374,10 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89373
89374
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
89374
89375
|
msg.setEncryptedNote(value);
|
|
89375
89376
|
break;
|
|
89377
|
+
case 4:
|
|
89378
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
89379
|
+
msg.setCvNet(value);
|
|
89380
|
+
break;
|
|
89376
89381
|
default:
|
|
89377
89382
|
reader.skipField();
|
|
89378
89383
|
break;
|
|
@@ -89423,6 +89428,13 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89423
89428
|
f
|
|
89424
89429
|
);
|
|
89425
89430
|
}
|
|
89431
|
+
f = message.getCvNet_asU8();
|
|
89432
|
+
if (f.length > 0) {
|
|
89433
|
+
writer.writeBytes(
|
|
89434
|
+
4,
|
|
89435
|
+
f
|
|
89436
|
+
);
|
|
89437
|
+
}
|
|
89426
89438
|
};
|
|
89427
89439
|
|
|
89428
89440
|
|
|
@@ -89552,6 +89564,48 @@ proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEnc
|
|
|
89552
89564
|
};
|
|
89553
89565
|
|
|
89554
89566
|
|
|
89567
|
+
/**
|
|
89568
|
+
* optional bytes cv_net = 4;
|
|
89569
|
+
* @return {string}
|
|
89570
|
+
*/
|
|
89571
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.getCvNet = function() {
|
|
89572
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
89573
|
+
};
|
|
89574
|
+
|
|
89575
|
+
|
|
89576
|
+
/**
|
|
89577
|
+
* optional bytes cv_net = 4;
|
|
89578
|
+
* This is a type-conversion wrapper around `getCvNet()`
|
|
89579
|
+
* @return {string}
|
|
89580
|
+
*/
|
|
89581
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.getCvNet_asB64 = function() {
|
|
89582
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
89583
|
+
this.getCvNet()));
|
|
89584
|
+
};
|
|
89585
|
+
|
|
89586
|
+
|
|
89587
|
+
/**
|
|
89588
|
+
* optional bytes cv_net = 4;
|
|
89589
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
89590
|
+
* @see http://caniuse.com/Uint8Array
|
|
89591
|
+
* This is a type-conversion wrapper around `getCvNet()`
|
|
89592
|
+
* @return {!Uint8Array}
|
|
89593
|
+
*/
|
|
89594
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.getCvNet_asU8 = function() {
|
|
89595
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
89596
|
+
this.getCvNet()));
|
|
89597
|
+
};
|
|
89598
|
+
|
|
89599
|
+
|
|
89600
|
+
/**
|
|
89601
|
+
* @param {!(string|Uint8Array)} value
|
|
89602
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote} returns this
|
|
89603
|
+
*/
|
|
89604
|
+
proto.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote.prototype.setCvNet = function(value) {
|
|
89605
|
+
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
89606
|
+
};
|
|
89607
|
+
|
|
89608
|
+
|
|
89555
89609
|
|
|
89556
89610
|
/**
|
|
89557
89611
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-grpc",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.4",
|
|
4
4
|
"description": "DAPI GRPC definition file and generated clients",
|
|
5
5
|
"browser": "browser.js",
|
|
6
6
|
"main": "node.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/dashevo/dapi-grpc#readme",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@dashevo/grpc-common": "4.0.0-beta.
|
|
48
|
+
"@dashevo/grpc-common": "4.0.0-beta.4",
|
|
49
49
|
"@dashevo/protobufjs": "6.10.5",
|
|
50
50
|
"@grpc/grpc-js": "^1.14.3",
|
|
51
51
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
@@ -2904,6 +2904,7 @@ message GetShieldedEncryptedNotesResponse {
|
|
|
2904
2904
|
bytes nullifier = 1; // 32-byte nullifier (needed for Rho derivation in trial decryption)
|
|
2905
2905
|
bytes cmx = 2; // 32-byte extracted note commitment
|
|
2906
2906
|
bytes encrypted_note = 3; // encrypted note payload (epk + enc_ciphertext + out_ciphertext)
|
|
2907
|
+
bytes cv_net = 4; // 32-byte value commitment (stored unencrypted, for OVK recovery of outgoing notes)
|
|
2907
2908
|
}
|
|
2908
2909
|
message EncryptedNotes {
|
|
2909
2910
|
repeated EncryptedNote entries = 1;
|