@e-mc/types 0.12.11 → 0.12.13
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 +5 -5
- package/constant.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/settings.d.ts +2 -0
- package/package.json +1 -1
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
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.12.13/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.
|
|
208
|
-
- https://www.unpkg.com/@e-mc/types@0.12.
|
|
209
|
-
- https://www.unpkg.com/@e-mc/types@0.12.
|
|
210
|
-
- https://www.unpkg.com/@e-mc/types@0.12.
|
|
207
|
+
- https://www.unpkg.com/@e-mc/types@0.12.13/index.d.ts
|
|
208
|
+
- https://www.unpkg.com/@e-mc/types@0.12.13/lib/logger.d.ts
|
|
209
|
+
- https://www.unpkg.com/@e-mc/types@0.12.13/lib/module.d.ts
|
|
210
|
+
- https://www.unpkg.com/@e-mc/types@0.12.13/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
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/lib/settings.d.ts
CHANGED
|
@@ -350,6 +350,7 @@ export interface WatchSettings<T = WatchUserSettings> extends ClientSettings<Obj
|
|
|
350
350
|
export interface CompressModule<U = CompressSettings> extends HandlerSettings<U> {
|
|
351
351
|
gzip?: ZlibOptions;
|
|
352
352
|
brotli?: BrotliOptions;
|
|
353
|
+
/** @deprecated */
|
|
353
354
|
zopfli?: ZopfliOptions;
|
|
354
355
|
}
|
|
355
356
|
|
|
@@ -358,6 +359,7 @@ export interface CompressSettings extends PlainObject {
|
|
|
358
359
|
cache_expires?: number | string;
|
|
359
360
|
gzip_level?: number | string;
|
|
360
361
|
brotli_quality?: number | string;
|
|
362
|
+
/** @deprecated */
|
|
361
363
|
zopfli_iterations?: number | string;
|
|
362
364
|
chunk_size?: number | string;
|
|
363
365
|
}
|