@promptbook/utils 0.30.0-5 → 0.30.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/esm/index.es.js +2 -2
- package/package.json +2 -2
- package/umd/index.umd.js +2 -2
package/esm/index.es.js
CHANGED
|
@@ -109,8 +109,8 @@ function prettifyMarkdown(html) {
|
|
|
109
109
|
*/
|
|
110
110
|
function executionReportJsonToString(executionReportJson) {
|
|
111
111
|
var e_1, _a;
|
|
112
|
-
// TODO:
|
|
113
|
-
// TODO:
|
|
112
|
+
// TODO: [🎡] Add timing information to report
|
|
113
|
+
// TODO: [🎡] Better (filter out voids)
|
|
114
114
|
var executionReportString = spaceTrim(function (block) { return "\n # ".concat(executionReportJson.title || 'Execution report', "\n\n ").concat(block(executionReportJson.description || ''), "\n\n - PTBK URL `").concat(executionReportJson.ptbkUrl || '', "`\n - PTBK VERSION `").concat(executionReportJson.ptbkUsedVersion, "` (requested `").concat(executionReportJson.ptbkRequestedVersion || '', "`)\n\n "); });
|
|
115
115
|
var _loop_1 = function (promptExecution) {
|
|
116
116
|
executionReportString +=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/utils",
|
|
3
|
-
"version": "0.30.0
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prettier": "2.8.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@promptbook/core": "0.30.0
|
|
42
|
+
"@promptbook/core": "0.30.0"
|
|
43
43
|
},
|
|
44
44
|
"main": "./umd/index.umd.js",
|
|
45
45
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
*/
|
|
116
116
|
function executionReportJsonToString(executionReportJson) {
|
|
117
117
|
var e_1, _a;
|
|
118
|
-
// TODO:
|
|
119
|
-
// TODO:
|
|
118
|
+
// TODO: [🎡] Add timing information to report
|
|
119
|
+
// TODO: [🎡] Better (filter out voids)
|
|
120
120
|
var executionReportString = spaceTrim__default["default"](function (block) { return "\n # ".concat(executionReportJson.title || 'Execution report', "\n\n ").concat(block(executionReportJson.description || ''), "\n\n - PTBK URL `").concat(executionReportJson.ptbkUrl || '', "`\n - PTBK VERSION `").concat(executionReportJson.ptbkUsedVersion, "` (requested `").concat(executionReportJson.ptbkRequestedVersion || '', "`)\n\n "); });
|
|
121
121
|
var _loop_1 = function (promptExecution) {
|
|
122
122
|
executionReportString +=
|