Skip to content

Commit 14965a9

Browse files
committed
fix: simple-youtube-age-restriction-bypass
1 parent f62664b commit 14965a9

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
"node-html-parser": "6.1.11",
163163
"node-id3": "0.2.6",
164164
"serve": "14.2.1",
165-
"simple-youtube-age-restriction-bypass": "git+https://github.com/organization/Simple-YouTube-Age-Restriction-Bypass.git#v2.5.8",
165+
"simple-youtube-age-restriction-bypass": "git+https://github.com/organization/Simple-YouTube-Age-Restriction-Bypass.git#v2.5.9",
166166
"ts-morph": "20.0.0",
167167
"vudio": "2.1.1",
168168
"x11": "2.3.0",
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { inject } from 'simple-youtube-age-restriction-bypass';
2+
13
import { createPlugin } from '@/utils';
24
import { t } from '@/i18n';
35

@@ -6,6 +8,6 @@ export default createPlugin({
68
description: () => t('plugins.bypass-age-restrictions.description'),
79
restartNeeded: true,
810

9-
// See https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass#userscript
10-
renderer: () => import('simple-youtube-age-restriction-bypass'),
11+
// See https://github.com/organization/Simple-YouTube-Age-Restriction-Bypass#userscript
12+
renderer: () => inject(),
1113
});
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
declare module 'simple-youtube-age-restriction-bypass' {
2-
const nothing: never;
3-
export default nothing;
2+
export const inject: () => void;
43
}

0 commit comments

Comments
 (0)