Skip to content

Commit 2c00751

Browse files
authored
Merge pull request #412 from ForgeRock/create-journey-package
Create journey package
2 parents 226f03f + 5366be3 commit 2c00751

File tree

152 files changed

+9352
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+9352
-216
lines changed

.changeset/breezy-actors-sell.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@forgerock/storage': minor
3+
---
4+
5+
feat: Update storage package
6+
7+
- Updated ESLint configurations for consistent code style and linting rules.
8+
- Ensured compatibility with `verbatimModuleSyntax` by correcting type-only imports and module exports.

.changeset/bright-lights-yawn.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@forgerock/sdk-utilities': minor
3+
---
4+
5+
feat: Update SDK utilities
6+
7+
- Inlined `REQUESTED_WITH` and `X_REQUESTED_PLATFORM` constants with literal types for better tree-shaking and type narrowing.

.changeset/good-games-accept.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@forgerock/iframe-manager': minor
3+
---
4+
5+
feat: Update iframe-manager
6+
7+
- Updated ESLint configurations for consistent code style and linting rules.
8+
- Ensured compatibility with `verbatimModuleSyntax` by correcting type-only imports and module exports.

.changeset/kind-guests-sneeze.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@forgerock/journey-client': minor
3+
---
4+
5+
feat: Implement new journey client
6+
7+
- Implemented a new `journey()` factory function for creating stateful client instances.
8+
- Integrated Redux Toolkit and RTK Query for robust state management and API interactions.
9+
- Refactored `resume` logic to correctly persist and retrieve plain `Step` payloads, resolving prototype loss issues during serialization.
10+
- Improved error handling and type safety within the client.
11+
- Updated internal callback handling and device profiling integration.

.changeset/orange-peaches-warn.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@forgerock/journey-client': minor
3+
---
4+
5+
feat(journey-client): Add WebAuthn, QR Code, and Recovery Code support
6+
7+
- Introduces new utility modules (`FRWebAuthn`, `FRQRCode`, `FRRecoveryCodes`) to handle advanced authentication methods within authentication journeys.
8+
- Adds comprehensive parsing and handling for WebAuthn registration and authentication steps, including a fix for a type error where `TextOutputCallback` was being incorrectly inferred as `TextInputCallback`.
9+
- Implements support for displaying QR codes (for both OTP and Push) and for displaying and using recovery codes.
10+
- Includes extensive unit tests for the new callback types and utility modules to ensure correctness.
11+
- Updates documentation to reflect the new capabilities and architectural changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@forgerock/sdk-types': minor
3+
---
4+
5+
feat: Update SDK types
6+
7+
- Updated ESLint configurations for consistent code style and linting rules.
8+
- Ensured compatibility with `verbatimModuleSyntax` by correcting type-only imports and module exports.

.changeset/wild-items-stop.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@forgerock/sdk-logger': minor
3+
---
4+
5+
feat: Update SDK logger
6+
7+
- Updated ESLint configurations for consistent code style and linting rules.
8+
- Ensured compatibility with `verbatimModuleSyntax` by correcting type-only imports and module exports.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
- uses: codecov/codecov-action@v5
6565
with:
66-
files: ./packages/**/coverage/*.xml
66+
directory: ./packages/
6767
token: ${{ secrets.CODECOV_TOKEN }}
6868

6969
- uses: actions/upload-artifact@v4

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,7 @@ packages/davinci-client/src/lib/mock-data/*.d.ts.map
7979
test-output
8080
.cursor/rules/nx-rules.mdc
8181
.github/instructions/nx.instructions.md
82+
83+
# Gemini local knowledge base files
84+
GEMINI.md
85+
**/GEMINI.md

.whitesource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"enableScan": true,
1616
"scanPullRequests": true,
1717
"incrementalScan": false,
18-
"baseBranches": ["integration"]
18+
"baseBranches": ["main"]
1919
},
2020
"checkRunSettingsSAST": {
2121
"checkRunConclusionLevel": "failure",

0 commit comments

Comments
 (0)