Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/_build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 17.x, 18.x]
node-version: [22.x, 24.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 22
cache: 'npm'

- name: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install Dependencies
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Vulnerabilities check
uses: frontegg/workflows/.github/shared-actions/vulnerabilities-check@master
with:
node_version: '18'
node_version: '22'

call-lint:
uses: ./.github/workflows/_lint.yaml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
git config --global user.email "${{ github.event.pusher.email }}"
env:
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_REPO_TOKEN }}
- name: Use Node.js 18
- name: Use Node.js 22
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '22'
cache: 'npm'

- name: Install
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,6 @@ jest-junit.xml
#ide
.idea/
.fleet/

# MacOS
.DS_Store
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
## Breaking Changes

* ### As of version 3.0.0 and 4.0.0, we will no longer provide proxy middlewares
* ### As of version 5.0.0, node 12 is no loner supported.
* ### As of version 6.0.0, node 12 is no longer supported and node 22+ is required

To see an example implementation, head over to our
<a href="https://github.com/frontegg-samples/nodejs-proxy-sample">sample proxy project</a>
Expand All @@ -38,7 +38,7 @@ To see an example implementation, head over to our
Install the package using [npm](https://www.npmjs.com/)

```bash
# node 14+
# node 22+
npm install @frontegg/client
```

Expand Down Expand Up @@ -145,7 +145,7 @@ FronteggContext.init(

Frontegg provides various clients for seamless integration with the Frontegg API.

For example, Fronteggs Managed Audit Logs feature allows a SaaS company to embed an end-to-end working feature in just 5 lines of code
For example, Frontegg's Managed Audit Logs feature allows a SaaS company to embed an end-to-end working feature in just 5 lines of code

#### Create a new Audits client

Expand Down Expand Up @@ -258,10 +258,10 @@ The result of those queries has the following structure:
```typescript
type IsEntitledResult = {
result: boolean,
justficiation?: string
justification?: string
}
```
When `result: true`, then `justficiation` is not given.
When `result: true`, then `justification` is not given.

#### Closing the client
To gracefully close the client:
Expand Down
10 changes: 10 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# [7.0.0-alpha.1](https://github.com/frontegg/nodejs-sdk/compare/6.0.0...7.0.0-alpha.1) (2025-11-26)


* feat!: upgrade Node.js support to 22+ ([0ba846e](https://github.com/frontegg/nodejs-sdk/commit/0ba846eac21535a6088aa11d5fbebfa0af8604f0))


### BREAKING CHANGES

* Dropped support for Node.js versions below 22. All users must upgrade to Node.js 22 or higher.

## [5.3.2](https://github.com/frontegg/nodejs-sdk/compare/5.3.1...5.3.2) (2024-08-26)


Expand Down
Loading