diff --git a/lib/b2b/organizations.ts b/lib/b2b/organizations.ts index d9ae3198..3b85388f 100644 --- a/lib/b2b/organizations.ts +++ b/lib/b2b/organizations.ts @@ -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 { diff --git a/package-lock.json b/package-lock.json index 54c64e37..64a7d31b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "stytch", - "version": "7.3.0", + "version": "7.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "stytch", - "version": "7.3.0", + "version": "7.3.1", "license": "MIT", "dependencies": { "isomorphic-unfetch": "^3.1.0", diff --git a/package.json b/package.json index 072c52bb..e4b21065 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/types/lib/b2b/organizations.d.ts b/types/lib/b2b/organizations.d.ts index 73935da6..74ff6306 100644 --- a/types/lib/b2b/organizations.d.ts +++ b/types/lib/b2b/organizations.d.ts @@ -63,8 +63,8 @@ export interface DiscoveredOrganization { member_authenticated: boolean; primary_required: { allowed_auth_methods: string[]; - }; - mfa_required: MfaRequired; + } | null; + mfa_required: MfaRequired | null; } export interface B2BOrganizationCreateRequest { organization_name: string;