@boarteam/fix-dict-fix44 4.0.0 โ†’ 4.1.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
@@ -4,6 +4,8 @@ The **complete FIX 4.4 dictionary as data** (912 fields / 93 messages / 105 comp
4
4
  datatypes) for the [`@boarteam/fix`](https://www.npmjs.com/package/@boarteam/fix) engine.
5
5
  Generated directly from the QuickFIX `FIX44.xml` data dictionary โ€” never hand-maintained.
6
6
 
7
+ ๐Ÿ“– **[Documentation](https://boar.team/fix/docs/)** ยท ๐Ÿ“š **[Browse FIX 4.4](https://boar.team/fix/dialect/4-4/)** ยท โ–ถ๏ธ **[Playground](https://boar.team/fix/playground/)** ยท ๐Ÿ’ป **[GitHub](https://github.com/boarteam/fix-protocol)**
8
+
7
9
  Stable and actively developed. See the
8
10
  [project README](https://github.com/boarteam/fix-protocol#readme) for coverage and declared
9
11
  coverage gaps.
@@ -47,11 +49,16 @@ For the typed encode side it also exports `message` (a factory bound to this dic
47
49
  `MessageBodies` (the `MsgType` value โ†’ body-type registry), and a named body type per message
48
50
  (`NewOrderSingleBody`, `MarketDataSnapshotFullRefreshBody`, โ€ฆ) plus augmentable per-container
49
51
  group/component `interface`s (`SecListGrp_NoRelatedSymEntry`, `InstrumentFields`, โ€ฆ) that venue
50
- extensions patch via declaration merging. For the read side it exports `isMessageType` โ€” a type
51
- guard that narrows a `MessageView<any>` of unknown type to a specific message's body keyed on its
52
- `MsgType` value (so `get()` becomes typed) โ€” and `MessageOf<M>`, the matching annotation alias.
53
- See the [`@boarteam/fix` README](https://www.npmjs.com/package/@boarteam/fix) for the
54
- typed-message API.
52
+ extensions patch via declaration merging. It also exports a narrowing pair per direction, both
53
+ keyed on the `MsgType` value: `isMessageType` + `MessageOf<M>` for a message you **built** (they
54
+ narrow a `MessageView<any>` of unknown type to a specific message's body, so `get()` becomes
55
+ typed), and `isInboundType` + `InboundOf<M>` for one you **received** โ€” same narrowing over an
56
+ `InboundMessage`, with the session `envelope` and the original `parsed` still reachable
57
+ afterwards. Narrowing to _every_ message at once is `inboundKnownGuard`, which takes the
58
+ dictionary at runtime and so is bound by the consumer โ€” an app that extends this dictionary must
59
+ bind its own rather than borrow one bound to the stock one.
60
+ The typed-message API is documented in full in the
61
+ [Typed messages guide](https://boar.team/fix/docs/typed-messages/).
55
62
 
56
63
  Requires `@boarteam/fix` as a peer dependency.
57
64
 
package/dist/index.cjs CHANGED
@@ -37827,6 +37827,7 @@ var Enums = {
37827
37827
  };
37828
37828
  var message = fix.messageFactory(dictionary);
37829
37829
  var isMessageType = fix.messageTypeGuard();
37830
+ var isInboundType = fix.inboundTypeGuard();
37830
37831
 
37831
37832
  exports.AccountType = AccountType;
37832
37833
  exports.AcctIDSource = AcctIDSource;
@@ -38079,6 +38080,7 @@ exports.UserStatus = UserStatus;
38079
38080
  exports.WorkingIndicator = WorkingIndicator;
38080
38081
  exports.YieldType = YieldType;
38081
38082
  exports.dictionary = dictionary;
38083
+ exports.isInboundType = isInboundType;
38082
38084
  exports.isMessageType = isMessageType;
38083
38085
  exports.message = message;
38084
38086
  //# sourceMappingURL=index.cjs.map