New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@scrypted/client

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypted/client - npm Package Compare versions

Comparing version 1.1.17 to 1.1.18

2

dist/packages/client/package.json
{
"name": "@scrypted/client",
"version": "1.1.17",
"version": "1.1.18",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js",

@@ -128,5 +128,11 @@ "use strict";

redirect = redirect || `/endpoint/@scrypted/core/public/`;
if (baseUrl)
redirect = new URL(redirect, baseUrl).toString();
const redirect_uri = `${redirect}?redirect_uri=${encodeURIComponent(window.location.href)}`;
if (baseUrl) {
const url = new URL(redirect, baseUrl);
url.searchParams.set('redirect_uri', window.location.href);
redirect = url.toString();
}
else {
redirect = `${redirect}?redirect_uri=${encodeURIComponent(window.location.href)}`;
}
const redirect_uri = redirect;
console.log('redirect_uri', redirect_uri);

@@ -133,0 +139,0 @@ globalThis.location.href = redirect_uri;

{
"name": "@scrypted/client",
"version": "1.1.17",
"version": "1.1.18",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js",

@@ -147,5 +147,11 @@ import { ScryptedStatic, RTCConnectionManagement, RTCSignalingSession } from "@scrypted/types";

redirect = redirect || `/endpoint/@scrypted/core/public/`
if (baseUrl)
redirect = new URL(redirect, baseUrl).toString();
const redirect_uri = `${redirect}?redirect_uri=${encodeURIComponent(window.location.href)}`;
if (baseUrl) {
const url = new URL(redirect, baseUrl);
url.searchParams.set('redirect_uri', window.location.href);
redirect = url.toString();
}
else {
redirect = `${redirect}?redirect_uri=${encodeURIComponent(window.location.href)}`;
}
const redirect_uri = redirect;
console.log('redirect_uri', redirect_uri);

@@ -152,0 +158,0 @@ globalThis.location.href = redirect_uri;

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