@satrush/api 0.1.11 → 0.1.12
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 +4 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -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()
|
package/dist/index.d.cts
CHANGED
|
@@ -1203,6 +1203,11 @@ type RoundHistoryDto = {
|
|
|
1203
1203
|
* Round id; the pagination cursor.
|
|
1204
1204
|
*/
|
|
1205
1205
|
id: number;
|
|
1206
|
+
/**
|
|
1207
|
+
* Whether the round ran under the post-strike hashrate boost (stamped
|
|
1208
|
+
* at creation); unset for rounds created before the strike rollover.
|
|
1209
|
+
*/
|
|
1210
|
+
isHashrateBoosted?: boolean | null;
|
|
1206
1211
|
/**
|
|
1207
1212
|
* Whether the reveal triggered the sat strike; unset until revealed.
|
|
1208
1213
|
*/
|
|
@@ -2772,6 +2777,7 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
2772
2777
|
*/
|
|
2773
2778
|
declare const zRoundHistoryDto: z.ZodObject<{
|
|
2774
2779
|
id: z.ZodInt;
|
|
2780
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2775
2781
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2776
2782
|
minersCount: z.ZodInt;
|
|
2777
2783
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4168,6 +4174,7 @@ declare const zGetRoundsData: z.ZodObject<{
|
|
|
4168
4174
|
declare const zGetRoundsResponse: z.ZodObject<{
|
|
4169
4175
|
data: z.ZodArray<z.ZodObject<{
|
|
4170
4176
|
id: z.ZodInt;
|
|
4177
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4171
4178
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4172
4179
|
minersCount: z.ZodInt;
|
|
4173
4180
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1203,6 +1203,11 @@ type RoundHistoryDto = {
|
|
|
1203
1203
|
* Round id; the pagination cursor.
|
|
1204
1204
|
*/
|
|
1205
1205
|
id: number;
|
|
1206
|
+
/**
|
|
1207
|
+
* Whether the round ran under the post-strike hashrate boost (stamped
|
|
1208
|
+
* at creation); unset for rounds created before the strike rollover.
|
|
1209
|
+
*/
|
|
1210
|
+
isHashrateBoosted?: boolean | null;
|
|
1206
1211
|
/**
|
|
1207
1212
|
* Whether the reveal triggered the sat strike; unset until revealed.
|
|
1208
1213
|
*/
|
|
@@ -2772,6 +2777,7 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
2772
2777
|
*/
|
|
2773
2778
|
declare const zRoundHistoryDto: z.ZodObject<{
|
|
2774
2779
|
id: z.ZodInt;
|
|
2780
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2775
2781
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2776
2782
|
minersCount: z.ZodInt;
|
|
2777
2783
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4168,6 +4174,7 @@ declare const zGetRoundsData: z.ZodObject<{
|
|
|
4168
4174
|
declare const zGetRoundsResponse: z.ZodObject<{
|
|
4169
4175
|
data: z.ZodArray<z.ZodObject<{
|
|
4170
4176
|
id: z.ZodInt;
|
|
4177
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4171
4178
|
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4172
4179
|
minersCount: z.ZodInt;
|
|
4173
4180
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
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()
|