@satrush/api 0.1.28 → 0.1.29

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
@@ -3092,6 +3092,7 @@ var zSatsVaultDto = z.object({
3092
3092
  var zStakingPositionDto = z.object({
3093
3093
  address: zPubkeyDto,
3094
3094
  authority: zPubkeyDto,
3095
+ autocompound: z.boolean(),
3095
3096
  shares: zU64Dto,
3096
3097
  unclaimedReward: zU64Dto
3097
3098
  });
package/dist/index.d.cts CHANGED
@@ -2347,6 +2347,12 @@ type StakingPositionDto = {
2347
2347
  */
2348
2348
  address: PubkeyDto;
2349
2349
  authority: PubkeyDto;
2350
+ /**
2351
+ * Whether the position opted in to autocompounding: the treasury's
2352
+ * compound authority (the gamekeeper) may claim its reward, swap it
2353
+ * into the staked token and stake it back on its behalf.
2354
+ */
2355
+ autocompound: boolean;
2350
2356
  /**
2351
2357
  * Staked base units (1 share = 1 unit).
2352
2358
  */
@@ -5115,6 +5121,7 @@ declare const zSatsVaultDto: z.ZodObject<{
5115
5121
  declare const zStakingPositionDto: z.ZodObject<{
5116
5122
  address: z.ZodString;
5117
5123
  authority: z.ZodString;
5124
+ autocompound: z.ZodBoolean;
5118
5125
  shares: z.ZodCoercedBigInt<unknown>;
5119
5126
  unclaimedReward: z.ZodCoercedBigInt<unknown>;
5120
5127
  }, z.core.$strip>;
@@ -7855,6 +7862,7 @@ declare const zGetUserStakingResponse: z.ZodObject<{
7855
7862
  data: z.ZodObject<{
7856
7863
  address: z.ZodString;
7857
7864
  authority: z.ZodString;
7865
+ autocompound: z.ZodBoolean;
7858
7866
  shares: z.ZodCoercedBigInt<unknown>;
7859
7867
  unclaimedReward: z.ZodCoercedBigInt<unknown>;
7860
7868
  }, z.core.$strip>;
package/dist/index.d.ts CHANGED
@@ -2347,6 +2347,12 @@ type StakingPositionDto = {
2347
2347
  */
2348
2348
  address: PubkeyDto;
2349
2349
  authority: PubkeyDto;
2350
+ /**
2351
+ * Whether the position opted in to autocompounding: the treasury's
2352
+ * compound authority (the gamekeeper) may claim its reward, swap it
2353
+ * into the staked token and stake it back on its behalf.
2354
+ */
2355
+ autocompound: boolean;
2350
2356
  /**
2351
2357
  * Staked base units (1 share = 1 unit).
2352
2358
  */
@@ -5115,6 +5121,7 @@ declare const zSatsVaultDto: z.ZodObject<{
5115
5121
  declare const zStakingPositionDto: z.ZodObject<{
5116
5122
  address: z.ZodString;
5117
5123
  authority: z.ZodString;
5124
+ autocompound: z.ZodBoolean;
5118
5125
  shares: z.ZodCoercedBigInt<unknown>;
5119
5126
  unclaimedReward: z.ZodCoercedBigInt<unknown>;
5120
5127
  }, z.core.$strip>;
@@ -7855,6 +7862,7 @@ declare const zGetUserStakingResponse: z.ZodObject<{
7855
7862
  data: z.ZodObject<{
7856
7863
  address: z.ZodString;
7857
7864
  authority: z.ZodString;
7865
+ autocompound: z.ZodBoolean;
7858
7866
  shares: z.ZodCoercedBigInt<unknown>;
7859
7867
  unclaimedReward: z.ZodCoercedBigInt<unknown>;
7860
7868
  }, z.core.$strip>;
package/dist/index.js CHANGED
@@ -2833,6 +2833,7 @@ var zSatsVaultDto = z.object({
2833
2833
  var zStakingPositionDto = z.object({
2834
2834
  address: zPubkeyDto,
2835
2835
  authority: zPubkeyDto,
2836
+ autocompound: z.boolean(),
2836
2837
  shares: zU64Dto,
2837
2838
  unclaimedReward: zU64Dto
2838
2839
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satrush/api",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",