discord-player-deezer 0.0.2 → 0.0.3

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.
@@ -1,4 +1,3 @@
1
- // THIS IS A COMPILED FILE! DO NOT MAKE ANY CHANGES TO THIS
2
1
  'use strict';
3
2
  Object.defineProperty(exports, '__esModule', { value: true });
4
3
  const discord_player_1 = require('discord-player');
@@ -15,9 +14,6 @@ class DeezerExtractor extends discord_player_1.BaseExtractor {
15
14
  };
16
15
  }
17
16
  async activate() {
18
- this.deezerRegex.track = /(^https:)\/\/(www\.)?deezer.com\/([a-zA-Z]+\/)?track\/[0-9]+/;
19
- this.deezerRegex.playlistNalbums = /(^https:)\/\/(www\.)?deezer.com\/[a-zA-Z]+\/(playlist|album)\/[0-9]+(\?)?(.*)/;
20
- this.deezerRegex.share = /(^https:)\/\/deezer\.page\.link\/[A-Za-z0-9]+/;
21
17
  const { stream: ytdlStream } = await (0, extractor_1.loadYtdl)();
22
18
  this._stream = ytdlStream;
23
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-player-deezer",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A custom extractor made for discord-player that enables you to extract from Deezer.",
5
5
  "main": "dist/DeezerExtractor.js",
6
6
  "author": "retro_ig",
@@ -23,7 +23,7 @@
23
23
  "build": "npm run lint && tsc && npm run format",
24
24
  "format": "prettier --write \"dist/*.js\"",
25
25
  "lint": "tslint -p tsconfig.json",
26
- "publish": "yarn build && npm publish --access public"
26
+ "npm:publish": "yarn build && npm publish --access public"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",