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.5.0 to 0.5.1

4

lib/cjs/sdk.js

@@ -64,7 +64,7 @@ "use strict";

if (returnUrl !== "") {
params += `&return_url=${returnUrl}`;
params += `&returnUrl=${returnUrl}`;
}
}
else if (returnUrl !== "") {
params = `?return_url=${returnUrl}`;
params = `?returnUrl=${returnUrl}`;
}

@@ -71,0 +71,0 @@ return `${this.config.serverUrl.trim()}/account${params}`;

@@ -62,7 +62,7 @@ // Copyright 2021 The casbin Authors. All Rights Reserved.

if (returnUrl !== "") {
params += `&return_url=${returnUrl}`;
params += `&returnUrl=${returnUrl}`;
}
}
else if (returnUrl !== "") {
params = `?return_url=${returnUrl}`;
params = `?returnUrl=${returnUrl}`;
}

@@ -69,0 +69,0 @@ return `${this.config.serverUrl.trim()}/account${params}`;

{
"name": "casdoor-js-sdk",
"version": "0.5.0",
"version": "0.5.1",
"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