beancount-wasm 0.1.0 → 0.3.0
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/README.md +3 -2
- package/dist/inline/v2.d.ts +1 -1
- package/dist/inline/v2.js +4 -4
- package/dist/inline/v3.d.ts +1 -1
- package/dist/inline/v3.js +4 -4
- package/dist/{runtime-CmgNndA1.d.ts → runtime-DWVLtt3D.d.ts} +24 -5
- package/dist/{runtime-CHUI0_WN.js → runtime-e7PKHPR2.js} +22 -5
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/dist/v2.d.ts +4 -4
- package/dist/v2.js +1 -1
- package/dist/v3.d.ts +4 -4
- package/dist/v3.js +1 -1
- package/package.json +3 -2
- package/wheels/v2/{beancount-2.3.6-cp311-cp311-emscripten_3_1_46_wasm32.whl → beancount-2.3.6-cp313-cp313-emscripten_4_0_9_wasm32.whl} +0 -0
- package/wheels/v3/beancount-3.2.0-cp313-cp313-emscripten_4_0_9_wasm32.whl +0 -0
- package/wheels/v3/beancount-3.2.0-cp311-cp311-emscripten_3_1_46_wasm32.whl +0 -0
package/README.md
CHANGED
|
@@ -12,8 +12,8 @@ const { pyodide } = await createBeancountRuntime({
|
|
|
12
12
|
version: "v3",
|
|
13
13
|
// Optional: override the base URL for Pyodide assets.
|
|
14
14
|
// The base URL must contain pyodide.mjs and follow the same layout as
|
|
15
|
-
// https://cdn.jsdelivr.net/pyodide/v0.
|
|
16
|
-
// pyodideBaseUrl: "https://cdn.jsdelivr.net/pyodide/v0.
|
|
15
|
+
// https://cdn.jsdelivr.net/pyodide/v0.29.3/full/
|
|
16
|
+
// pyodideBaseUrl: "https://cdn.jsdelivr.net/pyodide/v0.29.3/full/",
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
const result = await pyodide.runPythonAsync(`
|
|
@@ -34,6 +34,7 @@ Options:
|
|
|
34
34
|
- `pyodideBaseUrl`: base URL for Pyodide assets (defaults to jsDelivr)
|
|
35
35
|
- `wheelBaseUrl`: base URL for wheels (defaults to jsDelivr npm CDN)
|
|
36
36
|
- `deps`: override Beancount dependency installation
|
|
37
|
+
- `pythonPackages`: extra Python packages to install via `micropip` after Beancount
|
|
37
38
|
- `inline`: `"auto" | "prefer" | "only" | "off"` (default: `"auto"`)
|
|
38
39
|
- `auto`: try URL first, fallback to inline on failure
|
|
39
40
|
- `prefer`: try inline first, fallback to URL
|
package/dist/inline/v2.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/inline/v2.d.ts
|
|
2
2
|
declare const VERSION = "v2";
|
|
3
|
-
declare const FILENAME = "beancount-2.3.6-
|
|
3
|
+
declare const FILENAME = "beancount-2.3.6-cp313-cp313-emscripten_4_0_9_wasm32.whl";
|
|
4
4
|
declare function getInlineWheelBytes(): any;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { FILENAME, VERSION, getInlineWheelBytes };
|