@tscircuit/eval 0.0.423 → 0.0.425
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/dist/blob-url.js +1 -1
- package/dist/eval/index.d.ts +4 -0
- package/dist/eval/index.js +36 -1
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.js +87 -3
- package/dist/webworker/entrypoint.js +110 -110
- package/dist/worker.js +54 -3
- package/package.json +2 -2
package/dist/eval/index.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ interface CircuitRunnerApi {
|
|
|
44
44
|
setSnippetsApiBaseUrl: (baseUrl: string) => Promise<void>;
|
|
45
45
|
setPlatformConfig: (platform: PlatformConfig) => Promise<void>;
|
|
46
46
|
setProjectConfig: (project: Partial<PlatformConfig>) => Promise<void>;
|
|
47
|
+
setPlatformConfigProperty: (property: string, value: any) => Promise<void>;
|
|
48
|
+
setProjectConfigProperty: (property: string, value: any) => Promise<void>;
|
|
47
49
|
enableDebug: (namespace: string) => Promise<void>;
|
|
48
50
|
on: (event: RootCircuitEventName, callback: (...args: any[]) => void) => void;
|
|
49
51
|
clearEventListeners: () => void;
|
|
@@ -116,7 +118,9 @@ declare class CircuitRunner implements CircuitRunnerApi {
|
|
|
116
118
|
kill(): Promise<void>;
|
|
117
119
|
setSnippetsApiBaseUrl(baseUrl: string): Promise<void>;
|
|
118
120
|
setPlatformConfig(platform: PlatformConfig): Promise<void>;
|
|
121
|
+
setPlatformConfigProperty(property: string, value: any): Promise<void>;
|
|
119
122
|
setProjectConfig(project: Partial<PlatformConfig>): Promise<void>;
|
|
123
|
+
setProjectConfigProperty(property: string, value: any): Promise<void>;
|
|
120
124
|
enableDebug(namespace: string): Promise<void>;
|
|
121
125
|
private _bindEventListeners;
|
|
122
126
|
}
|