daml/docs/source
Stephen Compall 79c6ee7339
add offset to live events; remove liveness marker (#4593)
* move BeginBookmark to util

* adding offsets to steps

* offsetAfter belongs in Txn, not InsertDeleteStep

* make transaction stream a ContractStreamStep.Txn stream

* add several ContractStreamStep append cases

* rewrite 'render' to emit offset in the right places

* make ContractStreamStep#append total again

* check for offset in a few tests

* revert useless whitespace changes

* missed argument

* simpler mapPreservingIds

* rewrite states for new "live" format

* remove invalidated "events" block structure assertions

* make shutdown in withHttpService deterministic, to try to catch race condition

* exhaustiveness checking somehow disabled; fixed fetch flow and all is well

* documentation and changelog

CHANGELOG_BEGIN
- [JSON API - Experimental] Remove ``{"live": true}`` marker from websocket streams;
  instead, live data is indicated by the presence of an "offset".
  See `issue #4593 <https://github.com/digital-asset/daml/pull/4593>`_.
CHANGELOG_END

* be more specific about what liveness marker may be in docs

* fix daml2ts websocket tests

* mention type rules for all cases in offset documentation
2020-02-26 10:17:21 -08:00
..
app-dev Improve docs around state-driven apps (#4496) 2020-02-13 11:18:18 +01:00
concepts Fix doc inconsistency regarding party reference (#4337) 2020-02-02 11:10:11 +01:00
daml Clarify SDK version in DAML studio multi-package docs (#4518) 2020-02-14 12:11:03 +00:00
daml2ts Adjust with suggestions from review feedback (#4261) 2020-01-30 11:31:08 -05:00
daml-integration-kit update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
daml-repl Add documentation for DAML repl and advertise it (#4678) 2020-02-25 11:16:31 +00:00
daml-script Add documentation for DAML repl and advertise it (#4678) 2020-02-25 11:16:31 +00:00
deploy update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
examples update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
experimental update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
getting-started GSG: expand explanation of UI in architecture section (#4700) 2020-02-26 11:41:17 +00:00
json-api add offset to live events; remove liveness marker (#4593) 2020-02-26 10:17:21 -08:00
migrate add copyright headers to yml files (#4407) 2020-02-06 12:54:07 +01:00
support Release 0.13.54 (#4627) 2020-02-20 16:42:00 +00:00
tools Fix JWT example in sandbox auth docs (#4640) 2020-02-20 13:56:22 -05:00
triggers Require explicit time mode for DAML script and DAML trigger (#4484) 2020-02-12 11:16:25 +01:00
index.rst Add documentation for DAML repl and advertise it (#4678) 2020-02-25 11:16:31 +00:00