@crypticdot/defituna-api 1.1.32 → 1.1.34

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
@@ -943,6 +943,7 @@ declare const PoolSwap$1: z.ZodObject<{
943
943
  id: z.ZodString;
944
944
  amountIn: z.ZodBigInt;
945
945
  amountOut: z.ZodBigInt;
946
+ amountUsd: z.ZodNumber;
946
947
  aToB: z.ZodBoolean;
947
948
  pool: z.ZodString;
948
949
  time: z.ZodDate;
@@ -952,6 +953,7 @@ declare const PoolSwap$1: z.ZodObject<{
952
953
  id: string;
953
954
  amountIn: bigint;
954
955
  amountOut: bigint;
956
+ amountUsd: number;
955
957
  aToB: boolean;
956
958
  }, {
957
959
  time: Date;
@@ -959,6 +961,7 @@ declare const PoolSwap$1: z.ZodObject<{
959
961
  id: string;
960
962
  amountIn: bigint;
961
963
  amountOut: bigint;
964
+ amountUsd: number;
962
965
  aToB: boolean;
963
966
  }>;
964
967
  declare const OrderBookEntry$1: z.ZodObject<{
@@ -1155,15 +1158,18 @@ declare const PoolPriceCandle$1: z.ZodObject<{
1155
1158
  close: z.ZodNumber;
1156
1159
  high: z.ZodNumber;
1157
1160
  low: z.ZodNumber;
1161
+ volume: z.ZodNumber;
1158
1162
  }, "strip", z.ZodTypeAny, {
1159
1163
  open: number;
1160
1164
  time: number;
1165
+ volume: number;
1161
1166
  close: number;
1162
1167
  high: number;
1163
1168
  low: number;
1164
1169
  }, {
1165
1170
  open: number;
1166
1171
  time: number;
1172
+ volume: number;
1167
1173
  close: number;
1168
1174
  high: number;
1169
1175
  low: number;
@@ -1196,6 +1202,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1196
1202
  id: z.ZodString;
1197
1203
  amountIn: z.ZodBigInt;
1198
1204
  amountOut: z.ZodBigInt;
1205
+ amountUsd: z.ZodNumber;
1199
1206
  aToB: z.ZodBoolean;
1200
1207
  pool: z.ZodString;
1201
1208
  time: z.ZodDate;
@@ -1205,6 +1212,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1205
1212
  id: string;
1206
1213
  amountIn: bigint;
1207
1214
  amountOut: bigint;
1215
+ amountUsd: number;
1208
1216
  aToB: boolean;
1209
1217
  }, {
1210
1218
  time: Date;
@@ -1212,6 +1220,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1212
1220
  id: string;
1213
1221
  amountIn: bigint;
1214
1222
  amountOut: bigint;
1223
+ amountUsd: number;
1215
1224
  aToB: boolean;
1216
1225
  }>;
1217
1226
  id: z.ZodString;
@@ -1224,6 +1233,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1224
1233
  id: z.ZodString;
1225
1234
  amountIn: z.ZodBigInt;
1226
1235
  amountOut: z.ZodBigInt;
1236
+ amountUsd: z.ZodNumber;
1227
1237
  aToB: z.ZodBoolean;
1228
1238
  pool: z.ZodString;
1229
1239
  time: z.ZodDate;
@@ -1233,6 +1243,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1233
1243
  id: string;
1234
1244
  amountIn: bigint;
1235
1245
  amountOut: bigint;
1246
+ amountUsd: number;
1236
1247
  aToB: boolean;
1237
1248
  }, {
1238
1249
  time: Date;
@@ -1240,6 +1251,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1240
1251
  id: string;
1241
1252
  amountIn: bigint;
1242
1253
  amountOut: bigint;
1254
+ amountUsd: number;
1243
1255
  aToB: boolean;
1244
1256
  }>;
1245
1257
  id: z.ZodString;
@@ -1255,6 +1267,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1255
1267
  id: string;
1256
1268
  amountIn: bigint;
1257
1269
  amountOut: bigint;
1270
+ amountUsd: number;
1258
1271
  aToB: boolean;
1259
1272
  };
1260
1273
  meta?: any;
@@ -1269,6 +1282,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1269
1282
  id: string;
1270
1283
  amountIn: bigint;
1271
1284
  amountOut: bigint;
1285
+ amountUsd: number;
1272
1286
  aToB: boolean;
1273
1287
  };
