@wise/dynamic-flow-client 5.26.0 → 5.27.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/build/main.js CHANGED
@@ -6181,7 +6181,7 @@ var normaliseDateValue = (value) => {
6181
6181
  if (!isString(value)) {
6182
6182
  return null;
6183
6183
  }
6184
- if (/^\d{4}-\d{2}$/.test(value)) {
6184
+ if (/^\d{4}(?:-\d{2})?$/.test(value)) {
6185
6185
  return value;
6186
6186
  }
6187
6187
  try {
package/build/main.mjs CHANGED
@@ -6152,7 +6152,7 @@ var normaliseDateValue = (value) => {
6152
6152
  if (!isString(value)) {
6153
6153
  return null;
6154
6154
  }
6155
- if (/^\d{4}-\d{2}$/.test(value)) {
6155
+ if (/^\d{4}(?:-\d{2})?$/.test(value)) {
6156
6156
  return value;
6157
6157
  }
6158
6158
  try {