@elliemae/microfe-common 2.30.0 → 2.32.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/dist/cjs/package.json
CHANGED
package/dist/cjs/remoting.js
CHANGED
|
@@ -236,6 +236,12 @@ class Remoting {
|
|
|
236
236
|
this.#initializedWindow = null;
|
|
237
237
|
}
|
|
238
238
|
this.#stopResponseMonitor();
|
|
239
|
+
this.#invocations.forEach(({ reject }) => {
|
|
240
|
+
reject(new Error("Remoting closed"));
|
|
241
|
+
});
|
|
242
|
+
this.#invocations.clear();
|
|
243
|
+
this.#listeners.clear();
|
|
244
|
+
this.#allowedSenders.clear();
|
|
239
245
|
this.#logger.debug(`closed remoting id: ${this.#correlationId}`);
|
|
240
246
|
};
|
|
241
247
|
/**
|
package/dist/esm/package.json
CHANGED
package/dist/esm/remoting.js
CHANGED
|
@@ -212,6 +212,12 @@ class Remoting {
|
|
|
212
212
|
this.#initializedWindow = null;
|
|
213
213
|
}
|
|
214
214
|
this.#stopResponseMonitor();
|
|
215
|
+
this.#invocations.forEach(({ reject }) => {
|
|
216
|
+
reject(new Error("Remoting closed"));
|
|
217
|
+
});
|
|
218
|
+
this.#invocations.clear();
|
|
219
|
+
this.#listeners.clear();
|
|
220
|
+
this.#allowedSenders.clear();
|
|
215
221
|
this.#logger.debug(`closed remoting id: ${this.#correlationId}`);
|
|
216
222
|
};
|
|
217
223
|
/**
|
|
@@ -32,6 +32,12 @@ export type SubscribeParam<EventId, EventListener extends Listener<any, any, any
|
|
|
32
32
|
* filter criteria for the event
|
|
33
33
|
*/
|
|
34
34
|
criteria?: FilterCriteria;
|
|
35
|
+
/**
|
|
36
|
+
* When true (default), the guest evaluates criteria locally before invoking
|
|
37
|
+
* the callback. When false, the guest skips filtering and the host is
|
|
38
|
+
* responsible for filtering before dispatch.
|
|
39
|
+
*/
|
|
40
|
+
filterOnGuest?: boolean;
|
|
35
41
|
/**
|
|
36
42
|
* event listener
|
|
37
43
|
*/
|