@boundaryml/baml-core-node 0.11.3-nightly.20260609.a → 0.11.3-nightly.20260609.b
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/dist/native.js +52 -52
- package/package.json +9 -9
package/dist/native.js
CHANGED
|
@@ -88,8 +88,8 @@ function requireNative() {
|
|
|
88
88
|
try {
|
|
89
89
|
const binding = require('@boundaryml/baml-core-node-android-arm64')
|
|
90
90
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-android-arm64/package.json').version
|
|
91
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
92
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
91
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
92
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
93
93
|
}
|
|
94
94
|
return binding
|
|
95
95
|
} catch (e) {
|
|
@@ -104,8 +104,8 @@ function requireNative() {
|
|
|
104
104
|
try {
|
|
105
105
|
const binding = require('@boundaryml/baml-core-node-android-arm-eabi')
|
|
106
106
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-android-arm-eabi/package.json').version
|
|
107
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
108
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
107
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
108
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
109
109
|
}
|
|
110
110
|
return binding
|
|
111
111
|
} catch (e) {
|
|
@@ -125,8 +125,8 @@ function requireNative() {
|
|
|
125
125
|
try {
|
|
126
126
|
const binding = require('@boundaryml/baml-core-node-win32-x64-gnu')
|
|
127
127
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-x64-gnu/package.json').version
|
|
128
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
129
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
128
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
129
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
130
130
|
}
|
|
131
131
|
return binding
|
|
132
132
|
} catch (e) {
|
|
@@ -141,8 +141,8 @@ function requireNative() {
|
|
|
141
141
|
try {
|
|
142
142
|
const binding = require('@boundaryml/baml-core-node-win32-x64-msvc')
|
|
143
143
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-x64-msvc/package.json').version
|
|
144
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
145
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
144
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
145
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
146
146
|
}
|
|
147
147
|
return binding
|
|
148
148
|
} catch (e) {
|
|
@@ -158,8 +158,8 @@ function requireNative() {
|
|
|
158
158
|
try {
|
|
159
159
|
const binding = require('@boundaryml/baml-core-node-win32-ia32-msvc')
|
|
160
160
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-ia32-msvc/package.json').version
|
|
161
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
162
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
161
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
162
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
163
163
|
}
|
|
164
164
|
return binding
|
|
165
165
|
} catch (e) {
|
|
@@ -174,8 +174,8 @@ function requireNative() {
|
|
|
174
174
|
try {
|
|
175
175
|
const binding = require('@boundaryml/baml-core-node-win32-arm64-msvc')
|
|
176
176
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-win32-arm64-msvc/package.json').version
|
|
177
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
178
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
177
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
178
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
179
179
|
}
|
|
180
180
|
return binding
|
|
181
181
|
} catch (e) {
|
|
@@ -193,8 +193,8 @@ function requireNative() {
|
|
|
193
193
|
try {
|
|
194
194
|
const binding = require('@boundaryml/baml-core-node-darwin-universal')
|
|
195
195
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-darwin-universal/package.json').version
|
|
196
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
197
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
196
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
197
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
198
198
|
}
|
|
199
199
|
return binding
|
|
200
200
|
} catch (e) {
|
|
@@ -209,8 +209,8 @@ function requireNative() {
|
|
|
209
209
|
try {
|
|
210
210
|
const binding = require('@boundaryml/baml-core-node-darwin-x64')
|
|
211
211
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-darwin-x64/package.json').version
|
|
212
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
213
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
212
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
213
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
214
214
|
}
|
|
215
215
|
return binding
|
|
216
216
|
} catch (e) {
|
|
@@ -225,8 +225,8 @@ function requireNative() {
|
|
|
225
225
|
try {
|
|
226
226
|
const binding = require('@boundaryml/baml-core-node-darwin-arm64')
|
|
227
227
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-darwin-arm64/package.json').version
|
|
228
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
229
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
228
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
229
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
230
230
|
}
|
|
231
231
|
return binding
|
|
232
232
|
} catch (e) {
|
|
@@ -245,8 +245,8 @@ function requireNative() {
|
|
|
245
245
|
try {
|
|
246
246
|
const binding = require('@boundaryml/baml-core-node-freebsd-x64')
|
|
247
247
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-freebsd-x64/package.json').version
|
|
248
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
249
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
248
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
249
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
250
250
|
}
|
|
251
251
|
return binding
|
|
252
252
|
} catch (e) {
|
|
@@ -261,8 +261,8 @@ function requireNative() {
|
|
|
261
261
|
try {
|
|
262
262
|
const binding = require('@boundaryml/baml-core-node-freebsd-arm64')
|
|
263
263
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-freebsd-arm64/package.json').version
|
|
264
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
265
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
264
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
265
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
266
266
|
}
|
|
267
267
|
return binding
|
|
268
268
|
} catch (e) {
|
|
@@ -282,8 +282,8 @@ function requireNative() {
|
|
|
282
282
|
try {
|
|
283
283
|
const binding = require('@boundaryml/baml-core-node-linux-x64-musl')
|
|
284
284
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-x64-musl/package.json').version
|
|
285
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
286
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
285
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
286
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
287
287
|
}
|
|
288
288
|
return binding
|
|
289
289
|
} catch (e) {
|
|
@@ -298,8 +298,8 @@ function requireNative() {
|
|
|
298
298
|
try {
|
|
299
299
|
const binding = require('@boundaryml/baml-core-node-linux-x64-gnu')
|
|
300
300
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-x64-gnu/package.json').version
|
|
301
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
302
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
301
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
302
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
303
303
|
}
|
|
304
304
|
return binding
|
|
305
305
|
} catch (e) {
|
|
@@ -316,8 +316,8 @@ function requireNative() {
|
|
|
316
316
|
try {
|
|
317
317
|
const binding = require('@boundaryml/baml-core-node-linux-arm64-musl')
|
|
318
318
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm64-musl/package.json').version
|
|
319
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
320
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
319
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
320
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
321
321
|
}
|
|
322
322
|
return binding
|
|
323
323
|
} catch (e) {
|
|
@@ -332,8 +332,8 @@ function requireNative() {
|
|
|
332
332
|
try {
|
|
333
333
|
const binding = require('@boundaryml/baml-core-node-linux-arm64-gnu')
|
|
334
334
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm64-gnu/package.json').version
|
|
335
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
336
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
335
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
336
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
337
337
|
}
|
|
338
338
|
return binding
|
|
339
339
|
} catch (e) {
|
|
@@ -350,8 +350,8 @@ function requireNative() {
|
|
|
350
350
|
try {
|
|
351
351
|
const binding = require('@boundaryml/baml-core-node-linux-arm-musleabihf')
|
|
352
352
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm-musleabihf/package.json').version
|
|
353
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
354
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
353
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
354
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
355
355
|
}
|
|
356
356
|
return binding
|
|
357
357
|
} catch (e) {
|
|
@@ -366,8 +366,8 @@ function requireNative() {
|
|
|
366
366
|
try {
|
|
367
367
|
const binding = require('@boundaryml/baml-core-node-linux-arm-gnueabihf')
|
|
368
368
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-arm-gnueabihf/package.json').version
|
|
369
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
370
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
369
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
370
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
371
371
|
}
|
|
372
372
|
return binding
|
|
373
373
|
} catch (e) {
|
|
@@ -384,8 +384,8 @@ function requireNative() {
|
|
|
384
384
|
try {
|
|
385
385
|
const binding = require('@boundaryml/baml-core-node-linux-loong64-musl')
|
|
386
386
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-loong64-musl/package.json').version
|
|
387
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
388
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
387
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
388
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
389
389
|
}
|
|
390
390
|
return binding
|
|
391
391
|
} catch (e) {
|
|
@@ -400,8 +400,8 @@ function requireNative() {
|
|
|
400
400
|
try {
|
|
401
401
|
const binding = require('@boundaryml/baml-core-node-linux-loong64-gnu')
|
|
402
402
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-loong64-gnu/package.json').version
|
|
403
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
404
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
403
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
404
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
405
405
|
}
|
|
406
406
|
return binding
|
|
407
407
|
} catch (e) {
|
|
@@ -418,8 +418,8 @@ function requireNative() {
|
|
|
418
418
|
try {
|
|
419
419
|
const binding = require('@boundaryml/baml-core-node-linux-riscv64-musl')
|
|
420
420
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-riscv64-musl/package.json').version
|
|
421
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
422
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
421
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
422
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
423
423
|
}
|
|
424
424
|
return binding
|
|
425
425
|
} catch (e) {
|
|
@@ -434,8 +434,8 @@ function requireNative() {
|
|
|
434
434
|
try {
|
|
435
435
|
const binding = require('@boundaryml/baml-core-node-linux-riscv64-gnu')
|
|
436
436
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-riscv64-gnu/package.json').version
|
|
437
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
438
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
437
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
438
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
439
439
|
}
|
|
440
440
|
return binding
|
|
441
441
|
} catch (e) {
|
|
@@ -451,8 +451,8 @@ function requireNative() {
|
|
|
451
451
|
try {
|
|
452
452
|
const binding = require('@boundaryml/baml-core-node-linux-ppc64-gnu')
|
|
453
453
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-ppc64-gnu/package.json').version
|
|
454
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
455
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
454
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
455
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
456
456
|
}
|
|
457
457
|
return binding
|
|
458
458
|
} catch (e) {
|
|
@@ -467,8 +467,8 @@ function requireNative() {
|
|
|
467
467
|
try {
|
|
468
468
|
const binding = require('@boundaryml/baml-core-node-linux-s390x-gnu')
|
|
469
469
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-linux-s390x-gnu/package.json').version
|
|
470
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
471
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
470
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
471
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
472
472
|
}
|
|
473
473
|
return binding
|
|
474
474
|
} catch (e) {
|
|
@@ -487,8 +487,8 @@ function requireNative() {
|
|
|
487
487
|
try {
|
|
488
488
|
const binding = require('@boundaryml/baml-core-node-openharmony-arm64')
|
|
489
489
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-openharmony-arm64/package.json').version
|
|
490
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
491
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
490
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
491
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
492
492
|
}
|
|
493
493
|
return binding
|
|
494
494
|
} catch (e) {
|
|
@@ -503,8 +503,8 @@ function requireNative() {
|
|
|
503
503
|
try {
|
|
504
504
|
const binding = require('@boundaryml/baml-core-node-openharmony-x64')
|
|
505
505
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-openharmony-x64/package.json').version
|
|
506
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
507
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
506
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
507
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
508
508
|
}
|
|
509
509
|
return binding
|
|
510
510
|
} catch (e) {
|
|
@@ -519,8 +519,8 @@ function requireNative() {
|
|
|
519
519
|
try {
|
|
520
520
|
const binding = require('@boundaryml/baml-core-node-openharmony-arm')
|
|
521
521
|
const bindingPackageVersion = require('@boundaryml/baml-core-node-openharmony-arm/package.json').version
|
|
522
|
-
if (bindingPackageVersion !== '0.11.3-nightly.20260609.
|
|
523
|
-
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.
|
|
522
|
+
if (bindingPackageVersion !== '0.11.3-nightly.20260609.b' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
523
|
+
throw new Error(`Native binding package version mismatch, expected 0.11.3-nightly.20260609.b but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
524
524
|
}
|
|
525
525
|
return binding
|
|
526
526
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boundaryml/baml-core-node",
|
|
3
|
-
"version": "0.11.3-nightly.20260609.
|
|
3
|
+
"version": "0.11.3-nightly.20260609.b",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"protobufjs": "^7.6.2"
|
|
61
61
|
},
|
|
62
62
|
"optionalDependencies": {
|
|
63
|
-
"@boundaryml/baml-core-node-darwin-x64": "0.11.3-nightly.20260609.
|
|
64
|
-
"@boundaryml/baml-core-node-darwin-arm64": "0.11.3-nightly.20260609.
|
|
65
|
-
"@boundaryml/baml-core-node-linux-x64-gnu": "0.11.3-nightly.20260609.
|
|
66
|
-
"@boundaryml/baml-core-node-linux-x64-musl": "0.11.3-nightly.20260609.
|
|
67
|
-
"@boundaryml/baml-core-node-linux-arm64-gnu": "0.11.3-nightly.20260609.
|
|
68
|
-
"@boundaryml/baml-core-node-linux-arm64-musl": "0.11.3-nightly.20260609.
|
|
69
|
-
"@boundaryml/baml-core-node-win32-x64-msvc": "0.11.3-nightly.20260609.
|
|
70
|
-
"@boundaryml/baml-core-node-win32-arm64-msvc": "0.11.3-nightly.20260609.
|
|
63
|
+
"@boundaryml/baml-core-node-darwin-x64": "0.11.3-nightly.20260609.b",
|
|
64
|
+
"@boundaryml/baml-core-node-darwin-arm64": "0.11.3-nightly.20260609.b",
|
|
65
|
+
"@boundaryml/baml-core-node-linux-x64-gnu": "0.11.3-nightly.20260609.b",
|
|
66
|
+
"@boundaryml/baml-core-node-linux-x64-musl": "0.11.3-nightly.20260609.b",
|
|
67
|
+
"@boundaryml/baml-core-node-linux-arm64-gnu": "0.11.3-nightly.20260609.b",
|
|
68
|
+
"@boundaryml/baml-core-node-linux-arm64-musl": "0.11.3-nightly.20260609.b",
|
|
69
|
+
"@boundaryml/baml-core-node-win32-x64-msvc": "0.11.3-nightly.20260609.b",
|
|
70
|
+
"@boundaryml/baml-core-node-win32-arm64-msvc": "0.11.3-nightly.20260609.b"
|
|
71
71
|
}
|
|
72
72
|
}
|