@trustwallet/wallet-core 4.2.1 → 4.2.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.
@@ -41751,6 +41751,255 @@ export namespace TW {
41751
41751
  */
41752
41752
  public toJSON(): { [k: string]: any };
41753
41753
  }
41754
+
41755
+ /** Properties of a MessageSigningInput. */
41756
+ interface IMessageSigningInput {
41757
+
41758
+ /** MessageSigningInput privateKey */
41759
+ privateKey?: (Uint8Array|null);
41760
+
41761
+ /** MessageSigningInput message */
41762
+ message?: (string|null);
41763
+ }
41764
+
41765
+ /** Represents a MessageSigningInput. */
41766
+ class MessageSigningInput implements IMessageSigningInput {
41767
+
41768
+ /**
41769
+ * Constructs a new MessageSigningInput.
41770
+ * @param [properties] Properties to set
41771
+ */
41772
+ constructor(properties?: TW.Sui.Proto.IMessageSigningInput);
41773
+
41774
+ /** MessageSigningInput privateKey. */
41775
+ public privateKey: Uint8Array;
41776
+
41777
+ /** MessageSigningInput message. */
41778
+ public message: string;
41779
+
41780
+ /**
41781
+ * Creates a new MessageSigningInput instance using the specified properties.
41782
+ * @param [properties] Properties to set
41783
+ * @returns MessageSigningInput instance
41784
+ */
41785
+ public static create(properties?: TW.Sui.Proto.IMessageSigningInput): TW.Sui.Proto.MessageSigningInput;
41786
+
41787
+ /**
41788
+ * Encodes the specified MessageSigningInput message. Does not implicitly {@link TW.Sui.Proto.MessageSigningInput.verify|verify} messages.
41789
+ * @param message MessageSigningInput message or plain object to encode
41790
+ * @param [writer] Writer to encode to
41791
+ * @returns Writer
41792
+ */
41793
+ public static encode(message: TW.Sui.Proto.IMessageSigningInput, writer?: $protobuf.Writer): $protobuf.Writer;
41794
+
41795
+ /**
41796
+ * Decodes a MessageSigningInput message from the specified reader or buffer.
41797
+ * @param reader Reader or buffer to decode from
41798
+ * @param [length] Message length if known beforehand
41799
+ * @returns MessageSigningInput
41800
+ * @throws {Error} If the payload is not a reader or valid buffer
41801
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
41802
+ */
41803
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.MessageSigningInput;
41804
+
41805
+ /**
41806
+ * Verifies a MessageSigningInput message.
41807
+ * @param message Plain object to verify
41808
+ * @returns `null` if valid, otherwise the reason why it is not
41809
+ */
41810
+ public static verify(message: { [k: string]: any }): (string|null);
41811
+
41812
+ /**
41813
+ * Creates a MessageSigningInput message from a plain object. Also converts values to their respective internal types.
41814
+ * @param object Plain object
41815
+ * @returns MessageSigningInput
41816
+ */
41817
+ public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.MessageSigningInput;
41818
+
41819
+ /**
41820
+ * Creates a plain object from a MessageSigningInput message. Also converts values to other types if specified.
41821
+ * @param message MessageSigningInput
41822
+ * @param [options] Conversion options
41823
+ * @returns Plain object
41824
+ */
41825
+ public static toObject(message: TW.Sui.Proto.MessageSigningInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
41826
+
41827
+ /**
41828
+ * Converts this MessageSigningInput to JSON.
41829
+ * @returns JSON object
41830
+ */
41831
+ public toJSON(): { [k: string]: any };
41832
+ }
41833
+
41834
+ /** Properties of a MessageSigningOutput. */
41835
+ interface IMessageSigningOutput {
41836
+
41837
+ /** MessageSigningOutput signature */
41838
+ signature?: (string|null);
41839
+
41840
+ /** MessageSigningOutput error */
41841
+ error?: (TW.Common.Proto.SigningError|null);
41842
+
41843
+ /** MessageSigningOutput errorMessage */
41844
+ errorMessage?: (string|null);
41845
+ }
41846
+
41847
+ /** Represents a MessageSigningOutput. */
41848
+ class MessageSigningOutput implements IMessageSigningOutput {
41849
+
41850
+ /**
41851
+ * Constructs a new MessageSigningOutput.
41852
+ * @param [properties] Properties to set
41853
+ */
41854
+ constructor(properties?: TW.Sui.Proto.IMessageSigningOutput);
41855
+
41856
+ /** MessageSigningOutput signature. */
41857
+ public signature: string;
41858
+
41859
+ /** MessageSigningOutput error. */
41860
+ public error: TW.Common.Proto.SigningError;
41861
+
41862
+ /** MessageSigningOutput errorMessage. */
41863
+ public errorMessage: string;
41864
+
41865
+ /**
41866
+ * Creates a new MessageSigningOutput instance using the specified properties.
41867
+ * @param [properties] Properties to set
41868
+ * @returns MessageSigningOutput instance
41869
+ */
41870
+ public static create(properties?: TW.Sui.Proto.IMessageSigningOutput): TW.Sui.Proto.MessageSigningOutput;
41871
+
41872
+ /**
41873
+ * Encodes the specified MessageSigningOutput message. Does not implicitly {@link TW.Sui.Proto.MessageSigningOutput.verify|verify} messages.
41874
+ * @param message MessageSigningOutput message or plain object to encode
41875
+ * @param [writer] Writer to encode to
41876
+ * @returns Writer
41877
+ */
41878
+ public static encode(message: TW.Sui.Proto.IMessageSigningOutput, writer?: $protobuf.Writer): $protobuf.Writer;
41879
+
41880
+ /**
41881
+ * Decodes a MessageSigningOutput message from the specified reader or buffer.
41882
+ * @param reader Reader or buffer to decode from
41883
+ * @param [length] Message length if known beforehand
41884
+ * @returns MessageSigningOutput
41885
+ * @throws {Error} If the payload is not a reader or valid buffer
41886
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
41887
+ */
41888
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.MessageSigningOutput;
41889
+
41890
+ /**
41891
+ * Verifies a MessageSigningOutput message.
41892
+ * @param message Plain object to verify
41893
+ * @returns `null` if valid, otherwise the reason why it is not
41894
+ */
41895
+ public static verify(message: { [k: string]: any }): (string|null);
41896
+
41897
+ /**
41898
+ * Creates a MessageSigningOutput message from a plain object. Also converts values to their respective internal types.
41899
+ * @param object Plain object
41900
+ * @returns MessageSigningOutput
41901
+ */
41902
+ public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.MessageSigningOutput;
41903
+
41904
+ /**
41905
+ * Creates a plain object from a MessageSigningOutput message. Also converts values to other types if specified.
41906
+ * @param message MessageSigningOutput
41907
+ * @param [options] Conversion options
41908
+ * @returns Plain object
41909
+ */
41910
+ public static toObject(message: TW.Sui.Proto.MessageSigningOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
41911
+
41912
+ /**
41913
+ * Converts this MessageSigningOutput to JSON.
41914
+ * @returns JSON object
41915
+ */
41916
+ public toJSON(): { [k: string]: any };
41917
+ }
41918
+
41919
+ /** Properties of a MessageVerifyingInput. */
41920
+ interface IMessageVerifyingInput {
41921
+
41922
+ /** MessageVerifyingInput message */
41923
+ message?: (string|null);
41924
+
41925
+ /** MessageVerifyingInput publicKey */
41926
+ publicKey?: (Uint8Array|null);
41927
+
41928
+ /** MessageVerifyingInput signature */
41929
+ signature?: (string|null);
41930
+ }
41931
+
41932
+ /** Represents a MessageVerifyingInput. */
41933
+ class MessageVerifyingInput implements IMessageVerifyingInput {
41934
+
41935
+ /**
41936
+ * Constructs a new MessageVerifyingInput.
41937
+ * @param [properties] Properties to set
41938
+ */
41939
+ constructor(properties?: TW.Sui.Proto.IMessageVerifyingInput);
41940
+
41941
+ /** MessageVerifyingInput message. */
41942
+ public message: string;
41943
+
41944
+ /** MessageVerifyingInput publicKey. */
41945
+ public publicKey: Uint8Array;
41946
+
41947
+ /** MessageVerifyingInput signature. */
41948
+ public signature: string;
41949
+
41950
+ /**
41951
+ * Creates a new MessageVerifyingInput instance using the specified properties.
41952
+ * @param [properties] Properties to set
41953
+ * @returns MessageVerifyingInput instance
41954
+ */
41955
+ public static create(properties?: TW.Sui.Proto.IMessageVerifyingInput): TW.Sui.Proto.MessageVerifyingInput;
41956
+
41957
+ /**
41958
+ * Encodes the specified MessageVerifyingInput message. Does not implicitly {@link TW.Sui.Proto.MessageVerifyingInput.verify|verify} messages.
41959
+ * @param message MessageVerifyingInput message or plain object to encode
41960
+ * @param [writer] Writer to encode to
41961
+ * @returns Writer
41962
+ */
41963
+ public static encode(message: TW.Sui.Proto.IMessageVerifyingInput, writer?: $protobuf.Writer): $protobuf.Writer;
41964
+
41965
+ /**
41966
+ * Decodes a MessageVerifyingInput message from the specified reader or buffer.
41967
+ * @param reader Reader or buffer to decode from
41968
+ * @param [length] Message length if known beforehand
41969
+ * @returns MessageVerifyingInput
41970
+ * @throws {Error} If the payload is not a reader or valid buffer
41971
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
41972
+ */
41973
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Sui.Proto.MessageVerifyingInput;
41974
+
41975
+ /**
41976
+ * Verifies a MessageVerifyingInput message.
41977
+ * @param message Plain object to verify
41978
+ * @returns `null` if valid, otherwise the reason why it is not
41979
+ */
41980
+ public static verify(message: { [k: string]: any }): (string|null);
41981
+
41982
+ /**
41983
+ * Creates a MessageVerifyingInput message from a plain object. Also converts values to their respective internal types.
41984
+ * @param object Plain object
41985
+ * @returns MessageVerifyingInput
41986
+ */
41987
+ public static fromObject(object: { [k: string]: any }): TW.Sui.Proto.MessageVerifyingInput;
41988
+
41989
+ /**
41990
+ * Creates a plain object from a MessageVerifyingInput message. Also converts values to other types if specified.
41991
+ * @param message MessageVerifyingInput
41992
+ * @param [options] Conversion options
41993
+ * @returns Plain object
41994
+ */
41995
+ public static toObject(message: TW.Sui.Proto.MessageVerifyingInput, options?: $protobuf.IConversionOptions): { [k: string]: any };
41996
+
41997
+ /**
41998
+ * Converts this MessageVerifyingInput to JSON.
41999
+ * @returns JSON object
42000
+ */
42001
+ public toJSON(): { [k: string]: any };
42002
+ }
41754
42003
  }
41755
42004
  }
