varsnap 1.9.1 → 1.10.1
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 +0 -5
- package/dist/browser.js +25 -50
- package/dist/browser.min.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/node.js +15 -26
- package/dist/node.min.js +4 -4
- package/package.json +8 -11
package/dist/index.d.ts
CHANGED
|
@@ -20,17 +20,17 @@ declare class Producer {
|
|
|
20
20
|
static serialize_formatted(data: TargetFunctionInput[] | TargetFunctionOutput): string;
|
|
21
21
|
produce(args: TargetFunctionInput[], output: TargetFunctionOutput): Promise<boolean>;
|
|
22
22
|
}
|
|
23
|
-
declare const _default: typeof
|
|
23
|
+
declare const _default: typeof varsnap;
|
|
24
24
|
declare function runTests(): Promise<boolean>;
|
|
25
25
|
declare function varsnap(func: TargetFunction, funcName?: string): TargetFunction | WrappedFunction;
|
|
26
|
-
|
|
27
|
-
export declare namespace varsnap {
|
|
26
|
+
declare namespace varsnap {
|
|
28
27
|
var _config: Config;
|
|
29
28
|
var updateConfig: (newConfig: Config) => void;
|
|
30
29
|
var reset: () => void;
|
|
31
30
|
var version: string;
|
|
32
31
|
var runTests: typeof runTests;
|
|
33
32
|
}
|
|
33
|
+
export = _default;
|
|
34
34
|
export interface Config {
|
|
35
35
|
varsnap: boolean;
|
|
36
36
|
env: string;
|