@types/novnc__novnc 1.5.0 → 1.6.0

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.
novnc__novnc/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for @novnc/novnc (https://github.com/novn
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/novnc__novnc.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 29 Jul 2024 19:07:13 GMT
11
+ * Last updated: Thu, 24 Apr 2025 07:34:53 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
novnc__novnc/index.d.ts CHANGED
@@ -102,6 +102,12 @@ declare module "@novnc/novnc/lib/rfb" {
102
102
  * value of `capabilities`.
103
103
  */
104
104
  capabilities: CustomEvent<{ capabilities: NoVncClient["capabilities"] }>;
105
+
106
+ /**
107
+ * The `clippingviewport` event is fired whenever `clippingViewport` changes between true and false.
108
+ * The `detail` property is a `boolean` with the new value of `clippingViewport`.
109
+ */
110
+ clippingviewport: CustomEvent<NoVncClient["clippingViewport"]>;
105
111
  }
106
112
 
107
113
  type NoVncEventType = keyof NoVncEvents;
@@ -218,6 +224,12 @@ declare module "@novnc/novnc/lib/rfb" {
218
224
  power: boolean;
219
225
  };
220
226
 
227
+ /**
228
+ * Is a `boolean` indicating if the remote session is currently being clipped to its container.
229
+ * Only relevant if `clipViewport` is enabled.
230
+ */
231
+ readonly clippingViewport: boolean;
232
+
221
233
  /**
222
234
  * Disconnect from the server.
223
235
  */
novnc__novnc/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/novnc__novnc",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "TypeScript definitions for @novnc/novnc",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/novnc__novnc",
6
6
  "license": "MIT",
@@ -25,6 +25,7 @@
25
25
  },
26
26
  "scripts": {},
27
27
  "dependencies": {},
28
- "typesPublisherContentHash": "0b81569f169859f4dd6e5f6a9a591c82e3d21934e974860ef287d90b7412c309",
29
- "typeScriptVersion": "4.8"
28
+ "peerDependencies": {},
29
+ "typesPublisherContentHash": "f2b766de0fa2f9e68c7073567af1488deab86c72ee0ea273e5cbdb553d382b58",
30
+ "typeScriptVersion": "5.1"
30
31
  }