@elliemae/microfe-common 2.21.4 → 2.23.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.
@@ -9,6 +9,6 @@ export type { ScriptingObjects } from './scriptingObject.js';
9
9
  export { MessageType } from './messageType.js';
10
10
  export type { EventListeners, Listener } from './common.js';
11
11
  export type { ISSFGuest, ConnectParam } from './guest.js';
12
- export { ScriptingObjectManager } from './scriptingObjectManager.js';
12
+ export { ScriptingObjectManager, SecurityContext, } from './scriptingObjectManager.js';
13
13
  export type { AddScriptingObjectParams, GetObjectParams, GuestContext, } from './scriptingObjectManager.js';
14
14
  export { ScriptingObjectProxy, isScriptingObjectProxy } from './proxy.js';
@@ -204,6 +204,11 @@ export declare class Remoting {
204
204
  * @param {ListenParam<T>} param The parameters for the listener
205
205
  */
206
206
  listen: <T>(param: ListenParam<T>) => void;
207
+ /**
208
+ * Remove a previously registered callback for a specific message type
209
+ * @param {ListenParam<T>} param The parameters identifying the listener to remove
210
+ */
211
+ unlisten: <T>(param: ListenParam<T>) => void;
207
212
  /**
208
213
  * Send a message without any form of response. Fire and forget
209
214
  * @param {SendParam} param The parameters for the send
@@ -1,10 +1,7 @@
1
- import { ScriptingObjectTypes, IScriptingObject } from '@elliemae/pui-scripting-object';
1
+ import { ScriptingObjectTypes } from '@elliemae/pui-scripting-object';
2
+ import { ScriptingObjects } from './scriptingObject.js';
2
3
  export declare const MODULE_OBJECT = "module";
3
4
  type ValueOf<T> = T[keyof T];
4
- /**
5
- * collection of scripting objects
6
- */
7
- export type ScriptingObjects = Record<string, IScriptingObject>;
8
5
  /**
9
6
  * information about the guest
10
7
  */