@microlink/mql 0.13.1 → 0.13.2
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/lightweight/index.d.ts +7 -1
- package/lightweight/index.js +833 -1
- package/lightweight/index.umd.js +850 -1
- package/package.json +1 -1
- package/src/factory.js +3 -3
package/lightweight/index.d.ts
CHANGED
|
@@ -173,12 +173,18 @@ export type MqlError = {
|
|
|
173
173
|
|
|
174
174
|
export type MqlOptions = MqlClientOptions & MicrolinkApiOptions;
|
|
175
175
|
|
|
176
|
+
export const MicrolinkError: new (props: object) => MqlError;
|
|
177
|
+
|
|
178
|
+
export const version: string;
|
|
179
|
+
|
|
176
180
|
interface mql {
|
|
177
|
-
(url: string, opts?: MqlOptions & { stream: string }, gotOpts?: object): Promise<
|
|
181
|
+
(url: string, opts?: MqlOptions & { stream: string }, gotOpts?: object): Promise<HTTPResponseRaw>;
|
|
178
182
|
(url: string, opts?: MqlOptions, gotOpts?: object): Promise<MqlResponse>;
|
|
179
183
|
arrayBuffer: (url: string, opts?: MqlOptions, gotOpts?: object) => Promise<HTTPResponseRaw>;
|
|
180
184
|
extend: (gotOpts?: object) => mql;
|
|
181
185
|
stream: (input: RequestInfo, init?: RequestInit) => ReadableStream;
|
|
186
|
+
MicrolinkError: new (props: object) => MqlError;
|
|
187
|
+
version: string;
|
|
182
188
|
}
|
|
183
189
|
|
|
184
190
|
declare const mql: mql;
|