gwchq-textjam 0.3.3 → 0.3.4

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.
@@ -175,6 +175,13 @@ self.addEventListener("message", (event) => {
175
175
  event.source && "id" in event.source ? event.source.id : "";
176
176
  const clientId = data.clientId || eventClientId || "";
177
177
 
178
+ if (data.type === "PYODIDE_STDIN_PROBE") {
179
+ if (event.source) {
180
+ event.source.postMessage({ type: "PYODIDE_STDIN_PROBE_ACK" });
181
+ }
182
+ return;
183
+ }
184
+
178
185
  if (data.type === "PYODIDE_STDIN_REGISTER") {
179
186
  if (data.clientId && eventClientId) {
180
187
  tabClientToWindowClient.set(String(data.clientId), String(eventClientId));