@satrush/api 0.1.27 → 0.1.28

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 CHANGED
@@ -1446,6 +1446,7 @@ var leaderboardPageEntryDtoSchemaResponseTransformer = (data) => {
1446
1446
  data.totalHashrateEarned = u64DtoSchemaResponseTransformer(data.totalHashrateEarned);
1447
1447
  data.totalSatsEarned = u64DtoSchemaResponseTransformer(data.totalSatsEarned);
1448
1448
  data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
1449
+ data.totalTokenMined = u64DtoSchemaResponseTransformer(data.totalTokenMined);
1449
1450
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1450
1451
  return data;
1451
1452
  };
@@ -1492,6 +1493,7 @@ var walletLeaderboardDtoSchemaResponseTransformer = (data) => {
1492
1493
  data.totalHashrateEarned = u64DtoSchemaResponseTransformer(data.totalHashrateEarned);
1493
1494
  data.totalSatsEarned = u64DtoSchemaResponseTransformer(data.totalSatsEarned);
1494
1495
  data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
1496
+ data.totalTokenMined = u64DtoSchemaResponseTransformer(data.totalTokenMined);
1495
1497
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1496
1498
  data.updatedAt = new Date(data.updatedAt);
1497
1499
  return data;
@@ -2062,7 +2064,8 @@ var zLeaderboardRanksDto = z.object({
2062
2064
  satsEarned: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2063
2065
  score: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2064
2066
  staked: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2065
- streak: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
2067
+ streak: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2068
+ tokenMined: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
2066
2069
  });
2067
2070
  var zLeaderboardSortDto = z.enum([
2068
2071
  "score",
@@ -2071,7 +2074,8 @@ var zLeaderboardSortDto = z.enum([
2071
2074
  "sats_earned",
2072
2075
  "hashrate",
2073
2076
  "streak",
2074
- "staked"
2077
+ "staked",
2078
+ "token_mined"
2075
2079
  ]);
2076
2080
  var zNotificationEntity = z.enum(["state_snapshot"]);
2077
2081
  var zOneBtcHistoryApiError400InvalidRange = z.object({
@@ -2455,6 +2459,7 @@ var zLeaderboardPageEntryDto = z.object({
2455
2459
  totalRoundsPlayed: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2456
2460
  totalSatsEarned: zU64Dto,
2457
2461
  totalStaked: zU64Dto,
2462
+ totalTokenMined: zU64Dto,
2458
2463
  totalUsdDeployed: zU64Dto
2459
2464
  });
2460
2465
  var zLeaderboardPageDto = z.object({
@@ -3463,6 +3468,7 @@ var zWalletLeaderboardDto = z.object({
3463
3468
  totalRoundsPlayed: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
3464
3469
  totalSatsEarned: zU64Dto,
3465
3470
  totalStaked: zU64Dto,
3471
+ totalTokenMined: zU64Dto,
3466
3472
  totalUsdDeployed: zU64Dto,
3467
3473
  updatedAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime())
3468
3474
  });
@@ -4356,7 +4362,8 @@ var LeaderboardSortDto = {
4356
4362
  SATS_EARNED: "sats_earned",
4357
4363
  HASHRATE: "hashrate",
4358
4364
  STREAK: "streak",
4359
- STAKED: "staked"
4365
+ STAKED: "staked",
4366
+ TOKEN_MINED: "token_mined"
4360
4367
  };
4361
4368
  var NotificationEntity = { STATE_SNAPSHOT: "state_snapshot" };
4362
4369
  var OneBtcStateDto = {
package/dist/index.d.cts CHANGED
@@ -1004,9 +1004,10 @@ type LeaderboardPageEntryDto = {
1004
1004
  */
1005
1005
  rank: number;
1006
1006
  /**
1007
- * Composite activity score:
1008
- * `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
1009
- * whole dollars.
1007
+ * Composite activity score over the current season (Season 2, since
1008
+ * 2026-09-10T18:30:00Z): `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`,
1009
+ * with USD in whole dollars, every input counting that season's
1010
+ * deployments only. All other stats are lifetime.
1010
1011
  */
1011
1012
  score: number;
1012
1013
  /**
@@ -1029,6 +1030,12 @@ type LeaderboardPageEntryDto = {
1029
1030
  * Currently staked base units; 0 for a wallet that never staked.
1030
1031
  */
1031
1032
  totalStaked: U64Dto;
1033
+ /**
1034
+ * Lifetime SatRush tokens (base units) mined: the tokens deposited into
1035
+ * the Token Vault for the wallet's winnings across its settled
1036
+ * deployments.
1037
+ */
1038
+ totalTokenMined: U64Dto;
1032
1039
  /**
1033
1040
  * Lifetime gross USD deployed.
1034
1041
  */
@@ -1045,6 +1052,7 @@ type LeaderboardRanksDto = {
1045
1052
  score: number;
1046
1053
  staked: number;
1047
1054
  streak: number;
1055
+ tokenMined: number;
1048
1056
  };
1049
1057
  /**
1050
1058
  * Sort key of a general-leaderboard page; always descending.
@@ -1057,6 +1065,7 @@ declare const LeaderboardSortDto: {
1057
1065
  readonly HASHRATE: "hashrate";
1058
1066
  readonly STREAK: "streak";
1059
1067
  readonly STAKED: "staked";
1068
+ readonly TOKEN_MINED: "token_mined";
1060
1069
  };
1061
1070
  /**
1062
1071
  * Sort key of a general-leaderboard page; always descending.
@@ -2717,9 +2726,10 @@ type WalletLeaderboardDto = {
2717
2726
  maxStreak: number;
2718
2727
  ranks: LeaderboardRanksDto;
2719
2728
  /**
2720
- * Composite activity score:
2721
- * `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
2722
- * whole dollars.
2729
+ * Composite activity score over the current season (Season 2, since
2730
+ * 2026-09-10T18:30:00Z): `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`,
2731
+ * with USD in whole dollars, every input counting that season's
2732
+ * deployments only. All other stats are lifetime.
2723
2733
  */
2724
2734
  score: number;
2725
2735
  /**
@@ -2742,6 +2752,12 @@ type WalletLeaderboardDto = {
2742
2752
  * Currently staked base units; 0 for a wallet that never staked.
2743
2753
  */
2744
2754
  totalStaked: U64Dto;
2755
+ /**
2756
+ * Lifetime SatRush tokens (base units) mined: the tokens deposited into
2757
+ * the Token Vault for the wallet's winnings across its settled
2758
+ * deployments.
2759
+ */
2760
+ totalTokenMined: U64Dto;
2745
2761
  /**
2746
2762
  * Lifetime gross USD deployed.
2747
2763
  */
@@ -4031,6 +4047,7 @@ declare const zLeaderboardRanksDto: z.ZodObject<{
4031
4047
  score: z.ZodInt;
4032
4048
  staked: z.ZodInt;
4033
4049
  streak: z.ZodInt;
4050
+ tokenMined: z.ZodInt;
4034
4051
  }, z.core.$strip>;
4035
4052
  /**
4036
4053
  * Sort key of a general-leaderboard page; always descending.
@@ -4043,6 +4060,7 @@ declare const zLeaderboardSortDto: z.ZodEnum<{
4043
4060
  hashrate: "hashrate";
4044
4061
  streak: "streak";
4045
4062
  staked: "staked";
4063
+ token_mined: "token_mined";
4046
4064
  }>;
4047
4065
  declare const zNotificationEntity: z.ZodEnum<{
4048
4066
  state_snapshot: "state_snapshot";
@@ -4514,6 +4532,7 @@ declare const zLeaderboardPageEntryDto: z.ZodObject<{
4514
4532
  totalRoundsPlayed: z.ZodInt;
4515
4533
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4516
4534
  totalStaked: z.ZodCoercedBigInt<unknown>;
4535
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
4517
4536
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4518
4537
  }, z.core.$strip>;
4519
4538
  /**
@@ -4531,6 +4550,7 @@ declare const zLeaderboardPageDto: z.ZodObject<{
4531
4550
  totalRoundsPlayed: z.ZodInt;
4532
4551
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4533
4552
  totalStaked: z.ZodCoercedBigInt<unknown>;
4553
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
4534
4554
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4535
4555
  }, z.core.$strip>>;
4536
4556
  total: z.ZodInt;
@@ -6517,6 +6537,7 @@ declare const zWalletLeaderboardDto: z.ZodObject<{
6517
6537
  score: z.ZodInt;
6518
6538
  staked: z.ZodInt;
6519
6539
  streak: z.ZodInt;
6540
+ tokenMined: z.ZodInt;
6520
6541
  }, z.core.$strip>;
6521
6542
  score: z.ZodNumber;
6522
6543
  tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
@@ -6524,6 +6545,7 @@ declare const zWalletLeaderboardDto: z.ZodObject<{
6524
6545
  totalRoundsPlayed: z.ZodInt;
6525
6546
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
6526
6547
  totalStaked: z.ZodCoercedBigInt<unknown>;
6548
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
6527
6549
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
6528
6550
  updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
6529
6551
  }, z.core.$strip>;
@@ -6857,6 +6879,7 @@ declare const zGetLeaderboardData: z.ZodObject<{
6857
6879
  hashrate: "hashrate";
6858
6880
  streak: "streak";
6859
6881
  staked: "staked";
6882
+ token_mined: "token_mined";
6860
6883
  }>>;
6861
6884
  offset: z.ZodOptional<z.ZodInt>;
6862
6885
  limit: z.ZodOptional<z.ZodInt>;
@@ -6875,6 +6898,7 @@ declare const zGetLeaderboardResponse: z.ZodObject<{
6875
6898
  totalRoundsPlayed: z.ZodInt;
6876
6899
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
6877
6900
  totalStaked: z.ZodCoercedBigInt<unknown>;
6901
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
6878
6902
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
6879
6903
  }, z.core.$strip>>;
6880
6904
  total: z.ZodInt;
@@ -6974,6 +6998,7 @@ declare const zGetWalletLeaderboardResponse: z.ZodObject<{
6974
6998
  score: z.ZodInt;
6975
6999
  staked: z.ZodInt;
6976
7000
  streak: z.ZodInt;
7001
+ tokenMined: z.ZodInt;
6977
7002
  }, z.core.$strip>;
6978
7003
  score: z.ZodNumber;
6979
7004
  tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
@@ -6981,6 +7006,7 @@ declare const zGetWalletLeaderboardResponse: z.ZodObject<{
6981
7006
  totalRoundsPlayed: z.ZodInt;
6982
7007
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
6983
7008
  totalStaked: z.ZodCoercedBigInt<unknown>;
7009
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
6984
7010
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
6985
7011
  updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
6986
7012
  }, z.core.$strip>;
package/dist/index.d.ts CHANGED
@@ -1004,9 +1004,10 @@ type LeaderboardPageEntryDto = {
1004
1004
  */
1005
1005
  rank: number;
1006
1006
  /**
1007
- * Composite activity score:
1008
- * `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
1009
- * whole dollars.
1007
+ * Composite activity score over the current season (Season 2, since
1008
+ * 2026-09-10T18:30:00Z): `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`,
1009
+ * with USD in whole dollars, every input counting that season's
1010
+ * deployments only. All other stats are lifetime.
1010
1011
  */
1011
1012
  score: number;
1012
1013
  /**
@@ -1029,6 +1030,12 @@ type LeaderboardPageEntryDto = {
1029
1030
  * Currently staked base units; 0 for a wallet that never staked.
1030
1031
  */
1031
1032
  totalStaked: U64Dto;
1033
+ /**
1034
+ * Lifetime SatRush tokens (base units) mined: the tokens deposited into
1035
+ * the Token Vault for the wallet's winnings across its settled
1036
+ * deployments.
1037
+ */
1038
+ totalTokenMined: U64Dto;
1032
1039
  /**
1033
1040
  * Lifetime gross USD deployed.
1034
1041
  */
@@ -1045,6 +1052,7 @@ type LeaderboardRanksDto = {
1045
1052
  score: number;
1046
1053
  staked: number;
1047
1054
  streak: number;
1055
+ tokenMined: number;
1048
1056
  };
1049
1057
  /**
1050
1058
  * Sort key of a general-leaderboard page; always descending.
@@ -1057,6 +1065,7 @@ declare const LeaderboardSortDto: {
1057
1065
  readonly HASHRATE: "hashrate";
1058
1066
  readonly STREAK: "streak";
1059
1067
  readonly STAKED: "staked";
1068
+ readonly TOKEN_MINED: "token_mined";
1060
1069
  };
1061
1070
  /**
1062
1071
  * Sort key of a general-leaderboard page; always descending.
@@ -2717,9 +2726,10 @@ type WalletLeaderboardDto = {
2717
2726
  maxStreak: number;
2718
2727
  ranks: LeaderboardRanksDto;
2719
2728
  /**
2720
- * Composite activity score:
2721
- * `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
2722
- * whole dollars.
2729
+ * Composite activity score over the current season (Season 2, since
2730
+ * 2026-09-10T18:30:00Z): `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`,
2731
+ * with USD in whole dollars, every input counting that season's
2732
+ * deployments only. All other stats are lifetime.
2723
2733
  */
2724
2734
  score: number;
2725
2735
  /**
@@ -2742,6 +2752,12 @@ type WalletLeaderboardDto = {
2742
2752
  * Currently staked base units; 0 for a wallet that never staked.
2743
2753
  */
2744
2754
  totalStaked: U64Dto;
2755
+ /**
2756
+ * Lifetime SatRush tokens (base units) mined: the tokens deposited into
2757
+ * the Token Vault for the wallet's winnings across its settled
2758
+ * deployments.
2759
+ */
2760
+ totalTokenMined: U64Dto;
2745
2761
  /**
2746
2762
  * Lifetime gross USD deployed.
2747
2763
  */
@@ -4031,6 +4047,7 @@ declare const zLeaderboardRanksDto: z.ZodObject<{
4031
4047
  score: z.ZodInt;
4032
4048
  staked: z.ZodInt;
4033
4049
  streak: z.ZodInt;
4050
+ tokenMined: z.ZodInt;
4034
4051
  }, z.core.$strip>;
4035
4052
  /**
4036
4053
  * Sort key of a general-leaderboard page; always descending.
@@ -4043,6 +4060,7 @@ declare const zLeaderboardSortDto: z.ZodEnum<{
4043
4060
  hashrate: "hashrate";
4044
4061
  streak: "streak";
4045
4062
  staked: "staked";
4063
+ token_mined: "token_mined";
4046
4064
  }>;
4047
4065
  declare const zNotificationEntity: z.ZodEnum<{
4048
4066
  state_snapshot: "state_snapshot";
@@ -4514,6 +4532,7 @@ declare const zLeaderboardPageEntryDto: z.ZodObject<{
4514
4532
  totalRoundsPlayed: z.ZodInt;
4515
4533
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4516
4534
  totalStaked: z.ZodCoercedBigInt<unknown>;
4535
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
4517
4536
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4518
4537
  }, z.core.$strip>;
4519
4538
  /**
@@ -4531,6 +4550,7 @@ declare const zLeaderboardPageDto: z.ZodObject<{
4531
4550
  totalRoundsPlayed: z.ZodInt;
4532
4551
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4533
4552
  totalStaked: z.ZodCoercedBigInt<unknown>;
4553
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
4534
4554
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4535
4555
  }, z.core.$strip>>;
4536
4556
  total: z.ZodInt;
@@ -6517,6 +6537,7 @@ declare const zWalletLeaderboardDto: z.ZodObject<{
6517
6537
  score: z.ZodInt;
6518
6538
  staked: z.ZodInt;
6519
6539
  streak: z.ZodInt;
6540
+ tokenMined: z.ZodInt;
6520
6541
  }, z.core.$strip>;
6521
6542
  score: z.ZodNumber;
6522
6543
  tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
@@ -6524,6 +6545,7 @@ declare const zWalletLeaderboardDto: z.ZodObject<{
6524
6545
  totalRoundsPlayed: z.ZodInt;
6525
6546
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
6526
6547
  totalStaked: z.ZodCoercedBigInt<unknown>;
6548
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
6527
6549
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
6528
6550
  updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
6529
6551
  }, z.core.$strip>;
@@ -6857,6 +6879,7 @@ declare const zGetLeaderboardData: z.ZodObject<{
6857
6879
  hashrate: "hashrate";
6858
6880
  streak: "streak";
6859
6881
  staked: "staked";
6882
+ token_mined: "token_mined";
6860
6883
  }>>;
6861
6884
  offset: z.ZodOptional<z.ZodInt>;
6862
6885
  limit: z.ZodOptional<z.ZodInt>;
@@ -6875,6 +6898,7 @@ declare const zGetLeaderboardResponse: z.ZodObject<{
6875
6898
  totalRoundsPlayed: z.ZodInt;
6876
6899
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
6877
6900
  totalStaked: z.ZodCoercedBigInt<unknown>;
6901
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
6878
6902
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
6879
6903
  }, z.core.$strip>>;
6880
6904
  total: z.ZodInt;
@@ -6974,6 +6998,7 @@ declare const zGetWalletLeaderboardResponse: z.ZodObject<{
6974
6998
  score: z.ZodInt;
6975
6999
  staked: z.ZodInt;
6976
7000
  streak: z.ZodInt;
7001
+ tokenMined: z.ZodInt;
6977
7002
  }, z.core.$strip>;
6978
7003
  score: z.ZodNumber;
6979
7004
  tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
@@ -6981,6 +7006,7 @@ declare const zGetWalletLeaderboardResponse: z.ZodObject<{
6981
7006
  totalRoundsPlayed: z.ZodInt;
6982
7007
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
6983
7008
  totalStaked: z.ZodCoercedBigInt<unknown>;
7009
+ totalTokenMined: z.ZodCoercedBigInt<unknown>;
6984
7010
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
6985
7011
  updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
6986
7012
  }, z.core.$strip>;
package/dist/index.js CHANGED
@@ -1187,6 +1187,7 @@ var leaderboardPageEntryDtoSchemaResponseTransformer = (data) => {
1187
1187
  data.totalHashrateEarned = u64DtoSchemaResponseTransformer(data.totalHashrateEarned);
1188
1188
  data.totalSatsEarned = u64DtoSchemaResponseTransformer(data.totalSatsEarned);
1189
1189
  data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
1190
+ data.totalTokenMined = u64DtoSchemaResponseTransformer(data.totalTokenMined);
1190
1191
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1191
1192
  return data;
1192
1193
  };
@@ -1233,6 +1234,7 @@ var walletLeaderboardDtoSchemaResponseTransformer = (data) => {
1233
1234
  data.totalHashrateEarned = u64DtoSchemaResponseTransformer(data.totalHashrateEarned);
1234
1235
  data.totalSatsEarned = u64DtoSchemaResponseTransformer(data.totalSatsEarned);
1235
1236
  data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
1237
+ data.totalTokenMined = u64DtoSchemaResponseTransformer(data.totalTokenMined);
1236
1238
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1237
1239
  data.updatedAt = new Date(data.updatedAt);
1238
1240
  return data;
@@ -1803,7 +1805,8 @@ var zLeaderboardRanksDto = z.object({
1803
1805
  satsEarned: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1804
1806
  score: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1805
1807
  staked: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1806
- streak: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1808
+ streak: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1809
+ tokenMined: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
1807
1810
  });
1808
1811
  var zLeaderboardSortDto = z.enum([
1809
1812
  "score",
@@ -1812,7 +1815,8 @@ var zLeaderboardSortDto = z.enum([
1812
1815
  "sats_earned",
1813
1816
  "hashrate",
1814
1817
  "streak",
1815
- "staked"
1818
+ "staked",
1819
+ "token_mined"
1816
1820
  ]);
1817
1821
  var zNotificationEntity = z.enum(["state_snapshot"]);
1818
1822
  var zOneBtcHistoryApiError400InvalidRange = z.object({
@@ -2196,6 +2200,7 @@ var zLeaderboardPageEntryDto = z.object({
2196
2200
  totalRoundsPlayed: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2197
2201
  totalSatsEarned: zU64Dto,
2198
2202
  totalStaked: zU64Dto,
2203
+ totalTokenMined: zU64Dto,
2199
2204
  totalUsdDeployed: zU64Dto
2200
2205
  });
2201
2206
  var zLeaderboardPageDto = z.object({
@@ -3204,6 +3209,7 @@ var zWalletLeaderboardDto = z.object({
3204
3209
  totalRoundsPlayed: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
3205
3210
  totalSatsEarned: zU64Dto,
3206
3211
  totalStaked: zU64Dto,
3212
+ totalTokenMined: zU64Dto,
3207
3213
  totalUsdDeployed: zU64Dto,
3208
3214
  updatedAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime())
3209
3215
  });
@@ -4097,7 +4103,8 @@ var LeaderboardSortDto = {
4097
4103
  SATS_EARNED: "sats_earned",
4098
4104
  HASHRATE: "hashrate",
4099
4105
  STREAK: "streak",
4100
- STAKED: "staked"
4106
+ STAKED: "staked",
4107
+ TOKEN_MINED: "token_mined"
4101
4108
  };
4102
4109
  var NotificationEntity = { STATE_SNAPSHOT: "state_snapshot" };
4103
4110
  var OneBtcStateDto = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satrush/api",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",