Ocelloids SDK v1.2.0
- The
extractEvents
operator now supports both events emitted from submitted extrinsics and internally executed calls. - Added new type
BlockEvent
to represent events that may or may not have associated extrinsic. - Changed
filterEvents
logic to filter overBlockEvents
with an event criteria. - Renamed previous
filterEvents
tofilterEventsWithTx
to clarify that it only filters over events with associated extrinsic. - Updated construct of
eventId
field inEventWithId
to be[blocknumber]-[position-in-block]
to support extrinsic-less events.
- Added support for filtering over
ExtrinsicWithId
andTxWithIdAndEvent
fields usingmongoFilter
. - Renamed
origins
field inExtrinsicWithId
toextraSigners
to avoid confusion with Polkadot origins.
Full Changelog: v1.1.15...v1.2.0