@asgardeo/react 0.11.3 → 0.12.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.
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ /**
19
+ * Initiates OAuth redirect with CSRF protection.
20
+ * Generates random state, stores return path in sessionStorage, and redirects to OAuth provider.
21
+ *
22
+ * @param redirectURL - OAuth authorization URL from the server
23
+ */
24
+ export declare function initiateOAuthRedirect(redirectURL: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/react",
3
- "version": "0.11.3",
3
+ "version": "0.12.0",
4
4
  "description": "React implementation of Asgardeo JavaScript SDK.",
5
5
  "keywords": [
6
6
  "asgardeo",
@@ -59,7 +59,7 @@
59
59
  "react-dom": "19.1.4",
60
60
  "tslib": "2.8.1",
61
61
  "@asgardeo/i18n": "0.4.2",
62
- "@asgardeo/browser": "0.2.9"
62
+ "@asgardeo/browser": "0.2.10"
63
63
  },
64
64
  "publishConfig": {
65
65
  "access": "public"