@fuel-ts/account 0.0.0-pr-2017-20240411102002 → 0.0.0-pr-2017-20240411102836
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.global.js +7 -17
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/predicate/predicate.d.ts +1 -0
- package/dist/predicate/predicate.d.ts.map +1 -1
- package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
- package/dist/test-utils.global.js +6 -17
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +4 -2
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +4 -2
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
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
|
/**
|