41756
42005
 
@@ -123158,6 +123158,744 @@
123158
123158
  return SigningOutput;
123159
123159
  })();
123160
123160
 
123161
+ Proto.MessageSigningInput = (function() {
123162
+
123163
+ /**
123164
+ * Properties of a MessageSigningInput.
123165
+ * @memberof TW.Sui.Proto
123166
+ * @interface IMessageSigningInput
123167
+ * @property {Uint8Array|null} [privateKey] MessageSigningInput privateKey
123168
+ * @property {string|null} [message] MessageSigningInput message
123169
+ */
123170
+
123171
+ /**
123172
+ * Constructs a new MessageSigningInput.
123173
+ * @memberof TW.Sui.Proto
123174
+ * @classdesc Represents a MessageSigningInput.
123175
+ * @implements IMessageSigningInput
123176
+ * @constructor
123177
+ * @param {TW.Sui.Proto.IMessageSigningInput=} [properties] Properties to set
123178
+ */
123179
+ function MessageSigningInput(properties) {
123180
+ if (properties)
123181
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
123182
+ if (properties[keys[i]] != null)
123183
+ this[keys[i]] = properties[keys[i]];
123184
+ }
123185
+
123186
+ /**
123187
+ * MessageSigningInput privateKey.
123188
+ * @member {Uint8Array} privateKey
123189
+ * @memberof TW.Sui.Proto.MessageSigningInput
123190
+ * @instance
123191
+ */
123192
+ MessageSigningInput.prototype.privateKey = $util.newBuffer([]);
123193
+
123194
+ /**
123195
+ * MessageSigningInput message.
123196
+ * @member {string} message
123197
+ * @memberof TW.Sui.Proto.MessageSigningInput
123198
+ * @instance
123199
+ */
123200
+ MessageSigningInput.prototype.message = "";
123201
+
123202
+ /**
123203
+ * Creates a new MessageSigningInput instance using the specified properties.
123204
+ * @function create
123205
+ * @memberof TW.Sui.Proto.MessageSigningInput
123206
+ * @static
123207
+ * @param {TW.Sui.Proto.IMessageSigningInput=} [properties] Properties to set
123208
+ * @returns {TW.Sui.Proto.MessageSigningInput} MessageSigningInput instance
123209
+ */
123210
+ MessageSigningInput.create = function create(properties) {
123211
+ return new MessageSigningInput(properties);
123212
+ };
123213
+
123214
+ /**
123215
+ * Encodes the specified MessageSigningInput message. Does not implicitly {@link TW.Sui.Proto.MessageSigningInput.verify|verify} messages.
123216
+ * @function encode
123217
+ * @memberof TW.Sui.Proto.MessageSigningInput
123218
+ * @static
123219
+ * @param {TW.Sui.Proto.IMessageSigningInput} message MessageSigningInput message or plain object to encode
123220
+ * @param {$protobuf.Writer} [writer] Writer to encode to
123221
+ * @returns {$protobuf.Writer} Writer
123222
+ */
123223
+ MessageSigningInput.encode = function encode(message, writer) {
123224
+ if (!writer)
123225
+ writer = $Writer.create();
123226
+ if (message.privateKey != null && Object.hasOwnProperty.call(message, "privateKey"))
123227
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.privateKey);
123228
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
123229
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
123230
+ return writer;
123231
+ };
123232
+
123233
+ /**
123234
+ * Decodes a MessageSigningInput message from the specified reader or buffer.
123235
+ * @function decode
123236
+ * @memberof TW.Sui.Proto.MessageSigningInput
123237
+ * @static
123238
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
123239
+ * @param {number} [length] Message length if known beforehand
123240
+ * @returns {TW.Sui.Proto.MessageSigningInput} MessageSigningInput
123241
+ * @throws {Error} If the payload is not a reader or valid buffer
123242
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
123243
+ */
123244
+ MessageSigningInput.decode = function decode(reader, length) {
123245
+ if (!(reader instanceof $Reader))
123246
+ reader = $Reader.create(reader);
123247
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Sui.Proto.MessageSigningInput();
123248
+ while (reader.pos < end) {
123249
+ var tag = reader.uint32();
123250
+ switch (tag >>> 3) {
123251
+ case 1:
123252
+ message.privateKey = reader.bytes();
123253
+ break;
123254
+ case 2:
123255
+ message.message = reader.string();
123256
+ break;
123257
+ default:
123258
+ reader.skipType(tag & 7);
123259
+ break;
123260
+ }
123261
+ }
123262
+ return message;
123263
+ };
123264
+
123265
+ /**
123266
+ * Verifies a MessageSigningInput message.
123267
+ * @function verify
123268
+ * @memberof TW.Sui.Proto.MessageSigningInput
123269
+ * @static
123270
+ * @param {Object.<string,*>} message Plain object to verify
123271
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
123272
+ */
123273
+ MessageSigningInput.verify = function verify(message) {
123274
+ if (typeof message !== "object" || message === null)
123275
+ return "object expected";
123276
+ if (message.privateKey != null && message.hasOwnProperty("privateKey"))
123277
+ if (!(message.privateKey && typeof message.privateKey.length === "number" || $util.isString(message.privateKey)))
123278
+ return "privateKey: buffer expected";
123279
+ if (message.message != null && message.hasOwnProperty("message"))
123280
+ if (!$util.isString(message.message))
123281
+ return "message: string expected";
123282
+ return null;
123283
+ };
123284
+
123285
+ /**
123286
+ * Creates a MessageSigningInput message from a plain object. Also converts values to their respective internal types.
123287
+ * @function fromObject
123288
+ * @memberof TW.Sui.Proto.MessageSigningInput
123289
+ * @static
123290
+ * @param {Object.<string,*>} object Plain object
123291
+ * @returns {TW.Sui.Proto.MessageSigningInput} MessageSigningInput
123292
+ */
123293
+ MessageSigningInput.fromObject = function fromObject(object) {
123294
+ if (object instanceof $root.TW.Sui.Proto.MessageSigningInput)
123295
+ return object;
123296
+ var message = new $root.TW.Sui.Proto.MessageSigningInput();
123297
+ if (object.privateKey != null)
123298
+ if (typeof object.privateKey === "string")
123299
+ $util.base64.decode(object.privateKey, message.privateKey = $util.newBuffer($util.base64.length(object.privateKey)), 0);
123300
+ else if (object.privateKey.length)
123301
+ message.privateKey = object.privateKey;
123302
+ if (object.message != null)
123303
+ message.message = String(object.message);
123304
+ return message;
123305
+ };
123306
+
123307
+ /**
123308
+ * Creates a plain object from a MessageSigningInput message. Also converts values to other types if specified.
123309
+ * @function toObject
123310
+ * @memberof TW.Sui.Proto.MessageSigningInput
123311
+ * @static
123312
+ * @param {TW.Sui.Proto.MessageSigningInput} message MessageSigningInput
123313
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
123314
+ * @returns {Object.<string,*>} Plain object
123315
+ */
123316
+ MessageSigningInput.toObject = function toObject(message, options) {
123317
+ if (!options)
123318
+ options = {};
123319
+ var object = {};
123320
+ if (options.defaults) {
123321
+ if (options.bytes === String)
123322
+ object.privateKey = "";
123323
+ else {
123324
+ object.privateKey = [];
123325
+ if (options.bytes !== Array)
123326
+ object.privateKey = $util.newBuffer(object.privateKey);
123327
+ }
123328
+ object.message = "";
123329
+ }
123330
+ if (message.privateKey != null && message.hasOwnProperty("privateKey"))
123331
+ object.privateKey = options.bytes === String ? $util.base64.encode(message.privateKey, 0, message.privateKey.length) : options.bytes === Array ? Array.prototype.slice.call(message.privateKey) : message.privateKey;
123332
+ if (message.message != null && message.hasOwnProperty("message"))
123333
+ object.message = message.message;
123334
+ return object;
123335
+ };
123336
+
123337
+ /**
123338
+ * Converts this MessageSigningInput to JSON.
123339
+ * @function toJSON
123340
+ * @memberof TW.Sui.Proto.MessageSigningInput
123341
+ * @instance
123342
+ * @returns {Object.<string,*>} JSON object
123343
+ */
123344
+ MessageSigningInput.prototype.toJSON = function toJSON() {
123345
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
123346
+ };
123347
+
123348
+ return MessageSigningInput;
123349
+ })();
123350
+
123351
+ Proto.MessageSigningOutput = (function() {
123352
+
123353
+ /**
123354
+ * Properties of a MessageSigningOutput.
123355
+ * @memberof TW.Sui.Proto
123356
+ * @interface IMessageSigningOutput
123357
+ * @property {string|null} [signature] MessageSigningOutput signature
123358
+ * @property {TW.Common.Proto.SigningError|null} [error] MessageSigningOutput error
123359
+ * @property {string|null} [errorMessage] MessageSigningOutput errorMessage
123360
+ */
123361
+
123362
+ /**
123363
+ * Constructs a new MessageSigningOutput.
123364
+ * @memberof TW.Sui.Proto
123365
+ * @classdesc Represents a MessageSigningOutput.
123366
+ * @implements IMessageSigningOutput
123367
+ * @constructor
123368
+ * @param {TW.Sui.Proto.IMessageSigningOutput=} [properties] Properties to set
123369
+ */
123370
+ function MessageSigningOutput(properties) {
123371
+ if (properties)
123372
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
123373
+ if (properties[keys[i]] != null)
123374
+ this[keys[i]] = properties[keys[i]];
123375
+ }
123376
+
123377
+ /**
123378
+ * MessageSigningOutput signature.
123379
+ * @member {string} signature
123380
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123381
+ * @instance
123382
+ */
123383
+ MessageSigningOutput.prototype.signature = "";
123384
+
123385
+ /**
123386
+ * MessageSigningOutput error.
123387
+ * @member {TW.Common.Proto.SigningError} error
123388
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123389
+ * @instance
123390
+ */
123391
+ MessageSigningOutput.prototype.error = 0;
123392
+
123393
+ /**
123394
+ * MessageSigningOutput errorMessage.
123395
+ * @member {string} errorMessage
123396
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123397
+ * @instance
123398
+ */
123399
+ MessageSigningOutput.prototype.errorMessage = "";
123400
+
123401
+ /**
123402
+ * Creates a new MessageSigningOutput instance using the specified properties.
123403
+ * @function create
123404
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123405
+ * @static
123406
+ * @param {TW.Sui.Proto.IMessageSigningOutput=} [properties] Properties to set
123407
+ * @returns {TW.Sui.Proto.MessageSigningOutput} MessageSigningOutput instance
123408
+ */
123409
+ MessageSigningOutput.create = function create(properties) {
123410
+ return new MessageSigningOutput(properties);
123411
+ };
123412
+
123413
+ /**
123414
+ * Encodes the specified MessageSigningOutput message. Does not implicitly {@link TW.Sui.Proto.MessageSigningOutput.verify|verify} messages.
123415
+ * @function encode
123416
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123417
+ * @static
123418
+ * @param {TW.Sui.Proto.IMessageSigningOutput} message MessageSigningOutput message or plain object to encode
123419
+ * @param {$protobuf.Writer} [writer] Writer to encode to
123420
+ * @returns {$protobuf.Writer} Writer
123421
+ */
123422
+ MessageSigningOutput.encode = function encode(message, writer) {
123423
+ if (!writer)
123424
+ writer = $Writer.create();
123425
+ if (message.signature != null && Object.hasOwnProperty.call(message, "signature"))
123426
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.signature);
123427
+ if (message.error != null && Object.hasOwnProperty.call(message, "error"))
123428
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.error);
123429
+ if (message.errorMessage != null && Object.hasOwnProperty.call(message, "errorMessage"))
123430
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.errorMessage);
123431
+ return writer;
123432
+ };
123433
+
123434
+ /**
123435
+ * Decodes a MessageSigningOutput message from the specified reader or buffer.
123436
+ * @function decode
123437
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123438
+ * @static
123439
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
123440
+ * @param {number} [length] Message length if known beforehand
123441
+ * @returns {TW.Sui.Proto.MessageSigningOutput} MessageSigningOutput
123442
+ * @throws {Error} If the payload is not a reader or valid buffer
123443
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
123444
+ */
123445
+ MessageSigningOutput.decode = function decode(reader, length) {
123446
+ if (!(reader instanceof $Reader))
123447
+ reader = $Reader.create(reader);
123448
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Sui.Proto.MessageSigningOutput();
123449
+ while (reader.pos < end) {
123450
+ var tag = reader.uint32();
123451
+ switch (tag >>> 3) {
123452
+ case 1:
123453
+ message.signature = reader.string();
123454
+ break;
123455
+ case 2:
123456
+ message.error = reader.int32();
123457
+ break;
123458
+ case 3:
123459
+ message.errorMessage = reader.string();
123460
+ break;
123461
+ default:
123462
+ reader.skipType(tag & 7);
123463
+ break;
123464
+ }
123465
+ }
123466
+ return message;
123467
+ };
123468
+
123469
+ /**
123470
+ * Verifies a MessageSigningOutput message.
123471
+ * @function verify
123472
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123473
+ * @static
123474
+ * @param {Object.<string,*>} message Plain object to verify
123475
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
123476
+ */
123477
+ MessageSigningOutput.verify = function verify(message) {
123478
+ if (typeof message !== "object" || message === null)
123479
+ return "object expected";
123480
+ if (message.signature != null && message.hasOwnProperty("signature"))
123481
+ if (!$util.isString(message.signature))
123482
+ return "signature: string expected";
123483
+ if (message.error != null && message.hasOwnProperty("error"))
123484
+ switch (message.error) {
123485
+ default:
123486
+ return "error: enum value expected";
123487
+ case 0:
123488
+ case 1:
123489
+ case 2:
123490
+ case 3:
123491
+ case 4:
123492
+ case 5:
123493
+ case 15:
123494
+ case 16:
123495
+ case 17:
123496
+ case 18:
123497
+ case 6:
123498
+ case 7:
123499
+ case 8:
123500
+ case 9:
123501
+ case 10:
123502
+ case 11:
123503
+ case 12:
123504
+ case 13:
123505
+ case 14:
123506
+ case 19:
123507
+ case 20:
123508
+ case 21:
123509
+ case 22:
123510
+ case 23:
123511
+ case 24:
123512
+ case 25:
123513
+ break;
123514
+ }
123515
+ if (message.errorMessage != null && message.hasOwnProperty("errorMessage"))
123516
+ if (!$util.isString(message.errorMessage))
123517
+ return "errorMessage: string expected";
123518
+ return null;
123519
+ };
123520
+
123521
+ /**
123522
+ * Creates a MessageSigningOutput message from a plain object. Also converts values to their respective internal types.
123523
+ * @function fromObject
123524
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123525
+ * @static
123526
+ * @param {Object.<string,*>} object Plain object
123527
+ * @returns {TW.Sui.Proto.MessageSigningOutput} MessageSigningOutput
123528
+ */
123529
+ MessageSigningOutput.fromObject = function fromObject(object) {
123530
+ if (object instanceof $root.TW.Sui.Proto.MessageSigningOutput)
123531
+ return object;
123532
+ var message = new $root.TW.Sui.Proto.MessageSigningOutput();
123533
+ if (object.signature != null)
123534
+ message.signature = String(object.signature);
123535
+ switch (object.error) {
123536
+ case "OK":
123537
+ case 0:
123538
+ message.error = 0;
123539
+ break;
123540
+ case "Error_general":
123541
+ case 1:
123542
+ message.error = 1;
123543
+ break;
123544
+ case "Error_internal":
123545
+ case 2:
123546
+ message.error = 2;
123547
+ break;
123548
+ case "Error_low_balance":
123549
+ case 3:
123550
+ message.error = 3;
123551
+ break;
123552
+ case "Error_zero_amount_requested":
123553
+ case 4:
123554
+ message.error = 4;
123555
+ break;
123556
+ case "Error_missing_private_key":
123557
+ case 5:
123558
+ message.error = 5;
123559
+ break;
123560
+ case "Error_invalid_private_key":
123561
+ case 15:
123562
+ message.error = 15;
123563
+ break;
123564
+ case "Error_invalid_address":
123565
+ case 16:
123566
+ message.error = 16;
123567
+ break;
123568
+ case "Error_invalid_utxo":
123569
+ case 17:
123570
+ message.error = 17;
123571
+ break;
123572
+ case "Error_invalid_utxo_amount":
123573
+ case 18:
123574
+ message.error = 18;
123575
+ break;
123576
+ case "Error_wrong_fee":
123577
+ case 6:
123578
+ message.error = 6;
123579
+ break;
123580
+ case "Error_signing":
123581
+ case 7:
123582
+ message.error = 7;
123583
+ break;
123584
+ case "Error_tx_too_big":
123585
+ case 8:
123586
+ message.error = 8;
123587
+ break;
123588
+ case "Error_missing_input_utxos":
123589
+ case 9:
123590
+ message.error = 9;
123591
+ break;
123592
+ case "Error_not_enough_utxos":
123593
+ case 10:
123594
+ message.error = 10;
123595
+ break;
123596
+ case "Error_script_redeem":
123597
+ case 11:
123598
+ message.error = 11;
123599
+ break;
123600
+ case "Error_script_output":
123601
+ case 12:
123602
+ message.error = 12;
123603
+ break;
123604
+ case "Error_script_witness_program":
123605
+ case 13:
123606
+ message.error = 13;
123607
+ break;
123608
+ case "Error_invalid_memo":
123609
+ case 14:
123610
+ message.error = 14;
123611
+ break;
123612
+ case "Error_input_parse":
123613
+ case 19:
123614
+ message.error = 19;
123615
+ break;
123616
+ case "Error_no_support_n2n":
123617
+ case 20:
123618
+ message.error = 20;
123619
+ break;
123620
+ case "Error_signatures_count":
123621
+ case 21:
123622
+ message.error = 21;
123623
+ break;
123624
+ case "Error_invalid_params":
123625
+ case 22:
123626
+ message.error = 22;
123627
+ break;
123628
+ case "Error_invalid_requested_token_amount":
123629
+ case 23:
123630
+ message.error = 23;
123631
+ break;
123632
+ case "Error_not_supported":
123633
+ case 24:
123634
+ message.error = 24;
123635
+ break;
123636
+ case "Error_dust_amount_requested":
123637
+ case 25:
123638
+ message.error = 25;
123639
+ break;
123640
+ }
123641
+ if (object.errorMessage != null)
123642
+ message.errorMessage = String(object.errorMessage);
123643
+ return message;
123644
+ };
123645
+
123646
+ /**
123647
+ * Creates a plain object from a MessageSigningOutput message. Also converts values to other types if specified.
123648
+ * @function toObject
123649
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123650
+ * @static
123651
+ * @param {TW.Sui.Proto.MessageSigningOutput} message MessageSigningOutput
123652
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
123653
+ * @returns {Object.<string,*>} Plain object
123654
+ */
123655
+ MessageSigningOutput.toObject = function toObject(message, options) {
123656
+ if (!options)
123657
+ options = {};
123658
+ var object = {};
123659
+ if (options.defaults) {
123660
+ object.signature = "";
123661
+ object.error = options.enums === String ? "OK" : 0;
123662
+ object.errorMessage = "";
123663
+ }
123664
+ if (message.signature != null && message.hasOwnProperty("signature"))
123665
+ object.signature = message.signature;
123666
+ if (message.error != null && message.hasOwnProperty("error"))
123667
+ object.error = options.enums === String ? $root.TW.Common.Proto.SigningError[message.error] : message.error;
123668
+ if (message.errorMessage != null && message.hasOwnProperty("errorMessage"))
123669
+ object.errorMessage = message.errorMessage;
123670
+ return object;
123671
+ };
123672
+
123673
+ /**
123674
+ * Converts this MessageSigningOutput to JSON.
123675
+ * @function toJSON
123676
+ * @memberof TW.Sui.Proto.MessageSigningOutput
123677
+ * @instance
123678
+ * @returns {Object.<string,*>} JSON object
123679
+ */
123680
+ MessageSigningOutput.prototype.toJSON = function toJSON() {
123681
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
123682
+ };
123683
+
123684
+ return MessageSigningOutput;
123685
+ })();
123686
+
123687
+ Proto.MessageVerifyingInput = (function() {
123688
+
123689
+ /**
123690
+ * Properties of a MessageVerifyingInput.
123691
+ * @memberof TW.Sui.Proto
123692
+ * @interface IMessageVerifyingInput
123693
+ * @property {string|null} [message] MessageVerifyingInput message
123694
+ * @property {Uint8Array|null} [publicKey] MessageVerifyingInput publicKey
123695
+ * @property {string|null} [signature] MessageVerifyingInput signature
123696
+ */
123697
+
123698
+ /**
123699
+ * Constructs a new MessageVerifyingInput.
123700
+ * @memberof TW.Sui.Proto
123701
+ * @classdesc Represents a MessageVerifyingInput.
123702
+ * @implements IMessageVerifyingInput
123703
+ * @constructor
123704
+ * @param {TW.Sui.Proto.IMessageVerifyingInput=} [properties] Properties to set
123705
+ */
123706
+ function MessageVerifyingInput(properties) {
123707
+ if (properties)
123708
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
123709
+ if (properties[keys[i]] != null)
123710
+ this[keys[i]] = properties[keys[i]];
123711
+ }
123712
+
123713
+ /**
123714
+ * MessageVerifyingInput message.
123715
+ * @member {string} message
123716
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123717
+ * @instance
123718
+ */
123719
+ MessageVerifyingInput.prototype.message = "";
123720
+
123721
+ /**
123722
+ * MessageVerifyingInput publicKey.
123723
+ * @member {Uint8Array} publicKey
123724
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123725
+ * @instance
123726
+ */
123727
+ MessageVerifyingInput.prototype.publicKey = $util.newBuffer([]);
123728
+
123729
+ /**
123730
+ * MessageVerifyingInput signature.
123731
+ * @member {string} signature
123732
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123733
+ * @instance
123734
+ */
123735
+ MessageVerifyingInput.prototype.signature = "";
123736
+
123737
+ /**
123738
+ * Creates a new MessageVerifyingInput instance using the specified properties.
123739
+ * @function create
123740
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123741
+ * @static
123742
+ * @param {TW.Sui.Proto.IMessageVerifyingInput=} [properties] Properties to set
123743
+ * @returns {TW.Sui.Proto.MessageVerifyingInput} MessageVerifyingInput instance
123744
+ */
123745
+ MessageVerifyingInput.create = function create(properties) {
123746
+ return new MessageVerifyingInput(properties);
123747
+ };
123748
+
123749
+ /**
123750
+ * Encodes the specified MessageVerifyingInput message. Does not implicitly {@link TW.Sui.Proto.MessageVerifyingInput.verify|verify} messages.
123751
+ * @function encode
123752
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123753
+ * @static
123754
+ * @param {TW.Sui.Proto.IMessageVerifyingInput} message MessageVerifyingInput message or plain object to encode
123755
+ * @param {$protobuf.Writer} [writer] Writer to encode to
123756
+ * @returns {$protobuf.Writer} Writer
123757
+ */
123758
+ MessageVerifyingInput.encode = function encode(message, writer) {
123759
+ if (!writer)
123760
+ writer = $Writer.create();
123761
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
123762
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.message);
123763
+ if (message.publicKey != null && Object.hasOwnProperty.call(message, "publicKey"))
123764
+ writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.publicKey);
123765
+ if (message.signature != null && Object.hasOwnProperty.call(message, "signature"))
123766
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.signature);
123767
+ return writer;
123768
+ };
123769
+
123770
+ /**
123771
+ * Decodes a MessageVerifyingInput message from the specified reader or buffer.
123772
+ * @function decode
123773
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123774
+ * @static
123775
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
123776
+ * @param {number} [length] Message length if known beforehand
123777
+ * @returns {TW.Sui.Proto.MessageVerifyingInput} MessageVerifyingInput
123778
+ * @throws {Error} If the payload is not a reader or valid buffer
123779
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
123780
+ */
123781
+ MessageVerifyingInput.decode = function decode(reader, length) {
123782
+ if (!(reader instanceof $Reader))
123783
+ reader = $Reader.create(reader);
123784
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Sui.Proto.MessageVerifyingInput();
123785
+ while (reader.pos < end) {
123786
+ var tag = reader.uint32();
123787
+ switch (tag >>> 3) {
123788
+ case 1:
123789
+ message.message = reader.string();
123790
+ break;
123791
+ case 2:
123792
+ message.publicKey = reader.bytes();
123793
+ break;
123794
+ case 3:
123795
+ message.signature = reader.string();
123796
+ break;
123797
+ default:
123798
+ reader.skipType(tag & 7);
123799
+ break;
123800
+ }
123801
+ }
123802
+ return message;
123803
+ };
123804
+
123805
+ /**
123806
+ * Verifies a MessageVerifyingInput message.
123807
+ * @function verify
123808
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123809
+ * @static
123810
+ * @param {Object.<string,*>} message Plain object to verify
123811
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
123812
+ */
123813
+ MessageVerifyingInput.verify = function verify(message) {
123814
+ if (typeof message !== "object" || message === null)
123815
+ return "object expected";
123816
+ if (message.message != null && message.hasOwnProperty("message"))
123817
+ if (!$util.isString(message.message))
123818
+ return "message: string expected";
123819
+ if (message.publicKey != null && message.hasOwnProperty("publicKey"))
123820
+ if (!(message.publicKey && typeof message.publicKey.length === "number" || $util.isString(message.publicKey)))
123821
+ return "publicKey: buffer expected";
123822
+ if (message.signature != null && message.hasOwnProperty("signature"))
123823
+ if (!$util.isString(message.signature))
123824
+ return "signature: string expected";
123825
+ return null;
123826
+ };
123827
+
123828
+ /**
123829
+ * Creates a MessageVerifyingInput message from a plain object. Also converts values to their respective internal types.
123830
+ * @function fromObject
123831
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123832
+ * @static
123833
+ * @param {Object.<string,*>} object Plain object
123834
+ * @returns {TW.Sui.Proto.MessageVerifyingInput} MessageVerifyingInput
123835
+ */
123836
+ MessageVerifyingInput.fromObject = function fromObject(object) {
123837
+ if (object instanceof $root.TW.Sui.Proto.MessageVerifyingInput)
123838
+ return object;
123839
+ var message = new $root.TW.Sui.Proto.MessageVerifyingInput();
123840
+ if (object.message != null)
123841
+ message.message = String(object.message);
123842
+ if (object.publicKey != null)
123843
+ if (typeof object.publicKey === "string")
123844
+ $util.base64.decode(object.publicKey, message.publicKey = $util.newBuffer($util.base64.length(object.publicKey)), 0);
123845
+ else if (object.publicKey.length)
123846
+ message.publicKey = object.publicKey;
123847
+ if (object.signature != null)
123848
+ message.signature = String(object.signature);
123849
+ return message;
123850
+ };
123851
+
123852
+ /**
123853
+ * Creates a plain object from a MessageVerifyingInput message. Also converts values to other types if specified.
123854
+ * @function toObject
123855
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123856
+ * @static
123857
+ * @param {TW.Sui.Proto.MessageVerifyingInput} message MessageVerifyingInput
123858
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
123859
+ * @returns {Object.<string,*>} Plain object
123860
+ */
123861
+ MessageVerifyingInput.toObject = function toObject(message, options) {
123862
+ if (!options)
123863
+ options = {};
123864
+ var object = {};
123865
+ if (options.defaults) {
123866
+ object.message = "";
123867
+ if (options.bytes === String)
123868
+ object.publicKey = "";
123869
+ else {
123870
+ object.publicKey = [];
123871
+ if (options.bytes !== Array)
123872
+ object.publicKey = $util.newBuffer(object.publicKey);
123873
+ }
123874
+ object.signature = "";
123875
+ }
123876
+ if (message.message != null && message.hasOwnProperty("message"))
123877
+ object.message = message.message;
123878
+ if (message.publicKey != null && message.hasOwnProperty("publicKey"))
123879
+ object.publicKey = options.bytes === String ? $util.base64.encode(message.publicKey, 0, message.publicKey.length) : options.bytes === Array ? Array.prototype.slice.call(message.publicKey) : message.publicKey;
123880
+ if (message.signature != null && message.hasOwnProperty("signature"))
123881
+ object.signature = message.signature;
123882
+ return object;
123883
+ };
123884
+
123885
+ /**
123886
+ * Converts this MessageVerifyingInput to JSON.
123887
+ * @function toJSON
123888
+ * @memberof TW.Sui.Proto.MessageVerifyingInput
123889
+ * @instance
123890
+ * @returns {Object.<string,*>} JSON object
123891
+ */
123892
+ MessageVerifyingInput.prototype.toJSON = function toJSON() {
123893
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
123894
+ };
123895
+
123896
+ return MessageVerifyingInput;
123897
+ })();
123898
+
123161
123899
  return Proto;
