@asgardeo/javascript 0.10.0 → 0.10.2

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.
@@ -70,6 +70,10 @@ export declare enum Stores {
70
70
  * Store for OpenID Connect provider metadata, including endpoints and configuration.
71
71
  */
72
72
  OIDCProviderMetaData = "oidc_provider_meta_data",
73
+ /**
74
+ * Store for persisted data that needs to be retained across sessions and application restarts.
75
+ */
76
+ PersistedData = "persisted_data",
73
77
  /**
74
78
  * Store for user session-related data like tokens and authentication state.
75
79
  */
@@ -265,8 +265,12 @@ export interface GetFlowMetaRequestConfig extends Omit<Partial<RequestInit>, 'me
265
265
  * Either `baseUrl` or `url` must be provided.
266
266
  */
267
267
  baseUrl?: string;
268
- /** UUID of the entity (application ID or organization unit ID) */
269
- id: string;
268
+ /**
269
+ * UUID of the entity (application ID or organization unit ID).
270
+ * Optional — when omitted the server returns i18n-only metadata (e.g. for flows
271
+ * like AcceptInvite that are not tied to a specific application or OU).
272
+ */
273
+ id?: string;
270
274
  /**
271
275
  * Language tag in BCP 47 format for i18n translations.
272
276
  * Defaults to `en` on the server side when omitted.
@@ -280,8 +284,12 @@ export interface GetFlowMetaRequestConfig extends Omit<Partial<RequestInit>, 'me
280
284
  * @example "auth", "errors", "common"
281
285
  */
282
286
  namespace?: string;
283
- /** The type of entity to retrieve metadata for */
284
- type: FlowMetaType;
287
+ /**
288
+ * The type of entity to retrieve metadata for.
289
+ * Optional — must be omitted together with `id` for flows that are not
290
+ * associated with a specific application or OU (e.g. AcceptInvite).
291
+ */
292
+ type?: FlowMetaType;
285
293
  /**
286
294
  * Fully qualified URL of the `/flow/meta` endpoint.
287
295
  * When provided, `baseUrl` is ignored.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgardeo/javascript",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Framework agnostic JavaScript SDK for Asgardeo.",
5
5
  "keywords": [
6
6
  "asgardeo",