Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2464b62a authored by Simon Chan's avatar Simon Chan
Browse files

refactor(stream): rename BufferedStream to BufferedReadableStream

refs #427
parent e779f803
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -51,7 +51,7 @@ module.exports = withMDX({
            enforce: 'pre',
            enforce: 'pre',
        });
        });


        config.experiments.topLevelAwait = true;
        // config.experiments.topLevelAwait = true;


        return config;
        return config;
    },
    },
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@ if (typeof window !== 'undefined') {
    const { publicRuntimeConfig } = getConfig();
    const { publicRuntimeConfig } = getConfig();
    // Can't use `import` here because ESM is read-only (can't set `mitm` field)
    // Can't use `import` here because ESM is read-only (can't set `mitm` field)
    // Add `await` here because top-level await is on, so every import can be a `Promise`
    // Add `await` here because top-level await is on, so every import can be a `Promise`
    StreamSaver = await require('streamsaver');
    StreamSaver = require('streamsaver');
    StreamSaver.mitm = publicRuntimeConfig.basePath + '/StreamSaver/mitm.html';
    StreamSaver.mitm = publicRuntimeConfig.basePath + '/StreamSaver/mitm.html';
}
}


+3 −0
Original line number Original line Diff line number Diff line
@@ -9,6 +9,9 @@
    "references": [
    "references": [
        {
        {
            "path": "../adb/tsconfig.build.json"
            "path": "../adb/tsconfig.build.json"
        },
        {
            "path": "../stream-extra/tsconfig.build.json"
        }
        }
    ]
    ]
}
}
+3 −0
Original line number Original line Diff line number Diff line
@@ -13,6 +13,9 @@
        {
        {
            "path": "../adb/tsconfig.build.json"
            "path": "../adb/tsconfig.build.json"
        },
        },
        {
            "path": "../stream-extra/tsconfig.build.json"
        },
        {
        {
            "path": "../struct/tsconfig.build.json"
            "path": "../struct/tsconfig.build.json"
        }
        }
+3 −0
Original line number Original line Diff line number Diff line
@@ -9,6 +9,9 @@
    "references": [
    "references": [
        {
        {
            "path": "../adb/tsconfig.build.json"
            "path": "../adb/tsconfig.build.json"
        },
        {
            "path": "../stream-extra/tsconfig.build.json"
        }
        }
    ]
    ]
}
}
Loading