knocklabs / javascript

Official JavaScript packages for interacting with Knock
https://knock.app/
MIT License
10 stars 2 forks source link

fix(kno-5521): handle connection: false error #98

Closed meryldakin closed 3 months ago

meryldakin commented 3 months ago

If the API returns connection: {ok: false} it should just show disconnected instead of an error. This relates to this Switchboard change where we're explicitly returning this: https://github.com/knocklabs/switchboard/pull/2077

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 232c53dd68a63242063066e606b730b921d4ac39

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ------------------------------- | ----- | | @knocklabs/react-core | Patch | | @knocklabs/react-native | Patch | | @knocklabs/react | Patch | | @knocklabs/react-native-example | Patch | | nextjs-example | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

linear[bot] commented 3 months ago

KNO-5521 [React SDK] Better handle SlackKit auth button connection status when tenant does not exist

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
javascript-slack-connect-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 15, 2024 5:55pm
javascript-slack-kit-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 15, 2024 5:55pm