@satrush/api 0.1.12 → 0.1.13
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.cjs +1 -0
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2121,6 +2121,7 @@ var zBoardDto = z.object({
|
|
|
2121
2121
|
currentSlot: zU64Dto,
|
|
2122
2122
|
endSlot: zU64Dto,
|
|
2123
2123
|
epochVault: zEpochVaultDto,
|
|
2124
|
+
hashrateBoostRoundsRemaining: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2124
2125
|
oneBtcVault: zOneBtcVaultDto,
|
|
2125
2126
|
previousRound: z.optional(z.union([
|
|
2126
2127
|
z.null(),
|
package/dist/index.d.cts
CHANGED
|
@@ -347,6 +347,11 @@ type BoardDto = {
|
|
|
347
347
|
* The epoch vault and its current iteration.
|
|
348
348
|
*/
|
|
349
349
|
epochVault: EpochVaultDto;
|
|
350
|
+
/**
|
|
351
|
+
* Rounds still running under the post-strike hashrate boost, counting
|
|
352
|
+
* the current round; 0 when no boost is active.
|
|
353
|
+
*/
|
|
354
|
+
hashrateBoostRoundsRemaining: number;
|
|
350
355
|
/**
|
|
351
356
|
* The 1 BTC vault and its current iteration.
|
|
352
357
|
*/
|
|
@@ -2943,6 +2948,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
2943
2948
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2944
2949
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2945
2950
|
}, z.core.$strip>;
|
|
2951
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
2946
2952
|
oneBtcVault: z.ZodObject<{
|
|
2947
2953
|
address: z.ZodString;
|
|
2948
2954
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3082,6 +3088,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3082
3088
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3083
3089
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3084
3090
|
}, z.core.$strip>;
|
|
3091
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3085
3092
|
oneBtcVault: z.ZodObject<{
|
|
3086
3093
|
address: z.ZodString;
|
|
3087
3094
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3284,6 +3291,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3284
3291
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3285
3292
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3286
3293
|
}, z.core.$strip>;
|
|
3294
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3287
3295
|
oneBtcVault: z.ZodObject<{
|
|
3288
3296
|
address: z.ZodString;
|
|
3289
3297
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3492,6 +3500,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3492
3500
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3493
3501
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3494
3502
|
}, z.core.$strip>;
|
|
3503
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3495
3504
|
oneBtcVault: z.ZodObject<{
|
|
3496
3505
|
address: z.ZodString;
|
|
3497
3506
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3944,6 +3953,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
3944
3953
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3945
3954
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3946
3955
|
}, z.core.$strip>;
|
|
3956
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3947
3957
|
oneBtcVault: z.ZodObject<{
|
|
3948
3958
|
address: z.ZodString;
|
|
3949
3959
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4279,6 +4289,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4279
4289
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4280
4290
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4281
4291
|
}, z.core.$strip>;
|
|
4292
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
4282
4293
|
oneBtcVault: z.ZodObject<{
|
|
4283
4294
|
address: z.ZodString;
|
|
4284
4295
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -347,6 +347,11 @@ type BoardDto = {
|
|
|
347
347
|
* The epoch vault and its current iteration.
|
|
348
348
|
*/
|
|
349
349
|
epochVault: EpochVaultDto;
|
|
350
|
+
/**
|
|
351
|
+
* Rounds still running under the post-strike hashrate boost, counting
|
|
352
|
+
* the current round; 0 when no boost is active.
|
|
353
|
+
*/
|
|
354
|
+
hashrateBoostRoundsRemaining: number;
|
|
350
355
|
/**
|
|
351
356
|
* The 1 BTC vault and its current iteration.
|
|
352
357
|
*/
|
|
@@ -2943,6 +2948,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
2943
2948
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2944
2949
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2945
2950
|
}, z.core.$strip>;
|
|
2951
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
2946
2952
|
oneBtcVault: z.ZodObject<{
|
|
2947
2953
|
address: z.ZodString;
|
|
2948
2954
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3082,6 +3088,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3082
3088
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3083
3089
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3084
3090
|
}, z.core.$strip>;
|
|
3091
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3085
3092
|
oneBtcVault: z.ZodObject<{
|
|
3086
3093
|
address: z.ZodString;
|
|
3087
3094
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3284,6 +3291,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3284
3291
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3285
3292
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3286
3293
|
}, z.core.$strip>;
|
|
3294
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3287
3295
|
oneBtcVault: z.ZodObject<{
|
|
3288
3296
|
address: z.ZodString;
|
|
3289
3297
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3492,6 +3500,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3492
3500
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3493
3501
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3494
3502
|
}, z.core.$strip>;
|
|
3503
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3495
3504
|
oneBtcVault: z.ZodObject<{
|
|
3496
3505
|
address: z.ZodString;
|
|
3497
3506
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3944,6 +3953,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
3944
3953
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3945
3954
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3946
3955
|
}, z.core.$strip>;
|
|
3956
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3947
3957
|
oneBtcVault: z.ZodObject<{
|
|
3948
3958
|
address: z.ZodString;
|
|
3949
3959
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4279,6 +4289,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4279
4289
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4280
4290
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4281
4291
|
}, z.core.$strip>;
|
|
4292
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
4282
4293
|
oneBtcVault: z.ZodObject<{
|
|
4283
4294
|
address: z.ZodString;
|
|
4284
4295
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
package/dist/index.js
CHANGED
|
@@ -1952,6 +1952,7 @@ var zBoardDto = z.object({
|
|
|
1952
1952
|
currentSlot: zU64Dto,
|
|
1953
1953
|
endSlot: zU64Dto,
|
|
1954
1954
|
epochVault: zEpochVaultDto,
|
|
1955
|
+
hashrateBoostRoundsRemaining: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1955
1956
|
oneBtcVault: zOneBtcVaultDto,
|
|
1956
1957
|
previousRound: z.optional(z.union([
|
|
1957
1958
|
z.null(),
|