vite-plugin-wat2wasm 2.2.0 → 2.2.1

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.
@@ -2,6 +2,6 @@ declare module "*.wat" {
2
2
  // @ts-ignore
3
3
  type ModuleObject = Record<string, any>;
4
4
 
5
- export default function init<T extends ModuleObject = ModuleObject >( ): Promise<T>;
5
+ export default function init<T extends ModuleObject = ModuleObject >( ): Promise<T>;
6
6
  export default function init<T extends ModuleObject = ModuleObject, I extends ModuleObject = {}>(imports: I, compileOptions?: WebAssembly.WebAssemblyCompileOptions): Promise<T>;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-wat2wasm",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "A simple Vite plugin that enables `.wat` (WebAssembly Text Format) compilation and allows usage of WebAssembly within your codebase/library",
5
5
 
6
6
  "homepage": "https://github.com/osoclos/vite-plugin-wat2wasm",
@@ -53,7 +53,7 @@
53
53
  "bump": "bun run build && bumpp"
54
54
  },
55
55
 
56
- "dependencies": { "wabt": "^1.0.39" },
56
+ "peerDependencies": { "wabt": "^1.0.39" },
57
57
  "devDependencies": {
58
58
  "tsdown": "^0.18.4",
59
59
  "vite": "^8.0.0",