@thunderid/javascript 0.3.0 → 0.3.6

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.
Files changed (129) hide show
  1. package/dist/StorageManager.d.ts +2 -2
  2. package/dist/StorageManager.d.ts.map +1 -1
  3. package/dist/ThunderIDJavaScriptClient.d.ts +2 -7
  4. package/dist/ThunderIDJavaScriptClient.d.ts.map +1 -1
  5. package/dist/api/{v2/executeEmbeddedRecoveryFlowV2.d.ts → executeEmbeddedRecoveryFlow.d.ts} +7 -7
  6. package/dist/api/executeEmbeddedRecoveryFlow.d.ts.map +1 -0
  7. package/dist/api/executeEmbeddedSignInFlow.d.ts +3 -3
  8. package/dist/api/executeEmbeddedSignInFlow.d.ts.map +1 -1
  9. package/dist/api/executeEmbeddedSignUpFlow.d.ts +4 -27
  10. package/dist/api/executeEmbeddedSignUpFlow.d.ts.map +1 -1
  11. package/dist/api/{v2/executeEmbeddedUserOnboardingFlowV2.d.ts → executeEmbeddedUserOnboardingFlow.d.ts} +6 -6
  12. package/dist/api/executeEmbeddedUserOnboardingFlow.d.ts.map +1 -0
  13. package/dist/api/getBrandingPreference.d.ts.map +1 -1
  14. package/dist/api/{v2/getFlowMetaV2.d.ts → getFlowMeta.d.ts} +7 -7
  15. package/dist/api/getFlowMeta.d.ts.map +1 -0
  16. package/dist/api/{v2/getOrganizationUnitChildren.d.ts → getOrganizationUnitChildren.d.ts} +1 -1
  17. package/dist/api/getOrganizationUnitChildren.d.ts.map +1 -0
  18. package/dist/cjs/index.cjs +1096 -1342
  19. package/dist/edge/index.js +1084 -1319
  20. package/dist/i18n/models/i18n.d.ts +3 -0
  21. package/dist/i18n/models/i18n.d.ts.map +1 -1
  22. package/dist/i18n/translations/en-US.d.ts.map +1 -1
  23. package/dist/i18n/translations/fr-FR.d.ts.map +1 -1
  24. package/dist/i18n/translations/hi-IN.d.ts.map +1 -1
  25. package/dist/i18n/translations/ja-JP.d.ts.map +1 -1
  26. package/dist/i18n/translations/pt-BR.d.ts.map +1 -1
  27. package/dist/i18n/translations/pt-PT.d.ts.map +1 -1
  28. package/dist/i18n/translations/si-LK.d.ts.map +1 -1
  29. package/dist/i18n/translations/ta-IN.d.ts.map +1 -1
  30. package/dist/i18n/translations/te-IN.d.ts.map +1 -1
  31. package/dist/index.d.ts +29 -36
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +1084 -1319
  34. package/dist/models/client.d.ts +3 -28
  35. package/dist/models/client.d.ts.map +1 -1
  36. package/dist/models/config.d.ts +1 -1
  37. package/dist/models/config.d.ts.map +1 -1
  38. package/dist/models/embedded-flow.d.ts +572 -92
  39. package/dist/models/embedded-flow.d.ts.map +1 -1
  40. package/dist/models/{v2/embedded-recovery-flow-v2.d.ts → embedded-recovery-flow.d.ts} +2 -3
  41. package/dist/models/embedded-recovery-flow.d.ts.map +1 -0
  42. package/dist/models/embedded-signin-flow.d.ts +310 -66
  43. package/dist/models/embedded-signin-flow.d.ts.map +1 -1
  44. package/dist/models/{v2/embedded-signup-flow-v2.d.ts → embedded-signup-flow.d.ts} +4 -5
  45. package/dist/models/embedded-signup-flow.d.ts.map +1 -0
  46. package/dist/models/extensions/components.d.ts +55 -0
  47. package/dist/models/extensions/components.d.ts.map +1 -0
  48. package/dist/models/{v2/flow-meta-v2.d.ts → flow-meta.d.ts} +1 -1
  49. package/dist/models/flow-meta.d.ts.map +1 -0
  50. package/dist/models/organization-unit.d.ts.map +1 -0
  51. package/dist/models/translation.d.ts.map +1 -0
  52. package/dist/models/{v2/vars.d.ts → vars.d.ts} +1 -1
  53. package/dist/models/vars.d.ts.map +1 -0
  54. package/dist/utils/buildValidatorFromRules.d.ts +31 -0
  55. package/dist/utils/buildValidatorFromRules.d.ts.map +1 -0
  56. package/dist/utils/containsMetaFlowTemplateLiteral.d.ts.map +1 -0
  57. package/dist/utils/countryCodeToFlagEmoji.d.ts.map +1 -0
  58. package/dist/utils/evaluateValidationRule.d.ts +42 -0
  59. package/dist/utils/evaluateValidationRule.d.ts.map +1 -0
  60. package/dist/utils/extractEmojiFromUri.d.ts.map +1 -0
  61. package/dist/utils/getRedirectBasedSignUpUrl.d.ts +1 -1
  62. package/dist/utils/getRedirectBasedSignUpUrl.d.ts.map +1 -1
  63. package/dist/utils/injectRequestedPermissions.d.ts.map +1 -0
  64. package/dist/utils/isEmojiUri.d.ts.map +1 -0
  65. package/dist/utils/isMetaFlowTemplateLiteral.d.ts.map +1 -0
  66. package/dist/utils/isTranslationFlowTemplateLiteral.d.ts.map +1 -0
  67. package/dist/utils/parseApiErrorMessage.d.ts.map +1 -1
  68. package/dist/utils/parseFlowTemplateLiteral.d.ts.map +1 -0
  69. package/dist/utils/{v2/resolveFlowTemplateLiterals.d.ts → resolveFlowTemplateLiterals.d.ts} +2 -2
  70. package/dist/utils/resolveFlowTemplateLiterals.d.ts.map +1 -0
  71. package/dist/utils/resolveLocaleDisplayName.d.ts.map +1 -0
  72. package/dist/utils/resolveLocaleEmoji.d.ts.map +1 -0
  73. package/dist/utils/{v2/resolveMeta.d.ts → resolveMeta.d.ts} +1 -1
  74. package/dist/utils/resolveMeta.d.ts.map +1 -0
  75. package/package.json +7 -7
  76. package/dist/api/initializeEmbeddedSignInFlow.d.ts +0 -52
  77. package/dist/api/initializeEmbeddedSignInFlow.d.ts.map +0 -1
  78. package/dist/api/v2/executeEmbeddedRecoveryFlowV2.d.ts.map +0 -1
  79. package/dist/api/v2/executeEmbeddedSignInFlowV2.d.ts +0 -22
  80. package/dist/api/v2/executeEmbeddedSignInFlowV2.d.ts.map +0 -1
  81. package/dist/api/v2/executeEmbeddedSignUpFlowV2.d.ts +0 -22
  82. package/dist/api/v2/executeEmbeddedSignUpFlowV2.d.ts.map +0 -1
  83. package/dist/api/v2/executeEmbeddedUserOnboardingFlowV2.d.ts.map +0 -1
  84. package/dist/api/v2/getFlowMetaV2.d.ts.map +0 -1
  85. package/dist/api/v2/getOrganizationUnitChildren.d.ts.map +0 -1
  86. package/dist/constants/v2/OIDCDiscoveryConstants.d.ts +0 -40
  87. package/dist/constants/v2/OIDCDiscoveryConstants.d.ts.map +0 -1
  88. package/dist/models/platforms.d.ts +0 -33
  89. package/dist/models/platforms.d.ts.map +0 -1
  90. package/dist/models/v2/embedded-flow-v2.d.ts +0 -550
  91. package/dist/models/v2/embedded-flow-v2.d.ts.map +0 -1
  92. package/dist/models/v2/embedded-recovery-flow-v2.d.ts.map +0 -1
  93. package/dist/models/v2/embedded-signin-flow-v2.d.ts +0 -345
  94. package/dist/models/v2/embedded-signin-flow-v2.d.ts.map +0 -1
  95. package/dist/models/v2/embedded-signup-flow-v2.d.ts.map +0 -1
  96. package/dist/models/v2/extensions/components.d.ts +0 -89
  97. package/dist/models/v2/extensions/components.d.ts.map +0 -1
  98. package/dist/models/v2/flow-meta-v2.d.ts.map +0 -1
  99. package/dist/models/v2/organization-unit.d.ts.map +0 -1
  100. package/dist/models/v2/translation.d.ts.map +0 -1
  101. package/dist/models/v2/vars.d.ts.map +0 -1
  102. package/dist/utils/identifyPlatform.d.ts +0 -31
  103. package/dist/utils/identifyPlatform.d.ts.map +0 -1
  104. package/dist/utils/resolveFieldType.d.ts +0 -21
  105. package/dist/utils/resolveFieldType.d.ts.map +0 -1
  106. package/dist/utils/v2/containsMetaFlowTemplateLiteral.d.ts.map +0 -1
  107. package/dist/utils/v2/countryCodeToFlagEmoji.d.ts.map +0 -1
  108. package/dist/utils/v2/extractEmojiFromUri.d.ts.map +0 -1
  109. package/dist/utils/v2/injectRequestedPermissions.d.ts.map +0 -1
  110. package/dist/utils/v2/isEmojiUri.d.ts.map +0 -1
  111. package/dist/utils/v2/isMetaFlowTemplateLiteral.d.ts.map +0 -1
  112. package/dist/utils/v2/isTranslationFlowTemplateLiteral.d.ts.map +0 -1
  113. package/dist/utils/v2/parseFlowTemplateLiteral.d.ts.map +0 -1
  114. package/dist/utils/v2/resolveFlowTemplateLiterals.d.ts.map +0 -1
  115. package/dist/utils/v2/resolveLocaleDisplayName.d.ts.map +0 -1
  116. package/dist/utils/v2/resolveLocaleEmoji.d.ts.map +0 -1
  117. package/dist/utils/v2/resolveMeta.d.ts.map +0 -1
  118. /package/dist/models/{v2/organization-unit.d.ts → organization-unit.d.ts} +0 -0
  119. /package/dist/models/{v2/translation.d.ts → translation.d.ts} +0 -0
  120. /package/dist/utils/{v2/containsMetaFlowTemplateLiteral.d.ts → containsMetaFlowTemplateLiteral.d.ts} +0 -0
  121. /package/dist/utils/{v2/countryCodeToFlagEmoji.d.ts → countryCodeToFlagEmoji.d.ts} +0 -0
  122. /package/dist/utils/{v2/extractEmojiFromUri.d.ts → extractEmojiFromUri.d.ts} +0 -0
  123. /package/dist/utils/{v2/injectRequestedPermissions.d.ts → injectRequestedPermissions.d.ts} +0 -0
  124. /package/dist/utils/{v2/isEmojiUri.d.ts → isEmojiUri.d.ts} +0 -0
  125. /package/dist/utils/{v2/isMetaFlowTemplateLiteral.d.ts → isMetaFlowTemplateLiteral.d.ts} +0 -0
  126. /package/dist/utils/{v2/isTranslationFlowTemplateLiteral.d.ts → isTranslationFlowTemplateLiteral.d.ts} +0 -0
  127. /package/dist/utils/{v2/parseFlowTemplateLiteral.d.ts → parseFlowTemplateLiteral.d.ts} +0 -0
  128. /package/dist/utils/{v2/resolveLocaleDisplayName.d.ts → resolveLocaleDisplayName.d.ts} +0 -0
  129. /package/dist/utils/{v2/resolveLocaleEmoji.d.ts → resolveLocaleEmoji.d.ts} +0 -0
