@backtest-kit/ui 3.0.3 → 3.0.4
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/build/index.cjs +4 -1
- package/build/index.mjs +4 -1
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -208,7 +208,10 @@ class NotificationMockService {
|
|
|
208
208
|
};
|
|
209
209
|
this.getList = async () => {
|
|
210
210
|
this.loggerService.log("notificationMockService getList");
|
|
211
|
-
const notificationList =
|
|
211
|
+
const notificationList = [];
|
|
212
|
+
for (const notification of await READ_NOTIFICATION_LIST_FN()) {
|
|
213
|
+
notificationList.push(notification);
|
|
214
|
+
}
|
|
212
215
|
notificationList.sort((a, b) => {
|
|
213
216
|
const aHasTime = 'createdAt' in a;
|
|
214
217
|
const bHasTime = 'createdAt' in b;
|
package/build/index.mjs
CHANGED
|
@@ -205,7 +205,10 @@ class NotificationMockService {
|
|
|
205
205
|
};
|
|
206
206
|
this.getList = async () => {
|
|
207
207
|
this.loggerService.log("notificationMockService getList");
|
|
208
|
-
const notificationList =
|
|
208
|
+
const notificationList = [];
|
|
209
|
+
for (const notification of await READ_NOTIFICATION_LIST_FN()) {
|
|
210
|
+
notificationList.push(notification);
|
|
211
|
+
}
|
|
209
212
|
notificationList.sort((a, b) => {
|
|
210
213
|
const aHasTime = 'createdAt' in a;
|
|
211
214
|
const bHasTime = 'createdAt' in b;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backtest-kit/ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Full-stack UI framework for visualizing cryptocurrency trading signals, backtests, and real-time market data. React dashboard with candlestick charts, signal tracking, and risk analysis.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Petr Tripolsky",
|