@asgardeo/react 0.7.0 → 0.9.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,31 @@
1
+ /**
2
+ * Copyright (c) 2025, 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
+ * Handles WebAuthn/Passkey registration flow for browser environments.
20
+ *
21
+ * @param challengeData - JSON stringified challenge data containing WebAuthn creation options.
22
+ * @returns Promise that resolves to a JSON string containing the WebAuthn registration response.
23
+ */
24
+ export declare const handlePasskeyRegistration: (challengeData: string) => Promise<string>;
25
+ /**
26
+ * Handles WebAuthn/Passkey authentication flow for browser environments.
27
+ *
28
+ * @param challengeData - JSON stringified challenge data containing WebAuthn request options.
29
+ * @returns Promise that resolves to a JSON string containing the WebAuthn authentication response.
30
+ */
31
+ export declare const handlePasskeyAuthentication: (challengeData: string) => Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/react",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "React implementation of Asgardeo JavaScript SDK.",
5
5
  "keywords": [
6
6
  "asgardeo",
@@ -59,8 +59,8 @@
59
59
  "esbuild": "0.25.9",
60
60
  "react-dom": "19.1.4",
61
61
  "tslib": "2.8.1",
62
- "@asgardeo/i18n": "0.3.9",
63
- "@asgardeo/browser": "0.2.0"
62
+ "@asgardeo/i18n": "0.4.0",
63
+ "@asgardeo/browser": "0.2.2"
64
64
  },
65
65
  "publishConfig": {
66
66
  "access": "public"