@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.
package/dist/index.global.js
CHANGED
@@ -33960,7 +33960,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
33960
33960
|
return [receiptMessageOut, o];
|
33961
33961
|
}
|
33962
33962
|
};
|
33963
|
-
var
|
33963
|
+
var getMintedAssetId = (contractId, subId) => {
|
33964
33964
|
const contractIdBytes = arrayify(contractId);
|
33965
33965
|
const subIdBytes = arrayify(subId);
|
33966
33966
|
return sha2563(concat([contractIdBytes, subIdBytes]));
|
@@ -33970,7 +33970,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
33970
33970
|
super("ReceiptMint", "struct ReceiptMint", 0);
|
33971
33971
|
}
|
33972
33972
|
static getAssetId(contractId, subId) {
|
33973
|
-
return
|
33973
|
+
return getMintedAssetId(contractId, subId);
|
33974
33974
|
}
|
33975
33975
|
encode(value) {
|
33976
33976
|
const parts = [];
|
@@ -34012,7 +34012,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34012
34012
|
super("ReceiptBurn", "struct ReceiptBurn", 0);
|
34013
34013
|
}
|
34014
34014
|
static getAssetId(contractId, subId) {
|
34015
|
-
return
|
34015
|
+
return getMintedAssetId(contractId, subId);
|
34016
34016
|
}
|
34017
34017
|
encode(value) {
|
34018
34018
|
const parts = [];
|