@e-mc/types 0.11.12 → 0.11.14

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
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.11.12/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.11.14/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { LogArguments } from "./lib/logger";
@@ -198,10 +198,10 @@ const IMPORT_MAP: Record<string, string | undefined>;
198
198
 
199
199
  ## References
200
200
 
201
- - https://www.unpkg.com/@e-mc/types@0.11.12/index.d.ts
202
- - https://www.unpkg.com/@e-mc/types@0.11.12/lib/logger.d.ts
203
- - https://www.unpkg.com/@e-mc/types@0.11.12/lib/module.d.ts
204
- - https://www.unpkg.com/@e-mc/types@0.11.12/lib/node.d.ts
201
+ - https://www.unpkg.com/@e-mc/types@0.11.14/index.d.ts
202
+ - https://www.unpkg.com/@e-mc/types@0.11.14/lib/logger.d.ts
203
+ - https://www.unpkg.com/@e-mc/types@0.11.14/lib/module.d.ts
204
+ - https://www.unpkg.com/@e-mc/types@0.11.14/lib/node.d.ts
205
205
 
206
206
  * https://developer.mozilla.org/en-US/docs/Web/API/DOMException
207
207
  * https://www.npmjs.com/package/@types/bytes
package/constant.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export const enum INTERNAL {
2
- VERSION = '0.11.12',
2
+ VERSION = '0.11.14',
3
3
  TEMP_DIR = 'tmp',
4
4
  CJS = '__cjs__'
5
5
  }
package/lib/dom.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ interface EventListenerOptions {
2
+ capture?: boolean;
3
+ }
4
+
5
+ export interface AddEventListenerOptions extends EventListenerOptions {
6
+ once?: boolean;
7
+ passive?: boolean;
8
+ signal?: AbortSignal;
9
+ }
package/lib/index.d.ts CHANGED
@@ -597,7 +597,7 @@ declare namespace functions {
597
597
  getThreadCount(username: string, iv?: BinaryLike): ThreadCountStat;
598
598
  getThreadCount(username?: string | boolean, iv?: BinaryLike): number;
599
599
  getLogDelayed(): FormatMessageArgs[];
600
- getPermissionFromSettings(): IPermission;
600
+ getPermissionFromSettings(freeze?: boolean): IPermission;
601
601
  readonly prototype: IHost;
602
602
  new(config?: HostInitConfig): IHost;
603
603
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/types",
3
- "version": "0.11.12",
3
+ "version": "0.11.14",
4
4
  "description": "Type definitions for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",