mirror of
https://git.lucida.su/lucida/verdana.git
synced 2026-07-26 14:32:32 +00:00
bump version
This commit is contained in:
parent
72ac7b9d5e
commit
db814de021
3 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "verdana",
|
||||
"version": "1.0.2",
|
||||
"version": "1.1.0",
|
||||
"description": "A modular music downloader tool",
|
||||
"main": "build/index.js",
|
||||
"type": "module",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import crypto from 'crypto'
|
||||
import { fetch, Dispatcher } from 'undici'
|
||||
import {
|
||||
Id,
|
||||
ItemType,
|
||||
StreamerWithLogin,
|
||||
SearchResults,
|
||||
|
|
@ -175,7 +176,7 @@ export default class Qobuz implements StreamerWithLogin {
|
|||
}
|
||||
}
|
||||
|
||||
async #getFileUrl(trackId: string, formatId: string | number): Promise<GetStreamResponse> {
|
||||
async #getFileUrl(trackId: string, formatId: Id): Promise<GetStreamResponse> {
|
||||
if (!this.token) throw new Error('Not logged in.')
|
||||
|
||||
const params: { [key: string]: string } = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
type Id = string | number
|
||||
export type Id = string | number
|
||||
|
||||
export type ItemType = 'artist' | 'album' | 'track' | 'episode' | 'podcast' | 'playlist'
|
||||
export type Region = string
|
||||
|
|
|
|||
Loading…
Reference in a new issue