@oro-ai/sdk 1.0.95 → 1.0.96
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 +21 -23
- package/dist/index.d.ts +21 -23
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -6
- package/src/generated/types.gen.ts +16 -17
package/dist/index.d.mts
CHANGED
|
@@ -3342,40 +3342,39 @@ type WaitlistSignupResponse = {
|
|
|
3342
3342
|
success: boolean;
|
|
3343
3343
|
};
|
|
3344
3344
|
/**
|
|
3345
|
-
* Per-epoch
|
|
3345
|
+
* Per-epoch base standings for the weight setter (ORO-1704).
|
|
3346
3346
|
*
|
|
3347
|
-
* ``
|
|
3348
|
-
*
|
|
3349
|
-
*
|
|
3350
|
-
*
|
|
3347
|
+
* ``epoch_standings`` is the epoch-pinned base vector input: the validator
|
|
3348
|
+
* builds its base vector from it so all honest validators in the epoch stay
|
|
3349
|
+
* byte-identical. **None** means it couldn't be resolved this tick (e.g. chain
|
|
3350
|
+
* unreadable); the validator retains its last-good weights.
|
|
3351
3351
|
*
|
|
3352
|
-
* ``
|
|
3353
|
-
*
|
|
3354
|
-
*
|
|
3355
|
-
*
|
|
3356
|
-
* fetch (today's behavior), the consensus-safe default.
|
|
3352
|
+
* ``active`` / ``eligible`` / ``weight_overlay`` are **deprecated** — the
|
|
3353
|
+
* ORO-1649 watermark decoy-overlay was removed. They are retained (empty /
|
|
3354
|
+
* False) only for response-shape compatibility with older clients and will be
|
|
3355
|
+
* dropped in a coordinated SDK + validator release.
|
|
3357
3356
|
*/
|
|
3358
3357
|
type WeightSaltResponse = {
|
|
3359
3358
|
/**
|
|
3360
|
-
*
|
|
3359
|
+
* Deprecated (watermark removed)
|
|
3361
3360
|
*/
|
|
3362
|
-
active
|
|
3361
|
+
active?: boolean;
|
|
3363
3362
|
/**
|
|
3364
|
-
*
|
|
3363
|
+
* Deprecated (watermark removed)
|
|
3365
3364
|
*/
|
|
3366
|
-
eligible
|
|
3365
|
+
eligible?: boolean;
|
|
3367
3366
|
/**
|
|
3368
|
-
* Epoch index the
|
|
3367
|
+
* Epoch index the standings are keyed to (stable within it)
|
|
3369
3368
|
*/
|
|
3370
3369
|
epoch_index: number;
|
|
3371
3370
|
/**
|
|
3372
|
-
*
|
|
3371
|
+
* Deprecated (watermark removed); always empty
|
|
3373
3372
|
*/
|
|
3374
3373
|
weight_overlay?: {
|
|
3375
3374
|
[key: string]: (number);
|
|
3376
3375
|
};
|
|
3377
3376
|
/**
|
|
3378
|
-
* Epoch-pinned base standings (ORO-1704); None
|
|
3377
|
+
* Epoch-pinned base standings (ORO-1704); None if unresolved this tick
|
|
3379
3378
|
*/
|
|
3380
3379
|
epoch_standings?: (EpochStandings | null);
|
|
3381
3380
|
};
|
|
@@ -4541,13 +4540,12 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4541
4540
|
declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
|
|
4542
4541
|
/**
|
|
4543
4542
|
* Get Weight Salt
|
|
4544
|
-
* Per-epoch
|
|
4545
|
-
*
|
|
4546
|
-
* Participation-gated: only validators that have done recent evaluation work
|
|
4547
|
-
* receive assignments; others get an empty overlay and set their normal
|
|
4548
|
-
* vector. The overlay is opaque guidance the validator applies as-is.
|
|
4543
|
+
* Per-epoch base standings for the weight setter (ORO-1704).
|
|
4549
4544
|
*
|
|
4550
|
-
*
|
|
4545
|
+
* Serves the epoch-pinned base standings (top designation + finisher tail)
|
|
4546
|
+
* snapshotted once per epoch, so every honest validator in the epoch builds the
|
|
4547
|
+
* identical base vector regardless of tick phase. (The ORO-1649 watermark
|
|
4548
|
+
* decoy-overlay was removed — we rely on the chain's anti-copy features.)
|
|
4551
4549
|
*/
|
|
4552
4550
|
declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
|
|
4553
4551
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3342,40 +3342,39 @@ type WaitlistSignupResponse = {
|
|
|
3342
3342
|
success: boolean;
|
|
3343
3343
|
};
|
|
3344
3344
|
/**
|
|
3345
|
-
* Per-epoch
|
|
3345
|
+
* Per-epoch base standings for the weight setter (ORO-1704).
|
|
3346
3346
|
*
|
|
3347
|
-
* ``
|
|
3348
|
-
*
|
|
3349
|
-
*
|
|
3350
|
-
*
|
|
3347
|
+
* ``epoch_standings`` is the epoch-pinned base vector input: the validator
|
|
3348
|
+
* builds its base vector from it so all honest validators in the epoch stay
|
|
3349
|
+
* byte-identical. **None** means it couldn't be resolved this tick (e.g. chain
|
|
3350
|
+
* unreadable); the validator retains its last-good weights.
|
|
3351
3351
|
*
|
|
3352
|
-
* ``
|
|
3353
|
-
*
|
|
3354
|
-
*
|
|
3355
|
-
*
|
|
3356
|
-
* fetch (today's behavior), the consensus-safe default.
|
|
3352
|
+
* ``active`` / ``eligible`` / ``weight_overlay`` are **deprecated** — the
|
|
3353
|
+
* ORO-1649 watermark decoy-overlay was removed. They are retained (empty /
|
|
3354
|
+
* False) only for response-shape compatibility with older clients and will be
|
|
3355
|
+
* dropped in a coordinated SDK + validator release.
|
|
3357
3356
|
*/
|
|
3358
3357
|
type WeightSaltResponse = {
|
|
3359
3358
|
/**
|
|
3360
|
-
*
|
|
3359
|
+
* Deprecated (watermark removed)
|
|
3361
3360
|
*/
|
|
3362
|
-
active
|
|
3361
|
+
active?: boolean;
|
|
3363
3362
|
/**
|
|
3364
|
-
*
|
|
3363
|
+
* Deprecated (watermark removed)
|
|
3365
3364
|
*/
|
|
3366
|
-
eligible
|
|
3365
|
+
eligible?: boolean;
|
|
3367
3366
|
/**
|
|
3368
|
-
* Epoch index the
|
|
3367
|
+
* Epoch index the standings are keyed to (stable within it)
|
|
3369
3368
|
*/
|
|
3370
3369
|
epoch_index: number;
|
|
3371
3370
|
/**
|
|
3372
|
-
*
|
|
3371
|
+
* Deprecated (watermark removed); always empty
|
|
3373
3372
|
*/
|
|
3374
3373
|
weight_overlay?: {
|
|
3375
3374
|
[key: string]: (number);
|
|
3376
3375
|
};
|
|
3377
3376
|
/**
|
|
3378
|
-
* Epoch-pinned base standings (ORO-1704); None
|
|
3377
|
+
* Epoch-pinned base standings (ORO-1704); None if unresolved this tick
|
|
3379
3378
|
*/
|
|
3380
3379
|
epoch_standings?: (EpochStandings | null);
|
|
3381
3380
|
};
|
|
@@ -4541,13 +4540,12 @@ declare const completeRun: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4541
4540
|
declare const getRunProblems: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetRunProblemsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RunProblemsResponse, GetRunProblemsError, ThrowOnError>;
|
|
4542
4541
|
/**
|
|
4543
4542
|
* Get Weight Salt
|
|
4544
|
-
* Per-epoch
|
|
4545
|
-
*
|
|
4546
|
-
* Participation-gated: only validators that have done recent evaluation work
|
|
4547
|
-
* receive assignments; others get an empty overlay and set their normal
|
|
4548
|
-
* vector. The overlay is opaque guidance the validator applies as-is.
|
|
4543
|
+
* Per-epoch base standings for the weight setter (ORO-1704).
|
|
4549
4544
|
*
|
|
4550
|
-
*
|
|
4545
|
+
* Serves the epoch-pinned base standings (top designation + finisher tail)
|
|
4546
|
+
* snapshotted once per epoch, so every honest validator in the epoch builds the
|
|
4547
|
+
* identical base vector regardless of tick phase. (The ORO-1649 watermark
|
|
4548
|
+
* decoy-overlay was removed — we rely on the chain's anti-copy features.)
|
|
4551
4549
|
*/
|
|
4552
4550
|
declare const getWeightSalt: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WeightSaltResponse, unknown, ThrowOnError>;
|
|
4553
4551
|
/**
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -588,13 +588,12 @@ export const getRunProblems = <ThrowOnError extends boolean = false>(options: Op
|
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
590
|
* Get Weight Salt
|
|
591
|
-
* Per-epoch
|
|
591
|
+
* Per-epoch base standings for the weight setter (ORO-1704).
|
|
592
592
|
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
*
|
|
597
|
-
* Returns an empty overlay unless the feature is enabled and configured.
|
|
593
|
+
* Serves the epoch-pinned base standings (top designation + finisher tail)
|
|
594
|
+
* snapshotted once per epoch, so every honest validator in the epoch builds the
|
|
595
|
+
* identical base vector regardless of tick phase. (The ORO-1649 watermark
|
|
596
|
+
* decoy-overlay was removed — we rely on the chain's anti-copy features.)
|
|
598
597
|
*/
|
|
599
598
|
export const getWeightSalt = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
|
|
600
599
|
return (options?.client ?? client).get<GetWeightSaltResponse, GetWeightSaltError, ThrowOnError>({
|
|
@@ -3511,40 +3511,39 @@ export type WaitlistSignupResponse = {
|
|
|
3511
3511
|
};
|
|
3512
3512
|
|
|
3513
3513
|
/**
|
|
3514
|
-
* Per-epoch
|
|
3514
|
+
* Per-epoch base standings for the weight setter (ORO-1704).
|
|
3515
3515
|
*
|
|
3516
|
-
* ``
|
|
3517
|
-
*
|
|
3518
|
-
*
|
|
3519
|
-
*
|
|
3516
|
+
* ``epoch_standings`` is the epoch-pinned base vector input: the validator
|
|
3517
|
+
* builds its base vector from it so all honest validators in the epoch stay
|
|
3518
|
+
* byte-identical. **None** means it couldn't be resolved this tick (e.g. chain
|
|
3519
|
+
* unreadable); the validator retains its last-good weights.
|
|
3520
3520
|
*
|
|
3521
|
-
* ``
|
|
3522
|
-
*
|
|
3523
|
-
*
|
|
3524
|
-
*
|
|
3525
|
-
* fetch (today's behavior), the consensus-safe default.
|
|
3521
|
+
* ``active`` / ``eligible`` / ``weight_overlay`` are **deprecated** — the
|
|
3522
|
+
* ORO-1649 watermark decoy-overlay was removed. They are retained (empty /
|
|
3523
|
+
* False) only for response-shape compatibility with older clients and will be
|
|
3524
|
+
* dropped in a coordinated SDK + validator release.
|
|
3526
3525
|
*/
|
|
3527
3526
|
export type WeightSaltResponse = {
|
|
3528
3527
|
/**
|
|
3529
|
-
*
|
|
3528
|
+
* Deprecated (watermark removed)
|
|
3530
3529
|
*/
|
|
3531
|
-
active
|
|
3530
|
+
active?: boolean;
|
|
3532
3531
|
/**
|
|
3533
|
-
*
|
|
3532
|
+
* Deprecated (watermark removed)
|
|
3534
3533
|
*/
|
|
3535
|
-
eligible
|
|
3534
|
+
eligible?: boolean;
|
|
3536
3535
|
/**
|
|
3537
|
-
* Epoch index the
|
|
3536
|
+
* Epoch index the standings are keyed to (stable within it)
|
|
3538
3537
|
*/
|
|
3539
3538
|
epoch_index: number;
|
|
3540
3539
|
/**
|
|
3541
|
-
*
|
|
3540
|
+
* Deprecated (watermark removed); always empty
|
|
3542
3541
|
*/
|
|
3543
3542
|
weight_overlay?: {
|
|
3544
3543
|
[key: string]: (number);
|
|
3545
3544
|
};
|
|
3546
3545
|
/**
|
|
3547
|
-
* Epoch-pinned base standings (ORO-1704); None
|
|
3546
|
+
* Epoch-pinned base standings (ORO-1704); None if unresolved this tick
|
|
3548
3547
|
*/
|
|
3549
3548
|
epoch_standings?: (EpochStandings | null);
|
|
3550
3549
|
};
|