@wise/dynamic-flow-client 3.31.0 → 3.31.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/build/main.js CHANGED
@@ -436,8 +436,8 @@ var require_screenfull = __commonJS({
436
436
  });
437
437
 
438
438
  // src/index.ts
439
- var src_exports = {};
440
- __export(src_exports, {
439
+ var index_exports = {};
440
+ __export(index_exports, {
441
441
  DynamicFlow: () => DynamicFlow_default,
442
442
  DynamicFlowCoreRevamp: () => DynamicFlowCore,
443
443
  DynamicFlowRevamp: () => DynamicFlowWise_default,
@@ -451,7 +451,7 @@ __export(src_exports, {
451
451
  makeHttpClient: () => makeHttpClient,
452
452
  translations: () => i18n_default
453
453
  });
454
- module.exports = __toCommonJS(src_exports);
454
+ module.exports = __toCommonJS(index_exports);
455
455
 
456
456
  // src/common/utils/api-utils.ts
457
457
  function isRelativePath(url = "") {
@@ -5978,6 +5978,12 @@ var sizeSchema = z.union([
5978
5978
  z.literal("lg"),
5979
5979
  z.literal("xl")
5980
5980
  ]);
5981
+ var autocapitalizationTypeSchema = z.union([
5982
+ z.literal("none"),
5983
+ z.literal("characters"),
5984
+ z.literal("sentences"),
5985
+ z.literal("words")
5986
+ ]);
5981
5987
  var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
5982
5988
  var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
5983
5989
  var autocompleteTokenSchema = z.union([
@@ -6693,6 +6699,7 @@ var stringSchemaSchema = z.lazy(
6693
6699
  minimum: z.string().optional(),
6694
6700
  maximum: z.string().optional(),
6695
6701
  pattern: z.string().optional(),
6702
+ autocapitalization: autocapitalizationTypeSchema.optional(),
6696
6703
  $id: z.string().optional(),
6697
6704
  title: z.string().optional(),
6698
6705
  description: z.string().optional(),
@@ -6948,12 +6955,12 @@ var getStepPolling = ({
6948
6955
  }).catch(() => {
6949
6956
  });
6950
6957
  };
6951
- poll();
6952
6958
  const intervalRef = setInterval(poll, delay * 1e3);
6953
6959
  const stop = () => {
6954
6960
  clearTimeout(intervalRef);
6955
6961
  abortController.abort();
6956
6962
  };
6963
+ poll();
6957
6964
  return { stop };
6958
6965
  };
6959
6966