@boarteam/fix-dict-fix44 0.2.0 → 1.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 CHANGED
@@ -1,13 +1,12 @@
1
1
  # @boarteam/fix-dict-fix44
2
2
 
3
- The **complete FIX 4.4 dictionary as data** (912 fields / 26 components / 93 messages / 25
3
+ The **complete FIX 4.4 dictionary as data** (912 fields / 93 messages / 105 components / 23
4
4
  datatypes) for the [`@boarteam/fix`](https://www.npmjs.com/package/@boarteam/fix) engine.
5
- Generated from the FIX 4.4 specification and cross-checked against the QuickFIX `FIX44.xml`
6
- dictionary by a CI drift gate — never hand-maintained.
5
+ Generated directly from the QuickFIX `FIX44.xml` data dictionary never hand-maintained.
7
6
 
8
7
  On a 0.x line and actively developed. See the
9
- [project README](https://github.com/boarteam/fix-protocol#readme) for coverage, the cross-check
10
- report, and declared coverage gaps.
8
+ [project README](https://github.com/boarteam/fix-protocol#readme) for coverage and declared
9
+ coverage gaps.
11
10
 
12
11
  ```ts
13
12
  import { createFixEngine } from '@boarteam/fix';
@@ -17,8 +16,15 @@ const fix = createFixEngine(dictionary);
17
16
  const wire = fix.encode({ msgType: MsgType.NewOrderSingle, fields: { [Tags.ClOrdID]: 'A1' } });
18
17
  ```
19
18
 
20
- Exports: `dictionary` (the data), `Tags` (field name → tag), `MsgType` (message name
21
- MsgType value), and `DICTIONARY_VERSION`.
19
+ Exports: `dictionary` (the data), `Tags` (field name → tag), `TagNames` (tag field
20
+ name), `MsgType` (message name → MsgType value), `MsgTypeNames` (MsgType value →
21
+ message name), `Enums` (field name → spec value name → wire string, e.g.
22
+ `Enums.MDEntryType.BID === '0'`), a top-level const per enumerated field (`Side`,
23
+ `OrdType`, `MDEntryType`, ...), and `DICTIONARY_VERSION`. `MsgType` and every
24
+ per-field const are also same-name types — unions of their wire values — so
25
+ `msgType: MsgType` and `side: Side` work in type positions. The one enumerated
26
+ field without a top-level const is `MsgType` (tag 35), whose name belongs to the
27
+ message-type map: use `Enums.MsgType`.
22
28
 
23
29
  Requires `@boarteam/fix` as a peer dependency.
24
30