@girs/grlnet-0.3 0.3.0-3.2.6 → 0.3.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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/grlnet-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GrlNet-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for GrlNet-0.3, generated from library version 0.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
  Network classes for Grilo
11
11
 
package/grlnet-0.3.d.cts CHANGED
@@ -107,7 +107,7 @@ export interface Wc {
107
107
  * @param cancellable a #GCancellable instance or %NULL to ignore
108
108
  * @param callback The callback when the result is ready
109
109
  */
110
- request_async(uri: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
110
+ request_async(uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
111
111
 
112
112
  // Overloads of request_async
113
113
 
@@ -120,7 +120,7 @@ export interface Wc {
120
120
  * @param cancellable a #GCancellable instance or %NULL to ignore
121
121
  * @returns A Promise of: %TRUE if the request was successfull. If %FALSE an error occurred.
122
122
  */
123
- request_async(uri: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise</* content */ Uint8Array>
123
+ request_async(uri: string, cancellable: Gio.Cancellable | null): globalThis.Promise</* content */ Uint8Array>
124
124
  /**
125
125
  * Finishes an asynchronous load of the file's contents.
126
126
  * The contents are placed in contents, and length is set to the size of the
@@ -140,7 +140,7 @@ export interface Wc {
140
140
  * @param cancellable a #GCancellable instance or %NULL to ignore
141
141
  * @param callback The callback when the result is ready
142
142
  */
143
- request_with_headers_async(uri: string | null, headers: GLib.HashTable | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
143
+ request_with_headers_async(uri: string, headers: GLib.HashTable | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
144
144
  /**
145
145
  * Sets if cache must be used. Note that this will only work if caching is
146
146
  * supporting. If sets %TRUE, a new cache will be created. If sets to %FALSE,
package/grlnet-0.3.d.ts CHANGED
@@ -109,7 +109,7 @@ interface Wc {
109
109
  * @param cancellable a #GCancellable instance or %NULL to ignore
110
110
  * @param callback The callback when the result is ready
111
111
  */
112
- request_async(uri: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
112
+ request_async(uri: string, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
113
113
 
114
114
  // Overloads of request_async
115
115
 
@@ -122,7 +122,7 @@ interface Wc {
122
122
  * @param cancellable a #GCancellable instance or %NULL to ignore
123
123
  * @returns A Promise of: %TRUE if the request was successfull. If %FALSE an error occurred.
124
124
  */
125
- request_async(uri: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise</* content */ Uint8Array>
125
+ request_async(uri: string, cancellable: Gio.Cancellable | null): globalThis.Promise</* content */ Uint8Array>
126
126
  /**
127
127
  * Finishes an asynchronous load of the file's contents.
128
128
  * The contents are placed in contents, and length is set to the size of the
@@ -142,7 +142,7 @@ interface Wc {
142
142
  * @param cancellable a #GCancellable instance or %NULL to ignore
143
143
  * @param callback The callback when the result is ready
144
144
  */
145
- request_with_headers_async(uri: string | null, headers: GLib.HashTable | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
145
+ request_with_headers_async(uri: string, headers: GLib.HashTable | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
146
146
  /**
147
147
  * Sets if cache must be used. Note that this will only work if caching is
148
148
  * supporting. If sets %TRUE, a new cache will be created. If sets to %FALSE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/grlnet-0.3",
3
- "version": "0.3.0-3.2.6",
3
+ "version": "0.3.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for GrlNet-0.3, generated from library version 0.3.0",
5
5
  "type": "module",
6
6
  "module": "grlnet-0.3.js",
@@ -25,11 +25,11 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit grlnet-0.3.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.6",
29
- "@girs/gjs": "^3.2.6",
30
- "@girs/glib-2.0": "^2.78.0-3.2.6",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
32
- "@girs/soup-3.0": "^3.4.4-3.2.6"
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-3.0": "^3.4.4-3.2.7"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "*"