googlevideo 1.1.0 → 3.0.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/README.md +13 -0
- package/dist/protos/generated/misc/common.d.ts +0 -15
- package/dist/protos/generated/misc/common.js +0 -133
- package/dist/protos/generated/video_streaming/buffered_range.d.ts +0 -15
- package/dist/protos/generated/video_streaming/buffered_range.js +0 -146
- package/dist/protos/generated/video_streaming/client_abr_state.d.ts +16 -38
- package/dist/protos/generated/video_streaming/client_abr_state.js +94 -318
- package/dist/protos/generated/video_streaming/crypto_params.d.ts +0 -17
- package/dist/protos/generated/video_streaming/crypto_params.js +0 -78
- package/dist/protos/generated/video_streaming/encrypted_player_request.d.ts +2 -17
- package/dist/protos/generated/video_streaming/encrypted_player_request.js +14 -91
- package/dist/protos/generated/video_streaming/format_initialization_metadata.d.ts +0 -15
- package/dist/protos/generated/video_streaming/format_initialization_metadata.js +0 -74
- package/dist/protos/generated/video_streaming/live_metadata.d.ts +17 -0
- package/dist/protos/generated/video_streaming/live_metadata.js +122 -0
- package/dist/protos/generated/video_streaming/media_capabilities.d.ts +0 -15
- package/dist/protos/generated/video_streaming/media_capabilities.js +0 -121
- package/dist/protos/generated/video_streaming/media_header.d.ts +0 -17
- package/dist/protos/generated/video_streaming/media_header.js +0 -127
- package/dist/protos/generated/video_streaming/next_request_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/next_request_policy.js +0 -49
- package/dist/protos/generated/video_streaming/onesie_header.d.ts +0 -15
- package/dist/protos/generated/video_streaming/onesie_header.js +0 -122
- package/dist/protos/generated/video_streaming/onesie_header_type.d.ts +0 -2
- package/dist/protos/generated/video_streaming/onesie_header_type.js +0 -145
- package/dist/protos/generated/video_streaming/onesie_player_request.d.ts +1 -17
- package/dist/protos/generated/video_streaming/onesie_player_request.js +4 -49
- package/dist/protos/generated/video_streaming/onesie_player_response.d.ts +18 -16
- package/dist/protos/generated/video_streaming/onesie_player_response.js +18 -53
- package/dist/protos/generated/video_streaming/onesie_request.d.ts +2 -15
- package/dist/protos/generated/video_streaming/onesie_request.js +10 -83
- package/dist/protos/generated/video_streaming/playback_cookie.d.ts +0 -15
- package/dist/protos/generated/video_streaming/playback_cookie.js +0 -42
- package/dist/protos/generated/video_streaming/playback_start_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/playback_start_policy.js +0 -65
- package/dist/protos/generated/video_streaming/proxy_status.d.ts +0 -2
- package/dist/protos/generated/video_streaming/proxy_status.js +0 -65
- package/dist/protos/generated/video_streaming/request_cancellation_policy.d.ts +0 -15
- package/dist/protos/generated/video_streaming/request_cancellation_policy.js +0 -65
- package/dist/protos/generated/video_streaming/sabr_error.d.ts +0 -15
- package/dist/protos/generated/video_streaming/sabr_error.js +0 -28
- package/dist/protos/generated/video_streaming/sabr_redirect.d.ts +0 -15
- package/dist/protos/generated/video_streaming/sabr_redirect.js +0 -21
- package/dist/protos/generated/video_streaming/stream_protection_status.d.ts +0 -15
- package/dist/protos/generated/video_streaming/stream_protection_status.js +0 -28
- package/dist/protos/generated/video_streaming/streamer_context.d.ts +0 -17
- package/dist/protos/generated/video_streaming/streamer_context.js +0 -350
- package/dist/protos/generated/video_streaming/time_range.d.ts +0 -15
- package/dist/protos/generated/video_streaming/time_range.js +0 -33
- package/dist/protos/generated/video_streaming/video_playback_abr_request.d.ts +1 -15
- package/dist/protos/generated/video_streaming/video_playback_abr_request.js +18 -256
- package/dist/src/core/ServerAbrStream.d.ts +1 -0
- package/dist/src/core/ServerAbrStream.js +34 -47
- package/dist/src/core/UMP.d.ts +25 -1
- package/dist/src/core/UMP.js +35 -20
- package/dist/src/utils/Protos.d.ts +3 -2
- package/dist/src/utils/Protos.js +3 -2
- package/package.json +25 -24
- package/bundle/index.cjs +0 -7134
- package/bundle/index.cjs.map +0 -7
package/package.json
CHANGED
|
@@ -1,59 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "googlevideo",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A set of utilities for working with Google Video APIs.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./dist/src/index.d.ts",
|
|
8
8
|
"module": "./dist/src/index.js",
|
|
9
9
|
"scripts": {
|
|
10
|
+
"watch": "npx tsc --watch",
|
|
10
11
|
"lint": "npx eslint ./src/**/*.ts",
|
|
11
12
|
"lint:fix": "npx eslint --fix ./src/**/*.ts",
|
|
12
|
-
"clean": "npx rimraf ./dist ./
|
|
13
|
-
"build": "npm run clean && npm run lint && npm run build:proto && npm run build:esm
|
|
13
|
+
"clean": "npx rimraf ./dist ./protos/generated",
|
|
14
|
+
"build": "npm run clean && npm run lint && npm run build:proto && npm run build:esm",
|
|
14
15
|
"build:esm": "npx tsc",
|
|
15
16
|
"build:proto": "node ./dev-scripts/generate-proto.mjs",
|
|
16
|
-
"bundle:node": "npx esbuild ./dist/src/index.js --bundle --outfile=./bundle/index.cjs --platform=node --target=node16 --format=cjs --sourcemap --banner:js=\"/* eslint-disable */\"",
|
|
17
17
|
"prepare": "npm run build"
|
|
18
18
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
19
|
+
"author": "LuanRT <luan.lrt4@gmail.com> (https://github.com/LuanRT)",
|
|
20
|
+
"funding": [
|
|
21
|
+
"https://github.com/sponsors/LuanRT"
|
|
22
|
+
],
|
|
23
23
|
"keywords": [
|
|
24
24
|
"UMP",
|
|
25
25
|
"SABR",
|
|
26
26
|
"Google",
|
|
27
27
|
"YouTube"
|
|
28
28
|
],
|
|
29
|
-
"author": "LuanRT <luan.lrt4@gmail.com> (https://github.com/LuanRT)",
|
|
30
29
|
"license": "MIT",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"node": {
|
|
33
|
+
"import": "./dist/src/index.js"
|
|
34
|
+
},
|
|
35
|
+
"types": "./dist/src/index.d.ts",
|
|
36
|
+
"default": "./dist/src/index.js"
|
|
37
|
+
}
|
|
33
38
|
},
|
|
34
|
-
"homepage": "https://github.com/LuanRT/GoogleVideo#readme",
|
|
35
|
-
"funding": [
|
|
36
|
-
"https://github.com/sponsors/LuanRT"
|
|
37
|
-
],
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@eslint/js": "^9.9.0",
|
|
40
41
|
"@stylistic/eslint-plugin": "^2.6.4",
|
|
41
42
|
"@types/eslint__js": "^8.42.3",
|
|
42
|
-
"esbuild": "^0.24.0",
|
|
43
43
|
"eslint": "^9.9.0",
|
|
44
44
|
"globals": "^15.9.0",
|
|
45
45
|
"ts-proto": "^2.2.0",
|
|
46
46
|
"typescript": "^5.5.4",
|
|
47
47
|
"typescript-eslint": "^8.2.0"
|
|
48
48
|
},
|
|
49
|
-
"exports": {
|
|
50
|
-
".": {
|
|
51
|
-
"types": "./dist/src/index.d.ts",
|
|
52
|
-
"import": "./dist/src/index.js",
|
|
53
|
-
"require": "./bundle/index.cjs"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
49
|
"dependencies": {
|
|
57
50
|
"@bufbuild/protobuf": "^2.0.0"
|
|
51
|
+
},
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/LuanRT/GoogleVideo/issues"
|
|
54
|
+
},
|
|
55
|
+
"homepage": "https://github.com/LuanRT/GoogleVideo#readme",
|
|
56
|
+
"repository": {
|
|
57
|
+
"type": "git",
|
|
58
|
+
"url": "git+https://github.com/LuanRT/GoogleVideo.git"
|
|
58
59
|
}
|
|
59
|
-
}
|
|
60
|
+
}
|