Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clerk/backend

Package Overview
Dependencies
Maintainers
8
Versions
2047
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerk/backend - npm Package Compare versions

Comparing version 1.11.2-canary.v1189f71 to 1.11.2-canary.v8cecbe8

dist/chunk-4CF7AD2H.mjs

20

dist/api/resources/JSON.d.ts

@@ -28,2 +28,4 @@ import type { InvitationStatus, OrganizationInvitationStatus, OrganizationMembershipRole, SignInStatus, SignUpStatus } from './Enums';

readonly TestingToken: "testing_token";
readonly Role: "role";
readonly Permission: "permission";
};

@@ -340,2 +342,20 @@ export type ObjectType = (typeof ObjectType)[keyof typeof ObjectType];

}
export interface RoleJSON extends ClerkResourceJSON {
object: typeof ObjectType.Role;
key: string;
name: string;
description: string;
permissions: PermissionJSON[];
is_creator_eligible: boolean;
created_at: number;
updated_at: number;
}
export interface PermissionJSON extends ClerkResourceJSON {
object: typeof ObjectType.Permission;
key: string;
name: string;
description: string;
created_at: number;
updated_at: number;
}
//# sourceMappingURL=JSON.d.ts.map

6

dist/api/resources/Webhooks.d.ts

@@ -1,2 +0,2 @@

import type { DeletedObjectJSON, EmailJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, SessionJSON, SMSMessageJSON, UserJSON } from './JSON';
import type { DeletedObjectJSON, EmailJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, PermissionJSON, RoleJSON, SessionJSON, SMSMessageJSON, UserJSON } from './JSON';
type Webhook<EvtType, Data> = {

@@ -14,5 +14,7 @@ type: EvtType;

export type OrganizationInvitationWebhookEvent = Webhook<'organizationInvitation.accepted' | 'organizationInvitation.created' | 'organizationInvitation.revoked', OrganizationInvitationJSON>;
export type WebhookEvent = UserWebhookEvent | SessionWebhookEvent | EmailWebhookEvent | SMSWebhookEvent | OrganizationWebhookEvent | OrganizationMembershipWebhookEvent | OrganizationInvitationWebhookEvent;
export type RoleWebhookEvent = Webhook<'role.created' | 'role.updated' | 'role.deleted', RoleJSON>;
export type PermissionWebhookEvent = Webhook<'permission.created' | 'permission.updated' | 'permission.deleted', PermissionJSON>;
export type WebhookEvent = UserWebhookEvent | SessionWebhookEvent | EmailWebhookEvent | SMSWebhookEvent | OrganizationWebhookEvent | OrganizationMembershipWebhookEvent | OrganizationInvitationWebhookEvent | RoleWebhookEvent | PermissionWebhookEvent;
export type WebhookEventType = WebhookEvent['type'];
export {};
//# sourceMappingURL=Webhooks.d.ts.map
{
"name": "@clerk/backend",
"version": "1.11.2-canary.v1189f71",
"version": "1.11.2-canary.v8cecbe8",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",

@@ -98,4 +98,4 @@ "homepage": "https://clerk.com/",

"dependencies": {
"@clerk/shared": "2.7.3-canary.v1189f71",
"@clerk/types": "4.20.2-canary.v1189f71",
"@clerk/shared": "2.7.3-canary.v8cecbe8",
"@clerk/types": "4.20.2-canary.v8cecbe8",
"cookie": "0.5.0",

@@ -102,0 +102,0 @@ "snakecase-keys": "5.4.4",

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 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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc