@fuel-ts/account 0.0.0-pr-2017-20240411142607 → 0.0.0-pr-2044-20240411144204
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 +9 -20
- 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 +8 -20
- 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.js
CHANGED
@@ -2054,7 +2054,8 @@ var BaseTransactionRequest = class {
|
|
2054
2054
|
assetId,
|
2055
2055
|
txPointer: "0x00000000000000000000000000000000",
|
2056
2056
|
witnessIndex,
|
2057
|
-
predicate: predicate?.bytes
|
2057
|
+
predicate: predicate?.bytes,
|
2058
|
+
predicateData: predicate?.predicateDataBytes
|
2058
2059
|
};
|
2059
2060
|
this.pushInput(input);
|
2060
2061
|
this.addChangeOutput(owner, assetId);
|
@@ -2086,7 +2087,8 @@ var BaseTransactionRequest = class {
|
|
2086
2087
|
recipient: recipient.toB256(),
|
2087
2088
|
amount,
|
2088
2089
|
witnessIndex,
|
2089
|
-
predicate: predicate?.bytes
|
2090
|
+
predicate: predicate?.bytes,
|
2091
|
+
predicateData: predicate?.predicateDataBytes
|
2090
2092
|
};
|
2091
2093
|
this.pushInput(input);
|
2092
2094
|
this.addChangeOutput(recipient, assetId);
|
@@ -8814,6 +8816,7 @@ var getPredicateRoot = (bytecode) => {
|
|
8814
8816
|
// src/predicate/predicate.ts
|
8815
8817
|
var Predicate = class extends Account {
|
8816
8818
|
bytes;
|
8819
|
+
predicateDataBytes = Uint8Array.from([]);
|
8817
8820
|
predicateData = [];
|
8818
8821
|
interface;
|
8819
8822
|
/**
|