@fuel-ts/account 0.0.0-rc-2040-20240415161332 → 0.0.0-rc-1832-20240415161726

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.

Potentially problematic release.


This version of @fuel-ts/account might be problematic. Click here for more details.

package/dist/index.mjs CHANGED
@@ -1923,7 +1923,8 @@ var BaseTransactionRequest = class {
1923
1923
  assetId,
1924
1924
  txPointer: "0x00000000000000000000000000000000",
1925
1925
  witnessIndex,
1926
- predicate: predicate?.bytes
1926
+ predicate: predicate?.bytes,
1927
+ predicateData: predicate?.predicateDataBytes
1927
1928
  };
1928
1929
  this.pushInput(input);
1929
1930
  this.addChangeOutput(owner, assetId);
@@ -1955,7 +1956,8 @@ var BaseTransactionRequest = class {
1955
1956
  recipient: recipient.toB256(),
1956
1957
  amount,
1957
1958
  witnessIndex,
1958
- predicate: predicate?.bytes
1959
+ predicate: predicate?.bytes,
1960
+ predicateData: predicate?.predicateDataBytes
1959
1961
  };
1960
1962
  this.pushInput(input);
1961
1963
  this.addChangeOutput(recipient, assetId);
@@ -8697,6 +8699,7 @@ var getPredicateRoot = (bytecode) => {
8697
8699
  // src/predicate/predicate.ts
8698
8700
  var Predicate = class extends Account {
8699
8701
  bytes;
8702
+ predicateDataBytes = Uint8Array.from([]);
8700
8703
  predicateData = [];
8701
8704
  interface;
8702
8705
  /**