vite-plugin-wat2wasm 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ declare module "*.wat" {
2
+ type ModuleObject = Record<string, any>;
3
+
4
+ export default function init<T extends ModuleObject = ModuleObject >( ): Promise<T>;
5
+ export default function init<T extends ModuleObject = ModuleObject, I extends ModuleObject = {}>(imports : I): Promise<T>;
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-wat2wasm",
3
3
  "type": "module",
4
- "version": "1.2.5",
4
+ "version": "1.2.6",
5
5
  "description": "Enable .wat compilation and integrate generated WebAssembly modules into your codebase with type support",
6
6
 
7
7
  "author": "osoclos",
@@ -37,7 +37,7 @@
37
37
  "test-dev" : "vitest",
38
38
  "test-build": "vite build --watch --config tests/build/vite.config.ts && vite preview --config tests/build/vite.config.ts",
39
39
 
40
- "bump": "tsdown && bumpp"
40
+ "bump": "tsdown && bun run scripts/post-build.ts && bumpp"
41
41
  },
42
42
 
43
43
  "dependencies": { "wabt": "^1.0.39" },