@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/lib/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;
|
|
@@ -132,7 +134,9 @@ declare class CircuitRunner implements CircuitRunnerApi {
|
|
|
132
134
|
kill(): Promise<void>;
|
|
133
135
|
setSnippetsApiBaseUrl(baseUrl: string): Promise<void>;
|
|
134
136
|
setPlatformConfig(platform: PlatformConfig): Promise<void>;
|
|
137
|
+
setPlatformConfigProperty(property: string, value: any): Promise<void>;
|
|
135
138
|
setProjectConfig(project: Partial<PlatformConfig>): Promise<void>;
|
|
139
|
+
setProjectConfigProperty(property: string, value: any): Promise<void>;
|
|
136
140
|
enableDebug(namespace: string): Promise<void>;
|
|
137
141
|
private _bindEventListeners;
|
|
138
142
|
}
|