@trustwallet/wallet-core 4.3.18 → 4.3.19

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.
@@ -12306,6 +12306,12 @@ export namespace TW {
12306
12306
 
12307
12307
  /** THORChainAsset synth */
12308
12308
  synth?: (boolean|null);
12309
+
12310
+ /** THORChainAsset trade */
12311
+ trade?: (boolean|null);
12312
+
12313
+ /** THORChainAsset secured */
12314
+ secured?: (boolean|null);
12309
12315
  }
12310
12316
 
12311
12317
  /** Represents a THORChainAsset. */
@@ -12329,6 +12335,12 @@ export namespace TW {
12329
12335
  /** THORChainAsset synth. */
12330
12336
  public synth: boolean;
12331
12337
 
12338
+ /** THORChainAsset trade. */
12339
+ public trade: boolean;
12340
+
12341
+ /** THORChainAsset secured. */
12342
+ public secured: boolean;
12343
+
12332
12344
  /**
12333
12345
  * Creates a new THORChainAsset instance using the specified properties.
12334
12346
  * @param [properties] Properties to set
@@ -36909,6 +36909,8 @@
36909
36909
  * @property {string|null} [symbol] THORChainAsset symbol
36910
36910
  * @property {string|null} [ticker] THORChainAsset ticker
36911
36911
  * @property {boolean|null} [synth] THORChainAsset synth
36912
+ * @property {boolean|null} [trade] THORChainAsset trade
36913
+ * @property {boolean|null} [secured] THORChainAsset secured
36912
36914
  */
36913
36915
 
36914
36916
  /**
@@ -36958,6 +36960,22 @@
36958
36960
  */
36959
36961
  THORChainAsset.prototype.synth = false;
36960
36962
 
36963
+ /**
36964
+ * THORChainAsset trade.
36965
+ * @member {boolean} trade
36966
+ * @memberof TW.Cosmos.Proto.THORChainAsset
36967
+ * @instance
36968
+ */
36969
+ THORChainAsset.prototype.trade = false;
36970
+
36971
+ /**
36972
+ * THORChainAsset secured.
36973
+ * @member {boolean} secured
36974
+ * @memberof TW.Cosmos.Proto.THORChainAsset
36975
+ * @instance
36976
+ */
36977
+ THORChainAsset.prototype.secured = false;
36978
+
36961
36979
  /**
36962
36980
  * Creates a new THORChainAsset instance using the specified properties.
36963
36981
  * @function create
@@ -36990,6 +37008,10 @@
36990
37008
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.ticker);
36991
37009
  if (message.synth != null && Object.hasOwnProperty.call(message, "synth"))
36992
37010
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.synth);
37011
+ if (message.trade != null && Object.hasOwnProperty.call(message, "trade"))
37012
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.trade);
37013
+ if (message.secured != null && Object.hasOwnProperty.call(message, "secured"))
37014
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.secured);
36993
37015
  return writer;
36994
37016
  };
36995
37017
 
@@ -37023,6 +37045,12 @@
37023
37045
  case 4:
37024
37046
  message.synth = reader.bool();
37025
37047
  break;
37048
+ case 5:
37049
+ message.trade = reader.bool();
37050
+ break;
37051
+ case 6:
37052
+ message.secured = reader.bool();
37053
+ break;
37026
37054
  default:
37027
37055
  reader.skipType(tag & 7);
37028
37056
  break;
@@ -37054,6 +37082,12 @@
37054
37082
  if (message.synth != null && message.hasOwnProperty("synth"))
37055
37083
  if (typeof message.synth !== "boolean")
37056
37084
  return "synth: boolean expected";
37085
+ if (message.trade != null && message.hasOwnProperty("trade"))
37086
+ if (typeof message.trade !== "boolean")
37087
+ return "trade: boolean expected";
37088
+ if (message.secured != null && message.hasOwnProperty("secured"))
37089
+ if (typeof message.secured !== "boolean")
37090
+ return "secured: boolean expected";
37057
37091
  return null;
37058
37092
  };
37059
37093
 
@@ -37077,6 +37111,10 @@
37077
37111
  message.ticker = String(object.ticker);
37078
37112
  if (object.synth != null)
37079
37113
  message.synth = Boolean(object.synth);
37114
+ if (object.trade != null)
37115
+ message.trade = Boolean(object.trade);
37116
+ if (object.secured != null)
37117
+ message.secured = Boolean(object.secured);
37080
37118
  return message;
37081
37119
  };
37082
37120
 
@@ -37098,6 +37136,8 @@
37098
37136
  object.symbol = "";
37099
37137
  object.ticker = "";
37100
37138
  object.synth = false;
37139
+ object.trade = false;
37140
+ object.secured = false;
37101
37141
  }
37102
37142
  if (message.chain != null && message.hasOwnProperty("chain"))
37103
37143
  object.chain = message.chain;
@@ -37107,6 +37147,10 @@
37107
37147
  object.ticker = message.ticker;
37108
37148
  if (message.synth != null && message.hasOwnProperty("synth"))
37109
37149
  object.synth = message.synth;
37150
+ if (message.trade != null && message.hasOwnProperty("trade"))
37151
+ object.trade = message.trade;
37152
+ if (message.secured != null && message.hasOwnProperty("secured"))
37153
+ object.secured = message.secured;
37110
37154
  return object;
37111
37155
  };
37112
37156
 
@@ -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={2211892:()=>{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";}}},2212614:()=>g.fa()};
39
+ var eb={2211956:()=>{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";}}},2212678:()=>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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "4.3.18",
3
+ "version": "4.3.19",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",