@atbash/sdk 0.10.13-dev.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,10 +1,16 @@
1
- // prettier-ignore
2
1
  /* eslint-disable */
3
2
  // @ts-nocheck
4
3
  /* auto-generated by NAPI-RS */
4
+ // Every version check below is bumped by release-please (extra-files, generic
5
+ // updater) in the same release PR as package.json; keep them inside this block.
6
+ // x-release-please-start-version
5
7
 
6
8
  const { readFileSync } = require('fs')
7
9
  let nativeBinding = null
10
+ // Which artifact actually loaded. The WASI fallback chain overwrites it with
11
+ // the flavor it resolved; the late native retry below leaves it alone because
12
+ // it only runs while no WASI candidate has been loaded.
13
+ let __napiLoadedBindingTarget = 'native'
8
14
  const loadErrors = []
9
15
 
10
16
  const isMusl = () => {
@@ -63,7 +69,16 @@ const isMuslFromChildProcess = () => {
63
69
  function requireNative() {
64
70
  if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
65
71
  try {
66
- return require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
72
+ const overrideBinding = require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH)
73
+ // The override may be a generated WASI loader, which already reports its
74
+ // own flavor. Adopt it: `module.exports` aliases this object, so claiming
75
+ // 'native' would both misreport the artifact and overwrite the loader's
76
+ // marker through the alias.
77
+ __napiLoadedBindingTarget =
78
+ overrideBinding && typeof overrideBinding.__napiBindingTarget === 'string'
79
+ ? overrideBinding.__napiBindingTarget
80
+ : 'native'
81
+ return overrideBinding
67
82
  } catch (err) {
68
83
  loadErrors.push(err)
69
84
  }
@@ -77,8 +92,8 @@ function requireNative() {
77
92
  try {
78
93
  const binding = require('@atbash/sdk-android-arm64')
79
94
  const bindingPackageVersion = require('@atbash/sdk-android-arm64/package.json').version
80
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
95
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
82
97
  }
83
98
  return binding
84
99
  } catch (e) {
@@ -93,8 +108,8 @@ function requireNative() {
93
108
  try {
94
109
  const binding = require('@atbash/sdk-android-arm-eabi')
95
110
  const bindingPackageVersion = require('@atbash/sdk-android-arm-eabi/package.json').version
96
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
111
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
112
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
98
113
  }
99
114
  return binding
100
115
  } catch (e) {
@@ -107,36 +122,36 @@ function requireNative() {
107
122
  if (process.arch === 'x64') {
108
123
  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
124
  try {
110
- return require('./atbash.win32-x64-gnu.node')
111
- } catch (e) {
112
- loadErrors.push(e)
113
- }
114
- try {
115
- const binding = require('@atbash/sdk-win32-x64-gnu')
116
- const bindingPackageVersion = require('@atbash/sdk-win32-x64-gnu/package.json').version
117
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
125
+ return require('./atbash.win32-x64-gnu.node')
126
+ } catch (e) {
127
+ loadErrors.push(e)
128
+ }
129
+ try {
130
+ const binding = require('@atbash/sdk-win32-x64-gnu')
131
+ const bindingPackageVersion = require('@atbash/sdk-win32-x64-gnu/package.json').version
132
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
134
+ }
135
+ return binding
136
+ } catch (e) {
137
+ loadErrors.push(e)
119
138
  }
120
- return binding
121
- } catch (e) {
122
- loadErrors.push(e)
123
- }
124
139
  } else {
125
140
  try {
126
- return require('./atbash.win32-x64-msvc.node')
127
- } catch (e) {
128
- loadErrors.push(e)
129
- }
130
- try {
131
- const binding = require('@atbash/sdk-win32-x64-msvc')
132
- const bindingPackageVersion = require('@atbash/sdk-win32-x64-msvc/package.json').version
133
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
141
+ return require('./atbash.win32-x64-msvc.node')
142
+ } catch (e) {
143
+ loadErrors.push(e)
144
+ }
145
+ try {
146
+ const binding = require('@atbash/sdk-win32-x64-msvc')
147
+ const bindingPackageVersion = require('@atbash/sdk-win32-x64-msvc/package.json').version
148
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
149
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
150
+ }
151
+ return binding
152
+ } catch (e) {
153
+ loadErrors.push(e)
135
154
  }
136
- return binding
137
- } catch (e) {
138
- loadErrors.push(e)
139
- }
140
155
  }
141
156
  } else if (process.arch === 'ia32') {
142
157
  try {
@@ -147,8 +162,8 @@ function requireNative() {
147
162
  try {
148
163
  const binding = require('@atbash/sdk-win32-ia32-msvc')
149
164
  const bindingPackageVersion = require('@atbash/sdk-win32-ia32-msvc/package.json').version
150
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
165
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
152
167
  }
153
168
  return binding
154
169
  } catch (e) {
@@ -163,8 +178,8 @@ function requireNative() {
163
178
  try {
164
179
  const binding = require('@atbash/sdk-win32-arm64-msvc')
165
180
  const bindingPackageVersion = require('@atbash/sdk-win32-arm64-msvc/package.json').version
166
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
181
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
182
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
168
183
  }
169
184
  return binding
170
185
  } catch (e) {
@@ -182,8 +197,8 @@ function requireNative() {
182
197
  try {
183
198
  const binding = require('@atbash/sdk-darwin-universal')
184
199
  const bindingPackageVersion = require('@atbash/sdk-darwin-universal/package.json').version
185
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
200
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
187
202
  }
188
203
  return binding
189
204
  } catch (e) {
@@ -198,8 +213,8 @@ function requireNative() {
198
213
  try {
199
214
  const binding = require('@atbash/sdk-darwin-x64')
200
215
  const bindingPackageVersion = require('@atbash/sdk-darwin-x64/package.json').version
201
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
216
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
203
218
  }
204
219
  return binding
205
220
  } catch (e) {
@@ -214,8 +229,8 @@ function requireNative() {
214
229
  try {
215
230
  const binding = require('@atbash/sdk-darwin-arm64')
216
231
  const bindingPackageVersion = require('@atbash/sdk-darwin-arm64/package.json').version
217
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
232
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
233
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
219
234
  }
220
235
  return binding
221
236
  } catch (e) {
@@ -234,8 +249,8 @@ function requireNative() {
234
249
  try {
235
250
  const binding = require('@atbash/sdk-freebsd-x64')
236
251
  const bindingPackageVersion = require('@atbash/sdk-freebsd-x64/package.json').version
237
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
252
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
239
254
  }
240
255
  return binding
241
256
  } catch (e) {
@@ -250,8 +265,8 @@ function requireNative() {
250
265
  try {
251
266
  const binding = require('@atbash/sdk-freebsd-arm64')
252
267
  const bindingPackageVersion = require('@atbash/sdk-freebsd-arm64/package.json').version
253
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
268
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
269
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
255
270
  }
256
271
  return binding
257
272
  } catch (e) {
@@ -271,8 +286,8 @@ function requireNative() {
271
286
  try {
272
287
  const binding = require('@atbash/sdk-linux-x64-musl')
273
288
  const bindingPackageVersion = require('@atbash/sdk-linux-x64-musl/package.json').version
274
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
289
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
276
291
  }
277
292
  return binding
278
293
  } catch (e) {
@@ -287,8 +302,8 @@ function requireNative() {
287
302
  try {
288
303
  const binding = require('@atbash/sdk-linux-x64-gnu')
289
304
  const bindingPackageVersion = require('@atbash/sdk-linux-x64-gnu/package.json').version
290
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
305
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
306
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
292
307
  }
293
308
  return binding
294
309
  } catch (e) {
@@ -305,8 +320,8 @@ function requireNative() {
305
320
  try {
306
321
  const binding = require('@atbash/sdk-linux-arm64-musl')
307
322
  const bindingPackageVersion = require('@atbash/sdk-linux-arm64-musl/package.json').version
308
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
323
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
310
325
  }
311
326
  return binding
312
327
  } catch (e) {
@@ -321,8 +336,8 @@ function requireNative() {
321
336
  try {
322
337
  const binding = require('@atbash/sdk-linux-arm64-gnu')
323
338
  const bindingPackageVersion = require('@atbash/sdk-linux-arm64-gnu/package.json').version
324
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
339
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
340
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
326
341
  }
327
342
  return binding
328
343
  } catch (e) {
@@ -339,8 +354,8 @@ function requireNative() {
339
354
  try {
340
355
  const binding = require('@atbash/sdk-linux-arm-musleabihf')
341
356
  const bindingPackageVersion = require('@atbash/sdk-linux-arm-musleabihf/package.json').version
342
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
357
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
344
359
  }
345
360
  return binding
346
361
  } catch (e) {
@@ -355,8 +370,8 @@ function requireNative() {
355
370
  try {
356
371
  const binding = require('@atbash/sdk-linux-arm-gnueabihf')
357
372
  const bindingPackageVersion = require('@atbash/sdk-linux-arm-gnueabihf/package.json').version
358
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
373
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
374
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
360
375
  }
361
376
  return binding
362
377
  } catch (e) {
@@ -373,8 +388,8 @@ function requireNative() {
373
388
  try {
374
389
  const binding = require('@atbash/sdk-linux-loong64-musl')
375
390
  const bindingPackageVersion = require('@atbash/sdk-linux-loong64-musl/package.json').version
376
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
391
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
378
393
  }
379
394
  return binding
380
395
  } catch (e) {
@@ -389,8 +404,8 @@ function requireNative() {
389
404
  try {
390
405
  const binding = require('@atbash/sdk-linux-loong64-gnu')
391
406
  const bindingPackageVersion = require('@atbash/sdk-linux-loong64-gnu/package.json').version
392
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
407
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
408
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
394
409
  }
395
410
  return binding
396
411
  } catch (e) {
@@ -407,8 +422,8 @@ function requireNative() {
407
422
  try {
408
423
  const binding = require('@atbash/sdk-linux-riscv64-musl')
409
424
  const bindingPackageVersion = require('@atbash/sdk-linux-riscv64-musl/package.json').version
410
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
425
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
412
427
  }
413
428
  return binding
414
429
  } catch (e) {
@@ -423,8 +438,8 @@ function requireNative() {
423
438
  try {
424
439
  const binding = require('@atbash/sdk-linux-riscv64-gnu')
425
440
  const bindingPackageVersion = require('@atbash/sdk-linux-riscv64-gnu/package.json').version
426
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
441
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
442
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
428
443
  }
429
444
  return binding
430
445
  } catch (e) {
@@ -440,8 +455,8 @@ function requireNative() {
440
455
  try {
441
456
  const binding = require('@atbash/sdk-linux-ppc64-gnu')
442
457
  const bindingPackageVersion = require('@atbash/sdk-linux-ppc64-gnu/package.json').version
443
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
458
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
445
460
  }
446
461
  return binding
447
462
  } catch (e) {
@@ -456,8 +471,8 @@ function requireNative() {
456
471
  try {
457
472
  const binding = require('@atbash/sdk-linux-s390x-gnu')
458
473
  const bindingPackageVersion = require('@atbash/sdk-linux-s390x-gnu/package.json').version
459
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
474
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
475
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
461
476
  }
462
477
  return binding
463
478
  } catch (e) {
@@ -476,8 +491,8 @@ function requireNative() {
476
491
  try {
477
492
  const binding = require('@atbash/sdk-openharmony-arm64')
478
493
  const bindingPackageVersion = require('@atbash/sdk-openharmony-arm64/package.json').version
479
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
494
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
481
496
  }
482
497
  return binding
483
498
  } catch (e) {
@@ -492,8 +507,8 @@ function requireNative() {
492
507
  try {
493
508
  const binding = require('@atbash/sdk-openharmony-x64')
494
509
  const bindingPackageVersion = require('@atbash/sdk-openharmony-x64/package.json').version
495
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
510
+ if (bindingPackageVersion !== '0.11.0' && 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.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
497
512
  }
498
513
  return binding
499
514
  } catch (e) {
@@ -508,8 +523,8 @@ function requireNative() {
508
523
  try {
509
524
  const binding = require('@atbash/sdk-openharmony-arm')
510
525
  const bindingPackageVersion = require('@atbash/sdk-openharmony-arm/package.json').version
511
- if (bindingPackageVersion !== '0.10.0-dev.0' && 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.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
526
+ if (bindingPackageVersion !== '0.11.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
527
+ throw new Error(`Native binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
513
528
  }
514
529
  return binding
515
530
  } catch (e) {
@@ -550,7 +565,7 @@ function createLoadErrorChain(errors) {
550
565
  //
551
566
  // NAPI_RS_WASI_FLAVOR selects one exact generated flavor and implies strict
552
567
  // WASI loading. It never crosses into another flavor or falls back to native.
553
- const __napiWasiFlavors = ["wasm32-wasi"]
568
+ const __napiWasiFlavors = ['wasm32-wasi']
554
569
  const __napiWasiFlavor = process.env.NAPI_RS_WASI_FLAVOR
555
570
  const __napiWasiFlavorRequested =
556
571
  typeof __napiWasiFlavor === 'string' && __napiWasiFlavor.length > 0
@@ -619,15 +634,16 @@ if (!nativeBinding || forceWasi) {
619
634
  }
620
635
  return null
621
636
  }
622
- if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === "wasm32-wasi")) {
637
+ if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === 'wasm32-wasi')) {
623
638
  let candidateError = null
624
639
  let candidateFailed = false
625
640
  try {
626
- candidateError = __napiWasiResolveCandidate('./atbash.wasi.cjs', false, ["./atbash.wasm32-wasi.debug.wasm","./atbash.wasm32-wasi.wasm"])
641
+ candidateError = __napiWasiResolveCandidate('./atbash.wasi.cjs', false, ['./atbash.wasm32-wasi.debug.wasm', './atbash.wasm32-wasi.wasm'])
627
642
  candidateFailed = candidateError !== null
628
643
  if (!candidateFailed) {
629
644
  wasiBinding = require('./atbash.wasi.cjs')
630
645
  nativeBinding = wasiBinding
646
+ __napiLoadedBindingTarget = 'wasm32-wasi'
631
647
  wasiBindingLoaded = true
632
648
  }
633
649
  } catch (err) {
@@ -639,7 +655,7 @@ if (!nativeBinding || forceWasi) {
639
655
  loadErrors.push(candidateError)
640
656
  }
641
657
  }
642
- if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === "wasm32-wasi")) {
658
+ if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === 'wasm32-wasi')) {
643
659
  let candidateError = null
644
660
  let candidateFailed = false
645
661
  try {
@@ -648,12 +664,13 @@ if (!nativeBinding || forceWasi) {
648
664
  if (!candidateFailed) {
649
665
  if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
650
666
  const bindingPackageVersion = require('@atbash/sdk-wasm32-wasi/package.json').version
651
- if (bindingPackageVersion !== '0.10.0-dev.0') {
652
- throw new Error(`WASI binding package version mismatch, expected 0.10.0-dev.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
667
+ if (bindingPackageVersion !== '0.11.0') {
668
+ throw new Error(`WASI binding package version mismatch, expected 0.11.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
653
669
  }
654
670
  }
655
671
  wasiBinding = require('@atbash/sdk-wasm32-wasi')
656
672
  nativeBinding = wasiBinding
673
+ __napiLoadedBindingTarget = 'wasm32-wasi'
657
674
  wasiBindingLoaded = true
658
675
  }
659
676
  } catch (err) {
@@ -699,17 +716,83 @@ if (!nativeBinding) {
699
716
  throw new Error(`Failed to load native binding`)
700
717
  }
701
718
 
719
+ function __napiStampBindingTarget(exportsObject, target) {
720
+ if (
721
+ Object.prototype.hasOwnProperty.call(exportsObject, '__napiBindingTarget')
722
+ ) {
723
+ if (exportsObject.__napiBindingTarget === target) {
724
+ // Already ours: the root entry aliases the object it loaded, so a WASI
725
+ // fallback candidate — or a `NAPI_RS_NATIVE_LIBRARY_PATH` override that
726
+ // is a generated loader — arrives already stamped with this same value.
727
+ return target
728
+ }
729
+ const error = new Error(
730
+ '`__napiBindingTarget` is reserved by the generated binding loader, but the loaded binding already exports it. Rename the export, e.g. #[napi(js_name = "...")].',
731
+ )
732
+ error.code = 'ERR_NAPI_BINDING_TARGET_CONFLICT'
733
+ throw error
734
+ }
735
+ if (!Object.isExtensible(exportsObject)) {
736
+ // A `#[napi(module_exports)]` hook may seal or freeze this object
737
+ // (`Object::seal` / `Object::freeze`). Reporting the artifact is metadata,
738
+ // never a reason to fail an otherwise successful load, so the stamp is
739
+ // skipped. What a consumer still sees then follows the entry point: the
740
+ // browser and deferred loaders declare `__napiBindingTarget` at module
741
+ // level and go on reporting it, while the CommonJS entries hand back this
742
+ // very object as `module.exports`, so there the value is absent.
743
+ return target
744
+ }
745
+ try {
746
+ // [[Define]], not [[Set]]: an ordinary assignment walks the prototype
747
+ // chain, so an inherited accessor could swallow the value or throw and
748
+ // fail an otherwise successful load. The descriptor is what a successful
749
+ // assignment would have produced.
750
+ Object.defineProperty(exportsObject, '__napiBindingTarget', {
751
+ configurable: true,
752
+ enumerable: true,
753
+ value: target,
754
+ writable: true,
755
+ })
756
+ } catch {
757
+ // Same rule as the non-extensible skip above: reporting the artifact is
758
+ // metadata, never a reason to fail an otherwise successful load. An exotic
759
+ // object (a Proxy whose defineProperty trap refuses) is skipped, not
760
+ // thrown over.
761
+ }
762
+ // The CommonJS loaders assign this return value so `cjs-module-lexer` — and
763
+ // therefore Node's CJS -> ESM named export detection — can see
764
+ // `__napiBindingTarget` statically.
765
+ return target
766
+ }
767
+ // Stamp before the alias, not after. The guard only reads `nativeBinding`
768
+ // (`hasOwnProperty` plus a comparison), which is safe against any addon
769
+ // accessor; an assignment is not, because a `#[napi(module_exports)]` hook can
770
+ // expose a getter reporting this very value and a setter that throws. So the
771
+ // assignment lands on the loader's own `module.exports`, still the original
772
+ // object here, and the alias below replaces it.
773
+ //
774
+ // The assignment is what keeps the marker a statically visible CommonJS export:
775
+ // `cjs-module-lexer` is Node's CJS -> ESM named export detection, it cannot see
776
+ // a bare call, and the later `module.exports = nativeBinding` does not undo the
777
+ // detection. The assignment itself always succeeds — its target is this
778
+ // loader's own, still extensible `module.exports` — and the alias below then
779
+ // discards the value it wrote. What a consumer reads is whatever the guard put
780
+ // on `nativeBinding`, so on a frozen binding, where the guard skips, the
781
+ // linked import resolves to `undefined`.
782
+ module.exports.__napiBindingTarget = __napiStampBindingTarget(nativeBinding, __napiLoadedBindingTarget)
702
783
  module.exports = nativeBinding
784
+ module.exports.applyMemoryEdits = nativeBinding.applyMemoryEdits
703
785
  module.exports.ARG_AGENT_PUBKEY = nativeBinding.ARG_AGENT_PUBKEY
786
+ module.exports.ARG_FILE_PATH = nativeBinding.ARG_FILE_PATH
704
787
  module.exports.ARG_ID = nativeBinding.ARG_ID
705
788
  module.exports.buildAddAgentMemoryArgs = nativeBinding.buildAddAgentMemoryArgs
706
789
  module.exports.buildEncryptedToolcallArgs = nativeBinding.buildEncryptedToolcallArgs
790
+ module.exports.buildGetActiveAgentMemoryQuery = nativeBinding.buildGetActiveAgentMemoryQuery
707
791
  module.exports.buildGetActiveMemoryIdQuery = nativeBinding.buildGetActiveMemoryIdQuery
708
792
  module.exports.buildGetAgentMemoryByIdQuery = nativeBinding.buildGetAgentMemoryByIdQuery
709
793
  module.exports.buildGetAgentMemoryHistoryQuery = nativeBinding.buildGetAgentMemoryHistoryQuery
710
- module.exports.buildGetAgentMemoryQuery = nativeBinding.buildGetAgentMemoryQuery
711
794
  module.exports.buildGetAgentMemoryRollbackHistoryQuery = nativeBinding.buildGetAgentMemoryRollbackHistoryQuery
712
- module.exports.buildGetAllAgentMemoryQuery = nativeBinding.buildGetAllAgentMemoryQuery
795
+ module.exports.buildGetRecentAgentMemoryQuery = nativeBinding.buildGetRecentAgentMemoryQuery
713
796
  module.exports.buildRollbackAgentMemoryArgs = nativeBinding.buildRollbackAgentMemoryArgs
714
797
  module.exports.buildScanRequest = nativeBinding.buildScanRequest
715
798
  module.exports.claimHashHex = nativeBinding.claimHashHex
@@ -721,10 +804,9 @@ module.exports.containsSecret = nativeBinding.containsSecret
721
804
  module.exports.createMemorySnapshot = nativeBinding.createMemorySnapshot
722
805
  module.exports.decryptForOrg = nativeBinding.decryptForOrg
723
806
  module.exports.decryptMemoryContent = nativeBinding.decryptMemoryContent
724
- module.exports.DEFAULT_BLOCKCHAIN_RID = nativeBinding.DEFAULT_BLOCKCHAIN_RID
725
807
  module.exports.DEFAULT_ENDPOINT = nativeBinding.DEFAULT_ENDPOINT
726
808
  module.exports.DEFAULT_PRIVATE_BLOCKCHAIN_RID = nativeBinding.DEFAULT_PRIVATE_BLOCKCHAIN_RID
727
- module.exports.defaultChromiaNodeUrls = nativeBinding.defaultChromiaNodeUrls
809
+ module.exports.defaultAgentHomeDirs = nativeBinding.defaultAgentHomeDirs
728
810
  module.exports.defaultMemoryPathPatterns = nativeBinding.defaultMemoryPathPatterns
729
811
  module.exports.defaultMemoryReadToolNames = nativeBinding.defaultMemoryReadToolNames
730
812
  module.exports.defaultMemoryWriteToolNames = nativeBinding.defaultMemoryWriteToolNames
@@ -737,12 +819,15 @@ module.exports.ECIES_FORMAT_VERSION = nativeBinding.ECIES_FORMAT_VERSION
737
819
  module.exports.encryptedLength = nativeBinding.encryptedLength
738
820
  module.exports.encryptForOrg = nativeBinding.encryptForOrg
739
821
  module.exports.encryptMemoryContent = nativeBinding.encryptMemoryContent
822
+ module.exports.extractMemoryEdits = nativeBinding.extractMemoryEdits
740
823
  module.exports.formatEntryForScan = nativeBinding.formatEntryForScan
741
824
  module.exports.generateKeypair = nativeBinding.generateKeypair
825
+ module.exports.isSafeMemorySlot = nativeBinding.isSafeMemorySlot
742
826
  module.exports.isValidPrivateKey = nativeBinding.isValidPrivateKey
743
827
  module.exports.loadAgent = nativeBinding.loadAgent
744
828
  module.exports.mapVerdict = nativeBinding.mapVerdict
745
829
  module.exports.memoryScanContext = nativeBinding.memoryScanContext
830
+ module.exports.memorySlotForPath = nativeBinding.memorySlotForPath
746
831
  module.exports.normalizeActionForHash = nativeBinding.normalizeActionForHash
747
832
  module.exports.normalizeForMatching = nativeBinding.normalizeForMatching
748
833
  module.exports.OP_ADD_AGENT_MEMORY = nativeBinding.OP_ADD_AGENT_MEMORY
@@ -755,20 +840,24 @@ module.exports.parseMemoryRows = nativeBinding.parseMemoryRows
755
840
  module.exports.parseRollbackRow = nativeBinding.parseRollbackRow
756
841
  module.exports.parseRollbackRows = nativeBinding.parseRollbackRows
757
842
  module.exports.parseScoreFromReason = nativeBinding.parseScoreFromReason
843
+ module.exports.QUERY_GET_ACTIVE_AGENT_MEMORY = nativeBinding.QUERY_GET_ACTIVE_AGENT_MEMORY
758
844
  module.exports.QUERY_GET_ACTIVE_MEMORY_ID = nativeBinding.QUERY_GET_ACTIVE_MEMORY_ID
759
- module.exports.QUERY_GET_AGENT_MEMORY = nativeBinding.QUERY_GET_AGENT_MEMORY
760
845
  module.exports.QUERY_GET_AGENT_MEMORY_BY_ID = nativeBinding.QUERY_GET_AGENT_MEMORY_BY_ID
761
846
  module.exports.QUERY_GET_AGENT_MEMORY_HISTORY = nativeBinding.QUERY_GET_AGENT_MEMORY_HISTORY
762
847
  module.exports.QUERY_GET_AGENT_MEMORY_ROLLBACK_HISTORY = nativeBinding.QUERY_GET_AGENT_MEMORY_ROLLBACK_HISTORY
763
- module.exports.QUERY_GET_ALL_AGENT_MEMORY = nativeBinding.QUERY_GET_ALL_AGENT_MEMORY
848
+ module.exports.QUERY_GET_RECENT_AGENT_MEMORY = nativeBinding.QUERY_GET_RECENT_AGENT_MEMORY
764
849
  module.exports.redactSecrets = nativeBinding.redactSecrets
850
+ module.exports.signAddAgentMemory = nativeBinding.signAddAgentMemory
765
851
  module.exports.signEncryptedToolCall = nativeBinding.signEncryptedToolCall
766
852
  module.exports.signJudgeAction = nativeBinding.signJudgeAction
767
853
  module.exports.signLogToolCall = nativeBinding.signLogToolCall
854
+ module.exports.signRollbackAgentMemory = nativeBinding.signRollbackAgentMemory
768
855
  module.exports.validateAgentPubkeyHex = nativeBinding.validateAgentPubkeyHex
856
+ module.exports.validateFilePath = nativeBinding.validateFilePath
769
857
  module.exports.validateMemoryId = nativeBinding.validateMemoryId
770
858
  module.exports.validateMemoryNonce = nativeBinding.validateMemoryNonce
771
859
  module.exports.validateRollbackReason = nativeBinding.validateRollbackReason
772
860
  module.exports.validateScore = nativeBinding.validateScore
773
861
  module.exports.verifyJudgeResponseSignature = nativeBinding.verifyJudgeResponseSignature
774
862
  module.exports.verifySignature = nativeBinding.verifySignature
863
+ // x-release-please-end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atbash/sdk",
3
- "version": "0.10.13-dev.0",
3
+ "version": "0.11.0",
4
4
  "description": "TypeScript SDK for Atbash — the safety layer that evaluates AI agent actions against operator-defined policies before execution.",
5
5
  "keywords": [
6
6
  "atbash",
@@ -23,13 +23,14 @@
23
23
  "default": "./index.js"
24
24
  }
25
25
  },
26
- "license": "SEE LICENSE IN LICENSE",
26
+ "license": "Apache-2.0",
27
27
  "napi": {
28
28
  "binaryName": "atbash",
29
29
  "packageName": "@atbash/sdk",
30
30
  "targets": [
31
31
  "x86_64-unknown-linux-gnu",
32
32
  "aarch64-unknown-linux-gnu",
33
+ "x86_64-unknown-linux-musl",
33
34
  "aarch64-apple-darwin",
34
35
  "x86_64-pc-windows-msvc"
35
36
  ]
@@ -47,17 +48,22 @@
47
48
  "index.d.ts",
48
49
  "*.node",
49
50
  "README.md",
50
- "LICENSE"
51
+ "LICENSE",
52
+ "NOTICE",
53
+ "THIRD-PARTY-NOTICES"
51
54
  ],
52
55
  "scripts": {
53
56
  "build:native": "napi build --platform --release",
57
+ "postbuild:native": "node scripts/sync-loader-version.mjs",
54
58
  "build:native:debug": "napi build --platform",
59
+ "postbuild:native:debug": "node scripts/sync-loader-version.mjs",
55
60
  "gen:http": "openapi-typescript ../../spec/openapi.yaml -o src-ts/http/schema.ts",
56
- "build:ts": "tsup",
61
+ "build:ts": "tsup && node scripts/assert-browser-bundle-clean.mjs",
57
62
  "build": "npm run build:native && npm run build:ts",
58
63
  "test:native": "node --test __test__/vector_parity.test.mjs",
59
64
  "test:sdk": "node --test __test__/*.sdk.test.mjs",
60
65
  "test:live": "node --test __test__/live_technical_health.test.mjs",
66
+ "test:memory:live": "node --test __test__/memory_chain_live.test.mjs",
61
67
  "test": "node --test __test__/*.test.mjs",
62
68
  "lint": "eslint .",
63
69
  "lint:fix": "eslint . --fix",
@@ -66,8 +72,11 @@
66
72
  },
67
73
  "dependencies": {
68
74
  "@opentelemetry/api": "^1.9.1",
75
+ "@opentelemetry/api-logs": "^0.223.0",
76
+ "@opentelemetry/exporter-logs-otlp-http": "^0.223.0",
69
77
  "@opentelemetry/exporter-metrics-otlp-http": "^0.219.0",
70
78
  "@opentelemetry/resources": "^2.7.1",
79
+ "@opentelemetry/sdk-logs": "^0.223.0",
71
80
  "@opentelemetry/sdk-metrics": "^2.7.1"
72
81
  },
73
82
  "devDependencies": {
@@ -88,9 +97,10 @@
88
97
  "typescript-eslint": "^8.62.1"
89
98
  },
90
99
  "optionalDependencies": {
91
- "@atbash/sdk-linux-x64-gnu": "0.10.13-dev.0",
92
- "@atbash/sdk-linux-arm64-gnu": "0.10.13-dev.0",
93
- "@atbash/sdk-darwin-arm64": "0.10.13-dev.0",
94
- "@atbash/sdk-win32-x64-msvc": "0.10.13-dev.0"
100
+ "@atbash/sdk-linux-x64-gnu": "0.11.0",
101
+ "@atbash/sdk-linux-arm64-gnu": "0.11.0",
102
+ "@atbash/sdk-linux-x64-musl": "0.11.0",
103
+ "@atbash/sdk-darwin-arm64": "0.11.0",
104
+ "@atbash/sdk-win32-x64-msvc": "0.11.0"
95
105
  }
96
106
  }