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

casdoor-js-sdk

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

casdoor-js-sdk - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

12

lib/cjs/sdk.d.ts

@@ -29,2 +29,12 @@ import ITokenResponse from "js-pkce/dist/ITokenResponse";

}
export interface Role {
owner: string;
name: string;
createdTime: string;
displayName: string;
description: string;
roles: string[];
domains: string[];
isEnabled: boolean;
}
export interface JwtPayload {

@@ -99,3 +109,3 @@ owner: string;

properties: Record<string, unknown>;
roles: string[];
roles: Role[];
permissions: Permission[];

@@ -102,0 +112,0 @@ groups: string[];

@@ -29,2 +29,12 @@ import ITokenResponse from "js-pkce/dist/ITokenResponse";

}
export interface Role {
owner: string;
name: string;
createdTime: string;
displayName: string;
description: string;
roles: string[];
domains: string[];
isEnabled: boolean;
}
export interface JwtPayload {

@@ -99,3 +109,3 @@ owner: string;

properties: Record<string, unknown>;
roles: string[];
roles: Role[];
permissions: Permission[];

@@ -102,0 +112,0 @@ groups: string[];

2

package.json
{
"name": "casdoor-js-sdk",
"version": "0.13.0",
"version": "0.14.0",
"description": "Javascript client SDK for Casdoor",

@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js",

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