@elliemae/microfe-common 2.22.0 → 2.23.1
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/event.js +5 -2
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/remoting.js +64 -40
- package/dist/cjs/scriptingObjectManager.js +15 -9
- package/dist/esm/event.js +5 -2
- package/dist/esm/index.js +5 -1
- package/dist/esm/remoting.js +64 -40
- package/dist/esm/scriptingObjectManager.js +15 -9
- package/dist/types/lib/event.d.ts +1 -1
- package/dist/types/lib/guest.d.ts +3 -3
- package/dist/types/lib/index.d.ts +1 -1
- package/dist/types/lib/remoting.d.ts +5 -0
- package/dist/types/lib/scriptingObjectManager.d.ts +2 -5
- package/dist/types/lib/tests/event.test.d.ts +1 -0
- package/dist/types/lib/tests/messageType.test.d.ts +1 -0
- package/dist/types/lib/tests/proxy.test.d.ts +1 -0
- package/dist/types/lib/tests/remoting.test.d.ts +1 -0
- package/dist/types/lib/tests/scriptingObject.test.d.ts +1 -0
- package/dist/types/lib/tests/scriptingObjectManager.test.d.ts +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +18 -19
|
@@ -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
|
|
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
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|