@aqarios/luna-model 0.6.15 → 0.6.16-beta.3

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.
@@ -15,9 +15,9 @@ OVERVIEW
15
15
  ================================================================================
16
16
 
17
17
  The dependencies are licensed under the following licenses:
18
- - MIT License (MIT): 115
18
+ - MIT License (MIT): 112
19
+ - BSD 3-Clause "New" or "Revised" License (BSD-3-Clause): 4
19
20
  - Apache License 2.0 (Apache-2.0): 2
20
- - BSD 3-Clause "New" or "Revised" License (BSD-3-Clause): 1
21
21
  - ISC License (ISC): 1
22
22
  - Unicode License v3 (Unicode-3.0): 1
23
23
 
@@ -240,6 +240,47 @@ See the License for the specific language governing permissions and
240
240
  limitations under the License.
241
241
 
242
242
 
243
+ ================================================================================
244
+ BSD 3-Clause "New" or "Revised" License (BSD-3-Clause)
245
+ ================================================================================
246
+
247
+ Applies to the following dependencies:
248
+ * zstd-safe 8.0.0
249
+ * zstd-sys 2.1.0+zstd.1.5.7
250
+ * zstd 0.14.0
251
+
252
+ --------------------------------------------------------------------------------
253
+
254
+ BSD 3-Clause License
255
+
256
+ Copyright (c) 2026, Alexandre Bury
257
+
258
+ Redistribution and use in source and binary forms, with or without
259
+ modification, are permitted provided that the following conditions are met:
260
+
261
+ 1. Redistributions of source code must retain the above copyright notice, this
262
+ list of conditions and the following disclaimer.
263
+
264
+ 2. Redistributions in binary form must reproduce the above copyright notice,
265
+ this list of conditions and the following disclaimer in the documentation
266
+ and/or other materials provided with the distribution.
267
+
268
+ 3. Neither the name of the copyright holder nor the names of its
269
+ contributors may be used to endorse or promote products derived from
270
+ this software without specific prior written permission.
271
+
272
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
273
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
274
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
275
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
276
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
277
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
278
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
279
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
280
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
281
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282
+
283
+
243
284
  ================================================================================
244
285
  BSD 3-Clause "New" or "Revised" License (BSD-3-Clause)
245
286
  ================================================================================
@@ -390,7 +431,7 @@ MIT License (MIT)
390
431
  ================================================================================
391
432
 
392
433
  Applies to the following dependency:
393
- * uuid 1.24.0
434
+ * uuid 1.26.1
394
435
 
395
436
  --------------------------------------------------------------------------------
396
437
 
@@ -427,7 +468,7 @@ MIT License (MIT)
427
468
  ================================================================================
428
469
 
429
470
  Applies to the following dependencies:
430
- * either 1.17.0
471
+ * either 1.18.0
431
472
  * itertools 0.14.0
432
473
  * itertools 0.15.0
433
474
 
@@ -654,7 +695,7 @@ MIT License (MIT)
654
695
  ================================================================================
655
696
 
656
697
  Applies to the following dependency:
657
- * indexmap 2.14.0
698
+ * indexmap 2.14.2
658
699
 
659
700
  --------------------------------------------------------------------------------
660
701
 
@@ -1529,7 +1570,7 @@ MIT License (MIT)
1529
1570
  ================================================================================
1530
1571
 
1531
1572
  Applies to the following dependency:
1532
- * convert_case 0.11.0
1573
+ * convert_case 0.12.0
1533
1574
 
1534
1575
  --------------------------------------------------------------------------------
1535
1576
 
@@ -1560,11 +1601,11 @@ MIT License (MIT)
1560
1601
  ================================================================================
1561
1602
 
1562
1603
  Applies to the following dependencies:
1563
- * napi-build 2.3.2
1564
- * napi-derive-backend 6.0.0
1565
- * napi-derive 3.6.0
1566
- * napi-sys 3.3.0
1567
- * napi 3.11.0
1604
+ * napi-build 2.4.2
1605
+ * napi-derive-backend 6.1.3
1606
+ * napi-derive 3.6.5
1607
+ * napi-sys 3.3.1
1608
+ * napi 3.12.4
1568
1609
  * r-efi 5.3.0
