@trustwallet/wallet-core 4.3.16 → 4.3.18

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.
@@ -41296,8 +41296,8 @@ export namespace TW {
41296
41296
  /** TokenTransferToFeePayer feeTokenMintAddress */
41297
41297
  feeTokenMintAddress?: (string|null);
41298
41298
 
41299
- /** TokenTransferToFeePayer feeSponsorTokenAddress */
41300
- feeSponsorTokenAddress?: (string|null);
41299
+ /** TokenTransferToFeePayer feeRecipientTokenAddress */
41300
+ feeRecipientTokenAddress?: (string|null);
41301
41301
 
41302
41302
  /** TokenTransferToFeePayer feeAmount */
41303
41303
  feeAmount?: (Long|null);
@@ -41324,8 +41324,8 @@ export namespace TW {
41324
41324
  /** TokenTransferToFeePayer feeTokenMintAddress. */
41325
41325
  public feeTokenMintAddress: string;
41326
41326
 
41327
- /** TokenTransferToFeePayer feeSponsorTokenAddress. */
41328
- public feeSponsorTokenAddress: string;
41327
+ /** TokenTransferToFeePayer feeRecipientTokenAddress. */
41328
+ public feeRecipientTokenAddress: string;
41329
41329
 
41330
41330
  /** TokenTransferToFeePayer feeAmount. */
41331
41331
  public feeAmount: Long;
@@ -121421,7 +121421,7 @@
121421
121421
  * @memberof TW.Solana.Proto
121422
121422
  * @interface ITokenTransferToFeePayer
121423
121423
  * @property {string|null} [feeTokenMintAddress] TokenTransferToFeePayer feeTokenMintAddress
121424
- * @property {string|null} [feeSponsorTokenAddress] TokenTransferToFeePayer feeSponsorTokenAddress
121424
+ * @property {string|null} [feeRecipientTokenAddress] TokenTransferToFeePayer feeRecipientTokenAddress
121425
121425
  * @property {Long|null} [feeAmount] TokenTransferToFeePayer feeAmount
121426
121426
  * @property {string|null} [feeSenderTokenAddress] TokenTransferToFeePayer feeSenderTokenAddress
121427
121427
  * @property {number|null} [feeDecimals] TokenTransferToFeePayer feeDecimals
@@ -121452,12 +121452,12 @@
121452
121452
  TokenTransferToFeePayer.prototype.feeTokenMintAddress = "";
121453
121453
 
121454
121454
  /**
121455
- * TokenTransferToFeePayer feeSponsorTokenAddress.
121456
- * @member {string} feeSponsorTokenAddress
121455
+ * TokenTransferToFeePayer feeRecipientTokenAddress.
121456
+ * @member {string} feeRecipientTokenAddress
121457
121457
  * @memberof TW.Solana.Proto.TokenTransferToFeePayer
121458
121458
  * @instance
121459
121459
  */
121460
- TokenTransferToFeePayer.prototype.feeSponsorTokenAddress = "";
121460
+ TokenTransferToFeePayer.prototype.feeRecipientTokenAddress = "";
121461
121461
 
121462
121462
  /**
121463
121463
  * TokenTransferToFeePayer feeAmount.
@@ -121517,8 +121517,8 @@
121517
121517
  writer = $Writer.create();
121518
121518
  if (message.feeTokenMintAddress != null && Object.hasOwnProperty.call(message, "feeTokenMintAddress"))
121519
121519
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.feeTokenMintAddress);
121520
- if (message.feeSponsorTokenAddress != null && Object.hasOwnProperty.call(message, "feeSponsorTokenAddress"))
121521
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.feeSponsorTokenAddress);
121520
+ if (message.feeRecipientTokenAddress != null && Object.hasOwnProperty.call(message, "feeRecipientTokenAddress"))
121521
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.feeRecipientTokenAddress);
121522
121522
  if (message.feeAmount != null && Object.hasOwnProperty.call(message, "feeAmount"))
121523
121523
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.feeAmount);
121524
121524
  if (message.feeSenderTokenAddress != null && Object.hasOwnProperty.call(message, "feeSenderTokenAddress"))
@@ -121552,7 +121552,7 @@
121552
121552
  message.feeTokenMintAddress = reader.string();
121553
121553
  break;
121554
121554
  case 2:
121555
- message.feeSponsorTokenAddress = reader.string();
121555
+ message.feeRecipientTokenAddress = reader.string();
121556
121556
  break;
121557
121557
  case 3:
121558
121558
  message.feeAmount = reader.uint64();
@@ -121588,9 +121588,9 @@
121588
121588
  if (message.feeTokenMintAddress != null && message.hasOwnProperty("feeTokenMintAddress"))
121589
121589
  if (!$util.isString(message.feeTokenMintAddress))
121590
121590
  return "feeTokenMintAddress: string expected";
121591
- if (message.feeSponsorTokenAddress != null && message.hasOwnProperty("feeSponsorTokenAddress"))
121592
- if (!$util.isString(message.feeSponsorTokenAddress))
121593
- return "feeSponsorTokenAddress: string expected";
121591
+ if (message.feeRecipientTokenAddress != null && message.hasOwnProperty("feeRecipientTokenAddress"))
121592
+ if (!$util.isString(message.feeRecipientTokenAddress))
121593
+ return "feeRecipientTokenAddress: string expected";
121594
121594
  if (message.feeAmount != null && message.hasOwnProperty("feeAmount"))
121595
121595
  if (!$util.isInteger(message.feeAmount) && !(message.feeAmount && $util.isInteger(message.feeAmount.low) && $util.isInteger(message.feeAmount.high)))
121596
121596
  return "feeAmount: integer|Long expected";
@@ -121625,8 +121625,8 @@
121625
121625
  var message = new $root.TW.Solana.Proto.TokenTransferToFeePayer();
121626
121626
  if (object.feeTokenMintAddress != null)
121627
121627
  message.feeTokenMintAddress = String(object.feeTokenMintAddress);
121628
- if (object.feeSponsorTokenAddress != null)
121629
- message.feeSponsorTokenAddress = String(object.feeSponsorTokenAddress);
121628
+ if (object.feeRecipientTokenAddress != null)
121629
+ message.feeRecipientTokenAddress = String(object.feeRecipientTokenAddress);
121630
121630
  if (object.feeAmount != null)
121631
121631
  if ($util.Long)
121632
121632
  (message.feeAmount = $util.Long.fromValue(object.feeAmount)).unsigned = true;
@@ -121668,7 +121668,7 @@
121668
121668
  var object = {};
121669
121669
  if (options.defaults) {
121670
121670
  object.feeTokenMintAddress = "";
121671
- object.feeSponsorTokenAddress = "";
121671
+ object.feeRecipientTokenAddress = "";
121672
121672
  if ($util.Long) {
121673
121673
  var long = new $util.Long(0, 0, true);
121674
121674
  object.feeAmount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -121680,8 +121680,8 @@
121680
121680
  }
121681
121681
  if (message.feeTokenMintAddress != null && message.hasOwnProperty("feeTokenMintAddress"))
121682
121682
  object.feeTokenMintAddress = message.feeTokenMintAddress;
121683
- if (message.feeSponsorTokenAddress != null && message.hasOwnProperty("feeSponsorTokenAddress"))
121684
- object.feeSponsorTokenAddress = message.feeSponsorTokenAddress;
121683
+ if (message.feeRecipientTokenAddress != null && message.hasOwnProperty("feeRecipientTokenAddress"))
121684
+ object.feeRecipientTokenAddress = message.feeRecipientTokenAddress;
121685
121685
  if (message.feeAmount != null && message.hasOwnProperty("feeAmount"))
121686
121686
  if (typeof message.feeAmount === "number")
121687
121687
  object.feeAmount = options.longs === String ? String(message.feeAmount) : message.feeAmount;
@@ -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={2211700:()=>{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";}}},2212422:()=>g.fa()};
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()};
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
@@ -733,6 +733,7 @@ export class HRP {
733
733
  static syscoin: HRP;
734
734
  static verge: HRP;
735
735
  static cosmos: HRP;
736
+ static zcash: HRP;
736
737
  static bitcoinCash: HRP;
737
738
  static bitcoinGold: HRP;
738
739
  static ioTeX: HRP;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "4.3.16",
3
+ "version": "4.3.18",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",