@asgardeo/react 0.6.25 → 0.6.27

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.
@@ -73,7 +73,8 @@ export interface FlowTransformOptions {
73
73
  /**
74
74
  * Transform and resolve translations in components from flow response.
75
75
  * This function extracts components from the response meta structure and optionally resolves
76
- * any translation strings within them.
76
+ * any translation strings within them. It also handles mapping of input refs to identifiers
77
+ * and action refs to nextNode values.
77
78
  *
78
79
  * @param response - The flow response object containing components in meta structure
79
80
  * @param t - Translation function from useTranslation hook
@@ -84,6 +85,7 @@ export declare const transformComponents: (response: any, t: UseTranslation["t"]
84
85
  /**
85
86
  * Extract error message from flow error response.
86
87
  * Supports any flow error response that follows the standard structure.
88
+ * Prioritizes failureReason if present, otherwise falls back to translated generic message.
87
89
  *
88
90
  * @param error - The error response object
89
91
  * @param t - Translation function for fallback messages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/react",
3
- "version": "0.6.25",
3
+ "version": "0.6.27",
4
4
  "description": "React implementation of Asgardeo JavaScript SDK.",
5
5
  "keywords": [
6
6
  "asgardeo",
@@ -60,7 +60,7 @@
60
60
  "react-dom": "19.1.4",
61
61
  "tslib": "2.8.1",
62
62
  "@asgardeo/i18n": "0.3.9",
63
- "@asgardeo/browser": "0.1.40"
63
+ "@asgardeo/browser": "0.1.41"
64
64
  },
65
65
  "publishConfig": {
66
66
  "access": "public"