@inner-dj/client 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/src/player.js CHANGED
@@ -92,9 +92,7 @@ export class Player {
92
92
  }
93
93
  else if (payload.type === 'queue' || payload.type === 'insert') {
94
94
  console.log(`adding ${payload.body} to the queue`);
95
- this.enqueue(payload.body, this.queue, payload.type === 'insert').then(this.play).then(() => {
96
- console.log(this.queue);
97
- });
95
+ this.enqueue(payload.body, this.queue, payload.type === 'insert').then(this.play);
98
96
  }
99
97
  else if (payload.type === 'skip') {
100
98
  this.skip();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inner-dj/client",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "player component of inner-dj",
5
5
  "keywords": [
6
6
  "jukebox",
@@ -55,7 +55,7 @@
55
55
  "@types/jsonwebtoken": "^9.0.10",
56
56
  "@types/node": "^24.12.4",
57
57
  "@vercel/ncc": "0.44.0",
58
- "typescript": "^6.0.3"
58
+ "typescript": "^7.0.2"
59
59
  },
60
60
  "scripts": {
61
61
  "build": "tsc && chmod +x ./lib/src/main.js",