@fuel-ts/account 0.0.0-rc-2322-20240517060059 → 0.0.0-rc-2322-20240517062704
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
@@ -31485,7 +31485,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
31485
31485
|
return new Uint8Array([...lengthBytes, ...concatBytes2(bytes2)]);
|
31486
31486
|
}
|
31487
31487
|
decode(data, offset) {
|
31488
|
-
if (!this.#hasNestedOption &&
|
31488
|
+
if (!this.#hasNestedOption && data.length < this.encodedLength || data.length > MAX_BYTES) {
|
31489
31489
|
throw new FuelError(ErrorCode.DECODE_ERROR, `Invalid vec data size.`);
|
31490
31490
|
}
|
31491
31491
|
const offsetAndLength = offset + WORD_SIZE;
|