mirror of
https://github.com/pezkuwichain/pezkuwi-wasm.git
synced 2026-04-21 23:48:00 +00:00
18 lines
576 B
TypeScript
18 lines
576 B
TypeScript
// Copyright 2019-2026 @pezkuwi/wasm-crypto-init authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { InitFn } from '@pezkuwi/wasm-bridge/types';
|
|
import type { WasmCryptoInstance } from './types.js';
|
|
|
|
import { createWasmFn } from '@pezkuwi/wasm-bridge';
|
|
import { wasmBytes } from '@pezkuwi/wasm-crypto-wasm';
|
|
|
|
export { packageInfo } from './packageInfo.js';
|
|
|
|
/**
|
|
* @name createWasm
|
|
* @description
|
|
* Creates an interface using only WASM
|
|
*/
|
|
export const createWasm: InitFn<WasmCryptoInstance> = /*#__PURE__*/ createWasmFn('crypto', wasmBytes, null);
|