@crypticdot/defituna-api 1.3.2 → 1.3.3

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
@@ -68,6 +68,7 @@ declare const WalletSubscriptionTopic: {
68
68
  readonly LENDING_POSITIONS: "lending_positions";
69
69
  readonly FUSION_LIMIT_ORDERS: "fusion_limit_orders";
70
70
  readonly STAKING_POSITION: "staking_position";
71
+ readonly TRADE_HISTORY: "trade_history";
71
72
  };
72
73
  declare const NotificationEntitySchema: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "tuna_spot_position" | "lending_position" | "staking_position" | "fusion_limit_order" | "trade_history_entry")[]]>;
73
74
  declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "update")[]]>;
@@ -79,7 +80,7 @@ declare const TradeHistoryActionSchema: z.ZodEnum<["swap", ...("swap" | "limit_o
79
80
  declare const TradeHistoryUIDirectionSchema: z.ZodEnum<["buy", ...("buy" | "sell" | "open_long" | "close_long" | "open_short" | "close_short")[]]>;
80
81
  declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
81
82
  declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
82
- declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "tuna_spot_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
83
+ declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "tuna_spot_positions" | "lending_positions" | "fusion_limit_orders" | "trade_history")[]]>;
83
84
  declare const PaginationMeta$1: z.ZodObject<{
84
85
  total: z.ZodNumber;
85
86
  }, "strip", z.ZodTypeAny, {
package/dist/index.d.ts CHANGED
@@ -68,6 +68,7 @@ declare const WalletSubscriptionTopic: {
68
68
  readonly LENDING_POSITIONS: "lending_positions";
69
69
  readonly FUSION_LIMIT_ORDERS: "fusion_limit_orders";
70
70
  readonly STAKING_POSITION: "staking_position";
71
+ readonly TRADE_HISTORY: "trade_history";
71
72
  };
72
73
  declare const NotificationEntitySchema: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "tuna_spot_position" | "lending_position" | "staking_position" | "fusion_limit_order" | "trade_history_entry")[]]>;
73
74
  declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "update")[]]>;
@@ -79,7 +80,7 @@ declare const TradeHistoryActionSchema: z.ZodEnum<["swap", ...("swap" | "limit_o
79
80
  declare const TradeHistoryUIDirectionSchema: z.ZodEnum<["buy", ...("buy" | "sell" | "open_long" | "close_long" | "open_short" | "close_short")[]]>;
80
81
  declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
81
82
  declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
82
- declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "tuna_spot_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
83
+ declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "tuna_spot_positions" | "lending_positions" | "fusion_limit_orders" | "trade_history")[]]>;
83
84
  declare const PaginationMeta$1: z.ZodObject<{
84
85
  total: z.ZodNumber;
85
86
  }, "strip", z.ZodTypeAny, {
package/dist/index.js CHANGED
@@ -189,7 +189,8 @@ var WalletSubscriptionTopic = {
189
189
  TUNA_SPOT_POSITIONS: "tuna_spot_positions",
190
190
  LENDING_POSITIONS: "lending_positions",
191
191
  FUSION_LIMIT_ORDERS: "fusion_limit_orders",
192
- STAKING_POSITION: "staking_position"
192
+ STAKING_POSITION: "staking_position",
193
+ TRADE_HISTORY: "trade_history"
193
194
  };
194
195
  var NotificationEntitySchema = import_zod.z.enum([NotificationEntity.POOL_SWAP, ...Object.values(NotificationEntity)]);
195
196
  var NotificationActionSchema = import_zod.z.enum([NotificationAction.CREATE, ...Object.values(NotificationAction)]);
package/dist/index.mjs CHANGED
@@ -154,7 +154,8 @@ var WalletSubscriptionTopic = {
154
154
  TUNA_SPOT_POSITIONS: "tuna_spot_positions",
155
155
  LENDING_POSITIONS: "lending_positions",
156
156
  FUSION_LIMIT_ORDERS: "fusion_limit_orders",
157
- STAKING_POSITION: "staking_position"
157
+ STAKING_POSITION: "staking_position",
158
+ TRADE_HISTORY: "trade_history"
158
159
  };
159
160
  var NotificationEntitySchema = z.enum([NotificationEntity.POOL_SWAP, ...Object.values(NotificationEntity)]);
160
161
  var NotificationActionSchema = z.enum([NotificationAction.CREATE, ...Object.values(NotificationAction)]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",