@fuel-ts/account 0.0.0-rc-1895-20240328175953 → 0.0.0-rc-1895-20240329092733
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.
@@ -37425,7 +37425,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
37425
37425
|
return [receiptMessageOut, o];
|
37426
37426
|
}
|
37427
37427
|
};
|
37428
|
-
var
|
37428
|
+
var getMintedAssetId = (contractId, subId) => {
|
37429
37429
|
const contractIdBytes = arrayify(contractId);
|
37430
37430
|
const subIdBytes = arrayify(subId);
|
37431
37431
|
return sha2563(concat([contractIdBytes, subIdBytes]));
|
@@ -37435,7 +37435,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
37435
37435
|
super("ReceiptMint", "struct ReceiptMint", 0);
|
37436
37436
|
}
|
37437
37437
|
static getAssetId(contractId, subId) {
|
37438
|
-
return
|
37438
|
+
return getMintedAssetId(contractId, subId);
|
37439
37439
|
}
|
37440
37440
|
encode(value) {
|
37441
37441
|
const parts = [];
|
@@ -37477,7 +37477,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
37477
37477
|
super("ReceiptBurn", "struct ReceiptBurn", 0);
|
37478
37478
|
}
|
37479
37479
|
static getAssetId(contractId, subId) {
|
37480
|
-
return
|
37480
|
+
return getMintedAssetId(contractId, subId);
|
37481
37481
|
}
|
37482
37482
|
encode(value) {
|
37483
37483
|
const parts = [];
|