@e-mc/types 0.12.12 → 0.12.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.12.12/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.12.14/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { LogArguments } from "./lib/logger";
@@ -204,10 +204,10 @@ const IMPORT_MAP: Record<string, string | undefined>;
204
204
 
205
205
  ## References
206
206
 
207
- - https://www.unpkg.com/@e-mc/types@0.12.12/index.d.ts
208
- - https://www.unpkg.com/@e-mc/types@0.12.12/lib/logger.d.ts
209
- - https://www.unpkg.com/@e-mc/types@0.12.12/lib/module.d.ts
210
- - https://www.unpkg.com/@e-mc/types@0.12.12/lib/node.d.ts
207
+ - https://www.unpkg.com/@e-mc/types@0.12.14/index.d.ts
208
+ - https://www.unpkg.com/@e-mc/types@0.12.14/lib/logger.d.ts
209
+ - https://www.unpkg.com/@e-mc/types@0.12.14/lib/module.d.ts
210
+ - https://www.unpkg.com/@e-mc/types@0.12.14/lib/node.d.ts
211
211
 
212
212
  * https://developer.mozilla.org/en-US/docs/Web/API/DOMException
213
213
  * 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.12.12',
2
+ VERSION = '0.12.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
@@ -620,7 +620,7 @@ declare namespace functions {
620
620
  getThreadCount(username: string, iv?: BinaryLike): ThreadCountStat;
621
621
  getThreadCount(username?: string | boolean, iv?: BinaryLike): number;
622
622
  getLogDelayed(): FormatMessageArgs[];
623
- getPermissionFromSettings(): IPermission;
623
+ getPermissionFromSettings(freeze?: boolean): IPermission;
624
624
  readonly prototype: IHost;
625
625
  new(config?: HostInitConfig): IHost;
626
626
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/types",
3
- "version": "0.12.12",
3
+ "version": "0.12.14",
4
4
  "description": "Type definitions for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",