Very Popular
import { xglobal } from 'https://deno.land/x/polkadot@0.2.33/x-global/mod.ts';
export { packageInfo } from './packageInfo.ts';
export function getRandomValues <T extends Uint8Array> (arr: T): T { // We use x-global here - this prevents packagers such as rollup // confusing this with the "normal" Node.js import and stubbing it // (and also aligns with eg. x-fetch, where x-global is used) return xglobal.crypto.getRandomValues(arr);}