@tscircuit/eval 0.0.547 → 0.0.549

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;
@@ -136,14 +136,14 @@ declare class CircuitRunner implements CircuitRunnerApi {
136
136
  setPlatformConfigProperty(property: string, value: any): Promise<void>;
137
137
  setProjectConfig(project: Partial<PlatformConfig>): Promise<void>;
138
138
  setProjectConfigProperty(property: string, value: any): Promise<void>;
139
- setSessionToken(token: string): Promise<void>;
139
+ setTscircuitSessionToken(token: string): Promise<void>;
140
140
  enableDebug(namespace: string): Promise<void>;
141
141
  private _bindEventListeners;
142
142
  }
143
143
 
144
144
  declare function runTscircuitCode(filesystemOrCodeString: Record<string, string> | string, opts?: Omit<Parameters<CircuitRunner["executeWithFsMap"]>[0], "fsMap"> & {
145
145
  /** Session token for authenticating with the tscircuit npm registry */
146
- sessionToken?: string;
146
+ tscircuitSessionToken?: string;
147
147
  }): Promise<({
148
148
  type: "source_trace";
149
149
  source_trace_id: string;
@@ -2476,7 +2476,7 @@ declare const runTscircuitModule: (module: string, opts?: {
2476
2476
  props?: Record<string, any>;
2477
2477
  exportName?: string;
2478
2478
  /** Session token for authenticating with the tscircuit npm registry */
2479
- sessionToken?: string;
2479
+ tscircuitSessionToken?: string;
2480
2480
  }) => Promise<({
2481
2481
  type: "source_trace";
2482
2482
  source_trace_id: string;