@boarteam/fix-dict-fix42 1.0.0 → 2.0.0
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/README.md +8 -0
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1780 -2
- package/dist/index.d.ts +1780 -2
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -27,6 +27,14 @@ per-field const are also same-name types — unions of their wire values — so
|
|
|
27
27
|
field without a top-level const is `MsgType` (tag 35), whose name belongs to the
|
|
28
28
|
message-type map: use `Enums.MsgType`.
|
|
29
29
|
|
|
30
|
+
It also exports the typed encode-side API: `message` (a factory bound to this dictionary),
|
|
31
|
+
`MessageBodies` (the `MsgType` value → body-type registry), and a named body type per message
|
|
32
|
+
plus augmentable per-container group/component `interface`s. For the read side it exports
|
|
33
|
+
`isMessageType` (a type guard that narrows a `MessageView<any>` of unknown type to a specific
|
|
34
|
+
message's body, keyed on its `MsgType` value) and `MessageOf<M>` (the matching annotation alias).
|
|
35
|
+
See the [`@boarteam/fix` README](https://www.npmjs.com/package/@boarteam/fix) for the
|
|
36
|
+
typed-message API.
|
|
37
|
+
|
|
30
38
|
Requires `@boarteam/fix` as a peer dependency.
|
|
31
39
|
|
|
32
40
|
## License
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var fix = require('@boarteam/fix');
|
|
4
|
+
|
|
5
|
+
// src/index.ts
|
|
6
|
+
|
|
3
7
|
// src/dictionary.json
|
|
4
8
|
var dictionary_default = {
|
|
5
9
|
version: "FIX.4.2",
|
|
@@ -16014,6 +16018,8 @@ var Enums = {
|
|
|
16014
16018
|
"UnsolicitedIndicator": UnsolicitedIndicator,
|
|
16015
16019
|
"Urgency": Urgency
|
|
16016
16020
|
};
|
|
16021
|
+
var message = fix.messageFactory(dictionary);
|
|
16022
|
+
var isMessageType = fix.messageTypeGuard();
|
|
16017
16023
|
|
|
16018
16024
|
exports.Adjustment = Adjustment;
|
|
16019
16025
|
exports.AdvSide = AdvSide;
|
|
@@ -16125,5 +16131,7 @@ exports.TradeType = TradeType;
|
|
|
16125
16131
|
exports.UnsolicitedIndicator = UnsolicitedIndicator;
|
|
16126
16132
|
exports.Urgency = Urgency;
|
|
16127
16133
|
exports.dictionary = dictionary;
|
|
16134
|
+
exports.isMessageType = isMessageType;
|
|
16135
|
+
exports.message = message;
|
|
16128
16136
|
//# sourceMappingURL=index.cjs.map
|
|
16129
16137
|
//# sourceMappingURL=index.cjs.map
|