@girs/gssdp-1.0 1.0.0-3.2.7 → 1.0.0-3.2.8

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gssdp-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GSSDP-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for GSSDP-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  GObject-based API for handling resource discovery and announcement over SSDP.
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/gssdp-1.0.d.cts CHANGED
@@ -54,7 +54,7 @@ export module Client {
54
54
  /**
55
55
  * The IP address of the assoicated network interface.
56
56
  */
57
- host_ip?: string | null
57
+ hostIp?: string | null
58
58
  /**
59
59
  * The name of the network interface this client is associated with.
60
60
  * Set to NULL to autodetect.
@@ -65,7 +65,7 @@ export module Client {
65
65
  * network. If not set (or set to 0) a random port will be used.
66
66
  * This property can be only set during object construction.
67
67
  */
68
- msearch_port?: number | null
68
+ msearchPort?: number | null
69
69
  /**
70
70
  * The network this client is currently connected to. You could set this
71
71
  * to anything you want to identify the network this client is
@@ -75,26 +75,6 @@ export module Client {
75
75
  * default.
76
76
  */
77
77
  network?: string | null
78
- /**
79
- * The SSDP server's identifier.
80
- */
81
- server_id?: string | null
82
- /**
83
- * Time-to-live value to use for all sockets created by this client.
84
- * If not set (or set to 0) the value recommended by UPnP will be used.
85
- * This property can only be set during object construction.
86
- */
87
- socket_ttl?: number | null
88
- /**
89
- * The IP address of the assoicated network interface.
90
- */
91
- hostIp?: string | null
92
- /**
93
- * UDP port to use for sending multicast M-SEARCH requests on the
94
- * network. If not set (or set to 0) a random port will be used.
95
- * This property can be only set during object construction.
96
- */
97
- msearchPort?: number | null
98
78
  /**
99
79
  * The SSDP server's identifier.
100
80
  */
@@ -119,10 +99,6 @@ export interface Client extends Gio.Initable {
119
99
  * not. In most cases, you don't want to touch this property.
120
100
  */
121
101
  active: boolean
122
- /**
123
- * The IP address of the assoicated network interface.
124
- */
125
- host_ip: string | null
126
102
  /**
127
103
  * The IP address of the assoicated network interface.
128
104
  */
@@ -132,12 +108,6 @@ export interface Client extends Gio.Initable {
132
108
  * Set to NULL to autodetect.
133
109
  */
134
110
  readonly interface: string | null
135
- /**
136
- * UDP port to use for sending multicast M-SEARCH requests on the
137
- * network. If not set (or set to 0) a random port will be used.
138
- * This property can be only set during object construction.
139
- */
140
- readonly msearch_port: number
141
111
  /**
142
112
  * UDP port to use for sending multicast M-SEARCH requests on the
143
113
  * network. If not set (or set to 0) a random port will be used.
@@ -153,20 +123,10 @@ export interface Client extends Gio.Initable {
153
123
  * default.
154
124
  */
155
125
  network: string | null
156
- /**
157
- * The SSDP server's identifier.
158
- */
159
- server_id: string | null
160
126
  /**
161
127
  * The SSDP server's identifier.
162
128
  */
163
129
  serverId: string | null
164
- /**
165
- * Time-to-live value to use for all sockets created by this client.
166
- * If not set (or set to 0) the value recommended by UPnP will be used.
167
- * This property can only be set during object construction.
168
- */
169
- readonly socket_ttl: number
170
130
  /**
171
131
  * Time-to-live value to use for all sockets created by this client.
172
132
  * If not set (or set to 0) the value recommended by UPnP will be used.
@@ -484,15 +444,6 @@ export module ResourceGroup {
484
444
  * The #GSSDPClient to use.
485
445
  */
486
446
  client?: Client | null
487
- /**
488
- * The number of seconds our advertisements are valid.
489
- */
490
- max_age?: number | null
491
- /**
492
- * The minimum number of milliseconds between SSDP messages.
493
- * The default is 120 based on DLNA specification.
494
- */
495
- message_delay?: number | null
496
447
  /**
497
448
  * The number of seconds our advertisements are valid.
498
449
  */
@@ -518,19 +469,10 @@ export interface ResourceGroup {
518
469
  * The #GSSDPClient to use.
519
470
  */
520
471
  readonly client: Client
521
- /**
522
- * The number of seconds our advertisements are valid.
523
- */
524
- max_age: number
525
472
  /**
526
473
  * The number of seconds our advertisements are valid.
527
474
  */
528
475
  maxAge: number
529
- /**
530
- * The minimum number of milliseconds between SSDP messages.
531
- * The default is 120 based on DLNA specification.
532
- */
533
- message_delay: number
534
476
  /**
535
477
  * The minimum number of milliseconds between SSDP messages.
536
478
  * The default is 120 based on DLNA specification.
package/gssdp-1.0.d.ts CHANGED
@@ -56,7 +56,7 @@ module Client {
56
56
  /**
57
57
  * The IP address of the assoicated network interface.
58
58
  */
59
- host_ip?: string | null
59
+ hostIp?: string | null
60
60
  /**
61
61
  * The name of the network interface this client is associated with.
62
62
  * Set to NULL to autodetect.
@@ -67,7 +67,7 @@ module Client {
67
67
  * network. If not set (or set to 0) a random port will be used.
68
68
  * This property can be only set during object construction.
69
69
  */
70
- msearch_port?: number | null
70
+ msearchPort?: number | null
71
71
  /**
72
72
  * The network this client is currently connected to. You could set this
73
73
  * to anything you want to identify the network this client is
@@ -77,26 +77,6 @@ module Client {
77
77
  * default.
78
78
  */
79
79
  network?: string | null
80
- /**
81
- * The SSDP server's identifier.
82
- */
83
- server_id?: string | null
84
- /**
85
- * Time-to-live value to use for all sockets created by this client.
86
- * If not set (or set to 0) the value recommended by UPnP will be used.
87
- * This property can only be set during object construction.
88
- */
89
- socket_ttl?: number | null
90
- /**
91
- * The IP address of the assoicated network interface.
92
- */
93
- hostIp?: string | null
94
- /**
95
- * UDP port to use for sending multicast M-SEARCH requests on the
96
- * network. If not set (or set to 0) a random port will be used.
97
- * This property can be only set during object construction.
98
- */
99
- msearchPort?: number | null
100
80
  /**
101
81
  * The SSDP server's identifier.
102
82
  */
@@ -121,10 +101,6 @@ interface Client extends Gio.Initable {
121
101
  * not. In most cases, you don't want to touch this property.
122
102
  */
123
103
  active: boolean
124
- /**
125
- * The IP address of the assoicated network interface.
126
- */
127
- host_ip: string | null
128
104
  /**
129
105
  * The IP address of the assoicated network interface.
130
106
  */
@@ -134,12 +110,6 @@ interface Client extends Gio.Initable {
134
110
  * Set to NULL to autodetect.
135
111
  */
136
112
  readonly interface: string | null
137
- /**
138
- * UDP port to use for sending multicast M-SEARCH requests on the
139
- * network. If not set (or set to 0) a random port will be used.
140
- * This property can be only set during object construction.
141
- */
142
- readonly msearch_port: number
143
113
  /**
144
114
  * UDP port to use for sending multicast M-SEARCH requests on the
145
115
  * network. If not set (or set to 0) a random port will be used.
@@ -155,20 +125,10 @@ interface Client extends Gio.Initable {
155
125
  * default.
156
126
  */
157
127
  network: string | null
158
- /**
159
- * The SSDP server's identifier.
160
- */
161
- server_id: string | null
162
128
  /**
163
129
  * The SSDP server's identifier.
164
130
  */
165
131
  serverId: string | null
166
- /**
167
- * Time-to-live value to use for all sockets created by this client.
168
- * If not set (or set to 0) the value recommended by UPnP will be used.
169
- * This property can only be set during object construction.
170
- */
171
- readonly socket_ttl: number
172
132
  /**
173
133
  * Time-to-live value to use for all sockets created by this client.
174
134
  * If not set (or set to 0) the value recommended by UPnP will be used.
@@ -486,15 +446,6 @@ module ResourceGroup {
486
446
  * The #GSSDPClient to use.
487
447
  */
488
448
  client?: Client | null
489
- /**
490
- * The number of seconds our advertisements are valid.
491
- */
492
- max_age?: number | null
493
- /**
494
- * The minimum number of milliseconds between SSDP messages.
495
- * The default is 120 based on DLNA specification.
496
- */
497
- message_delay?: number | null
498
449
  /**
499
450
  * The number of seconds our advertisements are valid.
500
451
  */
@@ -520,19 +471,10 @@ interface ResourceGroup {
520
471
  * The #GSSDPClient to use.
521
472
  */
522
473
  readonly client: Client
523
- /**
524
- * The number of seconds our advertisements are valid.
525
- */
526
- max_age: number
527
474
  /**
528
475
  * The number of seconds our advertisements are valid.
529
476
  */
530
477
  maxAge: number
531
- /**
532
- * The minimum number of milliseconds between SSDP messages.
533
- * The default is 120 based on DLNA specification.
534
- */
535
- message_delay: number
536
478
  /**
537
479
  * The minimum number of milliseconds between SSDP messages.
538
480
  * The default is 120 based on DLNA specification.
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/gssdp-1.0",
3
- "version": "1.0.0-3.2.7",
3
+ "version": "1.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for GSSDP-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "gssdp-1.0.js",
7
7
  "main": "gssdp-1.0.js",
8
8
  "exports": {
9
- "./ambient": "./gssdp-1.0-ambient.d.ts",
10
- "./import": "./gssdp-1.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./gssdp-1.0-ambient.d.ts",
11
+ "default": "./gssdp-1.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./gssdp-1.0-import.d.ts",
15
+ "default": "./gssdp-1.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./gssdp-1.0.d.ts",
@@ -25,11 +31,11 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gssdp-1.0.d.cts"
26
32
  },
27
33
  "dependencies": {
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
- "@girs/soup-2.4": "^2.74.3-3.2.7"
34
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
35
+ "@girs/gjs": "^3.2.8",
36
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
37
+ "@girs/gobject-2.0": "^2.77.0-3.2.8",
38
+ "@girs/soup-2.4": "^2.74.3-3.2.8"
33
39
  },
34
40
  "devDependencies": {
35
41
  "typescript": "*"
@@ -46,7 +52,7 @@
46
52
  "license": "MIT",
47
53
  "repository": {
48
54
  "type": "git",
49
- "url": "git+https://github.com/gjsify/types.git"
55
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
50
56
  },
51
57
  "bugs": {
52
58
  "url": "https://github.com/gjsify/ts-for-gir/issues"