@satrush/api 0.1.25 → 0.1.26

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
@@ -1722,8 +1722,10 @@ var minerDtoSchemaResponseTransformer = (data) => {
1722
1722
  data.totalUsdClaimed = u64DtoSchemaResponseTransformer(data.totalUsdClaimed);
1723
1723
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1724
1724
  data.totalUsdEarned = u64DtoSchemaResponseTransformer(data.totalUsdEarned);
1725
+ data.unclaimedBtcAmount = u64DtoSchemaResponseTransformer(data.unclaimedBtcAmount);
1725
1726
  data.unclaimedHashrateAmount = u64DtoSchemaResponseTransformer(data.unclaimedHashrateAmount);
1726
1727
  data.unclaimedSatsShares = u64DtoSchemaResponseTransformer(data.unclaimedSatsShares);
1728
+ data.unclaimedTokenAmount = u64DtoSchemaResponseTransformer(data.unclaimedTokenAmount);
1727
1729
  data.unclaimedTokenShares = u64DtoSchemaResponseTransformer(data.unclaimedTokenShares);
1728
1730
  data.unclaimedUsdAmount = u64DtoSchemaResponseTransformer(data.unclaimedUsdAmount);
1729
1731
  data.unrealizedBtcPnl = i64DtoSchemaResponseTransformer(data.unrealizedBtcPnl);
@@ -2527,8 +2529,10 @@ var zMinerDto = z.object({
2527
2529
  totalUsdClaimed: zU64Dto,
2528
2530
  totalUsdDeployed: zU64Dto,
2529
2531
  totalUsdEarned: zU64Dto,
2532
+ unclaimedBtcAmount: zU64Dto,
2530
2533
  unclaimedHashrateAmount: zU64Dto,
2531
2534
  unclaimedSatsShares: zU64Dto,
2535
+ unclaimedTokenAmount: zU64Dto,
2532
2536
  unclaimedTokenShares: zU64Dto,
2533
2537
  unclaimedUsdAmount: zU64Dto,
2534
2538
  unrealizedBtcPnl: zI64Dto,
package/dist/index.d.cts CHANGED
@@ -1218,6 +1218,12 @@ type MinerDto = {
1218
1218
  * Lifetime USD winnings settled.
1219
1219
  */
1220
1220
  totalUsdEarned: U64Dto;
1221
+ /**
1222
+ * Satoshis `unclaimed_sats_shares` redeem for at the Sats Vault's
1223
+ * exchange rate when the profile is served (gross, before the claim
1224
+ * fee). Zero while the vault account is not loaded.
1225
+ */
1226
+ unclaimedBtcAmount: U64Dto;
1221
1227
  /**
1222
1228
  * Deferred hashrate bonus, converted into `hashrate_amount` on sats claim.
1223
1229
  */
@@ -1226,6 +1232,12 @@ type MinerDto = {
1226
1232
  * BTC shares in the Sats Vault not yet claimed.
1227
1233
  */
1228
1234
  unclaimedSatsShares: U64Dto;
1235
+ /**
1236
+ * SatRush tokens (base units) `unclaimed_token_shares` redeem for at the
1237
+ * Token Vault's exchange rate when the profile is served (gross, before
1238
+ * the claim fee). Zero while the vault account is not loaded.
1239
+ */
1240
+ unclaimedTokenAmount: U64Dto;
1229
1241
  /**
1230
1242
  * Shares in the Token Vault not yet claimed.
1231
1243
  */
@@ -4402,8 +4414,10 @@ declare const zMinerDto: z.ZodObject<{
4402
4414
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4403
4415
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4404
4416
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4417
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4405
4418
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4406
4419
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4420
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4407
4421
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4408
4422
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4409
4423
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -4665,8 +4679,10 @@ declare const zProfileDto: z.ZodObject<{
4665
4679
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4666
4680
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4667
4681
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4682
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4668
4683
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4669
4684
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4685
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4670
4686
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4671
4687
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4672
4688
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5390,8 +5406,10 @@ declare const zSnapshotDto: z.ZodObject<{
5390
5406
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5391
5407
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5392
5408
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5409
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5393
5410
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5394
5411
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5412
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5395
5413
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5396
5414
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5397
5415
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5646,8 +5664,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
5646
5664
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5647
5665
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5648
5666
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5667
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5649
5668
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5650
5669
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5670
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5651
5671
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5652
5672
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5653
5673
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5908,8 +5928,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
5908
5928
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5909
5929
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5910
5930
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5931
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5911
5932
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5912
5933
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5934
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5913
5935
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5914
5936
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5915
5937
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7199,8 +7221,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7199
7221
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7200
7222
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7201
7223
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7224
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7202
7225
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7203
7226
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7227
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7204
7228
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7205
7229
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7206
7230
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7304,8 +7328,10 @@ declare const zGetUserProfileResponse: z.ZodObject<{
7304
7328
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7305
7329
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7306
7330
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7331
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7307
7332
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7308
7333
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7334
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7309
7335
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7310
7336
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7311
7337
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
package/dist/index.d.ts CHANGED
@@ -1218,6 +1218,12 @@ type MinerDto = {
1218
1218
  * Lifetime USD winnings settled.
1219
1219
  */
1220
1220
  totalUsdEarned: U64Dto;
1221
+ /**
1222
+ * Satoshis `unclaimed_sats_shares` redeem for at the Sats Vault's
1223
+ * exchange rate when the profile is served (gross, before the claim
1224
+ * fee). Zero while the vault account is not loaded.
1225
+ */
1226
+ unclaimedBtcAmount: U64Dto;
1221
1227
  /**
1222
1228
  * Deferred hashrate bonus, converted into `hashrate_amount` on sats claim.
1223
1229
  */
@@ -1226,6 +1232,12 @@ type MinerDto = {
1226
1232
  * BTC shares in the Sats Vault not yet claimed.
1227
1233
  */
1228
1234
  unclaimedSatsShares: U64Dto;
1235
+ /**
1236
+ * SatRush tokens (base units) `unclaimed_token_shares` redeem for at the
1237
+ * Token Vault's exchange rate when the profile is served (gross, before
1238
+ * the claim fee). Zero while the vault account is not loaded.
1239
+ */
1240
+ unclaimedTokenAmount: U64Dto;
1229
1241
  /**
1230
1242
  * Shares in the Token Vault not yet claimed.
1231
1243
  */
@@ -4402,8 +4414,10 @@ declare const zMinerDto: z.ZodObject<{
4402
4414
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4403
4415
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4404
4416
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4417
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4405
4418
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4406
4419
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4420
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4407
4421
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4408
4422
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4409
4423
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -4665,8 +4679,10 @@ declare const zProfileDto: z.ZodObject<{
4665
4679
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4666
4680
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4667
4681
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4682
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4668
4683
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4669
4684
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4685
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4670
4686
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4671
4687
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4672
4688
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5390,8 +5406,10 @@ declare const zSnapshotDto: z.ZodObject<{
5390
5406
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5391
5407
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5392
5408
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5409
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5393
5410
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5394
5411
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5412
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5395
5413
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5396
5414
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5397
5415
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5646,8 +5664,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
5646
5664
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5647
5665
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5648
5666
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5667
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5649
5668
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5650
5669
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5670
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5651
5671
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5652
5672
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5653
5673
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5908,8 +5928,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
5908
5928
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5909
5929
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5910
5930
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5931
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5911
5932
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5912
5933
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5934
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5913
5935
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5914
5936
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5915
5937
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7199,8 +7221,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7199
7221
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7200
7222
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7201
7223
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7224
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7202
7225
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7203
7226
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7227
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7204
7228
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7205
7229
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7206
7230
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7304,8 +7328,10 @@ declare const zGetUserProfileResponse: z.ZodObject<{
7304
7328
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7305
7329
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7306
7330
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7331
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7307
7332
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7308
7333
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7334
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7309
7335
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7310
7336
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7311
7337
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
package/dist/index.js CHANGED
@@ -1474,8 +1474,10 @@ var minerDtoSchemaResponseTransformer = (data) => {
1474
1474
  data.totalUsdClaimed = u64DtoSchemaResponseTransformer(data.totalUsdClaimed);
1475
1475
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1476
1476
  data.totalUsdEarned = u64DtoSchemaResponseTransformer(data.totalUsdEarned);
1477
+ data.unclaimedBtcAmount = u64DtoSchemaResponseTransformer(data.unclaimedBtcAmount);
1477
1478
  data.unclaimedHashrateAmount = u64DtoSchemaResponseTransformer(data.unclaimedHashrateAmount);
1478
1479
  data.unclaimedSatsShares = u64DtoSchemaResponseTransformer(data.unclaimedSatsShares);
1480
+ data.unclaimedTokenAmount = u64DtoSchemaResponseTransformer(data.unclaimedTokenAmount);
1479
1481
  data.unclaimedTokenShares = u64DtoSchemaResponseTransformer(data.unclaimedTokenShares);
1480
1482
  data.unclaimedUsdAmount = u64DtoSchemaResponseTransformer(data.unclaimedUsdAmount);
1481
1483
  data.unrealizedBtcPnl = i64DtoSchemaResponseTransformer(data.unrealizedBtcPnl);
@@ -2279,8 +2281,10 @@ var zMinerDto = z.object({
2279
2281
  totalUsdClaimed: zU64Dto,
2280
2282
  totalUsdDeployed: zU64Dto,
2281
2283
  totalUsdEarned: zU64Dto,
2284
+ unclaimedBtcAmount: zU64Dto,
2282
2285
  unclaimedHashrateAmount: zU64Dto,
2283
2286
  unclaimedSatsShares: zU64Dto,
2287
+ unclaimedTokenAmount: zU64Dto,
2284
2288
  unclaimedTokenShares: zU64Dto,
2285
2289
  unclaimedUsdAmount: zU64Dto,
2286
2290
  unrealizedBtcPnl: zI64Dto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satrush/api",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",