Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tidal-music/player

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tidal-music/player - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

dist/basePlayer-XrtaYFfG.js

24

dist/index.d.ts

@@ -147,11 +147,27 @@ import { CredentialsProvider } from '@tidal-music/common';

/** The type of the product to play */
productType: 'track' | 'video';
productType: 'demo' | 'track' | 'video';
/** Optional client-set reference id to handle duplicated in a play queue implementation */
referenceId?: string;
/** The id of the source to playing, passed along for event tracking */
/** The id of the source to play, passed along for event tracking */
sourceId: string;
/** The type of the source to playing, passed along for event tracking */
/** The type of the source to play, passed along for event tracking */
sourceType: string;
};
/**
* Contains information about a TIDAL media product.
*/
declare type MediaProduct_2 = {
/** The id of the product to play */
productId: string;
/** The type of the product to play */
productType: 'demo' | 'track' | 'video';
/** Optional client-set reference id to handle duplicated in a play queue implementation */
referenceId?: string;
/** The id of the source to play, passed along for event tracking */
sourceId: string;
/** The type of the source to play, passed along for event tracking */
sourceType: string;
};
export declare type MediaProductTransition = CustomEvent<MediaProductTransitionPayload>;

@@ -273,3 +289,3 @@

declare type PlayerConfig = {
itemTypes: Array<'track' | 'video'>;
itemTypes: Array<MediaProduct_2['productType']>;
player: 'browser' | 'native' | 'shaka';

@@ -276,0 +292,0 @@ qualities?: Array<AudioQuality>;

2

dist/index.js

@@ -1,2 +0,2 @@

import { D as a, e as t, E as i, F as o, C as l, G as r, H as u, I as n, J as d, K as g, L as p, x as v, M as m, N as P, O as c, Q as y, R as M, S as A, T as D, U as L, V as N, W as O, X as f, Y as x, Z as C, _ as S, $ as V, a0 as b, a1 as k } from "./index-BKprmLlK.js";
import { D as a, e as t, E as i, F as o, C as l, G as r, H as u, I as n, J as d, K as g, L as p, x as v, M as m, N as P, O as c, Q as y, R as M, S as A, T as D, U as L, V as N, W as O, X as f, Y as x, Z as C, _ as S, $ as V, a0 as b, a1 as k } from "./index-DCLLCwBV.js";
export {

@@ -3,0 +3,0 @@ a as bootstrap,

{
"name": "@tidal-music/player",
"version": "0.2.0",
"version": "0.3.0",
"description": "Player logic for TIDAL",

@@ -8,3 +8,4 @@ "type": "module",

"import": "./dist/index.js",
"default": "./dist/index.js"
"default": "./dist/index.js",
"legacy": "./dist/legacy/index.js"
},

@@ -33,33 +34,34 @@ "module": "./dist/index.js",

"devDependencies": {
"@babel/preset-env": "7.24.4",
"@babel/preset-typescript": "7.24.1",
"@babel/preset-env": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-replace": "5.0.7",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@types/js-levenshtein": "1.1.3",
"@types/mocha": "10.0.6",
"@types/node": "20.12.7",
"@types/mocha": "10.0.7",
"@types/node": "20.14.9",
"@types/sinon": "17.0.3",
"@web/dev-server-esbuild": "1.0.2",
"@web/dev-server-rollup": "0.6.1",
"@web/test-runner": "0.18.1",
"@web/dev-server-rollup": "0.6.4",
"@web/test-runner": "0.18.2",
"bowser": "2.11.0",
"chai": "5.1.0",
"cypress": "13.7.3",
"esbuild": "0.20.2",
"chai": "5.1.1",
"cypress": "13.13.0",
"esbuild": "0.23.0",
"js-levenshtein": "1.1.6",
"mux.js": "6.3.0",
"rollup": "4.14.2",
"shaka-player": "4.7.12",
"sinon": "17.0.1",
"typescript": "5.4.5",
"vite": "5.2.8",
"vite-plugin-dts": "3.8.3",
"vitest": "1.5.0",
"@tidal-music/common": "^0.1.5",
"rollup": "4.18.0",
"shaka-player": "4.8.5",
"sinon": "18.0.0",
"typescript": "5.5.3",
"vite": "5.3.2",
"vite-plugin-dts": "3.9.1",
"vite-plugin-top-level-await": "1.4.1",
"vitest": "1.6.0",
"@tidal-music/auth": "^1.3.1",
"@tidal-music/true-time": "^0.3.0",
"@tidal-music/auth": "^1.3.0"
"@tidal-music/common": "^0.1.5"
},

@@ -69,3 +71,3 @@ "scripts": {

"test": "bash ./scripts/test.sh",
"build": "vite build",
"build": "vite build && vite build -c vite-legacy.config.ts",
"clean": "rm -rf coverage dist .eslintcache",

@@ -72,0 +74,0 @@ "dev": "vite --debug --cors -c=./vite.config.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc