@oro-ai/sdk 1.0.87 → 1.0.89
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/index.d.mts +17 -28
- package/dist/index.d.ts +17 -28
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -7
- package/src/generated/types.gen.ts +12 -21
package/dist/index.d.mts
CHANGED
|
@@ -3265,41 +3265,32 @@ type WaitlistSignupResponse = {
|
|
|
3265
3265
|
success: boolean;
|
|
3266
3266
|
};
|
|
3267
3267
|
/**
|
|
3268
|
-
* Per-epoch
|
|
3268
|
+
* Per-epoch supplementary weight assignments for the weight setter.
|
|
3269
3269
|
*
|
|
3270
|
-
* ``
|
|
3271
|
-
*
|
|
3272
|
-
*
|
|
3270
|
+
* ``weight_overlay`` maps miner uid (as a string) → weight fraction that the
|
|
3271
|
+
* validator should assign in addition to its base vector for this epoch,
|
|
3272
|
+
* renormalizing the remainder. An **empty** overlay means apply nothing (the
|
|
3273
|
+
* default). The validator treats this as opaque backend guidance.
|
|
3273
3274
|
*/
|
|
3274
3275
|
type WeightSaltResponse = {
|
|
3275
3276
|
/**
|
|
3276
|
-
* Whether
|
|
3277
|
+
* Whether supplementary weight assignments are in effect
|
|
3277
3278
|
*/
|
|
3278
3279
|
active: boolean;
|
|
3279
3280
|
/**
|
|
3280
|
-
* Whether this validator
|
|
3281
|
+
* Whether this validator qualifies to receive assignments
|
|
3281
3282
|
*/
|
|
3282
3283
|
eligible: boolean;
|
|
3283
3284
|
/**
|
|
3284
|
-
*
|
|
3285
|
+
* Epoch index the assignments are keyed to (stable within it)
|
|
3285
3286
|
*/
|
|
3286
3287
|
epoch_index: number;
|
|
3287
3288
|
/**
|
|
3288
|
-
*
|
|
3289
|
+
* uid (string) → weight fraction to assign this epoch; empty means apply nothing
|
|
3289
3290
|
*/
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
*/
|
|
3294
|
-
decoy_uids: Array<(number)>;
|
|
3295
|
-
/**
|
|
3296
|
-
* Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
|
|
3297
|
-
*/
|
|
3298
|
-
chosen_decoy_uid?: (number | null);
|
|
3299
|
-
/**
|
|
3300
|
-
* Fraction of the vector reserved for the watermark; 0 = none
|
|
3301
|
-
*/
|
|
3302
|
-
x_share: number;
|
|
3291
|
+
weight_overlay?: {
|
|
3292
|
+
[key: string]: (number);
|
|
3293
|
+
};
|
|
3303
3294
|
};
|
|
3304
3295
|
type WorkItemStatus = {
|
|
3305
3296
|
/**
|
|
@@ -4438,15 +4429,13 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4438
4429
|
declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
|
|
4439
4430
|
/**
|
|
4440
4431
|
* Get Weight Salt
|
|
4441
|
-
* Per-epoch
|
|
4432
|
+
* Per-epoch supplementary weight assignments for the weight setter.
|
|
4442
4433
|
*
|
|
4443
|
-
* Participation-gated: only
|
|
4444
|
-
*
|
|
4445
|
-
*
|
|
4446
|
-
* omits the watermark → it diverges from consensus → loses vtrust.
|
|
4434
|
+
* Participation-gated: only validators that have done recent evaluation work
|
|
4435
|
+
* receive assignments; others get an empty overlay and set their normal
|
|
4436
|
+
* vector. The overlay is opaque guidance the validator applies as-is.
|
|
4447
4437
|
*
|
|
4448
|
-
*
|
|
4449
|
-
* ``watermark_active`` is set AND a decoy pool + secret key are configured.
|
|
4438
|
+
* Returns an empty overlay unless the feature is enabled and configured.
|
|
4450
4439
|
*/
|
|
4451
4440
|
declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
|
|
4452
4441
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3265,41 +3265,32 @@ type WaitlistSignupResponse = {
|
|
|
3265
3265
|
success: boolean;
|
|
3266
3266
|
};
|
|
3267
3267
|
/**
|
|
3268
|
-
* Per-epoch
|
|
3268
|
+
* Per-epoch supplementary weight assignments for the weight setter.
|
|
3269
3269
|
*
|
|
3270
|
-
* ``
|
|
3271
|
-
*
|
|
3272
|
-
*
|
|
3270
|
+
* ``weight_overlay`` maps miner uid (as a string) → weight fraction that the
|
|
3271
|
+
* validator should assign in addition to its base vector for this epoch,
|
|
3272
|
+
* renormalizing the remainder. An **empty** overlay means apply nothing (the
|
|
3273
|
+
* default). The validator treats this as opaque backend guidance.
|
|
3273
3274
|
*/
|
|
3274
3275
|
type WeightSaltResponse = {
|
|
3275
3276
|
/**
|
|
3276
|
-
* Whether
|
|
3277
|
+
* Whether supplementary weight assignments are in effect
|
|
3277
3278
|
*/
|
|
3278
3279
|
active: boolean;
|
|
3279
3280
|
/**
|
|
3280
|
-
* Whether this validator
|
|
3281
|
+
* Whether this validator qualifies to receive assignments
|
|
3281
3282
|
*/
|
|
3282
3283
|
eligible: boolean;
|
|
3283
3284
|
/**
|
|
3284
|
-
*
|
|
3285
|
+
* Epoch index the assignments are keyed to (stable within it)
|
|
3285
3286
|
*/
|
|
3286
3287
|
epoch_index: number;
|
|
3287
3288
|
/**
|
|
3288
|
-
*
|
|
3289
|
+
* uid (string) → weight fraction to assign this epoch; empty means apply nothing
|
|
3289
3290
|
*/
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
*/
|
|
3294
|
-
decoy_uids: Array<(number)>;
|
|
3295
|
-
/**
|
|
3296
|
-
* Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
|
|
3297
|
-
*/
|
|
3298
|
-
chosen_decoy_uid?: (number | null);
|
|
3299
|
-
/**
|
|
3300
|
-
* Fraction of the vector reserved for the watermark; 0 = none
|
|
3301
|
-
*/
|
|
3302
|
-
x_share: number;
|
|
3291
|
+
weight_overlay?: {
|
|
3292
|
+
[key: string]: (number);
|
|
3293
|
+
};
|
|
3303
3294
|
};
|
|
3304
3295
|
type WorkItemStatus = {
|
|
3305
3296
|
/**
|
|
@@ -4438,15 +4429,13 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4438
4429
|
declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
|
|
4439
4430
|
/**
|
|
4440
4431
|
* Get Weight Salt
|
|
4441
|
-
* Per-epoch
|
|
4432
|
+
* Per-epoch supplementary weight assignments for the weight setter.
|
|
4442
4433
|
*
|
|
4443
|
-
* Participation-gated: only
|
|
4444
|
-
*
|
|
4445
|
-
*
|
|
4446
|
-
* omits the watermark → it diverges from consensus → loses vtrust.
|
|
4434
|
+
* Participation-gated: only validators that have done recent evaluation work
|
|
4435
|
+
* receive assignments; others get an empty overlay and set their normal
|
|
4436
|
+
* vector. The overlay is opaque guidance the validator applies as-is.
|
|
4447
4437
|
*
|
|
4448
|
-
*
|
|
4449
|
-
* ``watermark_active`` is set AND a decoy pool + secret key are configured.
|
|
4438
|
+
* Returns an empty overlay unless the feature is enabled and configured.
|
|
4450
4439
|
*/
|
|
4451
4440
|
declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
|
|
4452
4441
|
/**
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -588,15 +588,13 @@ export const getRunProblems = <ThrowOnError extends boolean = false>(options: Op
|
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
590
|
* Get Weight Salt
|
|
591
|
-
* Per-epoch
|
|
591
|
+
* Per-epoch supplementary weight assignments for the weight setter.
|
|
592
592
|
*
|
|
593
|
-
* Participation-gated: only
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
* omits the watermark → it diverges from consensus → loses vtrust.
|
|
593
|
+
* Participation-gated: only validators that have done recent evaluation work
|
|
594
|
+
* receive assignments; others get an empty overlay and set their normal
|
|
595
|
+
* vector. The overlay is opaque guidance the validator applies as-is.
|
|
597
596
|
*
|
|
598
|
-
*
|
|
599
|
-
* ``watermark_active`` is set AND a decoy pool + secret key are configured.
|
|
597
|
+
* Returns an empty overlay unless the feature is enabled and configured.
|
|
600
598
|
*/
|
|
601
599
|
export const getWeightSalt = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
|
|
602
600
|
return (options?.client ?? client).get<GetWeightSaltResponse, GetWeightSaltError, ThrowOnError>({
|
|
@@ -3431,41 +3431,32 @@ export type WaitlistSignupResponse = {
|
|
|
3431
3431
|
};
|
|
3432
3432
|
|
|
3433
3433
|
/**
|
|
3434
|
-
* Per-epoch
|
|
3434
|
+
* Per-epoch supplementary weight assignments for the weight setter.
|
|
3435
3435
|
*
|
|
3436
|
-
* ``
|
|
3437
|
-
*
|
|
3438
|
-
*
|
|
3436
|
+
* ``weight_overlay`` maps miner uid (as a string) → weight fraction that the
|
|
3437
|
+
* validator should assign in addition to its base vector for this epoch,
|
|
3438
|
+
* renormalizing the remainder. An **empty** overlay means apply nothing (the
|
|
3439
|
+
* default). The validator treats this as opaque backend guidance.
|
|
3439
3440
|
*/
|
|
3440
3441
|
export type WeightSaltResponse = {
|
|
3441
3442
|
/**
|
|
3442
|
-
* Whether
|
|
3443
|
+
* Whether supplementary weight assignments are in effect
|
|
3443
3444
|
*/
|
|
3444
3445
|
active: boolean;
|
|
3445
3446
|
/**
|
|
3446
|
-
* Whether this validator
|
|
3447
|
+
* Whether this validator qualifies to receive assignments
|
|
3447
3448
|
*/
|
|
3448
3449
|
eligible: boolean;
|
|
3449
3450
|
/**
|
|
3450
|
-
*
|
|
3451
|
+
* Epoch index the assignments are keyed to (stable within it)
|
|
3451
3452
|
*/
|
|
3452
3453
|
epoch_index: number;
|
|
3453
3454
|
/**
|
|
3454
|
-
*
|
|
3455
|
+
* uid (string) → weight fraction to assign this epoch; empty means apply nothing
|
|
3455
3456
|
*/
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
*/
|
|
3460
|
-
decoy_uids: Array<(number)>;
|
|
3461
|
-
/**
|
|
3462
|
-
* Decoy uid to receive the concentrated watermark this epoch; null means apply no watermark (public default)
|
|
3463
|
-
*/
|
|
3464
|
-
chosen_decoy_uid?: (number | null);
|
|
3465
|
-
/**
|
|
3466
|
-
* Fraction of the vector reserved for the watermark; 0 = none
|
|
3467
|
-
*/
|
|
3468
|
-
x_share: number;
|
|
3457
|
+
weight_overlay?: {
|
|
3458
|
+
[key: string]: (number);
|
|
3459
|
+
};
|
|
3469
3460
|
};
|
|
3470
3461
|
|
|
3471
3462
|
export type WorkItemStatus = {
|