@promptbook/remote-client 0.82.0-3 → 0.82.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/README.md +0 -4
- package/esm/index.es.js +3 -4
- package/esm/index.es.js.map +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +3 -4
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
<blockquote style="color: #ff8811">
|
|
27
|
-
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
|
|
28
|
-
</blockquote>
|
|
29
|
-
|
|
30
26
|
## 📦 Package `@promptbook/remote-client`
|
|
31
27
|
|
|
32
28
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
package/esm/index.es.js
CHANGED
|
@@ -19,7 +19,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
19
19
|
* @generated
|
|
20
20
|
* @see https://github.com/webgptorg/promptbook
|
|
21
21
|
*/
|
|
22
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.82.0-
|
|
22
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.82.0-3';
|
|
23
23
|
/**
|
|
24
24
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
25
25
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -618,8 +618,7 @@ function preparePipelineOnRemoteServer(pipeline, options) {
|
|
|
618
618
|
var socket, preparedPipeline;
|
|
619
619
|
return __generator(this, function (_a) {
|
|
620
620
|
switch (_a.label) {
|
|
621
|
-
case 0:
|
|
622
|
-
return [4 /*yield*/, createRemoteClient(options)];
|
|
621
|
+
case 0: return [4 /*yield*/, createRemoteClient(options)];
|
|
623
622
|
case 1:
|
|
624
623
|
socket = _a.sent();
|
|
625
624
|
socket.emit('preparePipeline-request', {
|
|
@@ -639,7 +638,7 @@ function preparePipelineOnRemoteServer(pipeline, options) {
|
|
|
639
638
|
case 2:
|
|
640
639
|
preparedPipeline = _a.sent();
|
|
641
640
|
socket.disconnect();
|
|
642
|
-
// TODO:
|
|
641
|
+
// TODO: [🧠] Maybe do $exportJson
|
|
643
642
|
return [2 /*return*/, preparedPipeline];
|
|
644
643
|
}
|
|
645
644
|
});
|