@boundaryml/baml-bridge 0.21.0 → 0.21.1-nightly.20261008.a
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/dist/proto/baml_cffi.d.ts +1 -98
- package/dist/proto/baml_cffi.js +2 -232
- 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-bridge-android-arm64')
|
|
90
90
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-android-arm64/package.json').version
|
|
91
|
-
if (bindingPackageVersion !== '0.21.
|
|
92
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
91
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-android-arm-eabi')
|
|
106
106
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-android-arm-eabi/package.json').version
|
|
107
|
-
if (bindingPackageVersion !== '0.21.
|
|
108
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
107
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-win32-x64-gnu')
|
|
127
127
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-x64-gnu/package.json').version
|
|
128
|
-
if (bindingPackageVersion !== '0.21.
|
|
129
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
128
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-win32-x64-msvc')
|
|
143
143
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-x64-msvc/package.json').version
|
|
144
|
-
if (bindingPackageVersion !== '0.21.
|
|
145
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
144
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-win32-ia32-msvc')
|
|
160
160
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-ia32-msvc/package.json').version
|
|
161
|
-
if (bindingPackageVersion !== '0.21.
|
|
162
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
161
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-win32-arm64-msvc')
|
|
176
176
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-win32-arm64-msvc/package.json').version
|
|
177
|
-
if (bindingPackageVersion !== '0.21.
|
|
178
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
177
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-darwin-universal')
|
|
195
195
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-darwin-universal/package.json').version
|
|
196
|
-
if (bindingPackageVersion !== '0.21.
|
|
197
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
196
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-darwin-x64')
|
|
211
211
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-darwin-x64/package.json').version
|
|
212
|
-
if (bindingPackageVersion !== '0.21.
|
|
213
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
212
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-darwin-arm64')
|
|
227
227
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-darwin-arm64/package.json').version
|
|
228
|
-
if (bindingPackageVersion !== '0.21.
|
|
229
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
228
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-freebsd-x64')
|
|
247
247
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-freebsd-x64/package.json').version
|
|
248
|
-
if (bindingPackageVersion !== '0.21.
|
|
249
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
248
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-freebsd-arm64')
|
|
263
263
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-freebsd-arm64/package.json').version
|
|
264
|
-
if (bindingPackageVersion !== '0.21.
|
|
265
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
264
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-x64-musl')
|
|
284
284
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-x64-musl/package.json').version
|
|
285
|
-
if (bindingPackageVersion !== '0.21.
|
|
286
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
285
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-x64-gnu')
|
|
300
300
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-x64-gnu/package.json').version
|
|
301
|
-
if (bindingPackageVersion !== '0.21.
|
|
302
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
301
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-arm64-musl')
|
|
318
318
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm64-musl/package.json').version
|
|
319
|
-
if (bindingPackageVersion !== '0.21.
|
|
320
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
319
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-arm64-gnu')
|
|
334
334
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm64-gnu/package.json').version
|
|
335
|
-
if (bindingPackageVersion !== '0.21.
|
|
336
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
335
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-arm-musleabihf')
|
|
352
352
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm-musleabihf/package.json').version
|
|
353
|
-
if (bindingPackageVersion !== '0.21.
|
|
354
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
353
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-arm-gnueabihf')
|
|
368
368
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-arm-gnueabihf/package.json').version
|
|
369
|
-
if (bindingPackageVersion !== '0.21.
|
|
370
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
369
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-loong64-musl')
|
|
386
386
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-loong64-musl/package.json').version
|
|
387
|
-
if (bindingPackageVersion !== '0.21.
|
|
388
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
387
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-loong64-gnu')
|
|
402
402
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-loong64-gnu/package.json').version
|
|
403
|
-
if (bindingPackageVersion !== '0.21.
|
|
404
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
403
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-riscv64-musl')
|
|
420
420
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-riscv64-musl/package.json').version
|
|
421
|
-
if (bindingPackageVersion !== '0.21.
|
|
422
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
421
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-riscv64-gnu')
|
|
436
436
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-riscv64-gnu/package.json').version
|
|
437
|
-
if (bindingPackageVersion !== '0.21.
|
|
438
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
437
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-ppc64-gnu')
|
|
453
453
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-ppc64-gnu/package.json').version
|
|
454
|
-
if (bindingPackageVersion !== '0.21.
|
|
455
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
454
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-linux-s390x-gnu')
|
|
469
469
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-linux-s390x-gnu/package.json').version
|
|
470
|
-
if (bindingPackageVersion !== '0.21.
|
|
471
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
470
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-openharmony-arm64')
|
|
489
489
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-openharmony-arm64/package.json').version
|
|
490
|
-
if (bindingPackageVersion !== '0.21.
|
|
491
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
490
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-openharmony-x64')
|
|
505
505
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-openharmony-x64/package.json').version
|
|
506
|
-
if (bindingPackageVersion !== '0.21.
|
|
507
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
506
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a 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-bridge-openharmony-arm')
|
|
521
521
|
const bindingPackageVersion = require('@boundaryml/baml-bridge-openharmony-arm/package.json').version
|
|
522
|
-
if (bindingPackageVersion !== '0.21.
|
|
523
|
-
throw new Error(`Native binding package version mismatch, expected 0.21.
|
|
522
|
+
if (bindingPackageVersion !== '0.21.1-nightly.20261008.a' && 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.21.1-nightly.20261008.a but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
524
524
|
}
|
|
525
525
|
return binding
|
|
526
526
|
} catch (e) {
|
|
@@ -1740,9 +1740,6 @@ export namespace baml_bridge {
|
|
|
1740
1740
|
/** BamlTy promptAst */
|
|
1741
1741
|
promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null);
|
|
1742
1742
|
|
|
1743
|
-
/** BamlTy void */
|
|
1744
|
-
"void"?: (baml_bridge.cffi.v1.IBamlTyVoid|null);
|
|
1745
|
-
|
|
1746
1743
|
/** BamlTy typeVar */
|
|
1747
1744
|
typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null);
|
|
1748
1745
|
|
|
@@ -1819,9 +1816,6 @@ export namespace baml_bridge {
|
|
|
1819
1816
|
/** BamlTy promptAst. */
|
|
1820
1817
|
public promptAst?: (baml_bridge.cffi.v1.IBamlTyPromptAst|null);
|
|
1821
1818
|
|
|
1822
|
-
/** BamlTy void. */
|
|
1823
|
-
public void?: (baml_bridge.cffi.v1.IBamlTyVoid|null);
|
|
1824
|
-
|
|
1825
1819
|
/** BamlTy typeVar. */
|
|
1826
1820
|
public typeVar?: (baml_bridge.cffi.v1.IBamlTyTypeVar|null);
|
|
1827
1821
|
|
|
@@ -1832,7 +1826,7 @@ export namespace baml_bridge {
|
|
|
1832
1826
|
public never?: (baml_bridge.cffi.v1.IBamlTyNever|null);
|
|
1833
1827
|
|
|
1834
1828
|
/** BamlTy ty. */
|
|
1835
|
-
public ty?: ("primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"Function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"
|
|
1829
|
+
public ty?: ("primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"Function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"typeVar"|"associatedTypeProjection"|"never");
|
|
1836
1830
|
|
|
1837
1831
|
/**
|
|
1838
1832
|
* Creates a new BamlTy instance using the specified properties.
|
|
@@ -4949,97 +4943,6 @@ export namespace baml_bridge {
|
|
|
4949
4943
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4950
4944
|
}
|
|
4951
4945
|
|
|
4952
|
-
/** Properties of a BamlTyVoid. */
|
|
4953
|
-
interface IBamlTyVoid {
|
|
4954
|
-
}
|
|
4955
|
-
|
|
4956
|
-
/** Represents a BamlTyVoid. */
|
|
4957
|
-
class BamlTyVoid implements IBamlTyVoid {
|
|
4958
|
-
|
|
4959
|
-
/**
|
|
4960
|
-
* Constructs a new BamlTyVoid.
|
|
4961
|
-
* @param [properties] Properties to set
|
|
4962
|
-
*/
|
|
4963
|
-
constructor(properties?: baml_bridge.cffi.v1.IBamlTyVoid);
|
|
4964
|
-
|
|
4965
|
-
/**
|
|
4966
|
-
* Creates a new BamlTyVoid instance using the specified properties.
|
|
4967
|
-
* @param [properties] Properties to set
|
|
4968
|
-
* @returns BamlTyVoid instance
|
|
4969
|
-
*/
|
|
4970
|
-
public static create(properties?: baml_bridge.cffi.v1.IBamlTyVoid): baml_bridge.cffi.v1.BamlTyVoid;
|
|
4971
|
-
|
|
4972
|
-
/**
|
|
4973
|
-
* Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
4974
|
-
* @param message BamlTyVoid message or plain object to encode
|
|
4975
|
-
* @param [writer] Writer to encode to
|
|
4976
|
-
* @returns Writer
|
|
4977
|
-
*/
|
|
4978
|
-
public static encode(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4979
|
-
|
|
4980
|
-
/**
|
|
4981
|
-
* Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
4982
|
-
* @param message BamlTyVoid message or plain object to encode
|
|
4983
|
-
* @param [writer] Writer to encode to
|
|
4984
|
-
* @returns Writer
|
|
4985
|
-
*/
|
|
4986
|
-
public static encodeDelimited(message: baml_bridge.cffi.v1.IBamlTyVoid, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4987
|
-
|
|
4988
|
-
/**
|
|
4989
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer.
|
|
4990
|
-
* @param reader Reader or buffer to decode from
|
|
4991
|
-
* @param [length] Message length if known beforehand
|
|
4992
|
-
* @returns BamlTyVoid
|
|
4993
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4994
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4995
|
-
*/
|
|
4996
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): baml_bridge.cffi.v1.BamlTyVoid;
|
|
4997
|
-
|
|
4998
|
-
/**
|
|
4999
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer, length delimited.
|
|
5000
|
-
* @param reader Reader or buffer to decode from
|
|
5001
|
-
* @returns BamlTyVoid
|
|
5002
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5003
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5004
|
-
*/
|
|
5005
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): baml_bridge.cffi.v1.BamlTyVoid;
|
|
5006
|
-
|
|
5007
|
-
/**
|
|
5008
|
-
* Verifies a BamlTyVoid message.
|
|
5009
|
-
* @param message Plain object to verify
|
|
5010
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5011
|
-
*/
|
|
5012
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5013
|
-
|
|
5014
|
-
/**
|
|
5015
|
-
* Creates a BamlTyVoid message from a plain object. Also converts values to their respective internal types.
|
|
5016
|
-
* @param object Plain object
|
|
5017
|
-
* @returns BamlTyVoid
|
|
5018
|
-
*/
|
|
5019
|
-
public static fromObject(object: { [k: string]: any }): baml_bridge.cffi.v1.BamlTyVoid;
|
|
5020
|
-
|
|
5021
|
-
/**
|
|
5022
|
-
* Creates a plain object from a BamlTyVoid message. Also converts values to other types if specified.
|
|
5023
|
-
* @param message BamlTyVoid
|
|
5024
|
-
* @param [options] Conversion options
|
|
5025
|
-
* @returns Plain object
|
|
5026
|
-
*/
|
|
5027
|
-
public static toObject(message: baml_bridge.cffi.v1.BamlTyVoid, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5028
|
-
|
|
5029
|
-
/**
|
|
5030
|
-
* Converts this BamlTyVoid to JSON.
|
|
5031
|
-
* @returns JSON object
|
|
5032
|
-
*/
|
|
5033
|
-
public toJSON(): { [k: string]: any };
|
|
5034
|
-
|
|
5035
|
-
/**
|
|
5036
|
-
* Gets the default type url for BamlTyVoid
|
|
5037
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5038
|
-
* @returns The default type url
|
|
5039
|
-
*/
|
|
5040
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5041
|
-
}
|
|
5042
|
-
|
|
5043
4946
|
/** Properties of a BamlTyTypeVar. */
|
|
5044
4947
|
interface IBamlTyTypeVar {
|
|
5045
4948
|
|
package/dist/proto/baml_cffi.js
CHANGED
|
@@ -5149,7 +5149,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
5149
5149
|
* @property {baml_bridge.cffi.v1.IBamlTyMetaType|null} [metaType] BamlTy metaType
|
|
5150
5150
|
* @property {baml_bridge.cffi.v1.IBamlTyResource|null} [resource] BamlTy resource
|
|
5151
5151
|
* @property {baml_bridge.cffi.v1.IBamlTyPromptAst|null} [promptAst] BamlTy promptAst
|
|
5152
|
-
* @property {baml_bridge.cffi.v1.IBamlTyVoid|null} ["void"] BamlTy void
|
|
5153
5152
|
* @property {baml_bridge.cffi.v1.IBamlTyTypeVar|null} [typeVar] BamlTy typeVar
|
|
5154
5153
|
* @property {baml_bridge.cffi.v1.IBamlTyAssociatedTypeProjection|null} [associatedTypeProjection] BamlTy associatedTypeProjection
|
|
5155
5154
|
* @property {baml_bridge.cffi.v1.IBamlTyNever|null} [never] BamlTy never
|
|
@@ -5322,14 +5321,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
5322
5321
|
*/
|
|
5323
5322
|
BamlTy.prototype.promptAst = null;
|
|
5324
5323
|
|
|
5325
|
-
/**
|
|
5326
|
-
* BamlTy void.
|
|
5327
|
-
* @member {baml_bridge.cffi.v1.IBamlTyVoid|null|undefined} void
|
|
5328
|
-
* @memberof baml_bridge.cffi.v1.BamlTy
|
|
5329
|
-
* @instance
|
|
5330
|
-
*/
|
|
5331
|
-
BamlTy.prototype["void"] = null;
|
|
5332
|
-
|
|
5333
5324
|
/**
|
|
5334
5325
|
* BamlTy typeVar.
|
|
5335
5326
|
* @member {baml_bridge.cffi.v1.IBamlTyTypeVar|null|undefined} typeVar
|
|
@@ -5359,12 +5350,12 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
5359
5350
|
|
|
5360
5351
|
/**
|
|
5361
5352
|
* BamlTy ty.
|
|
5362
|
-
* @member {"primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"
|
|
5353
|
+
* @member {"primitive"|"classTy"|"enum"|"list"|"map"|"optional"|"union"|"literal"|"typeAlias"|"unknown"|"media"|"interface"|"enumVariant"|"function"|"future"|"rustType"|"metaType"|"resource"|"promptAst"|"typeVar"|"associatedTypeProjection"|"never"|undefined} ty
|
|
5363
5354
|
* @memberof baml_bridge.cffi.v1.BamlTy
|
|
5364
5355
|
* @instance
|
|
5365
5356
|
*/
|
|
5366
5357
|
Object.defineProperty(BamlTy.prototype, "ty", {
|
|
5367
|
-
get: $util.oneOfGetter($oneOfFields = ["primitive", "classTy", "enum", "list", "map", "optional", "union", "literal", "typeAlias", "unknown", "media", "interface", "enumVariant", "function", "future", "rustType", "metaType", "resource", "promptAst", "
|
|
5358
|
+
get: $util.oneOfGetter($oneOfFields = ["primitive", "classTy", "enum", "list", "map", "optional", "union", "literal", "typeAlias", "unknown", "media", "interface", "enumVariant", "function", "future", "rustType", "metaType", "resource", "promptAst", "typeVar", "associatedTypeProjection", "never"]),
|
|
5368
5359
|
set: $util.oneOfSetter($oneOfFields)
|
|
5369
5360
|
});
|
|
5370
5361
|
|
|
@@ -5434,8 +5425,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
5434
5425
|
$root.baml_bridge.cffi.v1.BamlTyResource.encode(message.resource, writer.uint32(/* id 18, wireType 2 =*/146).fork(), q + 1).ldelim();
|
|
5435
5426
|
if (message.promptAst != null && Object.hasOwnProperty.call(message, "promptAst"))
|
|
5436
5427
|
$root.baml_bridge.cffi.v1.BamlTyPromptAst.encode(message.promptAst, writer.uint32(/* id 19, wireType 2 =*/154).fork(), q + 1).ldelim();
|
|
5437
|
-
if (message["void"] != null && Object.hasOwnProperty.call(message, "void"))
|
|
5438
|
-
$root.baml_bridge.cffi.v1.BamlTyVoid.encode(message["void"], writer.uint32(/* id 20, wireType 2 =*/162).fork(), q + 1).ldelim();
|
|
5439
5428
|
if (message.typeVar != null && Object.hasOwnProperty.call(message, "typeVar"))
|
|
5440
5429
|
$root.baml_bridge.cffi.v1.BamlTyTypeVar.encode(message.typeVar, writer.uint32(/* id 22, wireType 2 =*/178).fork(), q + 1).ldelim();
|
|
5441
5430
|
if (message.associatedTypeProjection != null && Object.hasOwnProperty.call(message, "associatedTypeProjection"))
|
|
@@ -5558,10 +5547,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
5558
5547
|
message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.decode(reader, reader.uint32(), undefined, long + 1);
|
|
5559
5548
|
break;
|
|
5560
5549
|
}
|
|
5561
|
-
case 20: {
|
|
5562
|
-
message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.decode(reader, reader.uint32(), undefined, long + 1);
|
|
5563
|
-
break;
|
|
5564
|
-
}
|
|
5565
5550
|
case 22: {
|
|
5566
5551
|
message.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.decode(reader, reader.uint32(), undefined, long + 1);
|
|
5567
5552
|
break;
|
|
@@ -5802,16 +5787,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
5802
5787
|
return "promptAst." + error;
|
|
5803
5788
|
}
|
|
5804
5789
|
}
|
|
5805
|
-
if (message["void"] != null && message.hasOwnProperty("void")) {
|
|
5806
|
-
if (properties.ty === 1)
|
|
5807
|
-
return "ty: multiple values";
|
|
5808
|
-
properties.ty = 1;
|
|
5809
|
-
{
|
|
5810
|
-
let error = $root.baml_bridge.cffi.v1.BamlTyVoid.verify(message["void"], long + 1);
|
|
5811
|
-
if (error)
|
|
5812
|
-
return "void." + error;
|
|
5813
|
-
}
|
|
5814
|
-
}
|
|
5815
5790
|
if (message.typeVar != null && message.hasOwnProperty("typeVar")) {
|
|
5816
5791
|
if (properties.ty === 1)
|
|
5817
5792
|
return "ty: multiple values";
|
|
@@ -5958,11 +5933,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
5958
5933
|
throw TypeError(".baml_bridge.cffi.v1.BamlTy.promptAst: object expected");
|
|
5959
5934
|
message.promptAst = $root.baml_bridge.cffi.v1.BamlTyPromptAst.fromObject(object.promptAst, long + 1);
|
|
5960
5935
|
}
|
|
5961
|
-
if (object["void"] != null) {
|
|
5962
|
-
if (!$util.isObject(object["void"]))
|
|
5963
|
-
throw TypeError(".baml_bridge.cffi.v1.BamlTy.void: object expected");
|
|
5964
|
-
message["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.fromObject(object["void"], long + 1);
|
|
5965
|
-
}
|
|
5966
5936
|
if (object.typeVar != null) {
|
|
5967
5937
|
if (!$util.isObject(object.typeVar))
|
|
5968
5938
|
throw TypeError(".baml_bridge.cffi.v1.BamlTy.typeVar: object expected");
|
|
@@ -6093,11 +6063,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
6093
6063
|
if (options.oneofs)
|
|
6094
6064
|
object.ty = "promptAst";
|
|
6095
6065
|
}
|
|
6096
|
-
if (message["void"] != null && message.hasOwnProperty("void")) {
|
|
6097
|
-
object["void"] = $root.baml_bridge.cffi.v1.BamlTyVoid.toObject(message["void"], options, q + 1);
|
|
6098
|
-
if (options.oneofs)
|
|
6099
|
-
object.ty = "void";
|
|
6100
|
-
}
|
|
6101
6066
|
if (message.typeVar != null && message.hasOwnProperty("typeVar")) {
|
|
6102
6067
|
object.typeVar = $root.baml_bridge.cffi.v1.BamlTyTypeVar.toObject(message.typeVar, options, q + 1);
|
|
6103
6068
|
if (options.oneofs)
|
|
@@ -14153,201 +14118,6 @@ export const baml_bridge = $root.baml_bridge = (() => {
|
|
|
14153
14118
|
return BamlTyPromptAst;
|
|
14154
14119
|
})();
|
|
14155
14120
|
|
|
14156
|
-
v1.BamlTyVoid = (function() {
|
|
14157
|
-
|
|
14158
|
-
/**
|
|
14159
|
-
* Properties of a BamlTyVoid.
|
|
14160
|
-
* @memberof baml_bridge.cffi.v1
|
|
14161
|
-
* @interface IBamlTyVoid
|
|
14162
|
-
*/
|
|
14163
|
-
|
|
14164
|
-
/**
|
|
14165
|
-
* Constructs a new BamlTyVoid.
|
|
14166
|
-
* @memberof baml_bridge.cffi.v1
|
|
14167
|
-
* @classdesc Represents a BamlTyVoid.
|
|
14168
|
-
* @implements IBamlTyVoid
|
|
14169
|
-
* @constructor
|
|
14170
|
-
* @param {baml_bridge.cffi.v1.IBamlTyVoid=} [properties] Properties to set
|
|
14171
|
-
*/
|
|
14172
|
-
function BamlTyVoid(properties) {
|
|
14173
|
-
if (properties)
|
|
14174
|
-
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14175
|
-
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
14176
|
-
this[keys[i]] = properties[keys[i]];
|
|
14177
|
-
}
|
|
14178
|
-
|
|
14179
|
-
/**
|
|
14180
|
-
* Creates a new BamlTyVoid instance using the specified properties.
|
|
14181
|
-
* @function create
|
|
14182
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14183
|
-
* @static
|
|
14184
|
-
* @param {baml_bridge.cffi.v1.IBamlTyVoid=} [properties] Properties to set
|
|
14185
|
-
* @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid instance
|
|
14186
|
-
*/
|
|
14187
|
-
BamlTyVoid.create = function create(properties) {
|
|
14188
|
-
return new BamlTyVoid(properties);
|
|
14189
|
-
};
|
|
14190
|
-
|
|
14191
|
-
/**
|
|
14192
|
-
* Encodes the specified BamlTyVoid message. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
14193
|
-
* @function encode
|
|
14194
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14195
|
-
* @static
|
|
14196
|
-
* @param {baml_bridge.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode
|
|
14197
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14198
|
-
* @returns {$protobuf.Writer} Writer
|
|
14199
|
-
*/
|
|
14200
|
-
BamlTyVoid.encode = function encode(message, writer, q) {
|
|
14201
|
-
if (!writer)
|
|
14202
|
-
writer = $Writer.create();
|
|
14203
|
-
if (q === undefined)
|
|
14204
|
-
q = 0;
|
|
14205
|
-
if (q > $util.recursionLimit)
|
|
14206
|
-
throw Error("max depth exceeded");
|
|
14207
|
-
return writer;
|
|
14208
|
-
};
|
|
14209
|
-
|
|
14210
|
-
/**
|
|
14211
|
-
* Encodes the specified BamlTyVoid message, length delimited. Does not implicitly {@link baml_bridge.cffi.v1.BamlTyVoid.verify|verify} messages.
|
|
14212
|
-
* @function encodeDelimited
|
|
14213
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14214
|
-
* @static
|
|
14215
|
-
* @param {baml_bridge.cffi.v1.IBamlTyVoid} message BamlTyVoid message or plain object to encode
|
|
14216
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14217
|
-
* @returns {$protobuf.Writer} Writer
|
|
14218
|
-
*/
|
|
14219
|
-
BamlTyVoid.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14220
|
-
return this.encode(message, writer).ldelim();
|
|
14221
|
-
};
|
|
14222
|
-
|
|
14223
|
-
/**
|
|
14224
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer.
|
|
14225
|
-
* @function decode
|
|
14226
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14227
|
-
* @static
|
|
14228
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14229
|
-
* @param {number} [length] Message length if known beforehand
|
|
14230
|
-
* @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid
|
|
14231
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14232
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14233
|
-
*/
|
|
14234
|
-
BamlTyVoid.decode = function decode(reader, length, error, long) {
|
|
14235
|
-
if (!(reader instanceof $Reader))
|
|
14236
|
-
reader = $Reader.create(reader);
|
|
14237
|
-
if (long === undefined)
|
|
14238
|
-
long = 0;
|
|
14239
|
-
if (long > $Reader.recursionLimit)
|
|
14240
|
-
throw Error("maximum nesting depth exceeded");
|
|
14241
|
-
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.baml_bridge.cffi.v1.BamlTyVoid();
|
|
14242
|
-
while (reader.pos < end) {
|
|
14243
|
-
let tag = reader.uint32();
|
|
14244
|
-
if (tag === error)
|
|
14245
|
-
break;
|
|
14246
|
-
switch (tag >>> 3) {
|
|
14247
|
-
default:
|
|
14248
|
-
reader.skipType(tag & 7, long);
|
|
14249
|
-
break;
|
|
14250
|
-
}
|
|
14251
|
-
}
|
|
14252
|
-
return message;
|
|
14253
|
-
};
|
|
14254
|
-
|
|
14255
|
-
/**
|
|
14256
|
-
* Decodes a BamlTyVoid message from the specified reader or buffer, length delimited.
|
|
14257
|
-
* @function decodeDelimited
|
|
14258
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14259
|
-
* @static
|
|
14260
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14261
|
-
* @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid
|
|
14262
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14263
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14264
|
-
*/
|
|
14265
|
-
BamlTyVoid.decodeDelimited = function decodeDelimited(reader) {
|
|
14266
|
-
if (!(reader instanceof $Reader))
|
|
14267
|
-
reader = new $Reader(reader);
|
|
14268
|
-
return this.decode(reader, reader.uint32());
|
|
14269
|
-
};
|
|
14270
|
-
|
|
14271
|
-
/**
|
|
14272
|
-
* Verifies a BamlTyVoid message.
|
|
14273
|
-
* @function verify
|
|
14274
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14275
|
-
* @static
|
|
14276
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
14277
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14278
|
-
*/
|
|
14279
|
-
BamlTyVoid.verify = function verify(message, long) {
|
|
14280
|
-
if (typeof message !== "object" || message === null)
|
|
14281
|
-
return "object expected";
|
|
14282
|
-
if (long === undefined)
|
|
14283
|
-
long = 0;
|
|
14284
|
-
if (long > $util.recursionLimit)
|
|
14285
|
-
return "maximum nesting depth exceeded";
|
|
14286
|
-
return null;
|
|
14287
|
-
};
|
|
14288
|
-
|
|
14289
|
-
/**
|
|
14290
|
-
* Creates a BamlTyVoid message from a plain object. Also converts values to their respective internal types.
|
|
14291
|
-
* @function fromObject
|
|
14292
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14293
|
-
* @static
|
|
14294
|
-
* @param {Object.<string,*>} object Plain object
|
|
14295
|
-
* @returns {baml_bridge.cffi.v1.BamlTyVoid} BamlTyVoid
|
|
14296
|
-
*/
|
|
14297
|
-
BamlTyVoid.fromObject = function fromObject(object, long) {
|
|
14298
|
-
if (object instanceof $root.baml_bridge.cffi.v1.BamlTyVoid)
|
|
14299
|
-
return object;
|
|
14300
|
-
if (!$util.isObject(object))
|
|
14301
|
-
throw TypeError(".baml_bridge.cffi.v1.BamlTyVoid: object expected");
|
|
14302
|
-
if (long === undefined)
|
|
14303
|
-
long = 0;
|
|
14304
|
-
if (long > $util.recursionLimit)
|
|
14305
|
-
throw Error("maximum nesting depth exceeded");
|
|
14306
|
-
return new $root.baml_bridge.cffi.v1.BamlTyVoid();
|
|
14307
|
-
};
|
|
14308
|
-
|
|
14309
|
-
/**
|
|
14310
|
-
* Creates a plain object from a BamlTyVoid message. Also converts values to other types if specified.
|
|
14311
|
-
* @function toObject
|
|
14312
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14313
|
-
* @static
|
|
14314
|
-
* @param {baml_bridge.cffi.v1.BamlTyVoid} message BamlTyVoid
|
|
14315
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14316
|
-
* @returns {Object.<string,*>} Plain object
|
|
14317
|
-
*/
|
|
14318
|
-
BamlTyVoid.toObject = function toObject() {
|
|
14319
|
-
return {};
|
|
14320
|
-
};
|
|
14321
|
-
|
|
14322
|
-
/**
|
|
14323
|
-
* Converts this BamlTyVoid to JSON.
|
|
14324
|
-
* @function toJSON
|
|
14325
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14326
|
-
* @instance
|
|
14327
|
-
* @returns {Object.<string,*>} JSON object
|
|
14328
|
-
*/
|
|
14329
|
-
BamlTyVoid.prototype.toJSON = function toJSON() {
|
|
14330
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14331
|
-
};
|
|
14332
|
-
|
|
14333
|
-
/**
|
|
14334
|
-
* Gets the default type url for BamlTyVoid
|
|
14335
|
-
* @function getTypeUrl
|
|
14336
|
-
* @memberof baml_bridge.cffi.v1.BamlTyVoid
|
|
14337
|
-
* @static
|
|
14338
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14339
|
-
* @returns {string} The default type url
|
|
14340
|
-
*/
|
|
14341
|
-
BamlTyVoid.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
14342
|
-
if (typeUrlPrefix === undefined) {
|
|
14343
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
14344
|
-
}
|
|
14345
|
-
return typeUrlPrefix + "/baml_bridge.cffi.v1.BamlTyVoid";
|
|
14346
|
-
};
|
|
14347
|
-
|
|
14348
|
-
return BamlTyVoid;
|
|
14349
|
-
})();
|
|
14350
|
-
|
|
14351
14121
|
v1.BamlTyTypeVar = (function() {
|
|
14352
14122
|
|
|
14353
14123
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boundaryml/baml-bridge",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1-nightly.20261008.a",
|
|
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-bridge-darwin-x64": "0.21.
|
|
64
|
-
"@boundaryml/baml-bridge-darwin-arm64": "0.21.
|
|
65
|
-
"@boundaryml/baml-bridge-linux-x64-gnu": "0.21.
|
|
66
|
-
"@boundaryml/baml-bridge-linux-x64-musl": "0.21.
|
|
67
|
-
"@boundaryml/baml-bridge-linux-arm64-gnu": "0.21.
|
|
68
|
-
"@boundaryml/baml-bridge-linux-arm64-musl": "0.21.
|
|
69
|
-
"@boundaryml/baml-bridge-win32-x64-msvc": "0.21.
|
|
70
|
-
"@boundaryml/baml-bridge-win32-arm64-msvc": "0.21.
|
|
63
|
+
"@boundaryml/baml-bridge-darwin-x64": "0.21.1-nightly.20261008.a",
|
|
64
|
+
"@boundaryml/baml-bridge-darwin-arm64": "0.21.1-nightly.20261008.a",
|
|
65
|
+
"@boundaryml/baml-bridge-linux-x64-gnu": "0.21.1-nightly.20261008.a",
|
|
66
|
+
"@boundaryml/baml-bridge-linux-x64-musl": "0.21.1-nightly.20261008.a",
|
|
67
|
+
"@boundaryml/baml-bridge-linux-arm64-gnu": "0.21.1-nightly.20261008.a",
|
|
68
|
+
"@boundaryml/baml-bridge-linux-arm64-musl": "0.21.1-nightly.20261008.a",
|
|
69
|
+
"@boundaryml/baml-bridge-win32-x64-msvc": "0.21.1-nightly.20261008.a",
|
|
70
|
+
"@boundaryml/baml-bridge-win32-arm64-msvc": "0.21.1-nightly.20261008.a"
|
|
71
71
|
}
|
|
72
72
|
}
|