1274
1288
  meta?: any;
@@ -1283,6 +1297,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1283
1297
  id: string;
1284
1298
  amountIn: bigint;
1285
1299
  amountOut: bigint;
1300
+ amountUsd: number;
1286
1301
  aToB: boolean;
1287
1302
  };
1288
1303
  meta?: any;
@@ -1297,6 +1312,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1297
1312
  id: string;
1298
1313
  amountIn: bigint;
1299
1314
  amountOut: bigint;
1315
+ amountUsd: number;
1300
1316
  aToB: boolean;
1301
1317
  };
1302
1318
  meta?: any;
package/dist/index.d.ts CHANGED
@@ -943,6 +943,7 @@ declare const PoolSwap$1: z.ZodObject<{
943
943
  id: z.ZodString;
944
944
  amountIn: z.ZodBigInt;
945
945
  amountOut: z.ZodBigInt;
946
+ amountUsd: z.ZodNumber;
946
947
  aToB: z.ZodBoolean;
947
948
  pool: z.ZodString;
948
949
  time: z.ZodDate;
@@ -952,6 +953,7 @@ declare const PoolSwap$1: z.ZodObject<{
952
953
  id: string;
953
954
  amountIn: bigint;
954
955
  amountOut: bigint;
956
+ amountUsd: number;
955
957
  aToB: boolean;
956
958
  }, {
957
959
  time: Date;
@@ -959,6 +961,7 @@ declare const PoolSwap$1: z.ZodObject<{
959
961
  id: string;
960
962
  amountIn: bigint;
961
963
  amountOut: bigint;
964
+ amountUsd: number;
962
965
  aToB: boolean;
963
966
  }>;
964
967
  declare const OrderBookEntry$1: z.ZodObject<{
@@ -1155,15 +1158,18 @@ declare const PoolPriceCandle$1: z.ZodObject<{
1155
1158
  close: z.ZodNumber;
1156
1159
  high: z.ZodNumber;
1157
1160
  low: z.ZodNumber;
1161
+ volume: z.ZodNumber;
1158
1162
  }, "strip", z.ZodTypeAny, {
1159
1163
  open: number;
1160
1164
  time: number;
1165
+ volume: number;
1161
1166
  close: number;
1162
1167
  high: number;
1163
1168
  low: number;
1164
1169
  }, {
1165
1170
  open: number;
1166
1171
  time: number;
1172
+ volume: number;
1167
1173
  close: number;
1168
1174
  high: number;
1169
1175
  low: number;
@@ -1196,6 +1202,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1196
1202
  id: z.ZodString;
1197
1203
  amountIn: z.ZodBigInt;
1198
1204
  amountOut: z.ZodBigInt;
1205
+ amountUsd: z.ZodNumber;
1199
1206
  aToB: z.ZodBoolean;
1200
1207
  pool: z.ZodString;
1201
1208
  time: z.ZodDate;
@@ -1205,6 +1212,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1205
1212
  id: string;
1206
1213
  amountIn: bigint;
1207
1214
  amountOut: bigint;
1215
+ amountUsd: number;
1208
1216
  aToB: boolean;
1209
1217
  }, {
1210
1218
  time: Date;
@@ -1212,6 +1220,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1212
1220
  id: string;
1213
1221
  amountIn: bigint;
1214
1222
  amountOut: bigint;
1223
+ amountUsd: number;
1215
1224
  aToB: boolean;
1216
1225
  }>;
1217
1226
  id: z.ZodString;
@@ -1224,6 +1233,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1224
1233
  id: z.ZodString;
1225
1234
  amountIn: z.ZodBigInt;
1226
1235
  amountOut: z.ZodBigInt;
1236
+ amountUsd: z.ZodNumber;
1227
1237
  aToB: z.ZodBoolean;
1228
1238
  pool: z.ZodString;
1229
1239
  time: z.ZodDate;
@@ -1233,6 +1243,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1233
1243
  id: string;
1234
1244
  amountIn: bigint;
1235
1245
  amountOut: bigint;
1246
+ amountUsd: number;
1236
1247
  aToB: boolean;
1237
1248
  }, {
1238
1249
  time: Date;
@@ -1240,6 +1251,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1240
1251
  id: string;
1241
1252
  amountIn: bigint;
1242
1253
  amountOut: bigint;
1254
+ amountUsd: number;
1243
1255
  aToB: boolean;
1244
1256
  }>;
1245
1257
  id: z.ZodString;
@@ -1255,6 +1267,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1255
1267
  id: string;
1256
1268
  amountIn: bigint;
1257
1269
  amountOut: bigint;
1270
+ amountUsd: number;
1258
1271
  aToB: boolean;
1259
1272
  };
1260
1273
  meta?: any;
@@ -1269,6 +1282,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1269
1282
  id: string;
1270
1283
  amountIn: bigint;
1271
1284
  amountOut: bigint;
1285
+ amountUsd: number;
1272
1286
  aToB: boolean;
1273
1287
  };
