@girs/nice-0.1 0.1.0-3.2.6 → 0.1.0-3.2.7
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/README.md +1 -1
- package/nice-0.1.d.cts +20 -20
- package/nice-0.1.d.ts +20 -20
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Nice-0.1, generated from library version 0.1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Nice-0.1, generated from library version 0.1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/nice-0.1.d.cts
CHANGED
|
@@ -403,21 +403,21 @@ export const CANDIDATE_MAX_TURN_SERVERS: number
|
|
|
403
403
|
* @param transport a #NiceCandidateTransport
|
|
404
404
|
* @returns a static string with the candidate transport
|
|
405
405
|
*/
|
|
406
|
-
export function candidate_transport_to_string(transport: CandidateTransport): string
|
|
406
|
+
export function candidate_transport_to_string(transport: CandidateTransport): string
|
|
407
407
|
/**
|
|
408
408
|
* Useful for debugging functions, just returns a static string with the
|
|
409
409
|
* candidate type.
|
|
410
410
|
* @param type a #NiceCandidateType
|
|
411
411
|
* @returns a static string with the candidate type
|
|
412
412
|
*/
|
|
413
|
-
export function candidate_type_to_string(type: CandidateType): string
|
|
413
|
+
export function candidate_type_to_string(type: CandidateType): string
|
|
414
414
|
/**
|
|
415
415
|
* Returns a string representation of the state, generally to use in debug
|
|
416
416
|
* messages.
|
|
417
417
|
* @param state a #NiceComponentState
|
|
418
418
|
* @returns a string representation of @state
|
|
419
419
|
*/
|
|
420
|
-
export function component_state_to_string(state: ComponentState): string
|
|
420
|
+
export function component_state_to_string(state: ComponentState): string
|
|
421
421
|
/**
|
|
422
422
|
* Disables libnice debug output to the terminal
|
|
423
423
|
* @param with_stun Also disable stun debugging messages
|
|
@@ -1653,7 +1653,7 @@ export interface Agent {
|
|
|
1653
1653
|
* @param stream_id The ID of the stream to change
|
|
1654
1654
|
* @returns The name of the stream. The name is only valid while the stream exists or until it changes through a call to nice_agent_set_stream_name().
|
|
1655
1655
|
*/
|
|
1656
|
-
get_stream_name(stream_id: number): string
|
|
1656
|
+
get_stream_name(stream_id: number): string
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Parse an SDP string and extracts the candidate from it.
|
|
1659
1659
|
*
|
|
@@ -1664,7 +1664,7 @@ export interface Agent {
|
|
|
1664
1664
|
* @param sdp The remote SDP to parse
|
|
1665
1665
|
* @returns The parsed candidate or %NULL if there was an error.
|
|
1666
1666
|
*/
|
|
1667
|
-
parse_remote_candidate_sdp(stream_id: number, sdp: string
|
|
1667
|
+
parse_remote_candidate_sdp(stream_id: number, sdp: string): Candidate
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Parse an SDP string and extracts candidates and credentials from it and sets
|
|
1670
1670
|
* them on the agent.
|
|
@@ -1676,7 +1676,7 @@ export interface Agent {
|
|
|
1676
1676
|
* @param sdp The remote SDP to parse
|
|
1677
1677
|
* @returns The number of candidates added, negative on errors
|
|
1678
1678
|
*/
|
|
1679
|
-
parse_remote_sdp(sdp: string
|
|
1679
|
+
parse_remote_sdp(sdp: string): number
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Parse an SDP string representing a single stream and extracts candidates
|
|
1682
1682
|
* and credentials from it.
|
|
@@ -1690,7 +1690,7 @@ export interface Agent {
|
|
|
1690
1690
|
* @param pwd Pointer to store the ice password if non %NULL. Must be freed with g_free() after use
|
|
1691
1691
|
* @returns A #GSList of candidates parsed from the SDP, or %NULL in case of errors
|
|
1692
1692
|
*/
|
|
1693
|
-
parse_remote_stream_sdp(stream_id: number, sdp: string
|
|
1693
|
+
parse_remote_stream_sdp(stream_id: number, sdp: string, ufrag: string | null, pwd: string | null): Candidate[]
|
|
1694
1694
|
/**
|
|
1695
1695
|
* Notifies the agent that the remote peer has concluded candidate gathering and
|
|
1696
1696
|
* thus no more remote candidates are expected to arrive for `stream_id`.
|
|
@@ -1857,7 +1857,7 @@ export interface Agent {
|
|
|
1857
1857
|
* @param buf The buffer of data to send
|
|
1858
1858
|
* @returns The number of bytes sent, or negative error code
|
|
1859
1859
|
*/
|
|
1860
|
-
send(stream_id: number, component_id: number, len: number, buf: string
|
|
1860
|
+
send(stream_id: number, component_id: number, len: number, buf: string): number
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Sends multiple messages on the socket identified by the given
|
|
1863
1863
|
* stream/component pair. Transmission is non-blocking, so a
|
|
@@ -1908,7 +1908,7 @@ export interface Agent {
|
|
|
1908
1908
|
* @param pwd nul-terminated string containing an ICE password (length must be between 4 and 256 chars)
|
|
1909
1909
|
* @returns %TRUE on success, %FALSE on error.
|
|
1910
1910
|
*/
|
|
1911
|
-
set_local_credentials(stream_id: number, ufrag: string
|
|
1911
|
+
set_local_credentials(stream_id: number, ufrag: string, pwd: string): boolean
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Sets a preferred port range for allocating host candidates.
|
|
1914
1914
|
* <para>
|
|
@@ -1937,7 +1937,7 @@ export interface Agent {
|
|
|
1937
1937
|
* @param type The type of relay to use
|
|
1938
1938
|
* @returns %TRUE if the TURN settings were accepted. %FALSE if the address was invalid.
|
|
1939
1939
|
*/
|
|
1940
|
-
set_relay_info(stream_id: number, component_id: number, server_ip: string
|
|
1940
|
+
set_relay_info(stream_id: number, component_id: number, server_ip: string, server_port: number, username: string, password: string, type: RelayType): boolean
|
|
1941
1941
|
/**
|
|
1942
1942
|
* Sets, adds or updates the remote candidates for a component of a stream.
|
|
1943
1943
|
*
|
|
@@ -1984,7 +1984,7 @@ export interface Agent {
|
|
|
1984
1984
|
* @param pwd nul-terminated string containing an ICE password (length must be between 4 and 256 chars)
|
|
1985
1985
|
* @returns %TRUE on success, %FALSE on error.
|
|
1986
1986
|
*/
|
|
1987
|
-
set_remote_credentials(stream_id: number, ufrag: string
|
|
1987
|
+
set_remote_credentials(stream_id: number, ufrag: string, pwd: string): boolean
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Sets the selected candidate pair for media transmission
|
|
1990
1990
|
* for a given stream's component. Calling this function will
|
|
@@ -1997,7 +1997,7 @@ export interface Agent {
|
|
|
1997
1997
|
* @param rfoundation The remote foundation of the candidate to use
|
|
1998
1998
|
* @returns %TRUE on success, %FALSE if the candidate pair cannot be found
|
|
1999
1999
|
*/
|
|
2000
|
-
set_selected_pair(stream_id: number, component_id: number, lfoundation: string
|
|
2000
|
+
set_selected_pair(stream_id: number, component_id: number, lfoundation: string, rfoundation: string): boolean
|
|
2001
2001
|
/**
|
|
2002
2002
|
* Sets the selected remote candidate for media transmission
|
|
2003
2003
|
* for a given stream's component. This is used to force the selection of
|
|
@@ -2032,7 +2032,7 @@ export interface Agent {
|
|
|
2032
2032
|
* </note>
|
|
2033
2033
|
* @param software The value of the SOFTWARE attribute to add.
|
|
2034
2034
|
*/
|
|
2035
|
-
set_software(software: string
|
|
2035
|
+
set_software(software: string): void
|
|
2036
2036
|
/**
|
|
2037
2037
|
* This function will assign a media type to a stream. The only values
|
|
2038
2038
|
* that can be used to produce a valid SDP are: "audio", "video",
|
|
@@ -2048,7 +2048,7 @@ export interface Agent {
|
|
|
2048
2048
|
* @param name The new name of the stream or %NULL
|
|
2049
2049
|
* @returns %TRUE if the name has been set. %FALSE in case of error (invalid stream or duplicate name).
|
|
2050
2050
|
*/
|
|
2051
|
-
set_stream_name(stream_id: number, name: string
|
|
2051
|
+
set_stream_name(stream_id: number, name: string): boolean
|
|
2052
2052
|
/**
|
|
2053
2053
|
* Sets the IP_TOS and/or IPV6_TCLASS field on the stream's sockets' options
|
|
2054
2054
|
* @param stream_id The ID of the stream
|
|
@@ -2443,7 +2443,7 @@ export interface PseudoTcpSocket {
|
|
|
2443
2443
|
* @param len The length of `buffer`
|
|
2444
2444
|
* @returns %TRUE if the packet was processed successfully, %FALSE otherwise
|
|
2445
2445
|
*/
|
|
2446
|
-
notify_packet(buffer: string
|
|
2446
|
+
notify_packet(buffer: string, len: number): boolean
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Receive data from the socket.
|
|
2449
2449
|
*
|
|
@@ -2476,7 +2476,7 @@ export interface PseudoTcpSocket {
|
|
|
2476
2476
|
* @param len The length of `buffer`
|
|
2477
2477
|
* @returns The number of bytes sent or -1 in case of error <para> See also: pseudo_tcp_socket_get_error() </para>
|
|
2478
2478
|
*/
|
|
2479
|
-
send(buffer: string
|
|
2479
|
+
send(buffer: string, len: number): number
|
|
2480
2480
|
/**
|
|
2481
2481
|
* Sets the current monotonic time to be used by the TCP socket when calculating
|
|
2482
2482
|
* timeouts and expiry times. If this function is not called, or is called with
|
|
@@ -2651,7 +2651,7 @@ export interface Address {
|
|
|
2651
2651
|
* @param str The string to set
|
|
2652
2652
|
* @returns %TRUE if success, %FALSE on error
|
|
2653
2653
|
*/
|
|
2654
|
-
set_from_string(str: string
|
|
2654
|
+
set_from_string(str: string): boolean
|
|
2655
2655
|
/**
|
|
2656
2656
|
* Set `addr` to an IPv4 address using the data from `addr_ipv4`
|
|
2657
2657
|
*
|
|
@@ -2830,14 +2830,14 @@ export class Candidate {
|
|
|
2830
2830
|
* @param transport a #NiceCandidateTransport
|
|
2831
2831
|
* @returns a static string with the candidate transport
|
|
2832
2832
|
*/
|
|
2833
|
-
static transport_to_string(transport: CandidateTransport): string
|
|
2833
|
+
static transport_to_string(transport: CandidateTransport): string
|
|
2834
2834
|
/**
|
|
2835
2835
|
* Useful for debugging functions, just returns a static string with the
|
|
2836
2836
|
* candidate type.
|
|
2837
2837
|
* @param type a #NiceCandidateType
|
|
2838
2838
|
* @returns a static string with the candidate type
|
|
2839
2839
|
*/
|
|
2840
|
-
static type_to_string(type: CandidateType): string
|
|
2840
|
+
static type_to_string(type: CandidateType): string
|
|
2841
2841
|
}
|
|
2842
2842
|
|
|
2843
2843
|
export interface InputMessage {
|
|
@@ -2946,7 +2946,7 @@ export interface PseudoTcpCallbacks {
|
|
|
2946
2946
|
PseudoTcpReadable: (tcp: PseudoTcpSocket, data: any) => void
|
|
2947
2947
|
PseudoTcpWritable: (tcp: PseudoTcpSocket, data: any) => void
|
|
2948
2948
|
PseudoTcpClosed: (tcp: PseudoTcpSocket, error: number, data: any) => void
|
|
2949
|
-
WritePacket: (tcp: PseudoTcpSocket, buffer: string
|
|
2949
|
+
WritePacket: (tcp: PseudoTcpSocket, buffer: string, len: number, data: any) => PseudoTcpWriteResult
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
2952
|
/**
|
package/nice-0.1.d.ts
CHANGED
|
@@ -405,21 +405,21 @@ const CANDIDATE_MAX_TURN_SERVERS: number
|
|
|
405
405
|
* @param transport a #NiceCandidateTransport
|
|
406
406
|
* @returns a static string with the candidate transport
|
|
407
407
|
*/
|
|
408
|
-
function candidate_transport_to_string(transport: CandidateTransport): string
|
|
408
|
+
function candidate_transport_to_string(transport: CandidateTransport): string
|
|
409
409
|
/**
|
|
410
410
|
* Useful for debugging functions, just returns a static string with the
|
|
411
411
|
* candidate type.
|
|
412
412
|
* @param type a #NiceCandidateType
|
|
413
413
|
* @returns a static string with the candidate type
|
|
414
414
|
*/
|
|
415
|
-
function candidate_type_to_string(type: CandidateType): string
|
|
415
|
+
function candidate_type_to_string(type: CandidateType): string
|
|
416
416
|
/**
|
|
417
417
|
* Returns a string representation of the state, generally to use in debug
|
|
418
418
|
* messages.
|
|
419
419
|
* @param state a #NiceComponentState
|
|
420
420
|
* @returns a string representation of @state
|
|
421
421
|
*/
|
|
422
|
-
function component_state_to_string(state: ComponentState): string
|
|
422
|
+
function component_state_to_string(state: ComponentState): string
|
|
423
423
|
/**
|
|
424
424
|
* Disables libnice debug output to the terminal
|
|
425
425
|
* @param with_stun Also disable stun debugging messages
|
|
@@ -1655,7 +1655,7 @@ interface Agent {
|
|
|
1655
1655
|
* @param stream_id The ID of the stream to change
|
|
1656
1656
|
* @returns The name of the stream. The name is only valid while the stream exists or until it changes through a call to nice_agent_set_stream_name().
|
|
1657
1657
|
*/
|
|
1658
|
-
get_stream_name(stream_id: number): string
|
|
1658
|
+
get_stream_name(stream_id: number): string
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Parse an SDP string and extracts the candidate from it.
|
|
1661
1661
|
*
|
|
@@ -1666,7 +1666,7 @@ interface Agent {
|
|
|
1666
1666
|
* @param sdp The remote SDP to parse
|
|
1667
1667
|
* @returns The parsed candidate or %NULL if there was an error.
|
|
1668
1668
|
*/
|
|
1669
|
-
parse_remote_candidate_sdp(stream_id: number, sdp: string
|
|
1669
|
+
parse_remote_candidate_sdp(stream_id: number, sdp: string): Candidate
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Parse an SDP string and extracts candidates and credentials from it and sets
|
|
1672
1672
|
* them on the agent.
|
|
@@ -1678,7 +1678,7 @@ interface Agent {
|
|
|
1678
1678
|
* @param sdp The remote SDP to parse
|
|
1679
1679
|
* @returns The number of candidates added, negative on errors
|
|
1680
1680
|
*/
|
|
1681
|
-
parse_remote_sdp(sdp: string
|
|
1681
|
+
parse_remote_sdp(sdp: string): number
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Parse an SDP string representing a single stream and extracts candidates
|
|
1684
1684
|
* and credentials from it.
|
|
@@ -1692,7 +1692,7 @@ interface Agent {
|
|
|
1692
1692
|
* @param pwd Pointer to store the ice password if non %NULL. Must be freed with g_free() after use
|
|
1693
1693
|
* @returns A #GSList of candidates parsed from the SDP, or %NULL in case of errors
|
|
1694
1694
|
*/
|
|
1695
|
-
parse_remote_stream_sdp(stream_id: number, sdp: string
|
|
1695
|
+
parse_remote_stream_sdp(stream_id: number, sdp: string, ufrag: string | null, pwd: string | null): Candidate[]
|
|
1696
1696
|
/**
|
|
1697
1697
|
* Notifies the agent that the remote peer has concluded candidate gathering and
|
|
1698
1698
|
* thus no more remote candidates are expected to arrive for `stream_id`.
|
|
@@ -1859,7 +1859,7 @@ interface Agent {
|
|
|
1859
1859
|
* @param buf The buffer of data to send
|
|
1860
1860
|
* @returns The number of bytes sent, or negative error code
|
|
1861
1861
|
*/
|
|
1862
|
-
send(stream_id: number, component_id: number, len: number, buf: string
|
|
1862
|
+
send(stream_id: number, component_id: number, len: number, buf: string): number
|
|
1863
1863
|
/**
|
|
1864
1864
|
* Sends multiple messages on the socket identified by the given
|
|
1865
1865
|
* stream/component pair. Transmission is non-blocking, so a
|
|
@@ -1910,7 +1910,7 @@ interface Agent {
|
|
|
1910
1910
|
* @param pwd nul-terminated string containing an ICE password (length must be between 4 and 256 chars)
|
|
1911
1911
|
* @returns %TRUE on success, %FALSE on error.
|
|
1912
1912
|
*/
|
|
1913
|
-
set_local_credentials(stream_id: number, ufrag: string
|
|
1913
|
+
set_local_credentials(stream_id: number, ufrag: string, pwd: string): boolean
|
|
1914
1914
|
/**
|
|
1915
1915
|
* Sets a preferred port range for allocating host candidates.
|
|
1916
1916
|
* <para>
|
|
@@ -1939,7 +1939,7 @@ interface Agent {
|
|
|
1939
1939
|
* @param type The type of relay to use
|
|
1940
1940
|
* @returns %TRUE if the TURN settings were accepted. %FALSE if the address was invalid.
|
|
1941
1941
|
*/
|
|
1942
|
-
set_relay_info(stream_id: number, component_id: number, server_ip: string
|
|
1942
|
+
set_relay_info(stream_id: number, component_id: number, server_ip: string, server_port: number, username: string, password: string, type: RelayType): boolean
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Sets, adds or updates the remote candidates for a component of a stream.
|
|
1945
1945
|
*
|
|
@@ -1986,7 +1986,7 @@ interface Agent {
|
|
|
1986
1986
|
* @param pwd nul-terminated string containing an ICE password (length must be between 4 and 256 chars)
|
|
1987
1987
|
* @returns %TRUE on success, %FALSE on error.
|
|
1988
1988
|
*/
|
|
1989
|
-
set_remote_credentials(stream_id: number, ufrag: string
|
|
1989
|
+
set_remote_credentials(stream_id: number, ufrag: string, pwd: string): boolean
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Sets the selected candidate pair for media transmission
|
|
1992
1992
|
* for a given stream's component. Calling this function will
|
|
@@ -1999,7 +1999,7 @@ interface Agent {
|
|
|
1999
1999
|
* @param rfoundation The remote foundation of the candidate to use
|
|
2000
2000
|
* @returns %TRUE on success, %FALSE if the candidate pair cannot be found
|
|
2001
2001
|
*/
|
|
2002
|
-
set_selected_pair(stream_id: number, component_id: number, lfoundation: string
|
|
2002
|
+
set_selected_pair(stream_id: number, component_id: number, lfoundation: string, rfoundation: string): boolean
|
|
2003
2003
|
/**
|
|
2004
2004
|
* Sets the selected remote candidate for media transmission
|
|
2005
2005
|
* for a given stream's component. This is used to force the selection of
|
|
@@ -2034,7 +2034,7 @@ interface Agent {
|
|
|
2034
2034
|
* </note>
|
|
2035
2035
|
* @param software The value of the SOFTWARE attribute to add.
|
|
2036
2036
|
*/
|
|
2037
|
-
set_software(software: string
|
|
2037
|
+
set_software(software: string): void
|
|
2038
2038
|
/**
|
|
2039
2039
|
* This function will assign a media type to a stream. The only values
|
|
2040
2040
|
* that can be used to produce a valid SDP are: "audio", "video",
|
|
@@ -2050,7 +2050,7 @@ interface Agent {
|
|
|
2050
2050
|
* @param name The new name of the stream or %NULL
|
|
2051
2051
|
* @returns %TRUE if the name has been set. %FALSE in case of error (invalid stream or duplicate name).
|
|
2052
2052
|
*/
|
|
2053
|
-
set_stream_name(stream_id: number, name: string
|
|
2053
|
+
set_stream_name(stream_id: number, name: string): boolean
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Sets the IP_TOS and/or IPV6_TCLASS field on the stream's sockets' options
|
|
2056
2056
|
* @param stream_id The ID of the stream
|
|
@@ -2445,7 +2445,7 @@ interface PseudoTcpSocket {
|
|
|
2445
2445
|
* @param len The length of `buffer`
|
|
2446
2446
|
* @returns %TRUE if the packet was processed successfully, %FALSE otherwise
|
|
2447
2447
|
*/
|
|
2448
|
-
notify_packet(buffer: string
|
|
2448
|
+
notify_packet(buffer: string, len: number): boolean
|
|
2449
2449
|
/**
|
|
2450
2450
|
* Receive data from the socket.
|
|
2451
2451
|
*
|
|
@@ -2478,7 +2478,7 @@ interface PseudoTcpSocket {
|
|
|
2478
2478
|
* @param len The length of `buffer`
|
|
2479
2479
|
* @returns The number of bytes sent or -1 in case of error <para> See also: pseudo_tcp_socket_get_error() </para>
|
|
2480
2480
|
*/
|
|
2481
|
-
send(buffer: string
|
|
2481
|
+
send(buffer: string, len: number): number
|
|
2482
2482
|
/**
|
|
2483
2483
|
* Sets the current monotonic time to be used by the TCP socket when calculating
|
|
2484
2484
|
* timeouts and expiry times. If this function is not called, or is called with
|
|
@@ -2653,7 +2653,7 @@ interface Address {
|
|
|
2653
2653
|
* @param str The string to set
|
|
2654
2654
|
* @returns %TRUE if success, %FALSE on error
|
|
2655
2655
|
*/
|
|
2656
|
-
set_from_string(str: string
|
|
2656
|
+
set_from_string(str: string): boolean
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Set `addr` to an IPv4 address using the data from `addr_ipv4`
|
|
2659
2659
|
*
|
|
@@ -2832,14 +2832,14 @@ class Candidate {
|
|
|
2832
2832
|
* @param transport a #NiceCandidateTransport
|
|
2833
2833
|
* @returns a static string with the candidate transport
|
|
2834
2834
|
*/
|
|
2835
|
-
static transport_to_string(transport: CandidateTransport): string
|
|
2835
|
+
static transport_to_string(transport: CandidateTransport): string
|
|
2836
2836
|
/**
|
|
2837
2837
|
* Useful for debugging functions, just returns a static string with the
|
|
2838
2838
|
* candidate type.
|
|
2839
2839
|
* @param type a #NiceCandidateType
|
|
2840
2840
|
* @returns a static string with the candidate type
|
|
2841
2841
|
*/
|
|
2842
|
-
static type_to_string(type: CandidateType): string
|
|
2842
|
+
static type_to_string(type: CandidateType): string
|
|
2843
2843
|
}
|
|
2844
2844
|
|
|
2845
2845
|
interface InputMessage {
|
|
@@ -2948,7 +2948,7 @@ interface PseudoTcpCallbacks {
|
|
|
2948
2948
|
PseudoTcpReadable: (tcp: PseudoTcpSocket, data: any) => void
|
|
2949
2949
|
PseudoTcpWritable: (tcp: PseudoTcpSocket, data: any) => void
|
|
2950
2950
|
PseudoTcpClosed: (tcp: PseudoTcpSocket, error: number, data: any) => void
|
|
2951
|
-
WritePacket: (tcp: PseudoTcpSocket, buffer: string
|
|
2951
|
+
WritePacket: (tcp: PseudoTcpSocket, buffer: string, len: number, data: any) => PseudoTcpWriteResult
|
|
2952
2952
|
}
|
|
2953
2953
|
|
|
2954
2954
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/nice-0.1",
|
|
3
|
-
"version": "0.1.0-3.2.
|
|
3
|
+
"version": "0.1.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Nice-0.1, generated from library version 0.1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "nice-0.1.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit nice-0.1.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
28
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
29
|
+
"@girs/gjs": "^3.2.7",
|
|
30
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
31
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"typescript": "*"
|