private static tryLoadNodeWebCrypto()

in src/auth/Crypto.ts [10:19]


    private static tryLoadNodeWebCrypto() {
        try {
            // Deliberately avoid bundling for browsers depending
            // on node by doing this require during execution.
            const { webcrypto } = require('crypto');
            return webcrypto;
        } catch (e) {
            throw e;
        }
    }