@crypticdot/defituna-api 3.1.1 → 3.1.2
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 +70 -0
- package/dist/index.d.cts +264 -392
- package/dist/index.d.ts +264 -392
- package/dist/index.js +56 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -48,6 +48,20 @@ __export(index_exports, {
|
|
|
48
48
|
PoolsError500ErrorCode: () => PoolsError500ErrorCode,
|
|
49
49
|
SpotPositionError404ErrorCode: () => SpotPositionError404ErrorCode,
|
|
50
50
|
SpotPositionError500ErrorCode: () => SpotPositionError500ErrorCode,
|
|
51
|
+
SseResponseInitialMessageAllOfEntity: () => SseResponseInitialMessageAllOfEntity,
|
|
52
|
+
SseResponseInitialMessageEntity: () => SseResponseInitialMessageEntity,
|
|
53
|
+
SseResponseLendingPositionAllOfEntity: () => SseResponseLendingPositionAllOfEntity,
|
|
54
|
+
SseResponseLendingPositionEntity: () => SseResponseLendingPositionEntity,
|
|
55
|
+
SseResponseOrderHistoryEntryAllOfEntity: () => SseResponseOrderHistoryEntryAllOfEntity,
|
|
56
|
+
SseResponseOrderHistoryEntryEntity: () => SseResponseOrderHistoryEntryEntity,
|
|
57
|
+
SseResponsePoolSwapAllOfEntity: () => SseResponsePoolSwapAllOfEntity,
|
|
58
|
+
SseResponsePoolSwapEntity: () => SseResponsePoolSwapEntity,
|
|
59
|
+
SseResponseSnapshotAllOfEntity: () => SseResponseSnapshotAllOfEntity,
|
|
60
|
+
SseResponseSnapshotEntity: () => SseResponseSnapshotEntity,
|
|
61
|
+
SseResponseStakingPositionAllOfEntity: () => SseResponseStakingPositionAllOfEntity,
|
|
62
|
+
SseResponseStakingPositionEntity: () => SseResponseStakingPositionEntity,
|
|
63
|
+
SseResponseTradeHistoryEntryAllOfEntity: () => SseResponseTradeHistoryEntryAllOfEntity,
|
|
64
|
+
SseResponseTradeHistoryEntryEntity: () => SseResponseTradeHistoryEntryEntity,
|
|
51
65
|
StakingError400BadRequestCode: () => StakingError400BadRequestCode,
|
|
52
66
|
StakingError500ErrorCode: () => StakingError500ErrorCode,
|
|
53
67
|
StakingPositionActionType: () => StakingPositionActionType,
|
|
@@ -405,6 +419,48 @@ var SpotPositionError404ErrorCode = {
|
|
|
405
419
|
var SpotPositionError500ErrorCode = {
|
|
406
420
|
internalError: "internal_error"
|
|
407
421
|
};
|
|
422
|
+
var SseResponseInitialMessageAllOfEntity = {
|
|
423
|
+
initialMessage: "initial_message"
|
|
424
|
+
};
|
|
425
|
+
var SseResponseInitialMessageEntity = {
|
|
426
|
+
initialMessage: "initial_message"
|
|
427
|
+
};
|
|
428
|
+
var SseResponseLendingPositionAllOfEntity = {
|
|
429
|
+
lendingPosition: "lending_position"
|
|
430
|
+
};
|
|
431
|
+
var SseResponseLendingPositionEntity = {
|
|
432
|
+
lendingPosition: "lending_position"
|
|
433
|
+
};
|
|
434
|
+
var SseResponseOrderHistoryEntryAllOfEntity = {
|
|
435
|
+
orderHistoryEntry: "order_history_entry"
|
|
436
|
+
};
|
|
437
|
+
var SseResponseOrderHistoryEntryEntity = {
|
|
438
|
+
orderHistoryEntry: "order_history_entry"
|
|
439
|
+
};
|
|
440
|
+
var SseResponsePoolSwapAllOfEntity = {
|
|
441
|
+
poolSwap: "pool_swap"
|
|
442
|
+
};
|
|
443
|
+
var SseResponsePoolSwapEntity = {
|
|
444
|
+
poolSwap: "pool_swap"
|
|
445
|
+
};
|
|
446
|
+
var SseResponseSnapshotAllOfEntity = {
|
|
447
|
+
stateSnapshot: "state_snapshot"
|
|
448
|
+
};
|
|
449
|
+
var SseResponseSnapshotEntity = {
|
|
450
|
+
stateSnapshot: "state_snapshot"
|
|
451
|
+
};
|
|
452
|
+
var SseResponseStakingPositionAllOfEntity = {
|
|
453
|
+
stakingPosition: "staking_position"
|
|
454
|
+
};
|
|
455
|
+
var SseResponseStakingPositionEntity = {
|
|
456
|
+
stakingPosition: "staking_position"
|
|
457
|
+
};
|
|
458
|
+
var SseResponseTradeHistoryEntryAllOfEntity = {
|
|
459
|
+
tradeHistoryEntry: "trade_history_entry"
|
|
460
|
+
};
|
|
461
|
+
var SseResponseTradeHistoryEntryEntity = {
|
|
462
|
+
tradeHistoryEntry: "trade_history_entry"
|
|
463
|
+
};
|
|
408
464
|
var StakingError400BadRequestCode = {
|
|
409
465
|
badRequest: "bad_request"
|
|
410
466
|
};
|
|
@@ -1749,6 +1805,20 @@ function eventIsStateSnapshot(event) {
|
|
|
1749
1805
|
PoolsError500ErrorCode,
|
|
1750
1806
|
SpotPositionError404ErrorCode,
|
|
1751
1807
|
SpotPositionError500ErrorCode,
|
|
1808
|
+
SseResponseInitialMessageAllOfEntity,
|
|
1809
|
+
SseResponseInitialMessageEntity,
|
|
1810
|
+
SseResponseLendingPositionAllOfEntity,
|
|
1811
|
+
SseResponseLendingPositionEntity,
|
|
1812
|
+
SseResponseOrderHistoryEntryAllOfEntity,
|
|
1813
|
+
SseResponseOrderHistoryEntryEntity,
|
|
1814
|
+
SseResponsePoolSwapAllOfEntity,
|
|
1815
|
+
SseResponsePoolSwapEntity,
|
|
1816
|
+
SseResponseSnapshotAllOfEntity,
|
|
1817
|
+
SseResponseSnapshotEntity,
|
|
1818
|
+
SseResponseStakingPositionAllOfEntity,
|
|
1819
|
+
SseResponseStakingPositionEntity,
|
|
1820
|
+
SseResponseTradeHistoryEntryAllOfEntity,
|
|
1821
|
+
SseResponseTradeHistoryEntryEntity,
|
|
1752
1822
|
StakingError400BadRequestCode,
|
|
1753
1823
|
StakingError500ErrorCode,
|
|
1754
1824
|
StakingPositionActionType,
|