@trustwallet/wallet-core 3.0.2 → 3.0.3
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.
@@ -7511,6 +7511,9 @@ export namespace TW {
|
|
7511
7511
|
|
7512
7512
|
/** SigningOutput error */
|
7513
7513
|
error?: (string|null);
|
7514
|
+
|
7515
|
+
/** SigningOutput signatureJson */
|
7516
|
+
signatureJson?: (string|null);
|
7514
7517
|
}
|
7515
7518
|
|
7516
7519
|
/** Represents a SigningOutput. */
|
@@ -7534,6 +7537,9 @@ export namespace TW {
|
|
7534
7537
|
/** SigningOutput error. */
|
7535
7538
|
public error: string;
|
7536
7539
|
|
7540
|
+
/** SigningOutput signatureJson. */
|
7541
|
+
public signatureJson: string;
|
7542
|
+
|
7537
7543
|
/**
|
7538
7544
|
* Creates a new SigningOutput instance using the specified properties.
|
7539
7545
|
* @param [properties] Properties to set
|
@@ -22409,6 +22409,7 @@
|
|
22409
22409
|
* @property {string|null} [json] SigningOutput json
|
22410
22410
|
* @property {string|null} [serialized] SigningOutput serialized
|
22411
22411
|
* @property {string|null} [error] SigningOutput error
|
22412
|
+
* @property {string|null} [signatureJson] SigningOutput signatureJson
|
22412
22413
|
*/
|
22413
22414
|
|
22414
22415
|
/**
|
@@ -22458,6 +22459,14 @@
|
|
22458
22459
|
*/
|
22459
22460
|
SigningOutput.prototype.error = "";
|
22460
22461
|
|
22462
|
+
/**
|
22463
|
+
* SigningOutput signatureJson.
|
22464
|
+
* @member {string} signatureJson
|
22465
|
+
* @memberof TW.Cosmos.Proto.SigningOutput
|
22466
|
+
* @instance
|
22467
|
+
*/
|
22468
|
+
SigningOutput.prototype.signatureJson = "";
|
22469
|
+
|
22461
22470
|
/**
|
22462
22471
|
* Creates a new SigningOutput instance using the specified properties.
|
22463
22472
|
* @function create
|
@@ -22490,6 +22499,8 @@
|
|
22490
22499
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.serialized);
|
22491
22500
|
if (message.error != null && Object.hasOwnProperty.call(message, "error"))
|
22492
22501
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.error);
|
22502
|
+
if (message.signatureJson != null && Object.hasOwnProperty.call(message, "signatureJson"))
|
22503
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.signatureJson);
|
22493
22504
|
return writer;
|
22494
22505
|
};
|
22495
22506
|
|
@@ -22523,6 +22534,9 @@
|
|
22523
22534
|
case 4:
|
22524
22535
|
message.error = reader.string();
|
22525
22536
|
break;
|
22537
|
+
case 5:
|
22538
|
+
message.signatureJson = reader.string();
|
22539
|
+
break;
|
22526
22540
|
default:
|
22527
22541
|
reader.skipType(tag & 7);
|
22528
22542
|
break;
|
@@ -22554,6 +22568,9 @@
|
|
22554
22568
|
if (message.error != null && message.hasOwnProperty("error"))
|
22555
22569
|
if (!$util.isString(message.error))
|
22556
22570
|
return "error: string expected";
|
22571
|
+
if (message.signatureJson != null && message.hasOwnProperty("signatureJson"))
|
22572
|
+
if (!$util.isString(message.signatureJson))
|
22573
|
+
return "signatureJson: string expected";
|
22557
22574
|
return null;
|
22558
22575
|
};
|
22559
22576
|
|
@@ -22580,6 +22597,8 @@
|
|
22580
22597
|
message.serialized = String(object.serialized);
|
22581
22598
|
if (object.error != null)
|
22582
22599
|
message.error = String(object.error);
|
22600
|
+
if (object.signatureJson != null)
|
22601
|
+
message.signatureJson = String(object.signatureJson);
|
22583
22602
|
return message;
|
22584
22603
|
};
|
22585
22604
|
|
@@ -22607,6 +22626,7 @@
|
|
22607
22626
|
object.json = "";
|
22608
22627
|
object.serialized = "";
|
22609
22628
|
object.error = "";
|
22629
|
+
object.signatureJson = "";
|
22610
22630
|
}
|
22611
22631
|
if (message.signature != null && message.hasOwnProperty("signature"))
|
22612
22632
|
object.signature = options.bytes === String ? $util.base64.encode(message.signature, 0, message.signature.length) : options.bytes === Array ? Array.prototype.slice.call(message.signature) : message.signature;
|
@@ -22616,6 +22636,8 @@
|
|
22616
22636
|
object.serialized = message.serialized;
|
22617
22637
|
if (message.error != null && message.hasOwnProperty("error"))
|
22618
22638
|
object.error = message.error;
|
22639
|
+
if (message.signatureJson != null && message.hasOwnProperty("signatureJson"))
|
22640
|
+
object.signatureJson = message.signatureJson;
|
22619
22641
|
return object;
|
22620
22642
|
};
|
22621
22643
|
|
Binary file
|