@promptbook/templates 0.100.0-1 → 0.100.0-2
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 -10
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/config.d.ts +0 -10
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +10 -10
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/remote-server/connection-improvements.test.d.ts +0 -1
- package/esm/typings/src/remote-server/utils/connectionProgress.d.ts +0 -72
|
@@ -138,9 +138,6 @@ export declare const SMALL_NUMBER = 0.001;
|
|
|
138
138
|
/**
|
|
139
139
|
* Timeout for the connections in milliseconds
|
|
140
140
|
*
|
|
141
|
-
* Note: Increased from 7 seconds to 30 seconds to accommodate OAuth flows
|
|
142
|
-
* like Facebook login which may require user interaction and redirects
|
|
143
|
-
*
|
|
144
141
|
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
145
142
|
*/
|
|
146
143
|
export declare const CONNECTION_TIMEOUT_MS: number;
|
|
@@ -150,13 +147,6 @@ export declare const CONNECTION_TIMEOUT_MS: number;
|
|
|
150
147
|
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
151
148
|
*/
|
|
152
149
|
export declare const CONNECTION_RETRIES_LIMIT = 5;
|
|
153
|
-
/**
|
|
154
|
-
* Timeout specifically for OAuth authentication flows in milliseconds
|
|
155
|
-
* OAuth flows typically require more time due to user interaction and redirects
|
|
156
|
-
*
|
|
157
|
-
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
158
|
-
*/
|
|
159
|
-
export declare const OAUTH_TIMEOUT_MS: number;
|
|
160
150
|
/**
|
|
161
151
|
* Short time interval to prevent race conditions in milliseconds
|
|
162
152
|
*
|
|
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
|
|
|
15
15
|
export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
|
|
16
16
|
/**
|
|
17
17
|
* Represents the version string of the Promptbook engine.
|
|
18
|
-
* It follows semantic versioning (e.g., `0.100.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.100.0-1`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/templates",
|
|
3
|
-
"version": "0.100.0-
|
|
3
|
+
"version": "0.100.0-2",
|
|
4
4
|
"description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"module": "./esm/index.es.js",
|
|
96
96
|
"typings": "./esm/typings/src/_packages/templates.index.d.ts",
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"@promptbook/core": "0.100.0-
|
|
98
|
+
"@promptbook/core": "0.100.0-2"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"prettier": "2.8.1",
|
package/umd/index.umd.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* @generated
|
|
24
24
|
* @see https://github.com/webgptorg/promptbook
|
|
25
25
|
*/
|
|
26
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.100.0-
|
|
26
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.100.0-2';
|
|
27
27
|
/**
|
|
28
28
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
29
29
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1578,7 +1578,7 @@
|
|
|
1578
1578
|
"preparations": [
|
|
1579
1579
|
{
|
|
1580
1580
|
"id": 1,
|
|
1581
|
-
"promptbookVersion": "0.100.0-
|
|
1581
|
+
"promptbookVersion": "0.100.0-1",
|
|
1582
1582
|
"usage": {
|
|
1583
1583
|
"price": {
|
|
1584
1584
|
"value": 0.028037500000000003
|
|
@@ -2143,7 +2143,7 @@
|
|
|
2143
2143
|
"preparations": [
|
|
2144
2144
|
{
|
|
2145
2145
|
"id": 1,
|
|
2146
|
-
"promptbookVersion": "0.100.0-
|
|
2146
|
+
"promptbookVersion": "0.100.0-1",
|
|
2147
2147
|
"usage": {
|
|
2148
2148
|
"price": {
|
|
2149
2149
|
"value": 0.028037500000000003
|
|
@@ -2837,7 +2837,7 @@
|
|
|
2837
2837
|
"preparations": [
|
|
2838
2838
|
{
|
|
2839
2839
|
"id": 1,
|
|
2840
|
-
"promptbookVersion": "0.100.0-
|
|
2840
|
+
"promptbookVersion": "0.100.0-1",
|
|
2841
2841
|
"usage": {
|
|
2842
2842
|
"price": {
|
|
2843
2843
|
"value": 0.025285000000000002
|
|
@@ -2979,7 +2979,7 @@
|
|
|
2979
2979
|
"preparations": [
|
|
2980
2980
|
{
|
|
2981
2981
|
"id": 1,
|
|
2982
|
-
"promptbookVersion": "0.100.0-
|
|
2982
|
+
"promptbookVersion": "0.100.0-1",
|
|
2983
2983
|
"usage": {
|
|
2984
2984
|
"price": {
|
|
2985
2985
|
"value": 0.026235
|
|
@@ -3075,7 +3075,7 @@
|
|
|
3075
3075
|
"preparations": [
|
|
3076
3076
|
{
|
|
3077
3077
|
"id": 1,
|
|
3078
|
-
"promptbookVersion": "0.100.0-
|
|
3078
|
+
"promptbookVersion": "0.100.0-1",
|
|
3079
3079
|
"usage": {
|
|
3080
3080
|
"price": {
|
|
3081
3081
|
"value": 0
|
|
@@ -3212,7 +3212,7 @@
|
|
|
3212
3212
|
"preparations": [
|
|
3213
3213
|
{
|
|
3214
3214
|
"id": 1,
|
|
3215
|
-
"promptbookVersion": "0.100.0-
|
|
3215
|
+
"promptbookVersion": "0.100.0-1",
|
|
3216
3216
|
"usage": {
|
|
3217
3217
|
"price": {
|
|
3218
3218
|
"value": 0.026232500000000002
|
|
@@ -3362,7 +3362,7 @@
|
|
|
3362
3362
|
"preparations": [
|
|
3363
3363
|
{
|
|
3364
3364
|
"id": 1,
|
|
3365
|
-
"promptbookVersion": "0.100.0-
|
|
3365
|
+
"promptbookVersion": "0.100.0-1",
|
|
3366
3366
|
"usage": {
|
|
3367
3367
|
"price": {
|
|
3368
3368
|
"value": 0.025945000000000003
|
|
@@ -3683,7 +3683,7 @@
|
|
|
3683
3683
|
"preparations": [
|
|
3684
3684
|
{
|
|
3685
3685
|
"id": 1,
|
|
3686
|
-
"promptbookVersion": "0.100.0-
|
|
3686
|
+
"promptbookVersion": "0.100.0-1",
|
|
3687
3687
|
"usage": {
|
|
3688
3688
|
"price": {
|
|
3689
3689
|
"value": 0.0259225
|
|
@@ -3830,7 +3830,7 @@
|
|
|
3830
3830
|
"preparations": [
|
|
3831
3831
|
{
|
|
3832
3832
|
"id": 1,
|
|
3833
|
-
"promptbookVersion": "0.100.0-
|
|
3833
|
+
"promptbookVersion": "0.100.0-1",
|
|
3834
3834
|
"usage": {
|
|
3835
3835
|
"price": {
|
|
3836
3836
|
"value": 0.02687
|