Comparing version
@@ -183,3 +183,3 @@ import { toUint8Array } from './buffer.js'; | ||
for (let i = 0; i < Math.abs(length); i++) { | ||
let object = length != -1 ? instance[name][i] : instance[name]; | ||
let object = length != -1 ? instance[name] : instance; | ||
const key = length != -1 ? i : name, iOff = offset + sizeof(type) * i; | ||
@@ -186,0 +186,0 @@ if (typeof instance[name] == 'string') { |
{ | ||
"name": "utilium", | ||
"version": "1.7.7", | ||
"version": "1.7.8", | ||
"description": "Typescript utilities", | ||
@@ -5,0 +5,0 @@ "funding": { |
@@ -242,3 +242,3 @@ import { toUint8Array } from './buffer.js'; | ||
for (let i = 0; i < Math.abs(length); i++) { | ||
let object = length != -1 ? instance[name][i] : instance[name]; | ||
let object = length != -1 ? instance[name] : instance; | ||
const key = length != -1 ? i : name, | ||
@@ -245,0 +245,0 @@ iOff = offset + sizeof(type) * i; |
143730
-0.01%