@@ -1,345 +0,0 @@
1
- /**
2
- * Copyright (c) 2025-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
- import { EmbeddedFlowResponseData as EmbeddedFlowResponseDataV2, FlowExecutionError } from './embedded-flow-v2';
19
- import { EmbeddedFlowResponseType as EmbeddedFlowResponseTypeV1, EmbeddedFlowType as EmbeddedFlowTypeV1 } from '../embedded-flow';
20
- /**
21
- * Status enumeration for ThunderID embedded sign-in flow operations.
22
- *
23
- * These statuses indicate the current state of the sign-in flow and determine
24
- * the next action required by the client application. Each status provides
25
- * specific guidance on how to proceed with the authentication process.
26
- *
27
- * @example
28
- * ```typescript
29
- * switch (response.flowStatus) {
30
- * case EmbeddedSignInFlowStatus.Incomplete:
31
- * // More user input needed - render form components
32
- * break;
33
- * case EmbeddedSignInFlowStatus.Complete:
34
- * // Authentication successful - handle completion
35
- * break;
36
- * case EmbeddedSignInFlowStatus.Error:
37
- * // Authentication failed - show error message
38
- * break;
39
- * }
40
- * ```
41
- *
42
- * @experimental Part of the new ThunderID API
43
- */
44
- export declare enum EmbeddedSignInFlowStatus {
45
- /**
46
- * Sign-in flow completed successfully.
47
- *
48
- * The user has been authenticated and the flow can proceed to
49
- * OAuth2 completion or redirection. Check for redirectUrl or
50
- * assertion data in the response.
51
- */
52
- Complete = "COMPLETE",
53
- /**
54
- * Sign-in flow encountered an error.
55
- *
56
- * Authentication failed due to invalid credentials, system error,
57
- * or other issues. Check error details in the response and handle
58
- * appropriately (retry, show error message, etc.).
59
- */
60
- Error = "ERROR",
61
- /**
62
- * Sign-in flow requires additional user input.
63
- *
64
- * More authentication steps are needed. The response will contain
65
- * components in data.meta.components that should be rendered to
66
- * collect additional user input (e.g., MFA, password, etc.).
67
- */
68
- Incomplete = "INCOMPLETE"
69
- }
70
- /**
71
- * Type enumeration for ThunderID embedded sign-in flow responses.
72
- *
73
- * Determines the nature of the flow response and how the client should
74
- * handle the returned data. This affects both UI rendering and flow
75
- * continuation logic.
76
- *
77
- * @experimental Part of the new ThunderID API
78
- */
79
- export declare enum EmbeddedSignInFlowType {
80
- /**
81
- * Response requires external redirection.
82
- *
83
- * Used for social login providers, external identity providers,
84
- * or other flows that require navigating to an external URL.
85
- * The response will contain redirection information.
86
- */
87
- Redirection = "REDIRECTION",
88
- /**
89
- * Response contains view components for rendering.
90
- *
91
- * Standard embedded flow response containing UI components
92
- * that should be rendered within the current application
93
- * context. Most common type for embedded authentication.
94
- */
95
- View = "VIEW"
96
- }
97
- /**
98
- * Extended response structure for ThunderID embedded sign-in flow.
99
- *
100
- * This interface defines additional properties that are added at the SDK level
101
- * to enhance the basic API response with client-side computed values. These
102
- * properties provide convenience for common post-authentication operations.
103
- *
104
- * @remarks This response structure is enhanced by the SDK and contains
105
- * properties beyond the raw API response. It's designed to simplify
106
- * post-authentication handling for client applications.
107
- *
108
- * @experimental This interface is part of the new ThunderID platform
109
- */
110
- export interface ExtendedEmbeddedSignInFlowResponse {
111
- /**
112
- * Computed redirect URL for post-authentication navigation.
113
- *
114
- * This URL is determined by the SDK based on the flow completion result
115
- * and configured redirect settings. When present, the client application
116
- * should navigate to this URL to complete the authentication process.
117
- *
118
- * @example "https://myapp.com/dashboard?session=abc123"
119
- */
120
- redirectUrl?: string;
121
- }
122
- /**
123
- * Primary response structure for ThunderID embedded sign-in flow operations.
124
- *
125
- * This is the main response interface returned by the sign-in API, combining
126
- * the enhanced SDK properties with the core API response data. It provides all
127
- * information needed to handle the current state of the authentication flow.
128
- *
129
- * The response structure adapts based on the flow status:
130
- * - INCOMPLETE: Contains components for user interaction
131
- * - COMPLETE: Contains completion data and potential redirection info
132
- * - ERROR: Contains error information for troubleshooting
133
- *
134
- * @example
135
- * ```typescript
136
- * const response: EmbeddedSignInFlowResponse = {
137
- * executionId: "flow_12345",
138
- * flowStatus: EmbeddedSignInFlowStatus.Incomplete,
139
- * type: EmbeddedSignInFlowType.View,
140
- * data: {
141
- * meta: {
142
- * components: [
143
- * {
144
- * id: "username_field",
145
- * type: EmbeddedFlowComponentType.TextInput,
146
- * label: "Username",
147
- * required: true
148
- * }
149
- * ]
150
- * }
151
- * }
152
- * };
153
- * ```
154
- *
155
- * @experimental This interface is part of the new ThunderID platform
156
- */
157
- export interface EmbeddedSignInFlowResponse extends ExtendedEmbeddedSignInFlowResponse {
158
- /**
159
- * JWT assertion returned when the flow reaches COMPLETE status on the V2 platform.
160
- * Used to establish the session without a separate OAuth2 redirect.
161
- */
162
- assertion?: string;
163
- /**
164
- * Per-step challenge token for replay protection.
165
- * Must be included in the next request to continue this flow.
166
- */
167
- challengeToken?: string;
168
- /**
169
- * Core response data containing UI components and flow metadata.
170
- * Includes both modern meta.components structure and legacy fields for compatibility.
171
- */
172
- data: EmbeddedFlowResponseDataV2 & {
173
- /**
174
- * Legacy action definitions for backward compatibility.
175
- * @deprecated Use data.meta.components for new implementations
176
- */
177
- actions?: {
178
- /** Unique action identifier */
179
- id: string;
180
- /** Action type identifier */
181
- type: EmbeddedFlowResponseTypeV1;
182
- }[];
183
- /**
184
- * Legacy input field definitions for backward compatibility.
185
- * @deprecated Use data.meta.components for new implementations
186
- */
187
- inputs?: {
188
- /** Field name identifier */
189
- name: string;
190
- /** Whether the field is required */
191
- required: boolean;
192
- /** Input field type */
193
- type: string;
194
- }[];
195
- };
196
- /**
197
- * Unique identifier for this specific flow instance.
198
- * Used to maintain state across multiple API calls during the authentication process.
199
- */
200
- executionId: string;
201
- /**
202
- * Structured error details when flowStatus is ERROR.
203
- * Contains an error code and i18n-ready message/description fields.
204
- */
205
- error?: FlowExecutionError;
206
- /**
207
- * Current status of the sign-in flow.
208
- * Determines the next action required by the client application.
209
- */
210
- flowStatus: EmbeddedSignInFlowStatus;
211
- /**
212
- * Type of response indicating how to handle the returned data.
213
- * Affects both UI rendering and navigation logic.
214
- */
215
- type: EmbeddedSignInFlowType;
216
- }
217
- /**
218
- * Response structure for completed ThunderID embedded sign-in flows.
219
- *
220
- * This interface defines the response format when the embedded sign-in flow
221
- * reaches the COMPLETE status and requires OAuth2 flow completion. It contains
222
- * the redirect URI that should be used for the final authentication step.
223
- *
224
- * @example
225
- * ```typescript
226
- * const completeResponse: EmbeddedSignInFlowCompleteResponse = {
227
- * redirect_uri: "https://myapp.com/callback?code=abc123&state=xyz789"
228
- * };
229
- *
230
- * // Typically handled automatically by the SDK
231
- * window.location.href = completeResponse.redirect_uri;
232
- * ```
233
- *
234
- * @experimental This interface is part of the new ThunderID platform
235
- */
236
- export interface EmbeddedSignInFlowCompleteResponse {
237
- /**
238
- * OAuth2 redirect URI for completing the authentication flow.
239
- *
240
- * Contains the final redirect URL with authorization code, state,
241
- * and other OAuth2 parameters needed to complete the authentication
242
- * process. This URL should be navigated to automatically or manually
243
- * depending on the application's requirements.
244
- */
245
- redirect_uri: string;
246
- }
247
- /**
248
- * Request payload for initiating ThunderID embedded sign-in flows.
249
- *
250
- * This type defines the minimum required information to start a new
251
- * embedded sign-in flow. The flow type determines the kind of authentication
252
- * process that will be initiated (e.g., standard login, MFA, etc.).
253
- *
254
- * @example
255
- * ```typescript
256
- * const initRequest: EmbeddedSignInFlowInitiateRequest = {
257
- * applicationId: "app_12345",
258
- * flowType: EmbeddedFlowType.Authentication
259
- * };
260
- *
261
- * const response = await executeEmbeddedSignInFlow({
262
- * baseUrl: "https://localhost:8090",
263
- * payload: initRequest
264
- * });
265
- * ```
266
- *
267
- * @experimental This type is part of the new ThunderID platform
268
- */
269
- export interface EmbeddedSignInFlowInitiateRequest {
270
- /**
271
- * Unique identifier of the application initiating the sign-in flow.
272
- * Must be a valid application ID registered in the ThunderID organization.
273
- */
274
- applicationId: string;
275
- /**
276
- * Type of embedded flow to initiate.
277
- * Determines the authentication process and available options.
278
- */
279
- flowType: EmbeddedFlowTypeV1;
280
- /**
281
- * OAuth2 scopes to request during flow initialization.
282
- * When provided, these scopes are forwarded to the platform at flow start.
283
- */
284
- scopes?: string | string[];
285
- }
286
- /**
287
- * Request payload for executing steps in ThunderID embedded sign-in flows.
288
- *
289
- * This interface defines the structure for subsequent requests after flow initiation.
290
- * It supports both continuing existing flows (with executionId) and submitting user
291
- * input data collected from the rendered components.
292
- *
293
- * @example
294
- * ```typescript
295
- * // Continue existing flow with user input
296
- * const stepRequest: EmbeddedSignInFlowRequest = {
297
- * executionId: "flow_12345",
298
- * action: "action_001",
299
- * inputs: {
300
- * username: "user@example.com",
301
- * password: "securePassword123"
302
- * }
303
- * };
304
- *
305
- * // Submit to continue the flow
306
- * const response = await executeEmbeddedSignInFlow({
307
- * baseUrl: "https://localhost:8090",
308
- * payload: stepRequest
309
- * });
310
- * ```
311
- *
312
- * @experimental This interface is part of the new ThunderID platform
313
- */
314
- export interface EmbeddedSignInFlowRequest extends Partial<EmbeddedSignInFlowInitiateRequest> {
315
- /**
316
- * Identifier of the specific action being triggered.
317
- * Corresponds to action components in the UI (e.g., submit button, social login).
318
- */
319
- action?: string;
320
- /**
321
- * Per-step challenge token received from the previous flow response.
322
- * Required when continuing an existing flow to prevent replay attacks.
323
- */
324
- challengeToken?: string;
325
- /**
326
- * Identifier of the flow instance to continue.
327
- * Required when submitting data for an existing flow.
328
- */
329
- executionId?: string;
330
- /**
331
- * User input data collected from the form components.
332
- * Keys should match the component identifiers from the response.
333
- *
334
- * @example
335
- * ```typescript
336
- * {
337
- * "username": "john.doe@example.com",
338
- * "password": "mySecurePassword",
339
- * "rememberMe": true
340
- * }
341
- * ```
342
- */
343
- inputs?: Record<string, any>;
344
- }
345
- //# sourceMappingURL=embedded-signin-flow-v2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"embedded-signin-flow-v2.d.ts","sourceRoot":"","sources":["../../../src/models/v2/embedded-signin-flow-v2.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,wBAAwB,IAAI,0BAA0B,EAAE,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAC9G,OAAO,EACL,wBAAwB,IAAI,0BAA0B,EACtD,gBAAgB,IAAI,kBAAkB,EACvC,MAAM,kBAAkB,CAAC;AAE1B;;;;;;;;;;;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;;;OAOG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,iCAAiC;IAChD;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,EAAE,kBAAkB,CAAC;IAE7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,yBAA0B,SAAQ,OAAO,CAAC,iCAAiC,CAAC;IAC3F;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"embedded-signup-flow-v2.d.ts","sourceRoot":"","sources":["../../../src/models/v2/embedded-signup-flow-v2.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wBAAwB,IAAI,0BAA0B,EACtD,gBAAgB,IAAI,kBAAkB,EACvC,MAAM,kBAAkB,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,oBAAY,wBAAwB;IAClC;;;;;;OAMG;IACH,QAAQ,aAAa;IAErB;;;;;;;;;OASG;IACH,KAAK,UAAU;IAEf;;;;;;OAMG;IACH,UAAU,eAAe;CAC1B;AAED;;;;;;;;GAQG;AACH,oBAAY,sBAAsB;IAChC;;;;;;OAMG;IACH,WAAW,gBAAgB;IAE3B;;;;;;OAMG;IACH,IAAI,SAAS;CACd;AAED;;;;GAIG;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;;;GAuBG;AACH,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE1B,KAAK,EAAE,kBAAkB,CAAC;IAE1B,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,wBAAwB,CAAC;CACtC"}
@@ -1,89 +0,0 @@
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
- import type { EmbeddedFlowComponent as EmbeddedFlowComponentV2 } from '../embedded-flow-v2';
19
- import type { FlowMetadataResponse } from '../flow-meta-v2';
20
- /**
21
- * Framework-agnostic context passed to every custom component renderer.
22
- * Contains form state and callbacks needed to render and submit flow components.
23
- */
24
- export interface ComponentRenderContext {
25
- /**
26
- * Extra payload propagated by the flow engine for component rendering.
27
- */
28
- additionalData?: Record<string, any>;
29
- /**
30
- * Authentication flow type currently being rendered.
31
- */
32
- authType: 'signin' | 'signup';
33
- /**
34
- * Validation messages keyed by field name.
35
- */
36
- formErrors: Record<string, string>;
37
- /**
38
- * Current form values keyed by field name.
39
- */
40
- formValues: Record<string, string>;
41
- /**
42
- * Whether the current form state passes validation.
43
- */
44
- isFormValid: boolean;
45
- /**
46
- * Indicates whether a submit action is currently in progress.
47
- */
48
- isLoading: boolean;
49
- /**
50
- * Optional flow metadata associated with the current step.
51
- */
52
- meta?: FlowMetadataResponse | null;
53
- /**
54
- * Optional callback fired when an input loses focus.
55
- */
56
- onInputBlur?: (name: string) => void;
57
- /**
58
- * Callback to update the value of a named input field.
59
- */
60
- onInputChange: (name: string, value: string) => void;
61
- /**
62
- * Optional submit handler for progressing the flow.
63
- */
64
- onSubmit?: (component: EmbeddedFlowComponentV2, data?: Record<string, any>, skipValidation?: boolean) => void;
65
- /**
66
- * Tracks whether each field has been interacted with.
67
- */
68
- touchedFields: Record<string, boolean>;
69
- }
70
- /**
71
- * A function that renders a flow component of a given type.
72
- * `TElement` is `unknown` at the JS SDK level; each framework narrows it
73
- * (React: `ReactElement`, Vue: `VNode`, etc.).
74
- *
75
- * Returning `null` hides the component. If no renderer is registered for a
76
- * component type, the SDK falls back to its built-in rendering.
77
- */
78
- export type ComponentRenderer<TElement = unknown> = (component: EmbeddedFlowComponentV2, context: ComponentRenderContext) => TElement | null;
79
- /**
80
- * Extension configuration for flow component rendering.
81
- * Keyed by component type string (e.g. `"PASSWORD_INPUT"`, `"ACTION"`).
82
- */
83
- export interface ComponentsExtensions {
84
- /**
85
- * Custom renderers keyed by flow component type.
86
- */
87
- renderers?: Record<string, ComponentRenderer<unknown>>;
88
- }
89
- //# sourceMappingURL=components.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/models/v2/extensions/components.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAC,qBAAqB,IAAI,uBAAuB,EAAC,MAAM,qBAAqB,CAAC;AAC1F,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AAE1D;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,UAAU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,MAAM,CAAC,EAAE,OAAO,KAAK,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../../src/models/v2/vars.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,WAAW,kCAAkC,CAAC,GAAG,SAAS,aAAa,GAAG,aAAa;IAC3F;;OAEG;IACH,IAAI,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,CAAC,EAAE,GAAG,CAAC;CACR"}
@@ -1,31 +0,0 @@
1
- /**
2
- * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
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
- import { Config } from '../models/config';
19
- import { Platform } from '../models/platforms';
20
- /**
21
- * Identifies the platform based on the given base URL.
22
- *
23
- * If the URL is recognized and matches the ThunderID domain, returns Platform.ThunderID.
24
- * Otherwise, returns Platform.IdentityServer.
25
- *
26
- * @param baseUrl - The base URL to check
27
- * @returns Platform enum value
28
- */
29
- declare const identifyPlatform: (config: Config) => Platform;
30
- export default identifyPlatform;
31
- //# sourceMappingURL=identifyPlatform.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"identifyPlatform.d.ts","sourceRoot":"","sources":["../../src/utils/identifyPlatform.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAE7C;;;;;;;;GAQG;AACH,QAAA,MAAM,gBAAgB,GAAI,QAAQ,MAAM,KAAG,QA0B1C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,21 +0,0 @@
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
- import { FieldType } from '../models/field';
19
- declare const resolveFieldType: (field: any) => FieldType;
20
- export default resolveFieldType;
21
- //# sourceMappingURL=resolveFieldType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveFieldType.d.ts","sourceRoot":"","sources":["../../src/utils/resolveFieldType.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAOH,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAE1C,QAAA,MAAM,gBAAgB,GAAI,OAAO,GAAG,KAAG,SAmBtC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"containsMetaFlowTemplateLiteral.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/containsMetaFlowTemplateLiteral.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAYH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,OAAO,UAAU,+BAA+B,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAEzF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAKpG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"countryCodeToFlagEmoji.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/countryCodeToFlagEmoji.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAM1E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"extractEmojiFromUri.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/extractEmojiFromUri.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,mBAAmB,GAAI,KAAK,MAAM,KAAG,MAM1C,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"injectRequestedPermissions.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/injectRequestedPermissions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;GAKG;AACH,QAAA,MAAM,0BAA0B,GAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA0B5F,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"isEmojiUri.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/isEmojiUri.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,eAAO,MAAM,gBAAgB,WAAW,CAAC;AAEzC;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,UAAU,GAAI,KAAK,MAAM,KAAG,OAAsE,CAAC;AAEzG,eAAe,UAAU,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"isMetaFlowTemplateLiteral.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/isMetaFlowTemplateLiteral.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;GAGG;AACH,eAAO,MAAM,kCAAkC,QAAkC,CAAC;AAElF;;GAEG;AACH,eAAO,MAAM,sCAAsC,QAAoC,CAAC;AAExF;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAExE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"isTranslationFlowTemplateLiteral.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/isTranslationFlowTemplateLiteral.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;GAGG;AACH,eAAO,MAAM,yCAAyC,QAA+B,CAAC;AAEtF;;GAEG;AACH,eAAO,MAAM,6CAA6C,QAAiC,CAAC;AAE5F;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE/E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"parseFlowTemplateLiteral.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/parseFlowTemplateLiteral.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,QAA0B,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,4BAA4B,QAAuB,CAAC;AAEjE;;;;;;GAMG;AACH,oBAAY,uBAAuB;IACjC,uFAAuF;IACvF,IAAI,SAAS;IACb,oDAAoD;IACpD,WAAW,MAAM;IACjB,qDAAqD;IACrD,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,aAAa,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC;AAE5G;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,yBAAyB,CAmB3F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveFlowTemplateLiterals.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/resolveFlowTemplateLiterals.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAC,kCAAkC,EAAC,MAAM,sBAAsB,CAAC;AAOxE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,GAAG,SAAS,aAAa,GAAG,aAAa,EAC3F,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,EAAC,CAAC,EAAE,IAAI,EAAC,EAAE,kCAAkC,CAAC,GAAG,CAAC,GACjD,MAAM,CAoBR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveLocaleDisplayName.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/resolveLocaleDisplayName.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAO9F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveLocaleEmoji.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/resolveLocaleEmoji.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAiDH;;;;;;;;;;GAUG;AACH,iBAAS,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAYlD;AACD,eAAe,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveMeta.d.ts","sourceRoot":"","sources":["../../../src/utils/v2/resolveMeta.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,oBAAoB,EAAC,MAAM,8BAA8B,CAAC;AAElE;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,MAAM,CAapF"}