@promptbook/legacy-documents 0.71.0-15 → 0.71.0-17
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
CHANGED
|
@@ -15,7 +15,7 @@ import { unparse, parse } from 'papaparse';
|
|
|
15
15
|
/**
|
|
16
16
|
* The version of the Promptbook library
|
|
17
17
|
*/
|
|
18
|
-
var PROMPTBOOK_VERSION = '0.71.0-
|
|
18
|
+
var PROMPTBOOK_VERSION = '0.71.0-16';
|
|
19
19
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
20
20
|
|
|
21
21
|
/*! *****************************************************************************
|
|
@@ -3346,7 +3346,7 @@ function makeKnowledgeSourceHandler(knowledgeSource, tools, options) {
|
|
|
3346
3346
|
switch (_c.label) {
|
|
3347
3347
|
case 0:
|
|
3348
3348
|
_b = (_a = JSON).parse;
|
|
3349
|
-
return [4 /*yield*/, readFile(filename_1, 'utf-8')];
|
|
3349
|
+
return [4 /*yield*/, tools.fs.readFile(filename_1, 'utf-8')];
|
|
3350
3350
|
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent()])];
|
|
3351
3351
|
}
|
|
3352
3352
|
});
|
|
@@ -3356,7 +3356,7 @@ function makeKnowledgeSourceHandler(knowledgeSource, tools, options) {
|
|
|
3356
3356
|
return __awaiter(this, void 0, void 0, function () {
|
|
3357
3357
|
return __generator(this, function (_a) {
|
|
3358
3358
|
switch (_a.label) {
|
|
3359
|
-
case 0: return [4 /*yield*/, readFile(filename_1, 'utf-8')];
|
|
3359
|
+
case 0: return [4 /*yield*/, tools.fs.readFile(filename_1, 'utf-8')];
|
|
3360
3360
|
case 1: return [2 /*return*/, _a.sent()];
|
|
3361
3361
|
}
|
|
3362
3362
|
});
|