@tradejs/infra 3.1.11 → 3.1.12-beta.218
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.
|
@@ -15,11 +15,11 @@ declare const resumeRuntimeStrategy: ({ userName, deploymentId, strategyName, }:
|
|
|
15
15
|
deploymentId: string;
|
|
16
16
|
strategyName: string;
|
|
17
17
|
}) => Promise<RuntimeControls>;
|
|
18
|
-
declare const recordRuntimeStrategyControlEvent: ({ userName, deploymentId, strategyName,
|
|
18
|
+
declare const recordRuntimeStrategyControlEvent: ({ userName, deploymentId, strategyName, strategyRevision, previousState, nextState, createdBy, }: {
|
|
19
19
|
userName: string;
|
|
20
20
|
deploymentId: string;
|
|
21
21
|
strategyName: string;
|
|
22
|
-
|
|
22
|
+
strategyRevision: string;
|
|
23
23
|
previousState: RuntimeStrategyControlState;
|
|
24
24
|
nextState: RuntimeStrategyControlState;
|
|
25
25
|
createdBy: string;
|
|
@@ -15,11 +15,11 @@ declare const resumeRuntimeStrategy: ({ userName, deploymentId, strategyName, }:
|
|
|
15
15
|
deploymentId: string;
|
|
16
16
|
strategyName: string;
|
|
17
17
|
}) => Promise<RuntimeControls>;
|
|
18
|
-
declare const recordRuntimeStrategyControlEvent: ({ userName, deploymentId, strategyName,
|
|
18
|
+
declare const recordRuntimeStrategyControlEvent: ({ userName, deploymentId, strategyName, strategyRevision, previousState, nextState, createdBy, }: {
|
|
19
19
|
userName: string;
|
|
20
20
|
deploymentId: string;
|
|
21
21
|
strategyName: string;
|
|
22
|
-
|
|
22
|
+
strategyRevision: string;
|
|
23
23
|
previousState: RuntimeStrategyControlState;
|
|
24
24
|
nextState: RuntimeStrategyControlState;
|
|
25
25
|
createdBy: string;
|
package/dist/runtimeControls.js
CHANGED
|
@@ -411,7 +411,7 @@ var recordRuntimeStrategyControlEvent = async ({
|
|
|
411
411
|
userName,
|
|
412
412
|
deploymentId,
|
|
413
413
|
strategyName,
|
|
414
|
-
|
|
414
|
+
strategyRevision,
|
|
415
415
|
previousState,
|
|
416
416
|
nextState,
|
|
417
417
|
createdBy
|
|
@@ -422,7 +422,7 @@ var recordRuntimeStrategyControlEvent = async ({
|
|
|
422
422
|
eventId: `${createdAt}-${(0, import_node_crypto.randomUUID)()}`,
|
|
423
423
|
deploymentId,
|
|
424
424
|
strategyName,
|
|
425
|
-
|
|
425
|
+
strategyRevision,
|
|
426
426
|
action,
|
|
427
427
|
previousState,
|
|
428
428
|
nextState,
|
package/dist/runtimeControls.mjs
CHANGED
|
@@ -98,7 +98,7 @@ var recordRuntimeStrategyControlEvent = async ({
|
|
|
98
98
|
userName,
|
|
99
99
|
deploymentId,
|
|
100
100
|
strategyName,
|
|
101
|
-
|
|
101
|
+
strategyRevision,
|
|
102
102
|
previousState,
|
|
103
103
|
nextState,
|
|
104
104
|
createdBy
|
|
@@ -109,7 +109,7 @@ var recordRuntimeStrategyControlEvent = async ({
|
|
|
109
109
|
eventId: `${createdAt}-${randomUUID()}`,
|
|
110
110
|
deploymentId,
|
|
111
111
|
strategyName,
|
|
112
|
-
|
|
112
|
+
strategyRevision,
|
|
113
113
|
action,
|
|
114
114
|
previousState,
|
|
115
115
|
nextState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tradejs/infra",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12-beta.218",
|
|
4
4
|
"description": "MIT-licensed server infrastructure adapters for TradeJS: Redis, Timescale, ML, logging, and IO.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tradejs",
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
"redis",
|
|
11
11
|
"timescale",
|
|
12
12
|
"ml",
|
|
13
|
+
"crypto",
|
|
14
|
+
"bybit",
|
|
15
|
+
"binance",
|
|
16
|
+
"coinbase",
|
|
13
17
|
"ai",
|
|
14
18
|
"claude",
|
|
15
19
|
"codex"
|
|
@@ -126,7 +130,7 @@
|
|
|
126
130
|
"dependencies": {
|
|
127
131
|
"@grpc/grpc-js": "^1.14.4",
|
|
128
132
|
"@grpc/proto-loader": "^0.8.1",
|
|
129
|
-
"@tradejs/types": "^3.1.
|
|
133
|
+
"@tradejs/types": "^3.1.12-beta.218",
|
|
130
134
|
"chalk": "4.1.2",
|
|
131
135
|
"date-fns": "^3.6.0",
|
|
132
136
|
"ioredis": "5.11.1",
|