@trustwallet/wallet-core 3.2.3 → 3.2.5

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.
@@ -2360,32 +2360,23 @@ export namespace TW {
2360
2360
  /** Properties of a ContractAddressInput. */
2361
2361
  interface IContractAddressInput {
2362
2362
 
2363
+ /** ContractAddressInput entryPoint */
2364
+ entryPoint?: (string|null);
2365
+
2363
2366
  /** ContractAddressInput factory */
2364
2367
  factory?: (string|null);
2365
2368
 
2366
- /** ContractAddressInput diamondCutFacet */
2367
- diamondCutFacet?: (string|null);
2368
-
2369
2369
  /** ContractAddressInput accountFacet */
2370
2370
  accountFacet?: (string|null);
2371
2371
 
2372
2372
  /** ContractAddressInput verificationFacet */
2373
2373
  verificationFacet?: (string|null);
2374
2374
 
2375
- /** ContractAddressInput tokenReceiverFacet */
2376
- tokenReceiverFacet?: (string|null);
2377
-
2378
- /** ContractAddressInput diamondLoupeFacet */
2379
- diamondLoupeFacet?: (string|null);
2380
-
2381
- /** ContractAddressInput diamondInit */
2382
- diamondInit?: (string|null);
2383
-
2384
2375
  /** ContractAddressInput facetRegistry */
2385
2376
  facetRegistry?: (string|null);
2386
2377
 
2387
- /** ContractAddressInput entryPoint */
2388
- entryPoint?: (string|null);
2378
+ /** ContractAddressInput defaultFallback */
2379
+ defaultFallback?: (string|null);
2389
2380
 
2390
2381
  /** ContractAddressInput bytecode */
2391
2382
  bytecode?: (string|null);
@@ -2403,32 +2394,23 @@ export namespace TW {
2403
2394
  */
2404
2395
  constructor(properties?: TW.Barz.Proto.IContractAddressInput);
2405
2396
 
2397
+ /** ContractAddressInput entryPoint. */
2398
+ public entryPoint: string;
2399
+
2406
2400
  /** ContractAddressInput factory. */
2407
2401
  public factory: string;
2408
2402
 
2409
- /** ContractAddressInput diamondCutFacet. */
2410
- public diamondCutFacet: string;
2411
-
2412
2403
  /** ContractAddressInput accountFacet. */
2413
2404
  public accountFacet: string;
2414
2405
 
2415
2406
  /** ContractAddressInput verificationFacet. */
2416
2407
  public verificationFacet: string;
2417
2408
 
2418
- /** ContractAddressInput tokenReceiverFacet. */
2419
- public tokenReceiverFacet: string;
2420
-
2421
- /** ContractAddressInput diamondLoupeFacet. */
2422
- public diamondLoupeFacet: string;
2423
-
2424
- /** ContractAddressInput diamondInit. */
2425
- public diamondInit: string;
2426
-
2427
2409
  /** ContractAddressInput facetRegistry. */
2428
2410
  public facetRegistry: string;
2429
2411
 
2430
- /** ContractAddressInput entryPoint. */
2431
- public entryPoint: string;
2412
+ /** ContractAddressInput defaultFallback. */
2413
+ public defaultFallback: string;
2432
2414
 
2433
2415
  /** ContractAddressInput bytecode. */
2434
2416
  public bytecode: string;
@@ -6825,15 +6825,12 @@
6825
6825
  * Properties of a ContractAddressInput.
6826
6826
  * @memberof TW.Barz.Proto
6827
6827
  * @interface IContractAddressInput
6828
+ * @property {string|null} [entryPoint] ContractAddressInput entryPoint
6828
6829
  * @property {string|null} [factory] ContractAddressInput factory
6829
- * @property {string|null} [diamondCutFacet] ContractAddressInput diamondCutFacet
6830
6830
  * @property {string|null} [accountFacet] ContractAddressInput accountFacet
6831
6831
  * @property {string|null} [verificationFacet] ContractAddressInput verificationFacet
6832
- * @property {string|null} [tokenReceiverFacet] ContractAddressInput tokenReceiverFacet
6833
- * @property {string|null} [diamondLoupeFacet] ContractAddressInput diamondLoupeFacet
6834
- * @property {string|null} [diamondInit] ContractAddressInput diamondInit
6835
6832
  * @property {string|null} [facetRegistry] ContractAddressInput facetRegistry
6836
- * @property {string|null} [entryPoint] ContractAddressInput entryPoint
6833
+ * @property {string|null} [defaultFallback] ContractAddressInput defaultFallback
6837
6834
  * @property {string|null} [bytecode] ContractAddressInput bytecode
6838
6835
  * @property {string|null} [publicKey] ContractAddressInput publicKey
6839
6836
  */
@@ -6854,20 +6851,20 @@
6854
6851
  }
6855
6852
 
6856
6853
  /**
6857
- * ContractAddressInput factory.
6858
- * @member {string} factory
6854
+ * ContractAddressInput entryPoint.
6855
+ * @member {string} entryPoint
6859
6856
  * @memberof TW.Barz.Proto.ContractAddressInput
6860
6857
  * @instance
6861
6858
  */
6862
- ContractAddressInput.prototype.factory = "";
6859
+ ContractAddressInput.prototype.entryPoint = "";
6863
6860
 
6864
6861
  /**
6865
- * ContractAddressInput diamondCutFacet.
6866
- * @member {string} diamondCutFacet
6862
+ * ContractAddressInput factory.
6863
+ * @member {string} factory
6867
6864
  * @memberof TW.Barz.Proto.ContractAddressInput
6868
6865
  * @instance
6869
6866
  */
6870
- ContractAddressInput.prototype.diamondCutFacet = "";
6867
+ ContractAddressInput.prototype.factory = "";
6871
6868
 
6872
6869
  /**
6873
6870
  * ContractAddressInput accountFacet.
@@ -6885,30 +6882,6 @@
6885
6882
  */
6886
6883
  ContractAddressInput.prototype.verificationFacet = "";
6887
6884
 
6888
- /**
6889
- * ContractAddressInput tokenReceiverFacet.
6890
- * @member {string} tokenReceiverFacet
6891
- * @memberof TW.Barz.Proto.ContractAddressInput
6892
- * @instance
6893
- */
6894
- ContractAddressInput.prototype.tokenReceiverFacet = "";
6895
-
6896
- /**
6897
- * ContractAddressInput diamondLoupeFacet.
6898
- * @member {string} diamondLoupeFacet
6899
- * @memberof TW.Barz.Proto.ContractAddressInput
6900
- * @instance
6901
- */
6902
- ContractAddressInput.prototype.diamondLoupeFacet = "";
6903
-
6904
- /**
6905
- * ContractAddressInput diamondInit.
6906
- * @member {string} diamondInit
6907
- * @memberof TW.Barz.Proto.ContractAddressInput
6908
- * @instance
6909
- */
6910
- ContractAddressInput.prototype.diamondInit = "";
6911
-
6912
6885
  /**
6913
6886
  * ContractAddressInput facetRegistry.
6914
6887
  * @member {string} facetRegistry
@@ -6918,12 +6891,12 @@
6918
6891
  ContractAddressInput.prototype.facetRegistry = "";
6919
6892
 
6920
6893
  /**
6921
- * ContractAddressInput entryPoint.
6922
- * @member {string} entryPoint
6894
+ * ContractAddressInput defaultFallback.
6895
+ * @member {string} defaultFallback
6923
6896
  * @memberof TW.Barz.Proto.ContractAddressInput
6924
6897
  * @instance
6925
6898
  */
6926
- ContractAddressInput.prototype.entryPoint = "";
6899
+ ContractAddressInput.prototype.defaultFallback = "";
6927
6900
 
6928
6901
  /**
6929
6902
  * ContractAddressInput bytecode.
@@ -6965,28 +6938,22 @@
6965
6938
  ContractAddressInput.encode = function encode(message, writer) {
6966
6939
  if (!writer)
6967
6940
  writer = $Writer.create();
6941
+ if (message.entryPoint != null && Object.hasOwnProperty.call(message, "entryPoint"))
6942
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.entryPoint);
6968
6943
  if (message.factory != null && Object.hasOwnProperty.call(message, "factory"))
6969
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.factory);
6970
- if (message.diamondCutFacet != null && Object.hasOwnProperty.call(message, "diamondCutFacet"))
6971
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.diamondCutFacet);
6944
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.factory);
6972
6945
  if (message.accountFacet != null && Object.hasOwnProperty.call(message, "accountFacet"))
6973
6946
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.accountFacet);
6974
6947
  if (message.verificationFacet != null && Object.hasOwnProperty.call(message, "verificationFacet"))
6975
6948
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.verificationFacet);
6976
- if (message.tokenReceiverFacet != null && Object.hasOwnProperty.call(message, "tokenReceiverFacet"))
6977
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.tokenReceiverFacet);
6978
- if (message.diamondLoupeFacet != null && Object.hasOwnProperty.call(message, "diamondLoupeFacet"))
6979
- writer.uint32(/* id 6, wireType 2 =*/50).string(message.diamondLoupeFacet);
6980
- if (message.diamondInit != null && Object.hasOwnProperty.call(message, "diamondInit"))
6981
- writer.uint32(/* id 7, wireType 2 =*/58).string(message.diamondInit);
6982
6949
  if (message.facetRegistry != null && Object.hasOwnProperty.call(message, "facetRegistry"))
6983
- writer.uint32(/* id 8, wireType 2 =*/66).string(message.facetRegistry);
6984
- if (message.entryPoint != null && Object.hasOwnProperty.call(message, "entryPoint"))
6985
- writer.uint32(/* id 9, wireType 2 =*/74).string(message.entryPoint);
6950
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.facetRegistry);
6951
+ if (message.defaultFallback != null && Object.hasOwnProperty.call(message, "defaultFallback"))
6952
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.defaultFallback);
6986
6953
  if (message.bytecode != null && Object.hasOwnProperty.call(message, "bytecode"))
