Vigia

将 @workos-inc/node 从 11.x 升级到 12.x

根据 TypeScript 类型自动比较 @workos-inc/node 11.0.0 与 12.0.0 的公开 API。签名变化表示可能存在不兼容变更,并非确定结论。

概要

已删除的导入路径0
已删除的导出4
已修改的签名13
已删除的类或接口成员3
已修改的类或接口成员269
新增弃用0
要求变化(engines、peer 依赖)0
新增导出162

已删除的导出

importexportkind之前
@workos-inc/nodeFlagTargetinterfaceinterface
@workos-inc/nodeFlagCustomTargetinterfaceinterface
@workos-inc/nodeReadObjectResponseinterfaceinterface
@workos-inc/nodeReadObjectMetadataResponseinterfaceinterface

已修改的签名

export之前之后
@workos-inc/node · EventApiKeyCreatedEvent | ApiKeyRevokedEvent | AuthenticationEmailVerificationSucceededEvent | AuthenticationMagicAuthFailedEvent | AuthenticationMagicAuthSucceededEvent | AuthenticationMfaSucceededEvent | AuthenticationOAuthFailedEvent | AuthenticationOAuthSucceededEvent | AuthenticationPasskeyFailedEvent | AuthenticationPasskeySucceededEvent | AuthenticationPasswordFailedEvent | AuthenticationPasswordSucceededEvent | AuthenticationRadarRiskDetectedEvent | AuthenticationSSOFailedEvent | AuthenticationSSOSucceededEvent | ConnectionActivatedEvent | ConnectionDeactivatedEvent | ConnectionDeletedEvent…KnownEvent | UnknownEvent
@workos-inc/node · EventName"authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_succeeded" | "authentication.radar_risk_detected" | "api_key.created" | "api_key.revoked" | "connection.activated" | "connection.deactivated" | "connection.deleted" | "dsync.activat…"agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.m…
@workos-inc/node · FactorType"sms" | "totp" | "generic_otp""sms" | "totp" | "generic_otp" | "webauthn"
@workos-inc/node · DirectoryType"azure scim v2.0" | "bamboohr" | "breathe hr" | "cezanne hr" | "cyberark scim v2.0" | "fourth hr" | "gsuite directory" | "generic scim v2.0" | "hibob" | "jump cloud scim v2.0" | "okta scim v2.0" | "onelogin scim v2.0" | "people hr" | "personio" | "pingfederate scim v2.0" | "rippling scim v2.0" | "sftp" | "sftp workday" | "workday""azure scim v2.0" | "bamboohr" | "breathe hr" | "cezanne hr" | "cyberark scim v2.0" | "fourth hr" | "generic scim v2.0" | "gsuite directory" | "hibob" | "sailpoint scim v2.0" | "jump cloud scim v2.0" | "okta scim v2.0" | "onelogin scim v2.0" | "people hr" | "personio" | "pingfederate scim v2.0" | "rippling scim v2.0" | "s3" | "sftp" | "sftp workday" | "workday"
@workos-inc/node · EventResponseApiKeyCreatedEventResponse | ApiKeyRevokedEventResponse | AuthenticationEmailVerificationSucceededEventResponse | AuthenticationMagicAuthFailedEventResponse | AuthenticationMagicAuthSucceededEventResponse | AuthenticationMfaSucceededEventResponse | AuthenticationOAuthFailedEventResponse | AuthenticationOAuthSucceededEventResponse | AuthenticationPasskeyFailedEventResponse | AuthenticationPasskeySucceededEventResponse | AuthenticationPasswordFailedEventResponse | AuthenticationPasswordSucceededEventResponse | AuthenticationRadarRiskDetectedEventResponse | AuthenticationSSOFailedEventResponse | …KnownEventResponse | UnknownEventResponse
@workos-inc/node · RadarListType"ip_address" | "domain" | "email" | "device" | "user_agent" | "device_fingerprint" | "country""email" | "ip_address" | "domain" | "device" | "user_agent" | "device_fingerprint" | "country"
@workos-inc/node · FlagPollResponse{ [x: string]: FlagPollEntry; }interface
@workos-inc/node · AuthenticationFactorType"sms" | "totp" | "generic_otp""sms" | "totp" | "generic_otp" | "webauthn"
@workos-inc/node · CreateWebhookEndpointEvents"authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "authentication.radar_risk_detected" | "api_key.created" | "api_key.revoked" | "connection.activated" | …"agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.m…
@workos-inc/node · UpdateWebhookEndpointEvents"authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "authentication.radar_risk_detected" | "api_key.created" | "api_key.revoked" | "connection.activated" | …"agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.m…
@workos-inc/node · DataIntegrationVendedCredential{ object: "credential"; authMethod: "oauth"; value: string; config?: Record<string, string> | undefined; expiresAt: string | null; scopes: string[]; missingScopes: string[]; metadata?: undefined; } | { object: "credential"; authMethod: "api_key"; value: string; config?: Record<string, string> | undefined; expiresAt?: undefined; scopes?: undefined; missingScopes?: undefined; metadata?: undefined; } | { object: "credential"; authMethod: "client_credentials"; value: string; config?: Record<string, string> | undefined; expiresAt: string | null; scopes: string[]; missingScopes: string[]; metadata: …{ object: "credential"; authMethod: "oauth"; value: string; config?: Record<string, string> | undefined; expiresAt: Date | null; scopes: string[]; missingScopes: string[]; metadata?: undefined; } | { object: "credential"; authMethod: "api_key"; value: string; config?: Record<string, string> | undefined; expiresAt?: undefined; scopes?: undefined; missingScopes?: undefined; metadata?: undefined; } | { object: "credential"; authMethod: "client_credentials"; value: string; config?: Record<string, string> | undefined; expiresAt: Date | null; scopes: string[]; missingScopes: string[]; metadata: Reco…
@workos-inc/node · RadarStandaloneResponseBlocklistType"ip_address" | "domain" | "email" | "device" | "user_agent" | "device_fingerprint" | "country""email" | "ip_address" | "domain" | "device" | "user_agent" | "device_fingerprint" | "country"
@workos-inc/node · DataIntegrationCredentialsResponseCredential{ object: "credential"; authMethod: "oauth"; value: string; config?: Record<string, string> | undefined; expiresAt: string | null; scopes: string[]; missingScopes: string[]; metadata?: undefined; } | { object: "credential"; authMethod: "api_key"; value: string; config?: Record<string, string> | undefined; expiresAt?: undefined; scopes?: undefined; missingScopes?: undefined; metadata?: undefined; } | { object: "credential"; authMethod: "client_credentials"; value: string; config?: Record<string, string> | undefined; expiresAt: string | null; scopes: string[]; missingScopes: string[]; metadata: …{ object: "credential"; authMethod: "oauth"; value: string; config?: Record<string, string> | undefined; expiresAt: Date | null; scopes: string[]; missingScopes: string[]; metadata?: undefined; } | { object: "credential"; authMethod: "api_key"; value: string; config?: Record<string, string> | undefined; expiresAt?: undefined; scopes?: undefined; missingScopes?: undefined; metadata?: undefined; } | { object: "credential"; authMethod: "client_credentials"; value: string; config?: Record<string, string> | undefined; expiresAt: Date | null; scopes: string[]; missingScopes: string[]; metadata: Reco…

已删除的类或接口成员

memberimport之前
GenerateLink.adminEmails@workos-inc/nodestring[] | undefined
FlagPollEntry.targets@workos-inc/node{ users: FlagTarget[]; organizations: FlagTarget[]; custom_targets?: FlagCustomTarget[] | undefined; }
GenerateLinkResponse.admin_emails@workos-inc/nodestring[] | undefined

已修改的类或接口成员

member之前之后
User.createdAtstringDate
User.updatedAtstringDate
User.lastSignInAtstring | nullDate | null
ApiKey.createdAtstringDate
ApiKey.updatedAtstringDate
ApiKey.lastUsedAtstring | nullDate | null
Factor.createdAtstringDate
Factor.updatedAtstringDate
Profile.namestring | undefinedstring | null
Profile.roleRoleResponse | undefinedRoleResponse | null | undefined
Profile.rolesRoleResponse[] | undefinedRoleResponse[] | null | undefined
Profile.lastNamestring | undefinedstring | null
Profile.firstNamestring | undefinedstring | null
Profile.rawAttributes{ [key: string]: any; } | undefined{ [key: string]: any; }
Profile.organizationIdstring | undefinedstring | null
Session.endedAtstring | nullDate | null
Session.createdAtstringDate
Session.expiresAtstringDate
Session.updatedAtstringDate
Waitlist.createdAtstringDate
Waitlist.updatedAtstringDate
Challenge.createdAtstringDate
Challenge.expiresAtstring | undefinedDate | undefined
Challenge.updatedAtstringDate
Directory.domainstringstring | undefined
Directory.createdAtstringDate
Directory.updatedAtstringDate
EventBase.createdAtstringDate
ItContact.createdAtstringDate
ItContact.updatedAtstringDate
MagicAuth.createdAtstringDate
MagicAuth.expiresAtstringDate
MagicAuth.updatedAtstringDate
RoleEvent.createdAtstringDate
RoleEvent.updatedAtstringDate
Connection.state"active" | "inactive" | "draft" | "validating"ConnectionState
Connection.createdAtstringDate
Connection.updatedAtstringDate
Invitation.createdAtstringDate
Invitation.expiresAtstringDate
Invitation.revokedAtstring | nullDate | null
Invitation.updatedAtstringDate
Invitation.acceptedAtstring | nullDate | null
Permission.createdAtstringDate
Permission.updatedAtstringDate
UserApiKey.createdAtstringDate
UserApiKey.expiresAtstring | nullDate | null
UserApiKey.updatedAtstringDate
UserApiKey.lastUsedAtstring | nullDate | null
FeatureFlag.createdAtstringDate
FeatureFlag.updatedAtstringDate
FeatureFlag.descriptionstringstring | null
Organization.createdAtstringDate
Organization.updatedAtstringDate
UnknownEvent.dataRecord<string, unknown>never
UnknownEvent.createdAtstringDate
AgentIdentity.createdAtstringDate
AgentIdentity.updatedAtstringDate
AgentInstance.createdAtstringDate
AgentInstance.updatedAtstringDate
CreatedApiKey.createdAtstringDate
CreatedApiKey.updatedAtstringDate
CreatedApiKey.lastUsedAtstring | nullDate | null
DirectoryUser.state"active" | "inactive""active" | "inactive" | "suspended"
DirectoryUser.createdAtstringDate
DirectoryUser.updatedAtstringDate
FlagPollEntry.default_valuebooleanunknown
PasswordReset.createdAtstringDate
PasswordReset.expiresAtstringDate
WaitlistEntry.createdAtstringDate
WaitlistEntry.updatedAtstringDate
WaitlistEntry.approvedAtstring | nullDate | null
AgentBlueprint.createdAtstringDate
AgentBlueprint.updatedAtstringDate
AuditLogExport.urlstring | undefinedstring | null | undefined
AuditLogExport.state"pending" | "ready" | "error"AuditLogExportState
AuditLogExport.createdAtstringDate
AuditLogExport.updatedAtstringDate
AuditLogSchema.createdAtstringDate
DirectoryGroup.createdAtstringDate
DirectoryGroup.updatedAtstringDate
DirectoryGroup.rawAttributesanyRecord<string, any> | undefined
EventDirectory.createdAtstringDate
EventDirectory.updatedAtstringDate
MagicAuthEvent.createdAtstringDate
MagicAuthEvent.expiresAtstringDate
MagicAuthEvent.updatedAtstringDate
RoleAssignment.createdAtstringDate
RoleAssignment.updatedAtstringDate
EnvironmentRole.createdAtstringDate
EnvironmentRole.updatedAtstringDate
InvitationEvent.createdAtstringDate
InvitationEvent.expiresAtstringDate
InvitationEvent.revokedAtstring | nullDate | null
InvitationEvent.updatedAtstringDate
InvitationEvent.acceptedAtstring | nullDate | null
ProfileResponse.namestring | undefinedstring | null
ProfileResponse.roleRoleResponse | undefinedRoleResponse | null | undefined
ProfileResponse.rolesRoleResponse[] | undefinedRoleResponse[] | null | undefined
ProfileResponse.last_namestring | undefinedstring | null
ProfileResponse.first_namestring | undefinedstring | null
ProfileResponse.raw_attributes{ [key: string]: any; } | undefined{ [key: string]: any; }
ProfileResponse.organization_idstring | undefinedstring | null
ResponsePayload.verdict"Allow" | "Deny" | undefined"Deny" | "Allow" | undefined
ConnectedAccount.createdAtstringDate
ConnectedAccount.updatedAtstringDate
FlagCreatedEvent.createdAtstringDate
FlagDeletedEvent.createdAtstringDate
FlagUpdatedEvent.createdAtstringDate
ListEventOptions.events("authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "…("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registra…
OrganizationRole.createdAtstringDate
OrganizationRole.updatedAtstringDate
RoleCreatedEvent.createdAtstringDate
RoleDeletedEvent.createdAtstringDate
RoleUpdatedEvent.createdAtstringDate
UserCreatedEvent.createdAtstringDate
UserDeletedEvent.createdAtstringDate
UserUpdatedEvent.createdAtstringDate
AgentRegistration.createdAtstringDate
AgentRegistration.updatedAtstringDate
DirectoryResponse.domainstringstring | undefined
DsyncDeletedEvent.createdAtstringDate
EmailVerification.createdAtstringDate
EmailVerification.expiresAtstringDate
EmailVerification.updatedAtstringDate
FactorWithSecrets.createdAtstringDate
FactorWithSecrets.updatedAtstringDate
GroupCreatedEvent.createdAtstringDate
GroupDeletedEvent.createdAtstringDate
GroupUpdatedEvent.createdAtstringDate
VaultDekReadEvent.createdAtstringDate
ApiKeyCreatedEvent.createdAtstringDate
ApiKeyRevokedEvent.createdAtstringDate
ConnectionResponse.state"active" | "inactive" | "draft" | "validating"ConnectionState
CreateUserResponse.createdAtstringDate
CreateUserResponse.updatedAtstringDate
CreateUserResponse.lastSignInAtstring | nullDate | null
OrganizationDomain.createdAtstringDate
OrganizationDomain.updatedAtstringDate
PasswordResetEvent.createdAtstringDate
PasswordResetEvent.expiresAtstringDate
VaultDataReadEvent.createdAtstringDate
DsyncActivatedEvent.createdAtstringDate
FeatureFlagResponse.descriptionstringstring | null
GroupRoleAssignment.createdAtstringDate
GroupRoleAssignment.updatedAtstringDate
SessionCreatedEvent.createdAtstringDate
SessionRevokedEvent.createdAtstringDate
UserApiKeyWithValue.createdAtstringDate
UserApiKeyWithValue.expiresAtstring | nullDate | null
UserApiKeyWithValue.updatedAtstringDate
UserApiKeyWithValue.lastUsedAtstring | nullDate | null
AgentInstanceSession.createdAtstringDate
AgentInstanceSession.expiresAtstringDate
AgentInstanceSession.revokedAtstring | nullDate | null
AgentInstanceSession.updatedAtstringDate
AuthenticationFactor.createdAtstringDate
AuthenticationFactor.updatedAtstringDate
FlagRuleUpdatedEvent.createdAtstringDate
RuntimeClientOptions.bootstrapFlagsRecord<string, FlagPollEntry> | undefinedFlagPollResponse | undefined
ValidAgentCredential.expiresAtstring | nullDate | null
VaultKekCreatedEvent.createdAtstringDate
AuthorizationResource.createdAtstringDate
AuthorizationResource.updatedAtstringDate
DirectoryUserResponse.state"active" | "inactive""active" | "inactive" | "suspended"
DsyncUserCreatedEvent.createdAtstringDate
DsyncUserDeletedEvent.createdAtstringDate
DsyncUserUpdatedEvent.createdAtstringDate
GroupMemberAddedEvent.createdAtstringDate
InvitationResentEvent.createdAtstringDate
MagicAuthCreatedEvent.createdAtstringDate
OrganizationRoleEvent.createdAtstringDate
OrganizationRoleEvent.updatedAtstringDate
PipesConnectedAccount.createdAtstringDate
PipesConnectedAccount.updatedAtstringDate
PipesConnectionFailed.createdAtstringDate
VaultDataCreatedEvent.createdAtstringDate
VaultDataDeletedEvent.createdAtstringDate
VaultDataUpdatedEvent.createdAtstringDate
VaultNamesListedEvent.createdAtstringDate
AgentRegistrationClaim.createdAtstringDate
AgentRegistrationClaim.expiresAtstringDate
AgentRegistrationClaim.updatedAtstringDate
AuditLogExportResponse.urlstring | undefinedstring | null | undefined
AuditLogExportResponse.state"pending" | "ready" | "error"AuditLogExportState
AuthenticationEventSso.sessionIdstring | undefinedstring | null
AuthenticationEventSso.connectionIdstringstring | null
AuthenticationEventSso.organizationIdstringstring | null
ConnectionDeletedEvent.createdAtstringDate
DirectoryGroupResponse.raw_attributesanyRecord<string, any> | undefined
DsyncGroupCreatedEvent.createdAtstringDate
DsyncGroupDeletedEvent.createdAtstringDate
DsyncGroupUpdatedEvent.createdAtstringDate
EmailVerificationEvent.createdAtstringDate
EmailVerificationEvent.expiresAtstringDate
EmailVerificationEvent.updatedAtstringDate
InvitationCreatedEvent.createdAtstringDate
InvitationRevokedEvent.createdAtstringDate
OrganizationMembership.createdAtstringDate
OrganizationMembership.updatedAtstringDate
PermissionCreatedEvent.createdAtstringDate
PermissionDeletedEvent.createdAtstringDate
PermissionUpdatedEvent.createdAtstringDate
VaultDekDecryptedEvent.createdAtstringDate
VaultMetadataReadEvent.createdAtstringDate
CreateMagicAuthResponse.createdAtstringDate
CreateMagicAuthResponse.expiresAtstringDate
CreateMagicAuthResponse.updatedAtstringDate
DirectoryUserWithGroups.state"active" | "inactive""active" | "inactive" | "suspended"
DirectoryUserWithGroups.createdAtstringDate
DirectoryUserWithGroups.updatedAtstringDate
GroupMemberRemovedEvent.createdAtstringDate
InvitationAcceptedEvent.createdAtstringDate
ConnectionActivatedEvent.createdAtstringDate
DsyncGroupUserAddedEvent.createdAtstringDate
OrganizationCreatedEvent.createdAtstringDate
OrganizationDeletedEvent.createdAtstringDate
OrganizationUpdatedEvent.createdAtstringDate
PasswordResetCreatedEvent.createdAtstringDate
BaseOrganizationMembership.createdAtstringDate
BaseOrganizationMembership.updatedAtstringDate
ConnectionDeactivatedEvent.createdAtstringDate
DsyncGroupUserRemovedEvent.createdAtstringDate
SerializedListEventOptions.events("authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "…("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registra…
PasswordResetSucceededEvent.createdAtstringDate
AuthenticationSSOFailedEvent.createdAtstringDate
OrganizationRoleCreatedEvent.createdAtstringDate
OrganizationRoleDeletedEvent.createdAtstringDate
OrganizationRoleUpdatedEvent.createdAtstringDate
EmailVerificationCreatedEvent.createdAtstringDate
OrganizationMembershipCreated.createdAtstringDate
OrganizationMembershipDeleted.createdAtstringDate
OrganizationMembershipUpdated.createdAtstringDate
AuthenticationEventSsoResponse.session_idstring | undefinedstring | null
AuthenticationEventSsoResponse.connection_idstringstring | null
AuthenticationEventSsoResponse.organization_idstringstring | null
AuthenticationOAuthFailedEvent.createdAtstringDate
OrganizationDomainCreatedEvent.createdAtstringDate
OrganizationDomainDeletedEvent.createdAtstringDate
OrganizationDomainUpdatedEvent.createdAtstringDate
AuthenticationFactorWithSecrets.createdAtstringDate
AuthenticationFactorWithSecrets.updatedAtstringDate
AuthenticationMfaSucceededEvent.createdAtstringDate
AuthenticationSSOSucceededEvent.createdAtstringDate
DirectoryUserWithGroupsResponse.state"active" | "inactive""active" | "inactive" | "suspended"
OrganizationDomainVerifiedEvent.createdAtstringDate
AgentRegistrationClaimCompletion.claimedAtstringDate
AgentRegistrationClaimCompletion.createdAtstringDate
AgentRegistrationClaimCompletion.expiresAtstringDate
AgentRegistrationClaimCompletion.updatedAtstringDate
AuthenticationPasskeyFailedEvent.createdAtstringDate
DataIntegrationsListResponseData.createdAtstringDate
DataIntegrationsListResponseData.updatedAtstringDate
AuthenticationOAuthSucceededEvent.createdAtstringDate
AuthenticationPasswordFailedEvent.createdAtstringDate
AuthenticationMagicAuthFailedEvent.createdAtstringDate
AuthenticationPasskeySucceededEvent.createdAtstringDate
PipesConnectedAccountConnectedEvent.createdAtstringDate
AuthenticationPasswordSucceededEvent.createdAtstringDate
AuthenticationRadarRiskDetectedEvent.createdAtstringDate
AuthenticationMagicAuthSucceededEvent.createdAtstringDate
PipesConnectedAccountDisconnectedEvent.createdAtstringDate
VaultByokKeyVerificationCompletedEvent.createdAtstringDate
OrganizationDomainVerificationFailedEvent.createdAtstringDate
PipesConnectedAccountConnectionFailedEvent.createdAtstringDate
AuthenticationEmailVerificationSucceededEvent.createdAtstringDate
PipesConnectedAccountReauthorizationNeededEvent.createdAtstringDate
DataIntegrationsListResponseDataConnectedAccount.createdAtstringDate
DataIntegrationsListResponseDataConnectedAccount.updatedAtstringDate

新增弃用

未发现。

要求变化(engines、peer 依赖)

未发现。

新增导出 (162)
importexportkind
@workos-inc/nodeSlimRoleinterface
@workos-inc/nodeKnownEventtype
@workos-inc/nodeFlagPollRuleinterface
@workos-inc/nodeDirectoryTokeninterface
@workos-inc/nodeGetUserOptionsinterface
@workos-inc/nodeConnectionStatetype
@workos-inc/nodeSlimRoleResponseinterface
@workos-inc/nodeAccessTokenClaimsinterface
@workos-inc/nodeDirectoryMetadatainterface
@workos-inc/nodeFlagPollConditioninterface
@workos-inc/nodeApiKeyUpdatedEventinterface
@workos-inc/nodeKnownEventResponsetype
@workos-inc/nodeAuditLogExportStatetype
@workos-inc/nodeGetDirectoryOptionsinterface
@workos-inc/nodeSamlCertificateTypetype
@workos-inc/nodeUnknownEventResponseinterface
@workos-inc/nodeVaultDekRekeyedEventinterface
@workos-inc/nodeVaultKekDeletedEventinterface
@workos-inc/nodeDirectoryMetadataUserinterface
@workos-inc/nodeWaitlistUserEventDatainterface
@workos-inc/nodeApiKeyUpdatedEventDatainterface
@workos-inc/nodeDeleteDirectoryOptionsinterface
@workos-inc/nodeDirectoryTokenResponseinterface
@workos-inc/nodeDsyncTokenCreatedEventinterface
@workos-inc/nodeDsyncTokenRevokedEventinterface
@workos-inc/nodeSamlCertificateRenewedinterface
@workos-inc/nodeAgentBlueprintEventDatainterface
@workos-inc/nodeAgentRegistrationMethodtype
@workos-inc/nodeAuthenticationEventTypetype
@workos-inc/nodeResourceExportEventDatainterface
@workos-inc/nodeWaitlistUserDeniedEventinterface
@workos-inc/nodeApiKeyPreviousAttributesinterface
@workos-inc/nodeVaultByokKeyDeletedEventinterface
@workos-inc/nodeWaitlistUserCreatedEventinterface
@workos-inc/nodeAgentInstanceCreatedEventinterface
@workos-inc/nodeAgentInstanceDeletedEventinterface
@workos-inc/nodeAuthenticationEventStatustype
@workos-inc/nodeConnectionEventConnectioninterface
@workos-inc/nodeDirectoryMetadataResponseinterface
@workos-inc/nodeResourceExportFailedEventinterface
@workos-inc/nodeWaitlistUserApprovedEventinterface
@workos-inc/nodeAgentBlueprintCreatedEventinterface
@workos-inc/nodeAgentBlueprintDeletedEventinterface
@workos-inc/nodeAgentBlueprintUpdatedEventinterface
@workos-inc/nodeApiKeyUpdatedEventResponseinterface
@workos-inc/nodeRadarChallengeCreatedEventinterface
@workos-inc/nodeResourceExportCreatedEventinterface
@workos-inc/nodeResourceExportResourceTypetype
@workos-inc/nodeAuthenticationMfaFailedEventinterface
@workos-inc/nodeDirectorySyncGetGroupOptionsinterface
@workos-inc/nodeDirectoryUserWithGroupsEmailinterface
@workos-inc/nodeDirectoryUserWithGroupsStatetype
@workos-inc/nodeResourceExportCompletedEventinterface
@workos-inc/nodeVaultDekRekeyedEventResponseinterface
@workos-inc/nodeVaultKekDeletedEventResponseinterface
@workos-inc/nodeAgentInstanceSessionEventDatainterface
@workos-inc/nodeAgentRegistrationCreatedEventinterface
@workos-inc/nodeAgentRegistrationDeletedEventinterface
@workos-inc/nodeAgentRegistrationExpiredEventinterface
@workos-inc/nodeAgentRegistrationRevokedEventinterface
@workos-inc/nodeAuthenticationSSOStartedEventinterface
@workos-inc/nodeDirectoryMetadataUserResponseinterface
@workos-inc/nodeResourceExportDownloadedEventinterface
@workos-inc/nodeWaitlistUserEventResponseDatainterface
@workos-inc/nodeAgentBlueprintDeletedEventDatainterface
@workos-inc/nodeAuthenticationSSOTimedOutEventinterface
@workos-inc/nodeDsyncTokenCreatedEventResponseinterface
@workos-inc/nodeDsyncTokenRevokedEventResponseinterface
@workos-inc/nodeRadarChallengeCreatedEventDatainterface
@workos-inc/nodeSamlCertificateRenewalRequiredinterface
@workos-inc/nodeSamlCertificateRenewedResponseinterface
@workos-inc/nodeActionAuthenticationDeniedEventinterface
@workos-inc/nodeAgentBlueprintEventResponseDatainterface
@workos-inc/nodeAgentRegistrationRefreshedEventinterface
@workos-inc/nodeResourceExportEventResponseDatainterface
@workos-inc/nodeWaitlistUserDeniedEventResponseinterface
@workos-inc/nodeAgentInstanceSessionCreatedEventinterface
@workos-inc/nodeAgentInstanceSessionRevokedEventinterface
@workos-inc/nodeSerializedApiKeyUpdatedEventDatainterface
@workos-inc/nodeVaultByokKeyDeletedEventResponseinterface
@workos-inc/nodeWaitlistUserCreatedEventResponseinterface
@workos-inc/nodeActionUserRegistrationDeniedEventinterface
@workos-inc/nodeAgentInstanceCreatedEventResponseinterface
@workos-inc/nodeAgentInstanceDeletedEventResponseinterface
@workos-inc/nodeAgentRegistrationCreatedEventDatainterface
@workos-inc/nodeAgentRegistrationCredentialDetailtype
@workos-inc/nodeConnectionEventConnectionResponseinterface
@workos-inc/nodeResourceExportFailedEventResponseinterface
@workos-inc/nodeWaitlistUserApprovedEventResponseinterface
@workos-inc/nodeAgentBlueprintCreatedEventResponseinterface
@workos-inc/nodeAgentBlueprintDeletedEventResponseinterface
@workos-inc/nodeAgentBlueprintUpdatedEventResponseinterface
@workos-inc/nodeRadarChallengeCreatedEventResponseinterface
@workos-inc/nodeResourceExportCreatedEventResponseinterface
@workos-inc/nodeSerializedApiKeyPreviousAttributesinterface
@workos-inc/nodeActionAuthenticationDeniedEventDatainterface
@workos-inc/nodeAgentRegistrationLifecycleEventDatainterface
@workos-inc/nodeAgentInstanceSessionCreatedEventDatainterface
@workos-inc/nodeAgentRegistrationClaimCompletedEventinterface
@workos-inc/nodeAuthenticationMfaFailedEventResponseinterface
@workos-inc/nodeDirectoryUserWithGroupsEmailResponseinterface
@workos-inc/nodePipesAccountConnectionAddFailedEventinterface
@workos-inc/nodePipesAccountConnectionConnectedEventinterface
@workos-inc/nodeResourceExportCompletedEventResponseinterface
@workos-inc/nodeActionUserRegistrationDeniedEventDatainterface
@workos-inc/nodeAgentInstanceSessionEventResponseDatainterface
@workos-inc/nodeAgentRegistrationCreatedEventResponseinterface
@workos-inc/nodeAgentRegistrationDeletedEventResponseinterface
@workos-inc/nodeAgentRegistrationExpiredEventResponseinterface
@workos-inc/nodeAgentRegistrationRevokedEventResponseinterface
@workos-inc/nodeAuthenticationSSOStartedEventResponseinterface
@workos-inc/nodeConnectionSamlCertificateRenewedEventinterface
@workos-inc/nodeResourceExportDownloadedEventResponseinterface
@workos-inc/nodeAgentBlueprintDeletedEventResponseDatainterface
@workos-inc/nodeAgentRegistrationCredentialIssuedEventinterface
@workos-inc/nodeAuthenticationSSOTimedOutEventResponseinterface
@workos-inc/nodeRadarChallengeCreatedEventResponseDatainterface
@workos-inc/nodeSamlCertificateRenewalRequiredResponseinterface
@workos-inc/nodeActionAuthenticationDeniedEventResponseinterface
@workos-inc/nodeAgentRegistrationRefreshedEventResponseinterface
@workos-inc/nodePipesAccountConnectionDisconnectedEventinterface
@workos-inc/nodeAgentInstanceSessionCreatedEventResponseinterface
@workos-inc/nodeAgentInstanceSessionRevokedEventResponseinterface
@workos-inc/nodeAgentRegistrationClaimCompletedEventDatainterface
@workos-inc/nodeActionUserRegistrationDeniedEventResponseinterface
@workos-inc/nodeAgentRegistrationClaimAttemptCreatedEventinterface
@workos-inc/nodeAgentRegistrationCreatedEventResponseDatainterface
@workos-inc/nodeAgentRegistrationCredentialDetailResponsetype
@workos-inc/nodeConnectionSamlCertificateRenewedEventDatainterface
@workos-inc/nodeAgentRegistrationCredentialIssuedEventDatainterface
@workos-inc/nodeAgentRegistrationOrganizationSwitchedEventinterface
@workos-inc/nodeAuthenticationEmailVerificationFailedEventinterface
@workos-inc/nodeActionAuthenticationDeniedEventResponseDatainterface
@workos-inc/nodeAgentRegistrationLifecycleEventResponseDatainterface
@workos-inc/nodePipesAccountConnectionConnectionFailedEventinterface
@workos-inc/nodeAgentInstanceSessionCreatedEventResponseDatainterface
@workos-inc/nodeAgentRegistrationClaimCompletedEventResponseinterface
@workos-inc/nodeAuthenticationReauthenticationSucceededEventinterface
@workos-inc/nodePipesAccountConnectionAddFailedEventResponseinterface
@workos-inc/nodePipesAccountConnectionConnectedEventResponseinterface
@workos-inc/nodeActionUserRegistrationDeniedEventResponseDatainterface
@workos-inc/nodeAgentRegistrationClaimAttemptCreatedEventDatainterface
@workos-inc/nodeConnectionSamlCertificateRenewalRequiredEventinterface
@workos-inc/nodeConnectionSamlCertificateRenewedEventResponseinterface
@workos-inc/nodeAgentRegistrationCredentialIssuedEventResponseinterface
@workos-inc/nodeAgentRegistrationOrganizationSwitchedEventDatainterface
@workos-inc/nodePipesAccountConnectionDisconnectedEventResponseinterface
@workos-inc/nodeAgentRegistrationClaimCompletedEventResponseDatainterface
@workos-inc/nodePipesAccountConnectionReauthorizationNeededEventinterface
@workos-inc/nodeAgentRegistrationClaimAttemptCreatedEventResponseinterface
@workos-inc/nodeConnectionSamlCertificateRenewalRequiredEventDatainterface
@workos-inc/nodeConnectionSamlCertificateRenewedEventResponseDatainterface
@workos-inc/nodeAgentRegistrationCredentialIssuedEventResponseDatainterface
@workos-inc/nodeAgentRegistrationOrganizationSwitchedEventResponseinterface
@workos-inc/nodeAuthenticationEmailVerificationFailedEventResponseinterface
@workos-inc/nodePipesAccountConnectionConnectionFailedEventResponseinterface
@workos-inc/nodeAuthenticationReauthenticationSucceededEventResponseinterface
@workos-inc/nodeAgentRegistrationClaimAttemptCreatedEventResponseDatainterface
@workos-inc/nodeConnectionSamlCertificateRenewalRequiredEventResponseinterface
@workos-inc/nodeAgentRegistrationOrganizationSwitchedEventResponseDatainterface
@workos-inc/nodePipesAccountConnectionReauthorizationNeededEventResponseinterface
@workos-inc/nodeConnectionSamlCertificateRenewalRequiredEventResponseDatainterface

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

将 @workos-inc/node 从 11 升级到 12 有哪些不兼容变更?

在 @workos-inc/node 11.0.0 与 12.0.0 之间,Vigia 发现 4 个已删除的导出、13 个已修改的签名,以及 272 个已删除或修改的类或接口成员。

@workos-inc/node 12 中弃用了哪些内容?

@workos-inc/node 12.0.0 中有 0 个导出或成员新被标记为弃用。

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/@workos-inc/node/upgrade?from=11.0.0&to=12.0.0