packageInfo exports (#183)

This commit is contained in:
Jaco Greeff
2021-03-04 18:21:00 +01:00
committed by GitHub
parent 064e13268a
commit 340b6a0cd6
2 changed files with 2 additions and 2 deletions
@@ -8,5 +8,3 @@ import { packageInfo as wasmInfo } from '@polkadot/wasm-crypto-wasm/packageInfo'
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [asmInfo, wasmInfo]);
export { packageInfo };
+2
View File
@@ -9,6 +9,8 @@ import { wasmBytes } from '@polkadot/wasm-crypto-wasm';
import { allocString, allocU8a, getWasm, initWasm, resultString, resultU8a, withWasm } from './bridge';
import * as imports from './imports';
export { packageInfo } from './packageInfo';
const wasmPromise = initWasm(wasmBytes, asmJsInit, imports).catch(() => null);
export const bip39Generate = withWasm((wasm) =>