bump version

This commit is contained in:
EUCLID 2026-04-10 20:13:54 -04:00
parent 72ac7b9d5e
commit db814de021
3 changed files with 4 additions and 3 deletions

View file

@ -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",

View file

@ -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 } = {

View file

@ -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