@datalayer/agent-runtimes 1.6.40 → 1.6.41
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.
|
@@ -59,12 +59,15 @@ export type Place = Readonly<{
|
|
|
59
59
|
/**
|
|
60
60
|
* Where a turn comes from, as the session API takes it on the turn itself
|
|
61
61
|
* (`provenance`, at most 1 KiB): the host's
|
|
62
|
-
* kind, the place, the thread and the message.
|
|
62
|
+
* kind, the place, the thread and the message. A host whose place names its
|
|
63
|
+
* conversation (a WhatsApp chat or group) sends no thread, as the session
|
|
64
|
+
* API's own `TurnProvenance` (a `thread` of `""` by default) and this kit's
|
|
65
|
+
* WhatsApp contract say.
|
|
63
66
|
*/
|
|
64
67
|
export type TurnProvenance = Readonly<{
|
|
65
68
|
host_kind: string;
|
|
66
69
|
place: Place;
|
|
67
|
-
thread
|
|
70
|
+
thread?: string;
|
|
68
71
|
message_id: string;
|
|
69
72
|
}>;
|
|
70
73
|
/**
|