mirror of
https://gitlab.com/vyla-entertainment/TV.git
synced 2026-11-21 15:35:37 -05:00
ported sdk and this works
This commit is contained in:
7
.build/shim/inject.js
Normal file
7
.build/shim/inject.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Buffer } from 'buffer';
|
||||
globalThis.Buffer = globalThis.Buffer || Buffer;
|
||||
globalThis.process = globalThis.process || { env: {} };
|
||||
if (!AbortSignal.timeout) {
|
||||
AbortSignal.timeout = ms => { const c = new AbortController(); setTimeout(() => c.abort(), ms); return c.signal; };
|
||||
}
|
||||
export { Buffer };
|
||||
Reference in New Issue
Block a user