Skip to content

Commit

Permalink
Make some MFA fields nullable (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-stytch authored Jul 19, 2023
1 parent 959ce27 commit ca66cae
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/b2b/organizations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export interface DiscoveredOrganization {
member_authenticated: boolean;
primary_required: {
allowed_auth_methods: string[];
};
mfa_required: MfaRequired;
} | null;
mfa_required: MfaRequired | null;
}

export interface B2BOrganizationCreateRequest {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stytch",
"version": "7.3.0",
"version": "7.3.1",
"description": "A wrapper for the Stytch API",
"types": "./types/lib/index.d.ts",
"main": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions types/lib/b2b/organizations.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca66cae

Please sign in to comment.