Skip to main content
Module

x/polkadot/wasm-crypto-wasm/bundle.ts

Package publishing for deno.land/x/polkadot
Go to Latest
File

import { base64Decode, unzlibSync } from 'https://deno.land/x/polkadot@0.2.40/wasm-util/mod.ts';
import { bytes, lenIn, lenOut } from './deno/bytes.js';
export { packageInfo } from './packageInfo.ts';
/** * @name wasmBytes * @description * The decoded WASM interface as exposed by this package. * * The build process will output into cjs/* into a compressed base64 format. * Upon loading the exposed bytes will be decoded and decompressed from this * specific format and returned. */export const wasmBytes = /*#__PURE__*/ unzlibSync(base64Decode(bytes, new Uint8Array(lenIn)), new Uint8Array(lenOut));