jspurefix 5.10.3 → 5.10.5
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/ATDL_PLAN.md +82 -14
- package/dist/buffer/elastic-buffer.js +3 -3
- package/dist/buffer/elastic-buffer.js.map +1 -1
- package/dist/buffer/encode-proxy.js.map +1 -1
- package/dist/buffer/fixml/fixml-encoder.js.map +1 -1
- package/dist/buffer/msg-view.js.map +1 -1
- package/dist/config/winston-logger.js.map +1 -1
- package/dist/dictionary/parser/fixml/components-parser.js.map +1 -1
- package/dist/dictionary/parser/fixml/fields-parser.js.map +1 -1
- package/dist/dictionary/parser/fixml/include-graph.js.map +1 -1
- package/dist/jsfix-bench.js.map +1 -1
- package/dist/sample/http/oms/app.js.map +1 -1
- package/dist/sample/http/oms/oms-factory.js.map +1 -1
- package/dist/sample/tcp/qf-md/app.js.map +1 -1
- package/dist/sample/tcp/skeleton/app.js.map +1 -1
- package/dist/sample/tcp/trade-capture/app-launcher.js.map +1 -1
- package/dist/store/fix-msg-memory-store.js.map +1 -1
- package/dist/transport/fixml/fixml-session-msg-factory.js.map +1 -1
- package/dist/transport/session/clone-session-description.js.map +1 -1
- package/dist/transport/tcp/tls-options-factory.js.map +1 -1
- package/jsfix.test_client.txt +62 -62
- package/jsfix.test_server.txt +72 -72
- package/package.json +5 -3
- package/src/buffer/elastic-buffer.ts +13 -3
- package/src/buffer/encode-proxy.ts +1 -1
- package/src/buffer/fixml/fixml-encoder.ts +1 -1
- package/src/buffer/msg-view.ts +1 -1
- package/src/config/winston-logger.ts +1 -1
- package/src/dictionary/parser/fixml/components-parser.ts +2 -2
- package/src/dictionary/parser/fixml/fields-parser.ts +1 -1
- package/src/dictionary/parser/fixml/include-graph.ts +1 -1
- package/src/jsfix-bench.ts +1 -1
- package/src/sample/http/oms/app.ts +1 -1
- package/src/sample/http/oms/oms-factory.ts +4 -4
- package/src/sample/tcp/qf-md/app.ts +1 -1
- package/src/sample/tcp/skeleton/app.ts +1 -1
- package/src/sample/tcp/trade-capture/app-launcher.ts +1 -1
- package/src/store/fix-msg-memory-store.ts +1 -1
- package/src/transport/fixml/fixml-session-msg-factory.ts +5 -5
- package/src/transport/session/clone-session-description.ts +1 -1
- package/src/transport/tcp/tls-options-factory.ts +2 -2
|
@@ -31,7 +31,7 @@ export class FixmlSessionMsgFactory extends ASessionMsgFactory {
|
|
|
31
31
|
TargetCompID: description.TargetCompID,
|
|
32
32
|
SenderSubID: description.SenderSubID,
|
|
33
33
|
TargetSubID: description.TargetSubID
|
|
34
|
-
}
|
|
34
|
+
}
|
|
35
35
|
return this.mutate(o, 'StandardHeader')
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -45,14 +45,14 @@ export class FixmlSessionMsgFactory extends ASessionMsgFactory {
|
|
|
45
45
|
UserRequestType: UserRequestType.LogOnUser,
|
|
46
46
|
// same escape hatch as the ascii factory - see ISessionDescription.Logon
|
|
47
47
|
...description.Logon
|
|
48
|
-
}
|
|
48
|
+
}
|
|
49
49
|
return this.mutate(o, MsgType.Logon)
|
|
50
50
|
} else {
|
|
51
51
|
const o: IUserResponse = {
|
|
52
52
|
Username: description.Username,
|
|
53
53
|
UserRequestID: userRequestId,
|
|
54
54
|
UserStatus: UserStatus.LoggedIn
|
|
55
|
-
}
|
|
55
|
+
}
|
|
56
56
|
return this.mutate(o, MsgType.Logon)
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -63,14 +63,14 @@ export class FixmlSessionMsgFactory extends ASessionMsgFactory {
|
|
|
63
63
|
Username: this.description.Username,
|
|
64
64
|
UserRequestID: userRequestId,
|
|
65
65
|
UserRequestType: UserRequestType.LogOffUser
|
|
66
|
-
}
|
|
66
|
+
}
|
|
67
67
|
return this.mutate(o, MsgType.Logout)
|
|
68
68
|
} else {
|
|
69
69
|
const o: IUserResponse = {
|
|
70
70
|
Username: this.description.Username,
|
|
71
71
|
UserRequestID: userRequestId,
|
|
72
72
|
UserStatus: UserStatus.NotLoggedIn
|
|
73
|
-
}
|
|
73
|
+
}
|
|
74
74
|
return this.mutate(o, MsgType.Logout)
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -37,5 +37,5 @@ export function cloneSessionDescription (
|
|
|
37
37
|
* late binding - i.e. wildcard TargetCompID resolved from the peer's Logon.
|
|
38
38
|
*/
|
|
39
39
|
export function asMutable (description: ISessionDescription): MutableSessionDescription {
|
|
40
|
-
return description
|
|
40
|
+
return description
|
|
41
41
|
}
|
|
@@ -36,7 +36,7 @@ export class TlsOptionsFactory {
|
|
|
36
36
|
tlsOptions = {
|
|
37
37
|
requestCert: TlsOptionsFactory.asBoolean(tls.requestCert),
|
|
38
38
|
rejectUnauthorized: TlsOptionsFactory.asBoolean(tls.rejectUnauthorized)
|
|
39
|
-
}
|
|
39
|
+
}
|
|
40
40
|
|
|
41
41
|
if (tls.key) {
|
|
42
42
|
tlsOptions.key = TlsOptionsFactory.read(tls.key)
|
|
@@ -64,7 +64,7 @@ export class TlsOptionsFactory {
|
|
|
64
64
|
connectionOptions = {
|
|
65
65
|
port: tcp.port,
|
|
66
66
|
host: tcp.host
|
|
67
|
-
}
|
|
67
|
+
}
|
|
68
68
|
if (tls.key) {
|
|
69
69
|
connectionOptions.key = TlsOptionsFactory.read(tcp.tls?.key ?? '')
|
|
70
70
|
connectionOptions.cert = tcp.tls?.cert ? TlsOptionsFactory.read(tcp?.tls?.cert) : undefined
|