wrapture 0.1.38 → 0.1.40

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.40](https://github.com/phun-ky/wrapture/compare/0.1.39...0.1.40) (2026-02-17)
4
+
5
+ ### Tasks
6
+
7
+ * 🤖 bump the minor-and-patch group with 3 updates ([02df21b](https://github.com/phun-ky/wrapture/commit/02df21b1bf0dfe0b4f550ad7c445f06b25ecb07d))
8
+
9
+ ## [0.1.39](https://github.com/phun-ky/wrapture/compare/0.1.38...0.1.39) (2026-02-10)
10
+
11
+ ### Tasks
12
+
13
+ * 🤖 bump the minor-and-patch group across 1 directory with 9 updates ([64f0b3f](https://github.com/phun-ky/wrapture/commit/64f0b3f469421701dcffe91d9ee57cdc53f0abdd))
14
+
3
15
  ## [0.1.38](https://github.com/phun-ky/wrapture/compare/0.1.37...0.1.38) (2026-01-27)
4
16
 
5
17
  ### Tasks
package/api/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # wrapture API documentation
2
2
 
3
- > Last updated 2026-01-27T07:43:55.818Z
3
+ > Last updated 2026-02-17T09:00:00.347Z
4
4
 
5
5
  ## Modules
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/check-deps
4
4
 
5
- > Last updated 2026-01-27T07:43:55.973Z
5
+ > Last updated 2026-02-17T09:00:00.498Z
6
6
 
7
7
  ## Functions
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/convert
4
4
 
5
- > Last updated 2026-01-27T07:43:56.042Z
5
+ > Last updated 2026-02-17T09:00:00.567Z
6
6
 
7
7
  ## Interfaces
8
8
 
@@ -15,10 +15,10 @@ Options for the [convert](#convert) function.
15
15
 
16
16
  #### Properties
17
17
 
18
- | Property | Type | Description | Defined in |
19
- | --------------------------------- | --------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
20
- | <a id="format"></a> `format?` | `string` | The output format for the converted model (e.g., 'onnx'). Defaults to 'onnx' if not provided. | [utils/convert.ts:17](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L17) |
21
- | <a id="quantize"></a> `quantize?` | `boolean` | Whether to apply quantization to the model. | [utils/convert.ts:22](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L22) |
18
+ | Property | Type | Description | Defined in |
19
+ | ------------------------------------------ | --------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
20
+ | <a id="property-format"></a> `format?` | `string` | The output format for the converted model (e.g., 'onnx'). Defaults to 'onnx' if not provided. | [utils/convert.ts:17](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L17) |
21
+ | <a id="property-quantize"></a> `quantize?` | `boolean` | Whether to apply quantization to the model. | [utils/convert.ts:22](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L22) |
22
22
 
23
23
  ## Functions
24
24
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/generate-wrapper
4
4
 
5
- > Last updated 2026-01-27T07:43:56.092Z
5
+ > Last updated 2026-02-17T09:00:00.611Z
6
6
 
7
7
  ## Interfaces
8
8
 
@@ -15,9 +15,9 @@ Options for generating ONNX wrapper files.
15
15
 
16
16
  #### Properties
17
17
 
18
- | Property | Type | Description | Defined in |
19
- | ------------------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
20
- | <a id="backend"></a> `backend` | `string` | The backend to use for inference. This affects the model file used. If set to `'wasm'`, the generated wrapper will load `model_quant.onnx`, otherwise it will load `model.onnx`. | [utils/generate-wrapper.ts:16](https://github.com/phun-ky/wrapture/blob/main/src/utils/generate-wrapper.ts#L16) |
18
+ | Property | Type | Description | Defined in |
19
+ | --------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
20
+ | <a id="property-backend"></a> `backend` | `string` | The backend to use for inference. This affects the model file used. If set to `'wasm'`, the generated wrapper will load `model_quant.onnx`, otherwise it will load `model.onnx`. | [utils/generate-wrapper.ts:16](https://github.com/phun-ky/wrapture/blob/main/src/utils/generate-wrapper.ts#L16) |
21
21
 
22
22
  ## Functions
23
23
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/log-level
4
4
 
5
- > Last updated 2026-01-27T07:43:56.121Z
5
+ > Last updated 2026-02-17T09:00:00.638Z
6
6
 
7
7
  ## Type Aliases
8
8
 
@@ -45,7 +45,7 @@ Defined in:
45
45
  <tr>
46
46
  <td>
47
47
 
48
- <a id="debug"></a> `debug()`
48
+ <a id="property-debug"></a> `debug()`
49
49
 
50
50
  </td>
51
51
  <td>
@@ -62,7 +62,7 @@ Defined in:
62
62
  <tr>
63
63
  <td>
64
64
 
65
- <a id="error"></a> `error()`
65
+ <a id="property-error"></a> `error()`
66
66
 
67
67
  </td>
68
68
  <td>
@@ -79,7 +79,7 @@ Defined in:
79
79
  <tr>
80
80
  <td>
81
81
 
82
- <a id="info"></a> `info()`
82
+ <a id="property-info"></a> `info()`
83
83
 
84
84
  </td>
85
85
  <td>
@@ -96,7 +96,7 @@ Defined in:
96
96
  <tr>
97
97
  <td>
98
98
 
99
- <a id="warn"></a> `warn()`
99
+ <a id="property-warn"></a> `warn()`
100
100
 
101
101
  </td>
102
102
  <td>
package/api/wrapture.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # wrapture
4
4
 
5
- > Last updated 2026-01-27T07:43:56.154Z
5
+ > Last updated 2026-02-17T09:00:00.667Z
6
6
 
7
7
  ---
8
8
 
package/bin/wrapture.js CHANGED
@@ -10,7 +10,7 @@ import path3 from "path";
10
10
  // package.json
11
11
  var package_default = {
12
12
  name: "wrapture",
13
- version: "0.1.38",
13
+ version: "0.1.40",
14
14
  description: "Wrapture lets you go from a Python-trained model to deployable JavaScript with a single command. It generates TypeScript bindings and a Web/Node-compatible wrapper, using WebGPU/WASM-ready ONNX runtimes.",
15
15
  keywords: [
16
16
  "onnx",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrapture",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "description": "Wrapture lets you go from a Python-trained model to deployable JavaScript with a single command. It generates TypeScript bindings and a Web/Node-compatible wrapper, using WebGPU/WASM-ready ONNX runtimes.",
5
5
  "keywords": [
6
6
  "onnx",