@asgardeo/javascript 0.1.21 → 0.1.22

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.
@@ -4,23 +4,7 @@
4
4
  * WSO2 LLC. licenses this file to you under the Apache License,
5
5
  * Version 2.0 (the "License"); you may not use this file except
6
6
  * in compliance with the License.
7
- * You may obtain a cop // Shadows
8
- if (theme.shadows?.small) {
9
- cssVars[`--${prefix}-shadow-small`] = theme.shadows.small;
10
- }
11
- if (theme.shadows?.medium) {
12
- cssVars[`--${prefix}-shadow-medium`] = theme.shadows.medium;
13
- }
14
- if (theme.shadows?.large) {
15
- cssVars[`--${prefix}-shadow-large`] = theme.shadows.large;
16
- }
17
-
18
- // Typography - Font Family
19
- if (theme.typography?.fontFamily) {
20
- cssVars[`--${prefix}-typography-fontFamily`] = theme.typography.fontFamily;
21
- }
22
-
23
- // Typography - Font Sizesense at
7
+ * You may obtain a copy of the License at
24
8
  *
25
9
  * http://www.apache.org/licenses/LICENSE-2.0
26
10
  *
@@ -38,9 +38,9 @@
38
38
  * const handle2 = deriveOrganizationHandleFromBaseUrl('https://stage.asgardeo.io/t/myorg');
39
39
  * // Returns: 'myorg'
40
40
  *
41
- * // Custom domain - throws error
42
- * deriveOrganizationHandleFromBaseUrl('https://custom.example.com/auth');
43
- * // Throws: AsgardeoRuntimeError
41
+ * // Custom domain - returns empty string with a warning
42
+ * const handle2 = deriveOrganizationHandleFromBaseUrl('https://custom.example.com/auth');
43
+ * // Returns: '' and logs a warning
44
44
  * ```
45
45
  */
46
46
  declare const deriveOrganizationHandleFromBaseUrl: (baseUrl?: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/javascript",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Framework agnostic JavaScript SDK for Asgardeo.",
5
5
  "keywords": [
6
6
  "asgardeo",