@satrush/api 0.1.11 → 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 +5 -0
- package/dist/index.d.cts +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1986,6 +1986,10 @@ var zProfileDto = z.object({
|
|
|
1986
1986
|
});
|
|
1987
1987
|
var zRoundHistoryDto = z.object({
|
|
1988
1988
|
id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1989
|
+
isHashrateBoosted: z.optional(z.union([
|
|
1990
|
+
z.boolean(),
|
|
1991
|
+
z.null()
|
|
1992
|
+
])),
|
|
1989
1993
|
isSatStrike: z.optional(z.union([
|
|
1990
1994
|
z.boolean(),
|
|
1991
1995
|
z.null()
|
|
@@ -2117,6 +2121,7 @@ var zBoardDto = z.object({
|
|
|
2117
2121
|
currentSlot: zU64Dto,
|
|
2118
2122
|
endSlot: zU64Dto,
|
|
2119
2123
|
epochVault: zEpochVaultDto,
|
|
2124
|
+
hashrateBoostRoundsRemaining: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2120
2125
|
oneBtcVault: zOneBtcVaultDto,
|
|
2121
2126
|
previousRound: z.optional(z.union([
|
|
2122
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
|
*/
|
|
@@ -1203,6 +1208,11 @@ type RoundHistoryDto = {
|
|
|
1203
1208
|
* Round id; the pagination cursor.
|
|
1204
1209
|
*/
|
|
1205
1210
|
id: number;
|
|
1211
|
+
/**
|
|
1212
|
+
* Whether the round ran under the post-strike hashrate boost (stamped
|
|
1213
|
+
* at creation); unset for rounds created before the strike rollover.
|
|
1214
|
+
*/
|
|
1215
|
+
isHashrateBoosted?: boolean | null;
|
|
1206
1216
|
/**
|
|
1207
1217
|
* Whether the reveal triggered the sat strike; unset until revealed.
|
|
1208
1218
|
*/
|
|
@@ -2772,6 +2782,7 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
2772
2782
|
*/
|
|
2773
2783
|
declare const zRoundHistoryDto: z.ZodObject<{
|
|
2774
2784
|
id: z.ZodInt;
|
|
2785
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2775
2786
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2776
2787
|
minersCount: z.ZodInt;
|
|
2777
2788
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -2937,6 +2948,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
2937
2948
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2938
2949
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2939
2950
|
}, z.core.$strip>;
|
|
2951
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
2940
2952
|
oneBtcVault: z.ZodObject<{
|
|
2941
2953
|
address: z.ZodString;
|
|
2942
2954
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3076,6 +3088,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3076
3088
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3077
3089
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3078
3090
|
}, z.core.$strip>;
|
|
3091
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3079
3092
|
oneBtcVault: z.ZodObject<{
|
|
3080
3093
|
address: z.ZodString;
|
|
3081
3094
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3278,6 +3291,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3278
3291
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3279
3292
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3280
3293
|
}, z.core.$strip>;
|
|
3294
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3281
3295
|
oneBtcVault: z.ZodObject<{
|
|
3282
3296
|
address: z.ZodString;
|
|
3283
3297
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3486,6 +3500,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3486
3500
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3487
3501
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3488
3502
|
}, z.core.$strip>;
|
|
3503
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3489
3504
|
oneBtcVault: z.ZodObject<{
|
|
3490
3505
|
address: z.ZodString;
|
|
3491
3506
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3938,6 +3953,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
3938
3953
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3939
3954
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3940
3955
|
}, z.core.$strip>;
|
|
3956
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3941
3957
|
oneBtcVault: z.ZodObject<{
|
|
3942
3958
|
address: z.ZodString;
|
|
3943
3959
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4168,6 +4184,7 @@ declare const zGetRoundsData: z.ZodObject<{
|
|
|
4168
4184
|
declare const zGetRoundsResponse: z.ZodObject<{
|
|
4169
4185
|
data: z.ZodArray<z.ZodObject<{
|
|
4170
4186
|
id: z.ZodInt;
|
|
4187
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4171
4188
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4172
4189
|
minersCount: z.ZodInt;
|
|
4173
4190
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4272,6 +4289,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4272
4289
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4273
4290
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4274
4291
|
}, z.core.$strip>;
|
|
4292
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
4275
4293
|
oneBtcVault: z.ZodObject<{
|
|
4276
4294
|
address: z.ZodString;
|
|
4277
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
|
*/
|
|
@@ -1203,6 +1208,11 @@ type RoundHistoryDto = {
|
|
|
1203
1208
|
* Round id; the pagination cursor.
|
|
1204
1209
|
*/
|
|
1205
1210
|
id: number;
|
|
1211
|
+
/**
|
|
1212
|
+
* Whether the round ran under the post-strike hashrate boost (stamped
|
|
1213
|
+
* at creation); unset for rounds created before the strike rollover.
|
|
1214
|
+
*/
|
|
1215
|
+
isHashrateBoosted?: boolean | null;
|
|
1206
1216
|
/**
|
|
1207
1217
|
* Whether the reveal triggered the sat strike; unset until revealed.
|
|
1208
1218
|
*/
|
|
@@ -2772,6 +2782,7 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
2772
2782
|
*/
|
|
2773
2783
|
declare const zRoundHistoryDto: z.ZodObject<{
|
|
2774
2784
|
id: z.ZodInt;
|
|
2785
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2775
2786
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2776
2787
|
minersCount: z.ZodInt;
|
|
2777
2788
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -2937,6 +2948,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
2937
2948
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2938
2949
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2939
2950
|
}, z.core.$strip>;
|
|
2951
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
2940
2952
|
oneBtcVault: z.ZodObject<{
|
|
2941
2953
|
address: z.ZodString;
|
|
2942
2954
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3076,6 +3088,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
3076
3088
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3077
3089
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3078
3090
|
}, z.core.$strip>;
|
|
3091
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3079
3092
|
oneBtcVault: z.ZodObject<{
|
|
3080
3093
|
address: z.ZodString;
|
|
3081
3094
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3278,6 +3291,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
3278
3291
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3279
3292
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3280
3293
|
}, z.core.$strip>;
|
|
3294
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3281
3295
|
oneBtcVault: z.ZodObject<{
|
|
3282
3296
|
address: z.ZodString;
|
|
3283
3297
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3486,6 +3500,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
3486
3500
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3487
3501
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3488
3502
|
}, z.core.$strip>;
|
|
3503
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3489
3504
|
oneBtcVault: z.ZodObject<{
|
|
3490
3505
|
address: z.ZodString;
|
|
3491
3506
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3938,6 +3953,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
3938
3953
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3939
3954
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3940
3955
|
}, z.core.$strip>;
|
|
3956
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
3941
3957
|
oneBtcVault: z.ZodObject<{
|
|
3942
3958
|
address: z.ZodString;
|
|
3943
3959
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4168,6 +4184,7 @@ declare const zGetRoundsData: z.ZodObject<{
|
|
|
4168
4184
|
declare const zGetRoundsResponse: z.ZodObject<{
|
|
4169
4185
|
data: z.ZodArray<z.ZodObject<{
|
|
4170
4186
|
id: z.ZodInt;
|
|
4187
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4171
4188
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4172
4189
|
minersCount: z.ZodInt;
|
|
4173
4190
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4272,6 +4289,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
4272
4289
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4273
4290
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4274
4291
|
}, z.core.$strip>;
|
|
4292
|
+
hashrateBoostRoundsRemaining: z.ZodInt;
|
|
4275
4293
|
oneBtcVault: z.ZodObject<{
|
|
4276
4294
|
address: z.ZodString;
|
|
4277
4295
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
package/dist/index.js
CHANGED
|
@@ -1817,6 +1817,10 @@ var zProfileDto = z.object({
|
|
|
1817
1817
|
});
|
|
1818
1818
|
var zRoundHistoryDto = z.object({
|
|
1819
1819
|
id: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1820
|
+
isHashrateBoosted: z.optional(z.union([
|
|
1821
|
+
z.boolean(),
|
|
1822
|
+
z.null()
|
|
1823
|
+
])),
|
|
1820
1824
|
isSatStrike: z.optional(z.union([
|
|
1821
1825
|
z.boolean(),
|
|
1822
1826
|
z.null()
|
|
@@ -1948,6 +1952,7 @@ var zBoardDto = z.object({
|
|
|
1948
1952
|
currentSlot: zU64Dto,
|
|
1949
1953
|
endSlot: zU64Dto,
|
|
1950
1954
|
epochVault: zEpochVaultDto,
|
|
1955
|
+
hashrateBoostRoundsRemaining: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1951
1956
|
oneBtcVault: zOneBtcVaultDto,
|
|
1952
1957
|
previousRound: z.optional(z.union([
|
|
1953
1958
|
z.null(),
|