@types/novnc__novnc 1.6.0 → 1.7.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: Thu, 24 Apr 2025 07:34:53 GMT
11
+ * Last updated: Tue, 24 Nov 2026 18:03:44 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
novnc__novnc/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  // eslint-disable-next-line @definitelytyped/no-declare-current-package
2
- declare module "@novnc/novnc/lib/rfb" {
2
+ declare module "@novnc/novnc" {
3
3
  /**
4
4
  * An `object` specifying the credentials to provide to the server when authenticating.
5
5
  */
6
6
  interface NoVncCredentials {
7
7
  /** The user that authenticates */
8
- username: string;
8
+ username?: string;
9
9
  /** Password for the user */
10
- password: string;
10
+ password?: string;
11
11
  /** Target machine or session */
12
- target: string;
12
+ target?: string;
13
13
  }
14
14
 
15
15
  /**
@@ -321,7 +321,7 @@ declare module "@novnc/novnc/lib/rfb" {
321
321
  }
322
322
 
323
323
  // eslint-disable-next-line @definitelytyped/no-declare-current-package
324
- declare module "@novnc/novnc/lib/util/browser" {
324
+ declare module "@novnc/novnc/core/util/browser" {
325
325
  let isTouchDevice: boolean;
326
326
  let dragThreshold: number;
327
327
 
@@ -336,7 +336,7 @@ declare module "@novnc/novnc/lib/util/browser" {
336
336
  }
337
337
 
338
338
  // eslint-disable-next-line @definitelytyped/no-declare-current-package
339
- declare module "@novnc/novnc/lib/input/util" {
339
+ declare module "@novnc/novnc/core/input/util" {
340
340
  interface KeyboardEventBase {
341
341
  char?: string;
342
342
  charCode?: number;
novnc__novnc/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/novnc__novnc",
3
- "version": "1.6.0",
3
+ "version": "1.7.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",
@@ -16,6 +16,7 @@
16
16
  "url": "https://github.com/ovcharik"
17
17
  }
18
18
  ],
19
+ "type": "module",
19
20
  "main": "",
20
21
  "types": "index.d.ts",
21
22
  "repository": {
@@ -26,6 +27,6 @@
26
27
  "scripts": {},
27
28
  "dependencies": {},
28
29
  "peerDependencies": {},
29
- "typesPublisherContentHash": "f2b766de0fa2f9e68c7073567af1488deab86c72ee0ea273e5cbdb553d382b58",
30
- "typeScriptVersion": "5.1"
30
+ "typesPublisherContentHash": "a0b6c0e7bfa6e6b1786f7f4af5313974513ef1f62c23c2cb60881c9449fcc2c2",
31
+ "typeScriptVersion": "5.6"
31
32
  }