1274
1288
  meta?: any;
@@ -1283,6 +1297,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1283
1297
  id: string;
1284
1298
  amountIn: bigint;
1285
1299
  amountOut: bigint;
1300
+ amountUsd: number;
1286
1301
  aToB: boolean;
1287
1302
  };
1288
1303
  meta?: any;
@@ -1297,6 +1312,7 @@ declare const PoolSwapNotification: z.ZodObject<{
1297
1312
  id: string;
1298
1313
  amountIn: bigint;
1299
1314
  amountOut: bigint;
1315
+ amountUsd: number;
1300
1316
  aToB: boolean;
1301
1317
  };
1302
1318
  meta?: any;
package/dist/index.js CHANGED
@@ -294,6 +294,7 @@ var PoolSwap = import_zod.z.object({
294
294
  id: import_zod.z.string(),
295
295
  amountIn: import_zod.z.coerce.bigint(),
296
296
  amountOut: import_zod.z.coerce.bigint(),
297
+ amountUsd: import_zod.z.number(),
297
298
  aToB: import_zod.z.boolean(),
298
299
  pool: import_zod.z.string(),
299
300
  time: import_zod.z.coerce.date()
@@ -340,7 +341,8 @@ var PoolPriceCandle = import_zod.z.object({
340
341
  open: import_zod.z.number(),
341
342
  close: import_zod.z.number(),
342
343
  high: import_zod.z.number(),
343
- low: import_zod.z.number()
344
+ low: import_zod.z.number(),
345
+ volume: import_zod.z.number()
344
346
  });
345
347
  var UpdateStreamSubscriptionResult = import_zod.z.object({
346
348
  status: import_zod.z.string()
package/dist/index.mjs CHANGED
@@ -259,6 +259,7 @@ var PoolSwap = z.object({
259
259
  id: z.string(),
260
260
  amountIn: z.coerce.bigint(),
261
261
  amountOut: z.coerce.bigint(),
262
+ amountUsd: z.number(),
262
263
  aToB: z.boolean(),
263
264
  pool: z.string(),
264
265
  time: z.coerce.date()
@@ -305,7 +306,8 @@ var PoolPriceCandle = z.object({
305
306
  open: z.number(),
306
307
  close: z.number(),
307
308
  high: z.number(),
308
- low: z.number()
309
+ low: z.number(),
310
+ volume: z.number()
309
311
  });
310
312
  var UpdateStreamSubscriptionResult = z.object({
311
313
  status: z.string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.32",
3
+ "version": "1.1.34",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",