@andrew_l/tl-pack 0.1.2 → 0.1.3

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.
@@ -221,6 +221,7 @@ export class BinaryWriter {
221
221
  for (const key in object) {
222
222
  if (object[key] === undefined)
223
223
  continue;
224
+ this._last = noop;
224
225
  this.wireDictionary(key);
225
226
  this.writeObject(object[key]);
226
227
  }
@@ -381,7 +382,6 @@ export class BinaryWriter {
381
382
  }
382
383
  this.offset = this._repeat.offset;
383
384
  this._repeat.count++;
384
- // console.log('repeat', { value: this.lastWrite, offset: this.offset });
385
385
  this.writeLength(this._repeat.count);
386
386
  }
387
387
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrew_l/tl-pack",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Binary serialization library",
5
5
  "type": "module",
6
6
  "scripts": {