Skip to content

Commit 39ce7e0

Browse files
authored
Merge pull request #331 from ForgeRock/export-internal-response-error
fix: export internalerrorresponse
2 parents 37f73bf + d9dc175 commit 39ce7e0

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.changeset/full-lies-kneel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@forgerock/davinci-client': patch
3+
---
4+
5+
export the InternalErrorResponse type

e2e/davinci-app/components/social-login-button.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
* This software may be modified and distributed under the terms
55
* of the MIT license. See the LICENSE file for details.
66
*/
7-
import type { IdpCollector } from '@forgerock/davinci-client/types';
8-
import { InternalErrorResponse } from 'packages/davinci-client/src/lib/client.types.js';
7+
import type { InternalErrorResponse, IdpCollector } from '@forgerock/davinci-client/types';
98

109
export default function submitButtonComponent(
1110
formEl: HTMLFormElement,

packages/davinci-client/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,6 @@ export type SingleSelectCollector = collectors.SingleSelectCollector;
4949
export type DeviceRegistrationCollector = collectors.DeviceRegistrationCollector;
5050
export type DeviceAuthenticationCollector = collectors.DeviceAuthenticationCollector;
5151
export type PhoneNumberCollector = collectors.PhoneNumberCollector;
52+
53+
export type InternalErrorResponse = client.InternalErrorResponse;
5254
export type { RequestMiddleware };

0 commit comments

Comments
 (0)