1569
1610
  * r-efi 6.0.0
1570
1611
  * winapi-i686-pc-windows-gnu 0.4.0
@@ -1673,7 +1714,7 @@ Applies to the following dependencies:
1673
1714
  * serde_core 1.0.228
1674
1715
  * serde_json 1.0.150
1675
1716
  * syn 2.0.119
1676
- * syn 3.0.3
1717
+ * syn 3.0.5
1677
1718
  * thiserror-impl 2.0.18
1678
1719
  * thiserror 2.0.18
1679
1720
  * unicode-ident 1.0.24
@@ -1888,27 +1929,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1888
1929
  SOFTWARE.
1889
1930
 
1890
1931
 
1891
- ================================================================================
1892
- MIT License (MIT)
1893
- ================================================================================
1894
-
1895
- Applies to the following dependencies:
1896
- * zstd-safe 7.2.4
1897
- * zstd-sys 2.0.16+zstd.1.5.7
1898
- * zstd 0.13.3
1899
-
1900
- --------------------------------------------------------------------------------
1901
-
1902
- The MIT License (MIT)
1903
- Copyright (c) 2016 Alexandre Bury
1904
-
1905
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1906
-
1907
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1908
-
1909
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1910
-
1911
-
1912
1932
  ================================================================================
1913
1933
  Unicode License v3 (Unicode-3.0)
1914
1934
  ================================================================================
