@tscircuit/eval 0.0.547 → 0.0.548

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.
@@ -13,7 +13,7 @@ interface CircuitRunnerConfiguration {
13
13
  * Session token for authenticating with the tscircuit npm registry.
14
14
  * Used to fetch private @tsci/* packages from npm.tscircuit.com
15
15
  */
16
- sessionToken?: string;
16
+ tscircuitSessionToken?: string;
17
17
  }
18
18
  interface WebWorkerConfiguration extends CircuitRunnerConfiguration {
19
19
  evalVersion?: string;
@@ -59,7 +59,7 @@ interface CircuitRunnerApi {
59
59
  setProjectConfig: (project: Partial<PlatformConfig>) => Promise<void>;
60
60
  setPlatformConfigProperty: (property: string, value: any) => Promise<void>;
61
61
  setProjectConfigProperty: (property: string, value: any) => Promise<void>;
62
- setSessionToken: (token: string) => Promise<void>;
62
+ setTscircuitSessionToken: (token: string) => Promise<void>;
63
63
  enableDebug: (namespace: string) => Promise<void>;
64
64
  on: (event: RootCircuitEventName, callback: (...args: any[]) => void) => void;
65
65
  clearEventListeners: () => void;
@@ -152,14 +152,14 @@ declare class CircuitRunner implements CircuitRunnerApi {
152
152
  setPlatformConfigProperty(property: string, value: any): Promise<void>;
153
153
  setProjectConfig(project: Partial<PlatformConfig>): Promise<void>;
154
154
  setProjectConfigProperty(property: string, value: any): Promise<void>;
155
- setSessionToken(token: string): Promise<void>;
155
+ setTscircuitSessionToken(token: string): Promise<void>;
156
156
  enableDebug(namespace: string): Promise<void>;
157
157
  private _bindEventListeners;
158
158
  }
159
159
 
160
160
  declare function runTscircuitCode(filesystemOrCodeString: Record<string, string> | string, opts?: Omit<Parameters<CircuitRunner["executeWithFsMap"]>[0], "fsMap"> & {
161
161
  /** Session token for authenticating with the tscircuit npm registry */
162
- sessionToken?: string;
162
+ tscircuitSessionToken?: string;
163
163
  }): Promise<({
164
164
  type: "source_trace";
165
165
  source_trace_id: string;
@@ -2492,7 +2492,7 @@ declare const runTscircuitModule: (module: string, opts?: {
2492
2492
  props?: Record<string, any>;
2493
2493
  exportName?: string;
2494
2494
  /** Session token for authenticating with the tscircuit npm registry */
2495
- sessionToken?: string;
2495
+ tscircuitSessionToken?: string;
2496
2496
  }) => Promise<({
2497
2497
  type: "source_trace";
2498
2498
  source_trace_id: string;