@trustwallet/wallet-core 4.3.19 → 4.3.20

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.
@@ -36730,6 +36730,9 @@ export namespace TW {
36730
36730
  /** SigningInput multiAddress */
36731
36731
  multiAddress?: (boolean|null);
36732
36732
 
36733
+ /** SigningInput chargeNativeAsAssetTxPayment */
36734
+ chargeNativeAsAssetTxPayment?: (boolean|null);
36735
+
36733
36736
  /** SigningInput balanceCall */
36734
36737
  balanceCall?: (TW.Polkadot.Proto.IBalance|null);
36735
36738
 
@@ -36776,6 +36779,9 @@ export namespace TW {
36776
36779
  /** SigningInput multiAddress. */
36777
36780
  public multiAddress: boolean;
36778
36781
 
36782
+ /** SigningInput chargeNativeAsAssetTxPayment. */
36783
+ public chargeNativeAsAssetTxPayment: boolean;
36784
+
36779
36785
  /** SigningInput balanceCall. */
36780
36786
  public balanceCall?: (TW.Polkadot.Proto.IBalance|null);
36781
36787
 
@@ -108671,6 +108671,7 @@
108671
108671
  * @property {Uint8Array|null} [privateKey] SigningInput privateKey
108672
108672
  * @property {number|null} [network] SigningInput network
108673
108673
  * @property {boolean|null} [multiAddress] SigningInput multiAddress
108674
+ * @property {boolean|null} [chargeNativeAsAssetTxPayment] SigningInput chargeNativeAsAssetTxPayment
108674
108675
  * @property {TW.Polkadot.Proto.IBalance|null} [balanceCall] SigningInput balanceCall
108675
108676
  * @property {TW.Polkadot.Proto.IStaking|null} [stakingCall] SigningInput stakingCall
108676
108677
  */
@@ -108770,6 +108771,14 @@
108770
108771
  */
108771
108772
  SigningInput.prototype.multiAddress = false;
108772
108773
 
108774
+ /**
108775
+ * SigningInput chargeNativeAsAssetTxPayment.
108776
+ * @member {boolean} chargeNativeAsAssetTxPayment
108777
+ * @memberof TW.Polkadot.Proto.SigningInput
108778
+ * @instance
108779
+ */
108780
+ SigningInput.prototype.chargeNativeAsAssetTxPayment = false;
108781
+
108773
108782
  /**
108774
108783
  * SigningInput balanceCall.
108775
108784
  * @member {TW.Polkadot.Proto.IBalance|null|undefined} balanceCall
@@ -108848,6 +108857,8 @@
108848
108857
  $root.TW.Polkadot.Proto.Balance.encode(message.balanceCall, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
108849
108858
  if (message.stakingCall != null && Object.hasOwnProperty.call(message, "stakingCall"))
108850
108859
  $root.TW.Polkadot.Proto.Staking.encode(message.stakingCall, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
108860
+ if (message.chargeNativeAsAssetTxPayment != null && Object.hasOwnProperty.call(message, "chargeNativeAsAssetTxPayment"))
108861
+ writer.uint32(/* id 13, wireType 0 =*/104).bool(message.chargeNativeAsAssetTxPayment);
108851
108862
  return writer;
108852
108863
  };
108853
108864
 
@@ -108899,6 +108910,9 @@
108899
108910
  case 10:
108900
108911
  message.multiAddress = reader.bool();
108901
108912
  break;
108913
+ case 13:
108914
+ message.chargeNativeAsAssetTxPayment = reader.bool();
108915
+ break;
108902
108916
  case 11:
108903
108917
  message.balanceCall = $root.TW.Polkadot.Proto.Balance.decode(reader, reader.uint32());
108904
108918
  break;
@@ -108957,6 +108971,9 @@
108957
108971
  if (message.multiAddress != null && message.hasOwnProperty("multiAddress"))
108958
108972
  if (typeof message.multiAddress !== "boolean")
108959
108973
  return "multiAddress: boolean expected";
108974
+ if (message.chargeNativeAsAssetTxPayment != null && message.hasOwnProperty("chargeNativeAsAssetTxPayment"))
108975
+ if (typeof message.chargeNativeAsAssetTxPayment !== "boolean")
108976
+ return "chargeNativeAsAssetTxPayment: boolean expected";
108960
108977
  if (message.balanceCall != null && message.hasOwnProperty("balanceCall")) {
108961
108978
  properties.messageOneof = 1;
108962
108979
  {
@@ -109032,6 +109049,8 @@
109032
109049
  message.network = object.network >>> 0;
109033
109050
  if (object.multiAddress != null)
109034
109051
  message.multiAddress = Boolean(object.multiAddress);
109052
+ if (object.chargeNativeAsAssetTxPayment != null)
109053
+ message.chargeNativeAsAssetTxPayment = Boolean(object.chargeNativeAsAssetTxPayment);
109035
109054
  if (object.balanceCall != null) {
109036
109055
  if (typeof object.balanceCall !== "object")
109037
109056
  throw TypeError(".TW.Polkadot.Proto.SigningInput.balanceCall: object expected");
@@ -109097,6 +109116,7 @@
109097
109116
  }
109098
109117
  object.network = 0;
109099
109118
  object.multiAddress = false;
109119
+ object.chargeNativeAsAssetTxPayment = false;
109100
109120
  }
109101
109121
  if (message.blockHash != null && message.hasOwnProperty("blockHash"))
109102
109122
  object.blockHash = options.bytes === String ? $util.base64.encode(message.blockHash, 0, message.blockHash.length) : options.bytes === Array ? Array.prototype.slice.call(message.blockHash) : message.blockHash;
@@ -109131,6 +109151,8 @@
109131
109151
  if (options.oneofs)
109132
109152
  object.messageOneof = "stakingCall";
109133
109153
  }
109154
+ if (message.chargeNativeAsAssetTxPayment != null && message.hasOwnProperty("chargeNativeAsAssetTxPayment"))
109155
+ object.chargeNativeAsAssetTxPayment = message.chargeNativeAsAssetTxPayment;
109134
109156
  return object;
109135
109157
  };
109136
109158
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "4.3.19",
3
+ "version": "4.3.20",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",