@e-mc/types 0.12.2 → 0.12.3

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/constant.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export const enum INTERNAL {
2
- VERSION = '0.12.2',
2
+ VERSION = '0.12.3',
3
3
  TEMP_DIR = 'tmp',
4
4
  CJS = '__cjs__'
5
5
  }
package/lib/asset.d.ts CHANGED
@@ -12,6 +12,7 @@ interface ProcessInit {
12
12
 
13
13
  export interface BinaryAction {
14
14
  binOpts?: string[];
15
+ shellExpansion?: boolean;
15
16
  }
16
17
 
17
18
  export interface StreamAction {
package/lib/index.d.ts CHANGED
@@ -160,7 +160,7 @@ declare namespace functions {
160
160
  executeBatchQuery(batch: V[], sessionKey: string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
161
161
  executeBatchQuery(batch: V[], options?: ExecuteBatchQueryOptions | string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
162
162
  processRows(batch: V[], tasks: Promise<QueryResult | null>[], parallel: boolean): Promise<BatchQueryResult>;
163
- processRows(batch: V[], tasks: Promise<QueryResult | null>[], options?: ProcessRowsOptions, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
163
+ processRows(batch: V[], tasks: Promise<QueryResult | null>[], options?: ProcessRowsOptions | boolean, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
164
164
  handleFail(err: unknown, item: V, options?: HandleFailOptions): boolean;
165
165
  readTLSCert(value: unknown, cache?: boolean): string;
166
166
  readTLSConfig(options: SecureContextOptions, cache?: boolean): void;
@@ -349,8 +349,8 @@ declare namespace functions {
349
349
  headersOf(uri: string): OutgoingHttpHeaders | undefined;
350
350
  aria2c(uri: string | URL, pathname: string): Promise<string[]>;
351
351
  aria2c(uri: string | URL, options?: Aria2Options): Promise<string[]>;
352
- rclone(uri: string, pathname: string): Promise<string[]>;
353
- rclone(uri: string, options?: RcloneOptions): Promise<string[]>;
352
+ rclone(uri: string | URL, pathname: string): Promise<string[]>;
353
+ rclone(uri: string | URL, options?: RcloneOptions): Promise<string[]>;
354
354
  json(uri: string | URL, options?: OpenOptions): Promise<object | null>;
355
355
  pipe(uri: string | URL, to: Writable, options?: OpenOptions): Promise<null>;
356
356
  opts<V extends OpenOptions>(url: string | URL, options?: V): HostConfig & V;
@@ -388,6 +388,7 @@ declare namespace functions {
388
388
  fromStatusCode(value: number | string): string;
389
389
  defineHttpAgent(options: HttpAgentSettings): void;
390
390
  defineDnsLookup(options: DnsLookupSettings, clear?: boolean): void;
391
+ isRclone(value: string | URL): boolean;
391
392
  getAria2Path(): string;
392
393
  getRclonePath(): string;
393
394
  readonly prototype: IRequest<T, U>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/types",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "Type definitions for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",