Rocky_Mountain_Vending/.pnpm-store/v10/files/70/f2d054201139db6b2a59c3afc3b0b3f9e9ba185fb836af778e9341de1c01bf113f81cdd441e2a6fe859bf7368cd8aff084cc804f1c5555a666e621ab2adeb8
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

20 lines
484 B
Text

import { provideWasm } from './esm/browser/wasm.js';
import * as wasm from './dist/wasm/web/blake3_js.js';
import * as blake3 from './esm/browser/index.js';
let cached;
/**
* Manually loads the WebAssembly module, returning a promise that resolves
* to the BLAKE3 implementation once available.
*/
export default function load(module) {
if (!cached) {
cached = wasm.default(module).then(() => {
provideWasm(wasm);
return blake3;
});
}
return cached;
}