@clerk/backend
Advanced tools
Comparing version 0.17.2 to 0.18.0-staging.0
@@ -5,9 +5,6 @@ export type OAuthProvider = 'facebook' | 'google' | 'hubspot' | 'github' | 'tiktok' | 'gitlab' | 'discord' | 'twitter' | 'twitch' | 'linkedin' | 'dropbox' | 'bitbucket' | 'microsoft' | 'notion' | 'apple'; | ||
export type OrganizationMembershipRole = 'basic_member' | 'guest_member' | 'admin'; | ||
export type SignInIdentifier = 'username' | 'email_address' | 'phone_number' | 'web3_wallet' | OAuthStrategy; | ||
export type SignInFactorStrategy = 'password' | 'email_link' | 'phone_code' | 'email_code' | OAuthStrategy; | ||
export type SignInStatus = 'needs_identifier' | 'needs_factor_one' | 'needs_factor_two' | 'complete'; | ||
export type SignUpStatus = 'missing_requirements' | 'complete' | 'abandoned'; | ||
export type SignUpIdentificationRequirements = ('email_address' | 'phone_number' | 'web3_wallet' | 'username' | OAuthStrategy)[][]; | ||
export type SignUpAttributeRequirements = ('name_title' | 'name_middle' | 'name_last' | 'name_suffix' | 'age' | 'gender')[][]; | ||
export type InvitationStatus = 'pending' | 'accepted' | 'revoked'; | ||
//# sourceMappingURL=Enums.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { InvitationStatus, OrganizationInvitationStatus, OrganizationMembershipRole, SignInFactorStrategy, SignInIdentifier, SignInStatus, SignUpAttributeRequirements, SignUpIdentificationRequirements, SignUpStatus } from './Enums'; | ||
import type { InvitationStatus, OrganizationInvitationStatus, OrganizationMembershipRole, SignInStatus, SignUpAttributeRequirements, SignUpStatus } from './Enums'; | ||
export declare enum ObjectType { | ||
@@ -108,2 +108,3 @@ AllowlistIdentifier = "allowlist_identifier", | ||
logo_url: string | null; | ||
image_url: string; | ||
public_metadata: Record<string, unknown> | null; | ||
@@ -140,2 +141,3 @@ private_metadata?: Record<string, unknown>; | ||
profile_image_url: string; | ||
image_url: string; | ||
user_id: string; | ||
@@ -171,7 +173,3 @@ } | ||
status: SignInStatus; | ||
allowed_identifier_types: SignInIdentifier[]; | ||
identifier: string; | ||
allowed_factor_one_strategies: SignInFactorStrategy[]; | ||
factor_one_verification: VerificationJSON | null; | ||
factor_two_verification: VerificationJSON | null; | ||
created_session_id: string | null; | ||
@@ -190,13 +188,8 @@ } | ||
status: SignUpStatus; | ||
identification_requirements: SignUpIdentificationRequirements; | ||
attribute_requirements: SignUpAttributeRequirements; | ||
username: string | null; | ||
email_address: string | null; | ||
email_address_verification: VerificationJSON | null; | ||
phone_number: string | null; | ||
phone_number_verification: VerificationJSON | null; | ||
web3_wallet: string | null; | ||
web3_wallet_verification: VerificationJSON | null; | ||
external_account_strategy: string | null; | ||
external_account_verification: VerificationJSON | null; | ||
external_account: any; | ||
@@ -225,2 +218,3 @@ has_password: boolean; | ||
profile_image_url: string; | ||
image_url: string; | ||
primary_email_address_id: string; | ||
@@ -227,0 +221,0 @@ primary_phone_number_id: string; |
@@ -7,2 +7,3 @@ import type { OrganizationJSON } from './JSON'; | ||
readonly logoUrl: string | null; | ||
readonly experimental_imageUrl: string; | ||
readonly createdBy: string; | ||
@@ -14,5 +15,5 @@ readonly createdAt: number; | ||
readonly maxAllowedMemberships: number; | ||
constructor(id: string, name: string, slug: string | null, logoUrl: string | null, createdBy: string, createdAt: number, updatedAt: number, publicMetadata: Record<string, unknown> | null, privateMetadata: Record<string, unknown>, maxAllowedMemberships: number); | ||
constructor(id: string, name: string, slug: string | null, logoUrl: string | null, experimental_imageUrl: string, createdBy: string, createdAt: number, updatedAt: number, publicMetadata: Record<string, unknown> | null, privateMetadata: Record<string, unknown>, maxAllowedMemberships: number); | ||
static fromJSON(data: OrganizationJSON): Organization; | ||
} | ||
//# sourceMappingURL=Organization.d.ts.map |
@@ -21,6 +21,7 @@ import { Organization } from '../resources'; | ||
readonly profileImageUrl: string; | ||
readonly experimental_imageUrl: string; | ||
readonly userId: string; | ||
constructor(identifier: string, firstName: string | null, lastName: string | null, profileImageUrl: string, userId: string); | ||
constructor(identifier: string, firstName: string | null, lastName: string | null, profileImageUrl: string, experimental_imageUrl: string, userId: string); | ||
static fromJSON(data: OrganizationMembershipPublicUserDataJSON): OrganizationMembershipPublicUserData; | ||
} | ||
//# sourceMappingURL=OrganizationMembership.d.ts.map |
@@ -16,2 +16,3 @@ import { EmailAddress } from './EmailAddress'; | ||
readonly profileImageUrl: string; | ||
readonly experimental_imageUrl: string; | ||
readonly gender: string; | ||
@@ -34,5 +35,5 @@ readonly birthday: string; | ||
readonly externalAccounts: ExternalAccount[]; | ||
constructor(id: string, passwordEnabled: boolean, totpEnabled: boolean, backupCodeEnabled: boolean, twoFactorEnabled: boolean, banned: boolean, createdAt: number, updatedAt: number, profileImageUrl: string, gender: string, birthday: string, primaryEmailAddressId: string | null, primaryPhoneNumberId: string | null, primaryWeb3WalletId: string | null, lastSignInAt: number | null, externalId: string | null, username: string | null, firstName: string | null, lastName: string | null, publicMetadata?: UserPublicMetadata, privateMetadata?: Record<string, unknown>, unsafeMetadata?: UserUnsafeMetadata, emailAddresses?: EmailAddress[], phoneNumbers?: PhoneNumber[], web3Wallets?: Web3Wallet[], externalAccounts?: ExternalAccount[]); | ||
constructor(id: string, passwordEnabled: boolean, totpEnabled: boolean, backupCodeEnabled: boolean, twoFactorEnabled: boolean, banned: boolean, createdAt: number, updatedAt: number, profileImageUrl: string, experimental_imageUrl: string, gender: string, birthday: string, primaryEmailAddressId: string | null, primaryPhoneNumberId: string | null, primaryWeb3WalletId: string | null, lastSignInAt: number | null, externalId: string | null, username: string | null, firstName: string | null, lastName: string | null, publicMetadata?: UserPublicMetadata, privateMetadata?: Record<string, unknown>, unsafeMetadata?: UserUnsafeMetadata, emailAddresses?: EmailAddress[], phoneNumbers?: PhoneNumber[], web3Wallets?: Web3Wallet[], externalAccounts?: ExternalAccount[]); | ||
static fromJSON(data: UserJSON): User; | ||
} | ||
//# sourceMappingURL=User.d.ts.map |
{ | ||
"name": "@clerk/backend", | ||
"version": "0.17.2", | ||
"version": "0.18.0-staging.0", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities", | ||
"dependencies": { | ||
"@clerk/types": "^3.35.3", | ||
"@clerk/types": "^3.36.0-staging.0", | ||
"@peculiar/webcrypto": "1.4.1", | ||
@@ -83,3 +83,3 @@ "@types/node": "16.18.6", | ||
}, | ||
"gitHead": "8292455b906bc1ab2cdb80252a3e129a35244a92" | ||
"gitHead": "ba935f9a6d148f0fde958e20e6812107766b91bb" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
639636
6582
1
147
4