interaction-system 1.0.3 → 1.0.4

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.
package/dist/index.cjs.js CHANGED
@@ -1013,7 +1013,7 @@ const _TextControlMessage = class _TextControlMessage extends ControlMessage {
1013
1013
  const length = this.text.length;
1014
1014
  const buffer$1 = buffer.Buffer.alloc(length + 1 + _TextControlMessage.TEXT_SIZE_FIELD_LENGTH);
1015
1015
  let offset = 0;
1016
- offset = buffer$1.writeInt8(0, offset);
1016
+ offset = buffer$1.writeUInt8(0, offset);
1017
1017
  offset = buffer$1.writeUInt8(this.type, offset);
1018
1018
  offset = buffer$1.writeUInt32BE(length, offset);
1019
1019
  buffer$1.write(this.text, offset);