azot 0.0.1 → 0.4.0

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/dist/lib.js ADDED
@@ -0,0 +1 @@
1
+ import{a,b,c,d,e}from"./chunk-X2VD7MDZ.js";export{c as CLIENT_TYPE,d as Client,b as Key,a as convert,e as fetchDecryptionKeys};
package/package.json CHANGED
@@ -1,12 +1,100 @@
1
1
  {
2
2
  "name": "azot",
3
- "version": "0.0.1",
4
- "main": "index.js",
3
+ "version": "0.4.0",
4
+ "description": "Research & pentesting toolkit for Google's Widevine DRM",
5
+ "type": "module",
6
+ "files": [
7
+ "dist/lib.cjs",
8
+ "dist/lib.d.cts",
9
+ "dist/lib.js",
10
+ "dist/lib.d.ts",
11
+ "dist/cli.js",
12
+ "dist/cli.d.ts"
13
+ ],
14
+ "bin": {
15
+ "azot": "dist/cli.js"
16
+ },
5
17
  "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1"
18
+ "dev": "wxt",
19
+ "dev:firefox": "wxt -b firefox",
20
+ "build": "npm run build:lib && npm run build:chrome",
21
+ "build:lib": "tsup --entry.lib lib/main.ts --entry.cli cli/main.ts --format cjs,esm --dts --clean --minify --minify-identifiers",
22
+ "build:chrome": "wxt build",
23
+ "build:firefox": "wxt build -b firefox",
24
+ "zip": "wxt zip",
25
+ "zip:firefox": "wxt zip -b firefox",
26
+ "compile": "tsc --noEmit",
27
+ "postinstall": "wxt prepare",
28
+ "test": "vitest"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/vitalygashkov/azot"
33
+ },
34
+ "keywords": [
35
+ "drm",
36
+ "widevine",
37
+ "eme",
38
+ "encrypted-media",
39
+ "media"
40
+ ],
41
+ "author": "Vitaly Gashkov <vitalygashkov@vk.com>",
42
+ "license": "AGPL-3.0",
43
+ "readmeFilename": "README.md",
44
+ "bugs": {
45
+ "url": "https://github.com/vitalygashkov/azot/issues",
46
+ "email": "vitalygashkov@vk.com"
47
+ },
48
+ "funding": [
49
+ {
50
+ "type": "individual",
51
+ "url": "https://boosty.to/vitalygashkov"
52
+ },
53
+ {
54
+ "type": "patreon",
55
+ "url": "https://www.patreon.com/vitalygashkov"
56
+ }
57
+ ],
58
+ "exports": {
59
+ ".": {
60
+ "require": {
61
+ "types": "./dist/lib/main.d.cts",
62
+ "default": "./dist/lib/main.cjs"
63
+ },
64
+ "import": {
65
+ "types": "./dist/lib/main.d.ts",
66
+ "default": "./dist/lib/main.js"
67
+ }
68
+ }
69
+ },
70
+ "engines": {
71
+ "node": "20 || 21 || 22 || 23"
72
+ },
73
+ "dependencies": {
74
+ "jsrsasign": "^11.1.0",
75
+ "protobufjs": "^7.4.0",
76
+ "solid-icons": "^1.1.0",
77
+ "solid-js": "^1.9.1"
7
78
  },
8
- "keywords": [],
9
- "author": "",
10
- "license": "ISC",
11
- "description": ""
79
+ "devDependencies": {
80
+ "@eslint/js": "^9.12.0",
81
+ "@types/jsrsasign": "^10.5.14",
82
+ "@types/node": "^22.7.5",
83
+ "@wxt-dev/module-solid": "^1.1.2",
84
+ "autoprefixer": "^10.4.17",
85
+ "clsx": "^2.1.1",
86
+ "eslint": "^9.12.0",
87
+ "eslint-config-prettier": "^9.1.0",
88
+ "eslint-plugin-prettier": "^5.2.1",
89
+ "globals": "^15.11.0",
90
+ "postcss": "^8.4.33",
91
+ "tailwind-merge": "^2.5.4",
92
+ "tailwindcss": "^3.4.1",
93
+ "tsup": "^8.3.0",
94
+ "typescript": "^5.6.2",
95
+ "typescript-eslint": "^8.9.0",
96
+ "vite-plugin-arraybuffer": "^0.0.8",
97
+ "vitest": "^2.1.3",
98
+ "wxt": "^0.19.11"
99
+ }
12
100
  }