@fuel-ts/account 0.0.0-rc-1832-20240402110944 → 0.0.0-rc-1832-20240402123734
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.
@@ -35409,8 +35409,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
35409
35409
|
};
|
35410
35410
|
_getPaddedData = /* @__PURE__ */ new WeakSet();
|
35411
35411
|
getPaddedData_fn = function(value) {
|
35412
|
-
const
|
35413
|
-
const data = [Uint8Array.from(bytes3)];
|
35412
|
+
const data = value instanceof Uint8Array ? [value] : [new Uint8Array(value)];
|
35414
35413
|
const paddingLength = (WORD_SIZE - value.length % WORD_SIZE) % WORD_SIZE;
|
35415
35414
|
if (paddingLength) {
|
35416
35415
|
data.push(new Uint8Array(paddingLength));
|