jsfe 1.84.0 → 1.84.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.
@@ -85,7 +85,7 @@ export function otpDigits(text) {
85
85
  // other answer returns the digits it holds, as before, except pieces separated by words that glue to six: they are never a
86
86
  // code ("572 and then 180" is "572180?", a format miss). Runs inside a flow expression, so findNumbers/assignNumbers are the
87
87
  // standard functions.
88
- const numbers = findNumbers(String(text || '')), read = assignNumbers(numbers, { code: v => v.length === 6 });
88
+ const numbers = findNumbers(String(text || '')), read = assignNumbers(numbers, [{ name: 'code', kind: 'digits', min: 6 }]);
89
89
  if (read.values.code)
90
90
  return read.values.code;
91
91
  const digits = numbers.map(n => n.value).join('');
@@ -1 +1 @@
1
- export const JSFE_RUNTIME_FINGERPRINT = "sha256:b83c69872c78bee0affda14a3693b2ef736e8f26f35909008e83c9ea9e2676fc";
1
+ export const JSFE_RUNTIME_FINGERPRINT = "sha256:c45a528134111dd006d2116a712c87b07f8fc5153cbc0d0788307ba901d663cd";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsfe",
3
- "version": "1.84.0",
3
+ "version": "1.84.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",