@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.
package/dist/index.global.js
CHANGED
@@ -31944,8 +31944,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
31944
31944
|
};
|
31945
31945
|
_getPaddedData = /* @__PURE__ */ new WeakSet();
|
31946
31946
|
getPaddedData_fn = function(value) {
|
31947
|
-
const
|
31948
|
-
const data = [Uint8Array.from(bytes3)];
|
31947
|
+
const data = value instanceof Uint8Array ? [value] : [new Uint8Array(value)];
|
31949
31948
|
const paddingLength = (WORD_SIZE - value.length % WORD_SIZE) % WORD_SIZE;
|
31950
31949
|
if (paddingLength) {
|
31951
31950
|
data.push(new Uint8Array(paddingLength));
|