package/index.d.ts CHANGED
@@ -126,22 +126,16 @@ export declare class Timing {
126
126
  * This matches Python's `start` property; wrap with `new Date(...)` on
127
127
  * the JS side if you want a `Date` object.
128
128
  */
129
- get start(): number
129
+ get start(): number | null
130
130
  /**
131
131
  * Wall-clock end time, in milliseconds since the Unix epoch (UTC).
132
132
  *
133
133
  * This matches Python's `end` property; wrap with `new Date(...)` on
134
134
  * the JS side if you want a `Date` object.
135
135
  */
136
- get end(): number
137
- /**
138
- * Total runtime in seconds.
139
- *
140
- * This is computed as the difference between `end` and `start`. Throws if
141
- * the timing record is inconsistent and the total duration cannot be
142
- * computed. This matches Python's `total_seconds` property.
143
- */
144
- get totalSeconds(): number
136
+ get end(): number | null
137
+ /** Total runtime in seconds. */
138
+ get total(): number
145
139
  /**
146
140
  * QPU usage time reported by the backend.
147
141
  *
package/index.js CHANGED
@@ -1,4 +1,3 @@
1
- // prettier-ignore
2
1
  /* eslint-disable */
3
2
  // @ts-nocheck
4
3
  /* auto-generated by NAPI-RS */
@@ -63,7 +62,7 @@ const isMuslFromChildProcess = () => {
63
62
  function requireNative() {
64
63
  if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
65
64
  try {
66
- return require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
65
+ return require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH)
67
66
  } catch (err) {
68
67
  loadErrors.push(err)
69
68
  }
@@ -77,8 +76,8 @@ function requireNative() {
77
76
  try {
78
77
  const binding = require('@aqarios/luna-model-android-arm64')
79
78
  const bindingPackageVersion = require('@aqarios/luna-model-android-arm64/package.json').version
80
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
79
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
80
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
82
81
  }
83
82
  return binding
84
83
  } catch (e) {
@@ -93,8 +92,8 @@ function requireNative() {
93
92
  try {
94
93
  const binding = require('@aqarios/luna-model-android-arm-eabi')
95
94
  const bindingPackageVersion = require('@aqarios/luna-model-android-arm-eabi/package.json').version
96
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
95
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
96
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
98
97
  }
99
98
  return binding
100
99
  } catch (e) {
@@ -107,36 +106,36 @@ function requireNative() {
107
106
  if (process.arch === 'x64') {
108
107
  if ((process.config && process.config.variables && process.config.variables.shlib_suffix === 'dll.a') || (process.config && process.config.variables && process.config.variables.node_target_type === 'shared_library')) {
109
108
  try {
110
- return require('./js_lunamodel.win32-x64-gnu.node')
111
- } catch (e) {
112
- loadErrors.push(e)
113
- }
114
- try {
115
- const binding = require('@aqarios/luna-model-win32-x64-gnu')
116
- const bindingPackageVersion = require('@aqarios/luna-model-win32-x64-gnu/package.json').version
117
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
109
+ return require('./js_lunamodel.win32-x64-gnu.node')
110
+ } catch (e) {
111
+ loadErrors.push(e)
112
+ }
113
+ try {
114
+ const binding = require('@aqarios/luna-model-win32-x64-gnu')
115
+ const bindingPackageVersion = require('@aqarios/luna-model-win32-x64-gnu/package.json').version
116
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
117
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
118
+ }
119
+ return binding
120
+ } catch (e) {
121
+ loadErrors.push(e)
119
122
  }
120
- return binding
121
- } catch (e) {
122
- loadErrors.push(e)
123
- }
124
123
  } else {
125
124
  try {
126
- return require('./js_lunamodel.win32-x64-msvc.node')
127
- } catch (e) {
128
- loadErrors.push(e)
129
- }
130
- try {
131
- const binding = require('@aqarios/luna-model-win32-x64-msvc')
132
- const bindingPackageVersion = require('@aqarios/luna-model-win32-x64-msvc/package.json').version
133
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
125
+ return require('./js_lunamodel.win32-x64-msvc.node')
126
+ } catch (e) {
127
+ loadErrors.push(e)
128
+ }
129
+ try {
130
+ const binding = require('@aqarios/luna-model-win32-x64-msvc')
131
+ const bindingPackageVersion = require('@aqarios/luna-model-win32-x64-msvc/package.json').version
132
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
133
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
134
+ }
135
+ return binding
136
+ } catch (e) {
137
+ loadErrors.push(e)
135
138
  }
136
- return binding
137
- } catch (e) {
138
- loadErrors.push(e)
139
- }
140
139
  }
141
140
  } else if (process.arch === 'ia32') {
142
141
  try {
@@ -147,8 +146,8 @@ function requireNative() {
147
146
  try {
148
147
  const binding = require('@aqarios/luna-model-win32-ia32-msvc')
149
148
  const bindingPackageVersion = require('@aqarios/luna-model-win32-ia32-msvc/package.json').version
150
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
149
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
150
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
152
151
  }
153
152
  return binding
154
153
  } catch (e) {
@@ -163,8 +162,8 @@ function requireNative() {
163
162
  try {
164
163
  const binding = require('@aqarios/luna-model-win32-arm64-msvc')
165
164
  const bindingPackageVersion = require('@aqarios/luna-model-win32-arm64-msvc/package.json').version
166
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
165
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
166
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
168
167
  }
169
168
  return binding
170
169
  } catch (e) {
@@ -182,8 +181,8 @@ function requireNative() {
182
181
  try {
183
182
  const binding = require('@aqarios/luna-model-darwin-universal')
184
183
  const bindingPackageVersion = require('@aqarios/luna-model-darwin-universal/package.json').version
185
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
184
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
185
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
187
186
  }
188
187
  return binding
189
188
  } catch (e) {
@@ -198,8 +197,8 @@ function requireNative() {
198
197
  try {
199
198
  const binding = require('@aqarios/luna-model-darwin-x64')
200
199
  const bindingPackageVersion = require('@aqarios/luna-model-darwin-x64/package.json').version
201
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
200
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
201
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
203
202
  }
204
203
  return binding
205
204
  } catch (e) {
@@ -214,8 +213,8 @@ function requireNative() {
214
213
  try {
215
214
  const binding = require('@aqarios/luna-model-darwin-arm64')
216
215
  const bindingPackageVersion = require('@aqarios/luna-model-darwin-arm64/package.json').version
217
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
216
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
217
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
219
218
  }
220
219
  return binding
221
220
  } catch (e) {
@@ -234,8 +233,8 @@ function requireNative() {
234
233
  try {
235
234
  const binding = require('@aqarios/luna-model-freebsd-x64')
236
235
  const bindingPackageVersion = require('@aqarios/luna-model-freebsd-x64/package.json').version
237
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
236
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
237
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
239
238
  }
240
239
  return binding
241
240
  } catch (e) {
@@ -250,8 +249,8 @@ function requireNative() {
250
249
  try {
251
250
  const binding = require('@aqarios/luna-model-freebsd-arm64')
252
251
  const bindingPackageVersion = require('@aqarios/luna-model-freebsd-arm64/package.json').version
253
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
252
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
253
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
255
254
  }
256
255
  return binding
257
256
  } catch (e) {
@@ -271,8 +270,8 @@ function requireNative() {
271
270
  try {
272
271
  const binding = require('@aqarios/luna-model-linux-x64-musl')
273
272
  const bindingPackageVersion = require('@aqarios/luna-model-linux-x64-musl/package.json').version
274
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
273
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
274
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
276
275
  }
277
276
  return binding
278
277
  } catch (e) {
@@ -287,8 +286,8 @@ function requireNative() {
287
286
  try {
288
287
  const binding = require('@aqarios/luna-model-linux-x64-gnu')
289
288
  const bindingPackageVersion = require('@aqarios/luna-model-linux-x64-gnu/package.json').version
290
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
289
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
290
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
292
291
  }
293
292
  return binding
294
293
  } catch (e) {
@@ -305,8 +304,8 @@ function requireNative() {
305
304
  try {
306
305
  const binding = require('@aqarios/luna-model-linux-arm64-musl')
307
306
  const bindingPackageVersion = require('@aqarios/luna-model-linux-arm64-musl/package.json').version
308
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
307
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
308
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
310
309
  }
311
310
  return binding
312
311
  } catch (e) {
@@ -321,8 +320,8 @@ function requireNative() {
321
320
  try {
322
321
  const binding = require('@aqarios/luna-model-linux-arm64-gnu')
323
322
  const bindingPackageVersion = require('@aqarios/luna-model-linux-arm64-gnu/package.json').version
324
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
323
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
324
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
326
325
  }
327
326
  return binding
328
327
  } catch (e) {
@@ -339,8 +338,8 @@ function requireNative() {
339
338
  try {
340
339
  const binding = require('@aqarios/luna-model-linux-arm-musleabihf')
341
340
  const bindingPackageVersion = require('@aqarios/luna-model-linux-arm-musleabihf/package.json').version
342
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
341
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
342
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
344
343
  }
345
344
  return binding
346
345
  } catch (e) {
@@ -355,8 +354,8 @@ function requireNative() {
355
354
  try {
356
355
  const binding = require('@aqarios/luna-model-linux-arm-gnueabihf')
357
356
  const bindingPackageVersion = require('@aqarios/luna-model-linux-arm-gnueabihf/package.json').version
358
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
357
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
358
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
360
359
  }
361
360
  return binding
362
361
  } catch (e) {
@@ -373,8 +372,8 @@ function requireNative() {
373
372
  try {
374
373
  const binding = require('@aqarios/luna-model-linux-loong64-musl')
375
374
  const bindingPackageVersion = require('@aqarios/luna-model-linux-loong64-musl/package.json').version
376
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
375
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
376
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
378
377
  }
379
378
  return binding
380
379
  } catch (e) {
@@ -389,8 +388,8 @@ function requireNative() {
389
388
  try {
390
389
  const binding = require('@aqarios/luna-model-linux-loong64-gnu')
391
390
  const bindingPackageVersion = require('@aqarios/luna-model-linux-loong64-gnu/package.json').version
392
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
391
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
392
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
394
393
  }
395
394
  return binding
396
395
  } catch (e) {
@@ -407,8 +406,8 @@ function requireNative() {
407
406
  try {
408
407
  const binding = require('@aqarios/luna-model-linux-riscv64-musl')
409
408
  const bindingPackageVersion = require('@aqarios/luna-model-linux-riscv64-musl/package.json').version
410
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
409
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
410
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
412
411
  }
413
412
  return binding
414
413
  } catch (e) {
@@ -423,8 +422,8 @@ function requireNative() {
423
422
  try {
424
423
  const binding = require('@aqarios/luna-model-linux-riscv64-gnu')
425
424
  const bindingPackageVersion = require('@aqarios/luna-model-linux-riscv64-gnu/package.json').version
426
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
425
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
426
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
428
427
  }
429
428
  return binding
430
429
  } catch (e) {
@@ -440,8 +439,8 @@ function requireNative() {
440
439
  try {
441
440
  const binding = require('@aqarios/luna-model-linux-ppc64-gnu')
442
441
  const bindingPackageVersion = require('@aqarios/luna-model-linux-ppc64-gnu/package.json').version
443
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
442
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
443
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
445
444
  }
446
445
  return binding
447
446
  } catch (e) {
@@ -456,8 +455,8 @@ function requireNative() {
456
455
  try {
457
456
  const binding = require('@aqarios/luna-model-linux-s390x-gnu')
458
457
  const bindingPackageVersion = require('@aqarios/luna-model-linux-s390x-gnu/package.json').version
459
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
458
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
459
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
461
460
  }
462
461
  return binding
463
462
  } catch (e) {
@@ -476,8 +475,8 @@ function requireNative() {
476
475
  try {
477
476
  const binding = require('@aqarios/luna-model-openharmony-arm64')
478
477
  const bindingPackageVersion = require('@aqarios/luna-model-openharmony-arm64/package.json').version
479
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
478
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
479
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
481
480
  }
482
481
  return binding
483
482
  } catch (e) {
@@ -492,8 +491,8 @@ function requireNative() {
492
491
  try {
493
492
  const binding = require('@aqarios/luna-model-openharmony-x64')
494
493
  const bindingPackageVersion = require('@aqarios/luna-model-openharmony-x64/package.json').version
495
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
494
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
495
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
497
496
  }
498
497
  return binding
499
498
  } catch (e) {
@@ -508,8 +507,8 @@ function requireNative() {
508
507
  try {
509
508
  const binding = require('@aqarios/luna-model-openharmony-arm')
510
509
  const bindingPackageVersion = require('@aqarios/luna-model-openharmony-arm/package.json').version
511
- if (bindingPackageVersion !== '0.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
- throw new Error(`Native binding package version mismatch, expected 0.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
510
+ if (bindingPackageVersion !== '0.6.16-beta.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
511
+ throw new Error(`Native binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
513
512
  }
514
513
  return binding
515
514
  } catch (e) {
@@ -523,47 +522,163 @@ function requireNative() {
523
522
  }
524
523
  }
525
524
 
526
- nativeBinding = requireNative()
525
+ function createLoadErrorChain(errors) {
526
+ return errors.reduce((previous, current) => {
527
+ let message
528
+ try {
529
+ message =
530
+ current && typeof current.message === 'string'
531
+ ? current.message
532
+ : String(current)
533
+ } catch {
534
+ message = 'Unknown error'
535
+ }
536
+ const error = new Error(message)
537
+ error.cause = previous
538
+ return error
539
+ }, null)
540
+ }
527
541
 
528
542
  // NAPI_RS_FORCE_WASI is a tri-state flag:
529
543
  // unset / any other value → native binding preferred, WASI is only a fallback
530
- // 'true' → force WASI fallback even if native loaded
531
- // 'error' → force WASI and throw if no WASI binding is found
544
+ // 'true' → prefer WASI, but retain native as a lazy fallback
545
+ // 'error' → require WASI without initializing a native fallback
532
546
  // Treating any non-empty string as truthy (the historical behavior) meant
533
547
  // NAPI_RS_FORCE_WASI=false, NAPI_RS_FORCE_WASI=0, etc. inadvertently triggered
534
548
  // the WASI path, causing ENOENT for packages shipped without a .wasi.cjs file.
549
+ //
550
+ // NAPI_RS_WASI_FLAVOR selects one exact generated flavor and implies strict
551
+ // WASI loading. It never crosses into another flavor or falls back to native.
552
+ const __napiWasiFlavors = ['wasm32-wasi']
553
+ const __napiWasiFlavor = process.env.NAPI_RS_WASI_FLAVOR
554
+ const __napiWasiFlavorRequested =
555
+ typeof __napiWasiFlavor === 'string' && __napiWasiFlavor.length > 0
556
+ if (
557
+ __napiWasiFlavorRequested &&
558
+ __napiWasiFlavors.indexOf(__napiWasiFlavor) === -1
559
+ ) {
560
+ throw new Error(
561
+ 'Unsupported WASI flavor "' +
562
+ __napiWasiFlavor +
563
+ '". Available flavors: ' +
564
+ __napiWasiFlavors.join(', '),
565
+ )
566
+ }
567
+ const forceWasiError = process.env.NAPI_RS_FORCE_WASI === 'error'
535
568
  const forceWasi =
536
- process.env.NAPI_RS_FORCE_WASI === 'true' || process.env.NAPI_RS_FORCE_WASI === 'error'
569
+ process.env.NAPI_RS_FORCE_WASI === 'true' ||
570
+ forceWasiError ||
571
+ __napiWasiFlavorRequested
572
+
573
+ if (!forceWasi) {
574
+ nativeBinding = requireNative()
575
+ }
537
576
 
538
577
  if (!nativeBinding || forceWasi) {
539
578
  let wasiBinding = null
540
- let wasiBindingError = null
541
- try {
542
- wasiBinding = require('./js_lunamodel.wasi.cjs')
543
- nativeBinding = wasiBinding
544
- } catch (err) {
545
- if (forceWasi) {
546
- wasiBindingError = err
579
+ let wasiBindingLoaded = false
580
+ const wasiBindingErrors = []
581
+ const __napiWasiResolveCandidate = (specifier, isPackage, localArtifacts) => {
582
+ try {
583
+ require.resolve(specifier)
584
+ } catch (resolveError) {
585
+ if (!resolveError || resolveError.code !== 'MODULE_NOT_FOUND') {
586
+ throw resolveError
587
+ }
588
+ if (isPackage) {
589
+ try {
590
+ require.resolve(specifier + '/package.json')
591
+ } catch (packageError) {
592
+ if (packageError && packageError.code === 'MODULE_NOT_FOUND') {
593
+ return resolveError
594
+ }
595
+ // An exports restriction proves the package exists even when its
596
+ // package.json is not public. Preserve the root resolution failure.
597
+ throw resolveError
598
+ }
599
+ // The package exists but its main/export target is broken.
600
+ throw resolveError
601
+ }
602
+ return resolveError
547
603
  }
604
+ if (localArtifacts) {
605
+ let artifactError = null
606
+ for (let i = 0; i < localArtifacts.length; i++) {
607
+ try {
608
+ require.resolve(localArtifacts[i])
609
+ return null
610
+ } catch (resolveError) {
611
+ if (!resolveError || resolveError.code !== 'MODULE_NOT_FOUND') {
612
+ throw resolveError
613
+ }
614
+ artifactError = resolveError
615
+ }
616
+ }
617
+ return artifactError
618
+ }
619
+ return null
548
620
  }
549
- if (!nativeBinding || forceWasi) {
621
+ if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === 'wasm32-wasi')) {
622
+ let candidateError = null
623
+ let candidateFailed = false
550
624
  try {
551
- wasiBinding = require('@aqarios/luna-model-wasm32-wasi')
552
- nativeBinding = wasiBinding
625
+ candidateError = __napiWasiResolveCandidate('./js_lunamodel.wasi.cjs', false, ['./js_lunamodel.wasm32-wasi.debug.wasm', './js_lunamodel.wasm32-wasi.wasm'])
626
+ candidateFailed = candidateError !== null
627
+ if (!candidateFailed) {
628
+ wasiBinding = require('./js_lunamodel.wasi.cjs')
629
+ nativeBinding = wasiBinding
630
+ wasiBindingLoaded = true
631
+ }
553
632
  } catch (err) {
554
- if (forceWasi) {
555
- if (!wasiBindingError) {
556
- wasiBindingError = err
557
- } else {
558
- wasiBindingError.cause = err
633
+ candidateError = err
634
+ candidateFailed = true
635
+ }
636
+ if (candidateFailed) {
637
+ wasiBindingErrors.push(candidateError)
638
+ loadErrors.push(candidateError)
639
+ }
640
+ }
641
+ if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === 'wasm32-wasi')) {
642
+ let candidateError = null
643
+ let candidateFailed = false
644
+ try {
645
+ candidateError = __napiWasiResolveCandidate('@aqarios/luna-model-wasm32-wasi', true, undefined)
646
+ candidateFailed = candidateError !== null
647
+ if (!candidateFailed) {
648
+ if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
649
+ const bindingPackageVersion = require('@aqarios/luna-model-wasm32-wasi/package.json').version
650
+ if (bindingPackageVersion !== '0.6.16-beta.3') {
651
+ throw new Error(`WASI binding package version mismatch, expected 0.6.16-beta.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
652
+ }
559
653
  }
560
- loadErrors.push(err)
654
+ wasiBinding = require('@aqarios/luna-model-wasm32-wasi')
655
+ nativeBinding = wasiBinding
656
+ wasiBindingLoaded = true
561
657
  }
658
+ } catch (err) {
659
+ candidateError = err
660
+ candidateFailed = true
661
+ }
662
+ if (candidateFailed) {
663
+ wasiBindingErrors.push(candidateError)
664
+ loadErrors.push(candidateError)
562
665
  }
563
666
  }
564
- if (process.env.NAPI_RS_FORCE_WASI === 'error' && !wasiBinding) {
565
- const error = new Error('WASI binding not found and NAPI_RS_FORCE_WASI is set to error')
566
- error.cause = wasiBindingError
667
+ if (
668
+ !wasiBindingLoaded &&
669
+ forceWasi &&
670
+ !forceWasiError &&
671
+ !__napiWasiFlavorRequested
672
+ ) {
673
+ nativeBinding = requireNative()
674
+ }
675
+ if ((forceWasiError || __napiWasiFlavorRequested) && !wasiBindingLoaded) {
676
+ const error = new Error(
677
+ __napiWasiFlavorRequested
678
+ ? 'WASI binding for flavor "' + __napiWasiFlavor + '" not found'
679
+ : 'WASI binding not found and NAPI_RS_FORCE_WASI is set to error',
680
+ )
681
+ error.cause = createLoadErrorChain(wasiBindingErrors)
567
682
  throw error
568
683
  }
569
684
  }
@@ -577,10 +692,7 @@ if (!nativeBinding) {
577
692
  )
578
693
  // assign instead of the `new Error(message, { cause })` options form,
579
694
  // which Node < 16.9 silently ignores
580
- error.cause = loadErrors.reduce((err, cur) => {
581
- cur.cause = err
582
- return cur
583
- })
695
+ error.cause = createLoadErrorChain(loadErrors)
584
696
  throw error
585
697
  }
586
698
  throw new Error(`Failed to load native binding`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aqarios/luna-model",
3
- "version": "0.6.15",
3
+ "version": "0.6.16-beta.3",
4
4
  "description": "JavaScript and TypeScript bindings for LunaModel",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Aqarios GmbH <pypi@aqarios.com>",
@@ -41,9 +41,10 @@
41
41
  "test:all": "bun run check && bun run test:rust && bun run test"
42
42
  },
43
43
  "devDependencies": {
44
- "@emnapi/core": "1.11.2",
45
- "@emnapi/runtime": "1.11.2",
46
- "@napi-rs/cli": "^3.7.4",
47
- "@napi-rs/wasm-runtime": "^1.1.6"
44
+ "@emnapi/core": "2.0.0-alpha.5",
45
+ "@emnapi/runtime": "2.0.0-alpha.5",
46
+ "@napi-rs/cli": "^3.8.6",
47
+ "@napi-rs/wasm-runtime": "^1.2.3",
48
+ "emnapi": "2.0.0-alpha.5"
48
49
  }
49
50
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file