Skip to content
Open
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
5 changes: 5 additions & 0 deletions .changeset/react-core-connection-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@knocklabs/react-core": patch
---

Keep Slack and MS Teams connection-status detection working with the new fetch-based `@knocklabs/client` transport by reading the HTTP response status instead of the previous axios-specific error `code`. The exported `AuthCheckResult` type no longer includes `code` and now exposes `response.status`.
5 changes: 5 additions & 0 deletions .changeset/remove-client-axios.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@knocklabs/client": patch
---

Replace the internal axios transport with native fetch and remove axios dependencies.
2 changes: 0 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@
"@knocklabs/types": "workspace:^",
"@tanstack/store": "^0.7.2",
"@types/phoenix": "^1.6.7",
"axios": "^1.15.1",
"axios-retry": "^4.5.0",
"eventemitter2": "^6.4.5",
"nanoid": "^3.3.12",
"phoenix": "1.8.5",
Expand Down
Loading
Loading