v86 0.5.355 → 0.5.357

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/v86.d.ts +12 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "v86",
3
- "version": "0.5.355+gf7011b0",
3
+ "version": "0.5.357+gfc6ffc1",
4
4
  "license": "BSD-2-Clause",
5
5
  "description": "x86 PC emulator and x86-to-wasm JIT, running in the browser",
6
6
  "homepage": "https://copy.sh/v86/",
package/v86.d.ts CHANGED
@@ -780,44 +780,36 @@ export class V86 {
780
780
  serial_send_bytes(serial: number, data: Uint8Array): void;
781
781
 
782
782
  /**
783
- * Set the modem status of a serial port.
783
+ * Set or clear the data carrier detect (DCD) status of a serial port.
784
784
  *
785
785
  * @param serial the index of the serial port
786
- * @param status
786
+ * @param status the new DCD signal status
787
787
  */
788
- serial_set_modem_status(serial: number, status: number): void;
788
+ serial_set_carrier_detect(serial: number, status: boolean): void;
789
789
 
790
790
  /**
791
- * Set the carrier detect status of a serial port.
791
+ * Set or clear the ring indicator (RING) status of a serial port.
792
792
  *
793
793
  * @param serial the index of the serial port
794
- * @param status
794
+ * @param status the new RING signal status
795
795
  */
796
- serial_set_carrier_detect(serial: number, status: number): void;
796
+ serial_set_ring_indicator(serial: number, status: boolean): void;
797
797
 
798
798
  /**
799
- * Set the ring indicator status of a serial port.
799
+ * Set or clear the data set ready (DSR) status of a serial port.
800
800
  *
801
801
  * @param serial the index of the serial port
802
- * @param status
802
+ * @param status the new DSR signal status
803
803
  */
804
- serial_set_ring_indicator(serial: number, status: number): void;
804
+ serial_set_data_set_ready(serial: number, status: boolean): void;
805
805
 
806
806
  /**
807
- * Set the data set ready status of a serial port.
807
+ * Set or clear the clear to send (CTS) status of a serial port.
808
808
  *
809
809
  * @param serial the index of the serial port
810
- * @param status
810
+ * @param status the new CTS signal status
811
811
  */
812
- serial_set_data_set_ready(serial: number, status: number): void;
813
-
814
- /**
815
- * Set the clear to send status of a serial port.
816
- *
817
- * @param serial the index of the serial port
818
- * @param status
819
- */
820
- serial_set_clear_to_send(serial: number, status: number): void;
812
+ serial_set_clear_to_send(serial: number, status: boolean): void;
821
813
 
822
814
  /**
823
815
  * Write to a file in the 9p filesystem. Nothing happens if no filesystem has