@xcodekit/xcode-wasm 0.6.5 → 0.6.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.
package/index.mjs CHANGED
@@ -14,7 +14,7 @@ import { readFileSync, writeFileSync } from "fs";
14
14
  import * as wasm from "./xcode.js";
15
15
  import wasmBytes from "./xcode_bg_wasm_inline.js";
16
16
 
17
- await wasm.default({ module_or_path: wasmBytes });
17
+ wasm.initSync({ module: wasmBytes });
18
18
 
19
19
  class XcodeProject extends wasm.XcodeProject {
20
20
  /** @type {string | null} */
package/package.json CHANGED
@@ -2,8 +2,12 @@
2
2
  "name": "@xcodekit/xcode-wasm",
3
3
  "type": "module",
4
4
  "description": "Parse, manipulate, and serialize Xcode .pbxproj files (WASM build)",
5
- "version": "0.6.5",
5
+ "version": "0.6.6",
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/mozharovsky/xcode"
10
+ },
7
11
  "files": [
8
12
  "xcode.js",
9
13
  "xcode.d.ts",
@@ -17,10 +21,6 @@
17
21
  "sideEffects": [
18
22
  "./snippets/*"
19
23
  ],
20
- "repository": {
21
- "type": "git",
22
- "url": "https://github.com/mozharovsky/xcode"
23
- },
24
24
  "keywords": [
25
25
  "xcode",
26
26
  "pbxproj",
package/xcode.js CHANGED
@@ -1196,7 +1196,7 @@ async function __wbg_init(module_or_path) {
1196
1196
  }
1197
1197
 
1198
1198
  if (module_or_path === undefined) {
1199
- module_or_path = new URL('xcode_bg.wasm', import.meta.url);
1199
+ module_or_path = undefined;
1200
1200
  }
1201
1201
  const imports = __wbg_get_imports();
1202
1202