123162
123900
  })();
123163
123901
 
@@ -36,7 +36,7 @@ function $a(a,b){var c=M;return sa||"function"!=typeof WebAssembly.instantiateSt
36
36
  function z(a,b){Object.getOwnPropertyDescriptor(g,a)||Object.defineProperty(g,a,{configurable:!0,get:function(){n("Module."+a+" has been replaced with plain "+b+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}
37
37
  function cb(a){return"FS_createPath"===a||"FS_createDataFile"===a||"FS_createPreloadedFile"===a||"FS_unlink"===a||"addRunDependency"===a||"FS_createLazyFile"===a||"FS_createDevice"===a||"removeRunDependency"===a}(function(a,b){"undefined"!==typeof globalThis&&Object.defineProperty(globalThis,a,{configurable:!0,get:function(){ya("`"+a+"` is not longer defined by emscripten. "+b)}})})("buffer","Please use HEAP8.buffer or wasmMemory.buffer");
38
38
  function db(a){Object.getOwnPropertyDescriptor(g,a)||Object.defineProperty(g,a,{configurable:!0,get:function(){var b="'"+a+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";cb(a)&&(b+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you");n(b)}})}
39
- var eb={2096980:()=>{if(void 0===g.fa)try{var a="object"===typeof window?window:self,b="undefined"!==typeof a.crypto?a.crypto:a.msCrypto;a=function(){var d=new Uint32Array(1);b.getRandomValues(d);return d[0]>>>0};a();g.fa=a}catch(d){try{var c=require("crypto");a=function(){var e=c.randomBytes(4);return(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0};a();g.fa=a}catch(e){throw"No secure random number generator found";}}},2097702:()=>g.fa()};
39
+ var eb={2086036:()=>{if(void 0===g.fa)try{var a="object"===typeof window?window:self,b="undefined"!==typeof a.crypto?a.crypto:a.msCrypto;a=function(){var d=new Uint32Array(1);b.getRandomValues(d);return d[0]>>>0};a();g.fa=a}catch(d){try{var c=require("crypto");a=function(){var e=c.randomBytes(4);return(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0};a();g.fa=a}catch(e){throw"No secure random number generator found";}}},2086758:()=>g.fa()};
40
40
  function qa(a){this.name="ExitStatus";this.message="Program terminated with exit("+a+")";this.status=a}function fb(a){for(;0<a.length;)a.shift()(g)}function za(a){assert("number"===typeof a);return"0x"+a.toString(16).padStart(8,"0")}function ya(a){gb||(gb={});gb[a]||(gb[a]=1,w&&(a="warning: "+a),y(a))}var gb,hb=[];function ib(a){var b=hb[a];b||(a>=hb.length&&(hb.length=a+1),hb[a]=b=Ha.get(a));assert(Ha.get(a)==b,"JavaScript-side Wasm function table mirror is out of date!");return b}
41
41
  function jb(a){this.l=a-24;this.Oa=function(b){G[this.l+4>>2]=b};this.Ja=function(b){G[this.l+8>>2]=b};this.Ka=function(){F[this.l>>2]=0};this.Ea=function(){D[this.l+12>>0]=0};this.La=function(){D[this.l+13>>0]=0};this.I=function(b,c){this.Da();this.Oa(b);this.Ja(c);this.Ka();this.Ea();this.La()};this.Da=function(){G[this.l+16>>2]=0}}
42
42
  var kb=0,lb=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a},mb=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=lb(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},nb=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b},ob=
Binary file
@@ -788,6 +788,7 @@ export class LiquidStaking {
788
788
  static buildRequest(input: Uint8Array | Buffer): Uint8Array;
789
789
  }
790
790
  export class MessageSigner {
791
+ static preImageHashes(coin: CoinType, input: Uint8Array | Buffer): Uint8Array;
791
792
  static sign(coin: CoinType, input: Uint8Array | Buffer): Uint8Array;
792
793
  static verify(coin: CoinType, input: Uint8Array | Buffer): boolean;
793
794
  }
@@ -883,11 +884,6 @@ export class RippleXAddress {
883
884
  tag(): number;
884
885
  delete(): void;
885
886
  }
886
- export class SS58AddressType {
887
- value: number;
888
- static polkadot: SS58AddressType;
889
- static kusama: SS58AddressType;
890
- }
891
887
  export class SegwitAddress {
892
888
  static equal(lhs: SegwitAddress, rhs: SegwitAddress): boolean;
893
889
  static isValidString(string: string): boolean;
@@ -1095,7 +1091,6 @@ export interface WalletCore {
1095
1091
  PublicKeyType: typeof PublicKeyType;
1096
1092
  Purpose: typeof Purpose;
1097
1093
  RippleXAddress: typeof RippleXAddress;
1098
- SS58AddressType: typeof SS58AddressType;
1099
1094
  SegwitAddress: typeof SegwitAddress;
1100
1095
  SolanaAddress: typeof SolanaAddress;
1101
1096
  SolanaTransaction: typeof SolanaTransaction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",