From 89af380d22705e06f1ec13ef880773d6b6739169 Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Fri, 19 Jan 2024 11:53:36 -0600 Subject: [PATCH] final deprecation PR --- README.md | 4 ++-- package.json | 2 +- src/PlexAPIOAuth/PlexAPIOAuth.js | 4 ++++ src/index.js | 4 ++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a00f68..e004c00 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # plex-api-oauth +# THIS PACKAGE IS DEPRECATED IN FAVOR OF https://github.com/LukeHagar/plexjs + An NPM Module designed to make Plex Media Server and plex.tv API calls easier to implement in JavaScript and React projects @@ -8,8 +10,6 @@ https://www.npmjs.com/package/plex-api-oauth This is a JavaScript Module written to take the OAuth Module written by @Dmbob https://github.com/Dmbob/plex-oauth and incorporate it into a front end friend frame work to make development of Plex API Based applications better -# Interactive API Explorer: https://lukehagar.com/projects/plex-api-oauth - ## How to Use Examples Assume React Syntax diff --git a/package.json b/package.json index d131ccc..e1f6ac1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plex-api-oauth", - "version": "1.2.9", + "version": "1.3.0", "description": "An NPM Module designed to make Plex Media Server and plex.tv API calls easier to implement in JavaScript projects", "main": "./src/index.js", "keywords": [ diff --git a/src/PlexAPIOAuth/PlexAPIOAuth.js b/src/PlexAPIOAuth/PlexAPIOAuth.js index fba9b49..979c8c6 100644 --- a/src/PlexAPIOAuth/PlexAPIOAuth.js +++ b/src/PlexAPIOAuth/PlexAPIOAuth.js @@ -3,6 +3,10 @@ import { v4 } from "uuid"; import axios from "axios"; import qs from "qs"; +console.log( + "THIS PACKAGE IS DEPRECATED. USE `@lukehagar/plexjs` https://github.com/LukeHagar/plexjs INSTEAD" +); + export function CreatePlexClientInformation({ clientIdentifier = v4(), product = FnBrowserDetect(), diff --git a/src/index.js b/src/index.js index 38e83da..8bef043 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,7 @@ +console.log( + "THIS PACKAGE IS DEPRECATED. USE `@lukehagar/plexjs` https://github.com/LukeHagar/plexjs INSTEAD" +); + export { CreatePlexClientInformation, PlexLogin,