@descope/flow-components 3.0.8 → 3.0.9

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.
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.0.8",
8
+ "buildVersion": "3.0.9",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.0.8",
8
+ "buildVersion": "3.0.9",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -105075,7 +105075,14 @@ const NewPassword = React__default.default.forwardRef((props, ref) => {
105075
105075
  /* this logic is cloned in the orchestration service (context.go file)
105076
105076
  * make sure to update both places when changing it
105077
105077
  */
105078
- const availablePolicies = mergedProps?.['active-policies']?.map((id) => ({
105078
+ const availablePolicies = [
105079
+ 'minlength',
105080
+ 'lowercase',
105081
+ 'uppercase',
105082
+ 'number',
105083
+ 'nonalphanumeric',
105084
+ 'passwordstrength'
105085
+ ].map((id) => ({
105079
105086
  id,
105080
105087
  message: mergedProps[`data-password-policy-message-${id}`],
105081
105088
  pattern: mergedProps[`data-password-policy-pattern-${id}`],
package/dist/index.esm.js CHANGED
@@ -314,7 +314,14 @@ const NewPassword = React.forwardRef((props, ref) => {
314
314
  /* this logic is cloned in the orchestration service (context.go file)
315
315
  * make sure to update both places when changing it
316
316
  */
317
- const availablePolicies = mergedProps?.['active-policies']?.map((id) => ({
317
+ const availablePolicies = [
318
+ 'minlength',
319
+ 'lowercase',
320
+ 'uppercase',
321
+ 'number',
322
+ 'nonalphanumeric',
323
+ 'passwordstrength'
324
+ ].map((id) => ({
318
325
  id,
319
326
  message: mergedProps[`data-password-policy-message-${id}`],
320
327
  pattern: mergedProps[`data-password-policy-pattern-${id}`],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -97,7 +97,7 @@
97
97
  "webpack-subresource-integrity": "5.2.0-rc.1"
98
98
  },
99
99
  "dependencies": {
100
- "@descope/web-components-ui": "3.0.8"
100
+ "@descope/web-components-ui": "3.0.9"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": ">= 18"