Skip to content

Commit

Permalink
chore(clerk-js,types): Drop experimental_force_oauth_first & `exper…
Browse files Browse the repository at this point in the history
…imental__forceOauthFirst` (#1918)

* chore(clerk-js,types): Drop `experimental_force_oauth_first` & `experimental__forceOauthFirst`

* Create pretty-planes-kick.md
  • Loading branch information
dimkl authored Oct 19, 2023
1 parent aa4cd76 commit b09b66e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/pretty-planes-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@clerk/clerk-js": patch
"@clerk/types": patch
---

Drop `experimental_force_oauth_first` & `experimental__forceOauthFirst` from `DisplayConfig`
1 change: 0 additions & 1 deletion packages/clerk-js/src/core/resources/DisplayConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export class DisplayConfig extends BaseResource implements DisplayConfigResource
this.captchaPublicKey = data.captcha_public_key;
this.supportEmail = data.support_email || '';
this.clerkJSVersion = data.clerk_js_version;
this.experimental__forceOauthFirst = data.experimental_force_oauth_first || false;
this.organizationProfileUrl = data.organization_profile_url;
this.createOrganizationUrl = data.create_organization_url;
this.afterLeaveOrganizationUrl = data.after_leave_organization_url;
Expand Down
3 changes: 1 addition & 2 deletions packages/clerk-js/src/ui/utils/test/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,8 @@ const createBaseDisplayConfig = (): DisplayConfigJSON => {
create_organization_url: 'https://accounts.clerk.com/create-organization',
after_leave_organization_url: 'https://dashboard.clerk.com',
after_create_organization_url: 'https://dashboard.clerk.com',
support_email: null,
support_email: '',
branded: true,
experimental_force_oauth_first: false,
clerk_js_version: '4',
};
};
Expand Down
1 change: 0 additions & 1 deletion packages/types/src/displayConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export interface DisplayConfigJSON {
theme: DisplayThemeJSON;
user_profile_url: string;
clerk_js_version?: string;
experimental_force_oauth_first?: boolean;
organization_profile_url: string;
create_organization_url: string;
after_leave_organization_url: string;
Expand Down

0 comments on commit b09b66e

Please sign in to comment.