6987
- writer.uint32(/* id 10, wireType 2 =*/82).string(message.bytecode);
6954
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.bytecode);
6988
6955
  if (message.publicKey != null && Object.hasOwnProperty.call(message, "publicKey"))
6989
- writer.uint32(/* id 11, wireType 2 =*/90).string(message.publicKey);
6956
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.publicKey);
6990
6957
  return writer;
6991
6958
  };
6992
6959
 
@@ -7009,10 +6976,10 @@
7009
6976
  var tag = reader.uint32();
7010
6977
  switch (tag >>> 3) {
7011
6978
  case 1:
7012
- message.factory = reader.string();
6979
+ message.entryPoint = reader.string();
7013
6980
  break;
7014
6981
  case 2:
7015
- message.diamondCutFacet = reader.string();
6982
+ message.factory = reader.string();
7016
6983
  break;
7017
6984
  case 3:
7018
6985
  message.accountFacet = reader.string();
@@ -7021,24 +6988,15 @@
7021
6988
  message.verificationFacet = reader.string();
7022
6989
  break;
7023
6990
  case 5:
7024
- message.tokenReceiverFacet = reader.string();
6991
+ message.facetRegistry = reader.string();
7025
6992
  break;
7026
6993
  case 6:
7027
- message.diamondLoupeFacet = reader.string();
6994
+ message.defaultFallback = reader.string();
7028
6995
  break;
7029
6996
  case 7:
7030
- message.diamondInit = reader.string();
7031
- break;
7032
- case 8:
7033
- message.facetRegistry = reader.string();
7034
- break;
7035
- case 9:
7036
- message.entryPoint = reader.string();
7037
- break;
7038
- case 10:
7039
6997
  message.bytecode = reader.string();
7040
6998
  break;
7041
- case 11:
6999
+ case 8:
7042
7000
  message.publicKey = reader.string();
7043
7001
  break;
7044
7002
  default:
@@ -7060,33 +7018,24 @@
7060
7018
  ContractAddressInput.verify = function verify(message) {
7061
7019
  if (typeof message !== "object" || message === null)
7062
7020
  return "object expected";
7021
+ if (message.entryPoint != null && message.hasOwnProperty("entryPoint"))
7022
+ if (!$util.isString(message.entryPoint))
7023
+ return "entryPoint: string expected";
7063
7024
  if (message.factory != null && message.hasOwnProperty("factory"))
7064
7025
  if (!$util.isString(message.factory))
7065
7026
  return "factory: string expected";
7066
- if (message.diamondCutFacet != null && message.hasOwnProperty("diamondCutFacet"))
7067
- if (!$util.isString(message.diamondCutFacet))
7068
- return "diamondCutFacet: string expected";
7069
7027
  if (message.accountFacet != null && message.hasOwnProperty("accountFacet"))
7070
7028
  if (!$util.isString(message.accountFacet))
7071
7029
  return "accountFacet: string expected";
7072
7030
  if (message.verificationFacet != null && message.hasOwnProperty("verificationFacet"))
7073
7031
  if (!$util.isString(message.verificationFacet))
7074
7032
  return "verificationFacet: string expected";
7075
- if (message.tokenReceiverFacet != null && message.hasOwnProperty("tokenReceiverFacet"))
7076
- if (!$util.isString(message.tokenReceiverFacet))
7077
- return "tokenReceiverFacet: string expected";
7078
- if (message.diamondLoupeFacet != null && message.hasOwnProperty("diamondLoupeFacet"))
7079
- if (!$util.isString(message.diamondLoupeFacet))
7080
- return "diamondLoupeFacet: string expected";
7081
- if (message.diamondInit != null && message.hasOwnProperty("diamondInit"))
7082
- if (!$util.isString(message.diamondInit))
7083
- return "diamondInit: string expected";
7084
7033
  if (message.facetRegistry != null && message.hasOwnProperty("facetRegistry"))
7085
7034
  if (!$util.isString(message.facetRegistry))
7086
7035
  return "facetRegistry: string expected";
7087
- if (message.entryPoint != null && message.hasOwnProperty("entryPoint"))
7088
- if (!$util.isString(message.entryPoint))
7089
- return "entryPoint: string expected";
7036
+ if (message.defaultFallback != null && message.hasOwnProperty("defaultFallback"))
7037
+ if (!$util.isString(message.defaultFallback))
7038
+ return "defaultFallback: string expected";
7090
7039
  if (message.bytecode != null && message.hasOwnProperty("bytecode"))
7091
7040
  if (!$util.isString(message.bytecode))
7092
7041
  return "bytecode: string expected";
@@ -7108,24 +7057,18 @@
7108
7057
  if (object instanceof $root.TW.Barz.Proto.ContractAddressInput)
7109
7058
  return object;
7110
7059
  var message = new $root.TW.Barz.Proto.ContractAddressInput();
7060
+ if (object.entryPoint != null)
7061
+ message.entryPoint = String(object.entryPoint);
7111
7062
  if (object.factory != null)
7112
7063
  message.factory = String(object.factory);
7113
- if (object.diamondCutFacet != null)
7114
- message.diamondCutFacet = String(object.diamondCutFacet);
7115
7064
  if (object.accountFacet != null)
7116
7065
  message.accountFacet = String(object.accountFacet);
7117
7066
  if (object.verificationFacet != null)
7118
7067
  message.verificationFacet = String(object.verificationFacet);
7119
- if (object.tokenReceiverFacet != null)
7120
- message.tokenReceiverFacet = String(object.tokenReceiverFacet);
7121
- if (object.diamondLoupeFacet != null)
7122
- message.diamondLoupeFacet = String(object.diamondLoupeFacet);
7123
- if (object.diamondInit != null)
7124
- message.diamondInit = String(object.diamondInit);
7125
7068
  if (object.facetRegistry != null)
7126
7069
  message.facetRegistry = String(object.facetRegistry);
7127
- if (object.entryPoint != null)
7128
- message.entryPoint = String(object.entryPoint);
7070
+ if (object.defaultFallback != null)
7071
+ message.defaultFallback = String(object.defaultFallback);
7129
7072
  if (object.bytecode != null)
7130
7073
  message.bytecode = String(object.bytecode);
7131
7074
  if (object.publicKey != null)
@@ -7147,36 +7090,27 @@
7147
7090
  options = {};
7148
7091
  var object = {};
7149
7092
  if (options.defaults) {
7093
+ object.entryPoint = "";
7150
7094
  object.factory = "";
7151
- object.diamondCutFacet = "";
7152
7095
  object.accountFacet = "";
7153
7096
  object.verificationFacet = "";
7154
- object.tokenReceiverFacet = "";
7155
- object.diamondLoupeFacet = "";
7156
- object.diamondInit = "";
7157
7097
  object.facetRegistry = "";
7158
- object.entryPoint = "";
7098
+ object.defaultFallback = "";
7159
7099
  object.bytecode = "";
7160
7100
  object.publicKey = "";
7161
7101
  }
7102
+ if (message.entryPoint != null && message.hasOwnProperty("entryPoint"))
7103
+ object.entryPoint = message.entryPoint;
7162
7104
  if (message.factory != null && message.hasOwnProperty("factory"))
7163
7105
  object.factory = message.factory;
7164
- if (message.diamondCutFacet != null && message.hasOwnProperty("diamondCutFacet"))
7165
- object.diamondCutFacet = message.diamondCutFacet;
7166
7106
  if (message.accountFacet != null && message.hasOwnProperty("accountFacet"))
7167
7107
  object.accountFacet = message.accountFacet;
7168
7108
  if (message.verificationFacet != null && message.hasOwnProperty("verificationFacet"))
7169
7109
  object.verificationFacet = message.verificationFacet;
7170
- if (message.tokenReceiverFacet != null && message.hasOwnProperty("tokenReceiverFacet"))
7171
- object.tokenReceiverFacet = message.tokenReceiverFacet;
7172
- if (message.diamondLoupeFacet != null && message.hasOwnProperty("diamondLoupeFacet"))
7173
- object.diamondLoupeFacet = message.diamondLoupeFacet;
7174
- if (message.diamondInit != null && message.hasOwnProperty("diamondInit"))
7175
- object.diamondInit = message.diamondInit;
7176
7110
  if (message.facetRegistry != null && message.hasOwnProperty("facetRegistry"))
7177
7111
  object.facetRegistry = message.facetRegistry;
7178
- if (message.entryPoint != null && message.hasOwnProperty("entryPoint"))
7179
- object.entryPoint = message.entryPoint;
7112
+ if (message.defaultFallback != null && message.hasOwnProperty("defaultFallback"))
7113
+ object.defaultFallback = message.defaultFallback;
7180
7114
  if (message.bytecode != null && message.hasOwnProperty("bytecode"))
7181
7115
  object.bytecode = message.bytecode;
7182
7116
  if (message.publicKey != null && message.hasOwnProperty("publicKey"))
@@ -34,7 +34,7 @@ function Ua(){Qa++;g.monitorRunDependencies&&g.monitorRunDependencies(Qa);assert
34
34
  function Va(){return G.startsWith("data:application/octet-stream;base64,")}function ma(a){return a.startsWith("file://")}function H(a){return function(){var b=g.asm;assert(Oa,"native function `"+a+"` called before runtime initialization");b[a]||assert(b[a],"exported native function `"+a+"` not found");return b[a].apply(null,arguments)}}var G;G="wallet-core.wasm";if(!Va()){var Wa=G;G=g.locateFile?g.locateFile(Wa,w):w+Wa}
35
35
  function Xa(){var a=G;try{if(a==G&&qa)return new Uint8Array(qa);if(ka)return ka(a);throw"both async and sync fetching of the wasm failed";}catch(b){n(b)}}
36
36
  function Ya(){if(!qa&&(ea||fa)){if("function"==typeof fetch&&!ma(G))return fetch(G,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+G+"'";return a.arrayBuffer()}).catch(function(){return Xa()});if(ja)return new Promise(function(a,b){ja(G,function(c){a(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return Xa()})}
37
- var Za,$a,ab={1788244:()=>{if(void 0===g.ea)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.ea=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.ea=a}catch(e){throw"No secure random number generator found";}}},1788966:()=>g.ea()};function bb(a){for(;0<a.length;)a.shift()(g)}
37
+ var Za,$a,ab={1788052:()=>{if(void 0===g.ea)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.ea=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.ea=a}catch(e){throw"No secure random number generator found";}}},1788774:()=>g.ea()};function bb(a){for(;0<a.length;)a.shift()(g)}
38
38
  function va(a){assert("number"===typeof a);return"0x"+a.toString(16).padStart(8,"0")}function pa(a){cb||(cb={});cb[a]||(cb[a]=1,v&&(a="warning: "+a),y(a))}var cb,db=0;
39
39
  function eb(a){this.l=a-24;this.Ta=function(b){F[this.l+4>>2]=b};this.Da=function(){return F[this.l+4>>2]};this.Ja=function(b){F[this.l+8>>2]=b};this.Ka=function(){E[this.l>>2]=0};this.Ia=function(){C[this.l+12>>0]=0};this.Na=function(){C[this.l+13>>0]=0};this.Ea=function(b,c){this.F(0);this.Ta(b);this.Ja(c);this.Ka();this.Ia();this.Na()};this.F=function(b){F[this.l+16>>2]=b}}
40
40
  var fb=0,gb=(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},hb=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=gb(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},ib=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},jb=
Binary file
@@ -226,6 +226,7 @@ export class Cardano {
226
226
  static minAdaAmount(tokenBundle: Uint8Array | Buffer): number;
227
227
  static outputMinAdaAmount(toAddress: string, tokenBundle: Uint8Array | Buffer, coinsPerUtxoByte: string): string;
228
228
  static getStakingAddress(baseAddress: string): string;
229
+ static getByronAddress(publicKey: PublicKey): string;
229
230
  }
230
231
  export class CoinType {
231
232
  value: number;
@@ -367,6 +368,7 @@ export class CoinType {
367
368
  static confluxeSpace: CoinType;
368
369
  static acala: CoinType;
369
370
  static acalaEVM: CoinType;
371
+ static opBNBtestnet: CoinType;
370
372
  }
371
373
  export class CoinTypeConfiguration {
372
374
  static getSymbol(type: CoinType): string;
@@ -510,6 +512,7 @@ export class EthereumChainID {
510
512
  static okc: EthereumChainID;
511
513
  static thundertoken: EthereumChainID;
512
514
  static cfxevm: EthereumChainID;
515
+ static opbnb: EthereumChainID;
513
516
  static gochain: EthereumChainID;
514
517
  static meter: EthereumChainID;
515
518
  static celo: EthereumChainID;
@@ -915,6 +918,8 @@ export class TronMessageSigner {
915
918
  }
916
919
  export class WebAuthn {
917
920
  static getPublicKey(attestationObject: Uint8Array | Buffer): PublicKey;
921
+ static getRSValues(signature: Uint8Array | Buffer): Uint8Array;
922
+ static reconstructOriginalMessage(authenticatorData: Uint8Array | Buffer, clientDataJSON: Uint8Array | Buffer): Uint8Array;
918
923
  }
919
924
  export interface WalletCore {
920
925
  AnySigner: typeof AnySigner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "3.2.3",
3
+ "version": "3.2.5",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",