New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

floatplane

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

floatplane - npm Package Compare versions

Comparing version
5.0.2
to
5.1.0
+4
-6
dist/index.d.ts

@@ -10,3 +10,3 @@ import got from "got";

import { Content } from "./content.js";
export declare const version = "5.0.2";
export declare const version = "5.1.0";
export type AuthToken = TokenEndpointResponse & {

@@ -21,7 +21,5 @@ expires_at?: Date;

onDeviceCode: OnDeviceCode;
clientSettings: {
server: string;
clientId: string;
clientSecret?: string;
};
clientId: string;
clientSecret?: string;
serverUrl?: string;
};

@@ -28,0 +26,0 @@ export type FloatplaneSettings = {

+2
-2

@@ -10,3 +10,3 @@ import got from "got";

import { Content } from "./content.js";
export const version = "5.0.2";
export const version = "5.1.0";
export class Floatplane {

@@ -110,3 +110,3 @@ got;

if (this.oauthConfig === undefined) {
this.oauthConfig = await client.discovery(new URL(this.authConfig.clientSettings?.server), this.authConfig.clientSettings?.clientId, this.authConfig.clientSettings?.clientSecret);
this.oauthConfig = await client.discovery(new URL(this.authConfig.serverUrl ?? "https://auth.floatplane.com/realms/floatplane"), this.authConfig.clientId, this.authConfig.clientSecret);
}

@@ -113,0 +113,0 @@ if (!this.authToken) {

{
"name": "floatplane",
"version": "5.0.2",
"version": "5.1.0",
"description": "Library for interfacing with the LMG Floatplane.com api",

@@ -5,0 +5,0 @@ "type": "module",