daishi-sdk 0.2.13 → 0.2.14
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/generated.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -537,6 +537,7 @@ export interface SeatInteractions {
|
|
|
537
537
|
betrayals: number;
|
|
538
538
|
in_ring: boolean;
|
|
539
539
|
rounds_with_seats: number | null;
|
|
540
|
+
rounds_ended_with_seats: number | null;
|
|
540
541
|
}
|
|
541
542
|
export interface RunResultsTopModel {
|
|
542
543
|
name: string;
|
|
@@ -675,6 +676,12 @@ export interface ExperimentReportArmContact {
|
|
|
675
676
|
seats: number;
|
|
676
677
|
seats_never: number;
|
|
677
678
|
share_of_rounds: number | null;
|
|
679
|
+
at_round_end: ExperimentReportArmContactAtRoundEnd | null;
|
|
680
|
+
}
|
|
681
|
+
export interface ExperimentReportArmContactAtRoundEnd {
|
|
682
|
+
seats: number;
|
|
683
|
+
seats_never: number;
|
|
684
|
+
share_of_rounds: number | null;
|
|
678
685
|
}
|
|
679
686
|
export interface ExperimentReportPair {
|
|
680
687
|
trial: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Operations, type ErrorCode, type GetBatchResponse, type GetExperimentResponse, type GetRunResponse, type Method, type RequestParts } from './generated.js';
|
|
2
2
|
export * from './generated.js';
|
|
3
|
-
export declare const VERSION = "0.2.
|
|
3
|
+
export declare const VERSION = "0.2.14";
|
|
4
4
|
export declare const DEFAULT_BASE_URL = "https://daishi.ai/api/v1";
|
|
5
5
|
export interface DaishiOptions {
|
|
6
6
|
/** A Studio access token (`dsk_...`). Default: the `DAISHI_TOKEN` environment variable. */
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Operations } from './generated.js';
|
|
2
2
|
export * from './generated.js';
|
|
3
|
-
export const VERSION = '0.2.
|
|
3
|
+
export const VERSION = '0.2.14';
|
|
4
4
|
export const DEFAULT_BASE_URL = 'https://daishi.ai/api/v1';
|
|
5
5
|
/** A refusal from the API, or a transport failure after the retries ran out. */
|
|
6
6
|
export class DaishiError extends Error {
|
package/package.json
CHANGED