@crypticdot/defituna-api 1.1.44 → 1.1.45

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.d.mts CHANGED
@@ -35,6 +35,7 @@ declare const StakingPositionHistoryActionType$1: {
35
35
  readonly UNSTAKE: "unstake";
36
36
  readonly WITHDRAW: "withdraw";
37
37
  readonly CLAIM_REWARDS: "claim_rewards";
38
+ readonly COMPOUND_REWARDS: "compound_rewards";
38
39
  };
39
40
  declare const PoolSubscriptionTopic: {
40
41
  readonly ORDER_BOOK: "order_book";
@@ -52,7 +53,7 @@ declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "upd
52
53
  declare const PoolProviderSchema: z.ZodEnum<["orca", ...("orca" | "fusion")[]]>;
53
54
  declare const TunaPositionStateSchema: z.ZodEnum<["open", ...("open" | "liquidated" | "closed_by_limit_order" | "closed")[]]>;
54
55
  declare const LimitOrderStateSchema: z.ZodEnum<["open", ...("open" | "partially_filled" | "filled" | "complete" | "cancelled")[]]>;
55
- declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
56
+ declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
56
57
  declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
57
58
  declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
58
59
  declare const Mint$1: z.ZodObject<{
@@ -1438,7 +1439,7 @@ declare const StakingPosition$1: z.ZodObject<{
1438
1439
  }>;
1439
1440
  declare const StakingPositionHistoryAction$1: z.ZodObject<{
1440
1441
  position: z.ZodString;
1441
- action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
1442
+ action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
1442
1443
  txSignature: z.ZodString;
1443
1444
  amount: z.ZodBigInt;
1444
1445
  time: z.ZodDate;
@@ -1446,13 +1447,13 @@ declare const StakingPositionHistoryAction$1: z.ZodObject<{
1446
1447
  amount: bigint;
1447
1448
  time: Date;
1448
1449
  position: string;
1449
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1450
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1450
1451
  txSignature: string;
1451
1452
  }, {
1452
1453
  amount: bigint;
1453
1454
  time: Date;
1454
1455
  position: string;
1455
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1456
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1456
1457
  txSignature: string;
1457
1458
  }>;
1458
1459
  declare const PoolPriceCandle$1: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -35,6 +35,7 @@ declare const StakingPositionHistoryActionType$1: {
35
35
  readonly UNSTAKE: "unstake";
36
36
  readonly WITHDRAW: "withdraw";
37
37
  readonly CLAIM_REWARDS: "claim_rewards";
38
+ readonly COMPOUND_REWARDS: "compound_rewards";
38
39
  };
39
40
  declare const PoolSubscriptionTopic: {
40
41
  readonly ORDER_BOOK: "order_book";
@@ -52,7 +53,7 @@ declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "upd
52
53
  declare const PoolProviderSchema: z.ZodEnum<["orca", ...("orca" | "fusion")[]]>;
53
54
  declare const TunaPositionStateSchema: z.ZodEnum<["open", ...("open" | "liquidated" | "closed_by_limit_order" | "closed")[]]>;
54
55
  declare const LimitOrderStateSchema: z.ZodEnum<["open", ...("open" | "partially_filled" | "filled" | "complete" | "cancelled")[]]>;
55
- declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
56
+ declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
56
57
  declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
57
58
  declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
58
59
  declare const Mint$1: z.ZodObject<{
@@ -1438,7 +1439,7 @@ declare const StakingPosition$1: z.ZodObject<{
1438
1439
  }>;
1439
1440
  declare const StakingPositionHistoryAction$1: z.ZodObject<{
1440
1441
  position: z.ZodString;
1441
- action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
1442
+ action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
1442
1443
  txSignature: z.ZodString;
1443
1444
  amount: z.ZodBigInt;
1444
1445
  time: z.ZodDate;
@@ -1446,13 +1447,13 @@ declare const StakingPositionHistoryAction$1: z.ZodObject<{
1446
1447
  amount: bigint;
1447
1448
  time: Date;
1448
1449
  position: string;
1449
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1450
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1450
1451
  txSignature: string;
1451
1452
  }, {
1452
1453
  amount: bigint;
1453
1454
  time: Date;
1454
1455
  position: string;
1455
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1456
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1456
1457
  txSignature: string;
1457
1458
  }>;
1458
1459
  declare const PoolPriceCandle$1: z.ZodObject<{
package/dist/index.js CHANGED
@@ -142,7 +142,8 @@ var StakingPositionHistoryActionType = {
142
142
  STAKE: "stake",
143
143
  UNSTAKE: "unstake",
144
144
  WITHDRAW: "withdraw",
145
- CLAIM_REWARDS: "claim_rewards"
145
+ CLAIM_REWARDS: "claim_rewards",
146
+ COMPOUND_REWARDS: "compound_rewards"
146
147
  };
147
148
  var PoolSubscriptionTopic = {
148
149
  ORDER_BOOK: "order_book",
package/dist/index.mjs CHANGED
@@ -107,7 +107,8 @@ var StakingPositionHistoryActionType = {
107
107
  STAKE: "stake",
108
108
  UNSTAKE: "unstake",
109
109
  WITHDRAW: "withdraw",
110
- CLAIM_REWARDS: "claim_rewards"
110
+ CLAIM_REWARDS: "claim_rewards",
111
+ COMPOUND_REWARDS: "compound_rewards"
111
112
  };
112
113
  var PoolSubscriptionTopic = {
113
114
  ORDER_BOOK: "order_book",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",