@asgardeo/javascript 0.1.11 → 0.1.12

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.
@@ -167,6 +167,17 @@ export interface BaseConfig<T = unknown> extends WithPreferences {
167
167
  * @see {@link SignUpOptions} for more details.
168
168
  */
169
169
  signUpOptions?: SignUpOptions;
170
+ /**
171
+ * Flag to indicate whether the Application session should be synchronized with the IdP session.
172
+ * @remarks This uses the OIDC iframe base session management feature to keep the application session in sync with the IdP session.
173
+ * WARNING: This may not work in all browsers due to 3rd party cookie restrictions.
174
+ * It is recommended to use this feature only if you are aware of the implications and have tested it in your target browsers.
175
+ * If you are not sure, it is safer to leave this option as `false`.
176
+ * @example
177
+ * syncSession: true
178
+ * @see {@link https://openid.net/specs/openid-connect-session-management-1_0.html#IframeBasedSessionManagement}
179
+ */
180
+ syncSession?: boolean;
170
181
  }
171
182
  export interface WithPreferences {
172
183
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/javascript",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Framework agnostic JavaScript SDK for Asgardeo.",
5
5
  "keywords": [
6
6
  "asgardeo",