jsfe 1.87.0 → 1.87.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/forms/contracts.js"],"names":[],"mappings":"AAgBA;;;IAGC;AACD;;;;;EAGC;AACD,qGAAqG;AACrG;;QAwCC;AAqBD;;;QAEC;AAgBD;;;;;;;;;QASC;AACD;;;;QAGC;AACD;;;;;;;;QA8BC;AAED,mHAAmH;AACnH,kDAgBC;AAED,+GAA+G;AAC/G
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/forms/contracts.js"],"names":[],"mappings":"AAgBA;;;IAGC;AACD;;;;;EAGC;AACD,qGAAqG;AACrG;;QAwCC;AAqBD;;;QAEC;AAgBD;;;;;;;;;QASC;AACD;;;;QAGC;AACD;;;;;;;;QA8BC;AAED,mHAAmH;AACnH,kDAgBC;AAED,+GAA+G;AAC/G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4EC"}
|
package/dist/forms/flows.d.ts
CHANGED
|
@@ -105,6 +105,10 @@ export namespace FIELD_PRESETS {
|
|
|
105
105
|
namespace digits {
|
|
106
106
|
let min: number;
|
|
107
107
|
let max: number;
|
|
108
|
+
let complete: {
|
|
109
|
+
first: string;
|
|
110
|
+
lengths: number[];
|
|
111
|
+
}[];
|
|
108
112
|
}
|
|
109
113
|
let length_message: string;
|
|
110
114
|
let length_message_es: string;
|
|
@@ -338,10 +342,11 @@ export namespace FIELD_PRESETS {
|
|
|
338
342
|
export { min_8 as min };
|
|
339
343
|
let max_7: number;
|
|
340
344
|
export { max_7 as max };
|
|
341
|
-
|
|
345
|
+
let complete_1: {
|
|
342
346
|
first: string;
|
|
343
347
|
lengths: number[];
|
|
344
348
|
}[];
|
|
349
|
+
export { complete_1 as complete };
|
|
345
350
|
}
|
|
346
351
|
export { digits_4 as digits };
|
|
347
352
|
let rank_parameters_2: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../src/forms/flows.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../src/forms/flows.js"],"names":[],"mappings":"AAoIA;;;;;;;GAOG;AACH;;;;GAIG;AACH,8HAA8H;AAC9H,uFAIC;AAsGD;;2EAE2E;AAC3E,qEAEC;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2EC;AACD;;;GAGG;AACH;;;;;;EAGC;AAynBD,wHAAwH;AACxH,wEAaC;AACD,4FAA4F;AAC5F;;;EAYC;AACD,sGAAsG;AACtG;;;EAOC;AAz8BM,6CAAuG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0J9G,4CAEqI;AA0gCrI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAOG"}
|
package/dist/forms/flows.js
CHANGED
|
@@ -50,7 +50,9 @@ const MONTH_RE = MONTH_NAMES.map(([n]) => n).join('|');
|
|
|
50
50
|
// ── field presets (decision 2A): ONE library, read only by collect-input ─────────────────────────────────────────
|
|
51
51
|
// A form uses a preset by name ({ name, field }); keys it gives override the preset's (e.g. a tenant's account pattern).
|
|
52
52
|
export const FIELD_PRESETS = {
|
|
53
|
-
|
|
53
|
+
// complete: a US/Canada number is whole at 10 keys starting 2-9, or 11 starting with 1, so the keypad submits it on its last key
|
|
54
|
+
// (prod 2026-11-21: "2133698962" keyed at a new-cell question waited 4.5 s for an 11th key, and speech in that wait replaced it).
|
|
55
|
+
phone: { label: 'phone number', label_es: 'número de teléfono', profile: { kind: 'phone' }, digits: { min: 10, max: 11, complete: [{ first: '23456789', lengths: [10] }, { first: '1', lengths: [11] }] },
|
|
54
56
|
length_message: 'I heard {heard} digits; a phone number has 10.', length_message_es: 'Escuché {heard} dígitos; el número de teléfono tiene 10.',
|
|
55
57
|
question: 'What is your phone number?', question_es: '¿Cuál es su número de teléfono?',
|
|
56
58
|
retry: 'Please say or enter your 10-digit phone number.', retry_es: 'Por favor diga o ingrese su número de teléfono de 10 dígitos.',
|
package/dist/runtime-identity.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const JSFE_RUNTIME_FINGERPRINT = "sha256:
|
|
1
|
+
export const JSFE_RUNTIME_FINGERPRINT = "sha256:6604d083f14f08e04e9558e225dd63a8e68e60ce42b12e4e7e90bc6006a1f426";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsfe",
|
|
3
|
-
"version": "1.87.
|
|
3
|
+
"version": "1.87.1",
|
|
4
4
|
"description": "TypeScript workflow engine for conversational/automation apps: multi-flow orchestration, interrupt/resume, stack-based control, robust errors, and flexible tool/REST integration.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ron Pinkas",
|