LookAtMySuitBot/js/node_modules/jose/dist/node/cjs/runtime/webcrypto.js

12 lines
354 B
JavaScript
Raw Normal View History

2023-12-24 20:08:39 -05:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isCryptoKey = void 0;
const crypto = require("crypto");
const util = require("util");
const webcrypto = crypto.webcrypto;
exports.default = webcrypto;
exports.isCryptoKey = util.types.isCryptoKey
? (key) => util.types.isCryptoKey(key)
:
(key) => false;