1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.hasWasm = exports.hasProcess = exports.hasEsm = exports.hasDirname = exports.hasCjs = exports.hasBuffer = exports.hasBigInt = void 0;
|
7 |
|
8 | var _xBigint = require("@polkadot/x-bigint");
|
9 |
|
10 |
|
11 |
|
12 | const hasBigInt = typeof _xBigint.BigInt === 'function' && typeof _xBigint.BigInt.asIntN === 'function';
|
13 | exports.hasBigInt = hasBigInt;
|
14 | const hasBuffer = typeof Buffer !== 'undefined';
|
15 | exports.hasBuffer = hasBuffer;
|
16 | const hasCjs = typeof require === 'function' && typeof module !== 'undefined';
|
17 | exports.hasCjs = hasCjs;
|
18 | const hasDirname = typeof __dirname !== 'undefined';
|
19 | exports.hasDirname = hasDirname;
|
20 | const hasEsm = !hasCjs;
|
21 | exports.hasEsm = hasEsm;
|
22 | const hasProcess = typeof process === 'object';
|
23 | exports.hasProcess = hasProcess;
|
24 | const hasWasm = typeof WebAssembly !== 'undefined';
|
25 | exports.hasWasm = hasWasm; |
\ | No newline at end of file |