@promptbook/remote-server 0.89.0-3 → 0.89.0-5
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/esm/index.es.js +10 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/types.index.d.ts +2 -0
- package/esm/typings/src/remote-server/RemoteServer.d.ts +23 -0
- package/esm/typings/src/remote-server/startRemoteServer.d.ts +2 -2
- package/esm/typings/src/utils/organization/TODO_narrow.d.ts +6 -0
- package/package.json +2 -2
- package/umd/index.umd.js +10 -1
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -31,7 +31,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
31
31
|
* @generated
|
|
32
32
|
* @see https://github.com/webgptorg/promptbook
|
|
33
33
|
*/
|
|
34
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.89.0-
|
|
34
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.89.0-5';
|
|
35
35
|
/**
|
|
36
36
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
37
37
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -7107,6 +7107,15 @@ function startRemoteServer(options) {
|
|
|
7107
7107
|
}
|
|
7108
7108
|
let isDestroyed = false;
|
|
7109
7109
|
return {
|
|
7110
|
+
get httpServer() {
|
|
7111
|
+
return httpServer;
|
|
7112
|
+
},
|
|
7113
|
+
get expressApp() {
|
|
7114
|
+
return app;
|
|
7115
|
+
},
|
|
7116
|
+
get socketIoServer() {
|
|
7117
|
+
return server;
|
|
7118
|
+
},
|
|
7110
7119
|
get isDestroyed() {
|
|
7111
7120
|
return isDestroyed;
|
|
7112
7121
|
},
|