Skip to content

Commit

Permalink
chore(publish): beta
Browse files Browse the repository at this point in the history
  • Loading branch information
retrouser955 committed Oct 10, 2024
1 parent 30b818e commit ca94bbc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 157 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ CHANGELOG.md
Rotator.md
docs
examples/
.prettierignore
.prettierignore
.github/
8 changes: 5 additions & 3 deletions lib/Extractor/Youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ import type {
import { streamFromYT } from "../common/generateYTStream";
import { AsyncLocalStorage } from "node:async_hooks";
import { tokenToObject } from "../common/tokenUtils";
import { createReadableFromWeb } from "../common/webToReadable";
import { type GeneratorReturnData } from "../utils";
import { createReadableFromWeb } from "../common/webToReadable"

export interface StreamOptions {
useClient?: InnerTubeClient;
Expand All @@ -43,7 +42,10 @@ export interface RefreshInnertubeOptions {
interval?: number;
}

export type TrustedTokenConfig = GeneratorReturnData;
export type TrustedTokenConfig = {
poToken: string,
visitorData: string
};

export interface YoutubeiOptions {
authentication?: string;
Expand Down
2 changes: 0 additions & 2 deletions lib/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export * from "./live/getLiveChat";
export { LiveChatEvents } from "./live/LiveChat";
export { ChatMessageType } from "./live/LiveChatMessage";
export * from "./poTokenGenerator/generatePoToken";
export * from "./poTokenGenerator/generatePoTokenInterval";
90 changes: 0 additions & 90 deletions lib/utils/poTokenGenerator/generatePoToken.ts

This file was deleted.

60 changes: 0 additions & 60 deletions lib/utils/poTokenGenerator/generatePoTokenInterval.ts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord-player-youtubei",
"version": "1.3.2",
"version": "1.3.3-beta.1",
"description": "An unofficial package to test the use of youtubei in discord-player v6.",
"main": "dist/index.js",
"repository": "https://github.com/retrouser955/discord-player-youtubei",
Expand Down

0 comments on commit ca94bbc

Please sign in to comment.