@triton-one/yellowstone-grpc 5.0.7 → 5.0.8
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/cjs/napi/index.js +52 -52
- package/dist/esm/napi/index.js +52 -52
- package/package.json +5 -5
package/dist/cjs/napi/index.js
CHANGED
|
@@ -72,8 +72,8 @@ function requireNative() {
|
|
|
72
72
|
try {
|
|
73
73
|
var binding = require('yellowstone-grpc-napi-android-arm64');
|
|
74
74
|
var bindingPackageVersion = require('yellowstone-grpc-napi-android-arm64/package.json').version;
|
|
75
|
-
if (bindingPackageVersion !== '0.0.
|
|
76
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
75
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
76
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
77
77
|
}
|
|
78
78
|
return binding;
|
|
79
79
|
}
|
|
@@ -91,8 +91,8 @@ function requireNative() {
|
|
|
91
91
|
try {
|
|
92
92
|
var binding = require('yellowstone-grpc-napi-android-arm-eabi');
|
|
93
93
|
var bindingPackageVersion = require('yellowstone-grpc-napi-android-arm-eabi/package.json').version;
|
|
94
|
-
if (bindingPackageVersion !== '0.0.
|
|
95
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
94
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
95
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
96
96
|
}
|
|
97
97
|
return binding;
|
|
98
98
|
}
|
|
@@ -116,8 +116,8 @@ function requireNative() {
|
|
|
116
116
|
try {
|
|
117
117
|
var binding = require('yellowstone-grpc-napi-win32-x64-gnu');
|
|
118
118
|
var bindingPackageVersion = require('yellowstone-grpc-napi-win32-x64-gnu/package.json').version;
|
|
119
|
-
if (bindingPackageVersion !== '0.0.
|
|
120
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
119
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
120
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
121
121
|
}
|
|
122
122
|
return binding;
|
|
123
123
|
}
|
|
@@ -135,8 +135,8 @@ function requireNative() {
|
|
|
135
135
|
try {
|
|
136
136
|
var binding = require('yellowstone-grpc-napi-win32-x64-msvc');
|
|
137
137
|
var bindingPackageVersion = require('yellowstone-grpc-napi-win32-x64-msvc/package.json').version;
|
|
138
|
-
if (bindingPackageVersion !== '0.0.
|
|
139
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
138
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
139
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
140
140
|
}
|
|
141
141
|
return binding;
|
|
142
142
|
}
|
|
@@ -155,8 +155,8 @@ function requireNative() {
|
|
|
155
155
|
try {
|
|
156
156
|
var binding = require('yellowstone-grpc-napi-win32-ia32-msvc');
|
|
157
157
|
var bindingPackageVersion = require('yellowstone-grpc-napi-win32-ia32-msvc/package.json').version;
|
|
158
|
-
if (bindingPackageVersion !== '0.0.
|
|
159
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
158
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
159
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
160
160
|
}
|
|
161
161
|
return binding;
|
|
162
162
|
}
|
|
@@ -174,8 +174,8 @@ function requireNative() {
|
|
|
174
174
|
try {
|
|
175
175
|
var binding = require('yellowstone-grpc-napi-win32-arm64-msvc');
|
|
176
176
|
var bindingPackageVersion = require('yellowstone-grpc-napi-win32-arm64-msvc/package.json').version;
|
|
177
|
-
if (bindingPackageVersion !== '0.0.
|
|
178
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
177
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
179
179
|
}
|
|
180
180
|
return binding;
|
|
181
181
|
}
|
|
@@ -197,8 +197,8 @@ function requireNative() {
|
|
|
197
197
|
try {
|
|
198
198
|
var binding = require('yellowstone-grpc-napi-darwin-universal');
|
|
199
199
|
var bindingPackageVersion = require('yellowstone-grpc-napi-darwin-universal/package.json').version;
|
|
200
|
-
if (bindingPackageVersion !== '0.0.
|
|
201
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
200
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
202
202
|
}
|
|
203
203
|
return binding;
|
|
204
204
|
}
|
|
@@ -215,8 +215,8 @@ function requireNative() {
|
|
|
215
215
|
try {
|
|
216
216
|
var binding = require('yellowstone-grpc-napi-darwin-x64');
|
|
217
217
|
var bindingPackageVersion = require('yellowstone-grpc-napi-darwin-x64/package.json').version;
|
|
218
|
-
if (bindingPackageVersion !== '0.0.
|
|
219
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
218
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
219
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
220
220
|
}
|
|
221
221
|
return binding;
|
|
222
222
|
}
|
|
@@ -234,8 +234,8 @@ function requireNative() {
|
|
|
234
234
|
try {
|
|
235
235
|
var binding = require('yellowstone-grpc-napi-darwin-arm64');
|
|
236
236
|
var bindingPackageVersion = require('yellowstone-grpc-napi-darwin-arm64/package.json').version;
|
|
237
|
-
if (bindingPackageVersion !== '0.0.
|
|
238
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
237
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
239
239
|
}
|
|
240
240
|
return binding;
|
|
241
241
|
}
|
|
@@ -258,8 +258,8 @@ function requireNative() {
|
|
|
258
258
|
try {
|
|
259
259
|
var binding = require('yellowstone-grpc-napi-freebsd-x64');
|
|
260
260
|
var bindingPackageVersion = require('yellowstone-grpc-napi-freebsd-x64/package.json').version;
|
|
261
|
-
if (bindingPackageVersion !== '0.0.
|
|
262
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
261
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
262
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
263
263
|
}
|
|
264
264
|
return binding;
|
|
265
265
|
}
|
|
@@ -277,8 +277,8 @@ function requireNative() {
|
|
|
277
277
|
try {
|
|
278
278
|
var binding = require('yellowstone-grpc-napi-freebsd-arm64');
|
|
279
279
|
var bindingPackageVersion = require('yellowstone-grpc-napi-freebsd-arm64/package.json').version;
|
|
280
|
-
if (bindingPackageVersion !== '0.0.
|
|
281
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
280
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
281
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
282
282
|
}
|
|
283
283
|
return binding;
|
|
284
284
|
}
|
|
@@ -302,8 +302,8 @@ function requireNative() {
|
|
|
302
302
|
try {
|
|
303
303
|
var binding = require('yellowstone-grpc-napi-linux-x64-musl');
|
|
304
304
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-x64-musl/package.json').version;
|
|
305
|
-
if (bindingPackageVersion !== '0.0.
|
|
306
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
305
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
307
307
|
}
|
|
308
308
|
return binding;
|
|
309
309
|
}
|
|
@@ -321,8 +321,8 @@ function requireNative() {
|
|
|
321
321
|
try {
|
|
322
322
|
var binding = require('yellowstone-grpc-napi-linux-x64-gnu');
|
|
323
323
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-x64-gnu/package.json').version;
|
|
324
|
-
if (bindingPackageVersion !== '0.0.
|
|
325
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
324
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
326
326
|
}
|
|
327
327
|
return binding;
|
|
328
328
|
}
|
|
@@ -342,8 +342,8 @@ function requireNative() {
|
|
|
342
342
|
try {
|
|
343
343
|
var binding = require('yellowstone-grpc-napi-linux-arm64-musl');
|
|
344
344
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm64-musl/package.json').version;
|
|
345
|
-
if (bindingPackageVersion !== '0.0.
|
|
346
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
345
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
346
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
347
347
|
}
|
|
348
348
|
return binding;
|
|
349
349
|
}
|
|
@@ -361,8 +361,8 @@ function requireNative() {
|
|
|
361
361
|
try {
|
|
362
362
|
var binding = require('yellowstone-grpc-napi-linux-arm64-gnu');
|
|
363
363
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm64-gnu/package.json').version;
|
|
364
|
-
if (bindingPackageVersion !== '0.0.
|
|
365
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
364
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
365
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
366
366
|
}
|
|
367
367
|
return binding;
|
|
368
368
|
}
|
|
@@ -382,8 +382,8 @@ function requireNative() {
|
|
|
382
382
|
try {
|
|
383
383
|
var binding = require('yellowstone-grpc-napi-linux-arm-musleabihf');
|
|
384
384
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm-musleabihf/package.json').version;
|
|
385
|
-
if (bindingPackageVersion !== '0.0.
|
|
386
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
385
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
386
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
387
387
|
}
|
|
388
388
|
return binding;
|
|
389
389
|
}
|
|
@@ -401,8 +401,8 @@ function requireNative() {
|
|
|
401
401
|
try {
|
|
402
402
|
var binding = require('yellowstone-grpc-napi-linux-arm-gnueabihf');
|
|
403
403
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm-gnueabihf/package.json').version;
|
|
404
|
-
if (bindingPackageVersion !== '0.0.
|
|
405
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
404
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
405
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
406
406
|
}
|
|
407
407
|
return binding;
|
|
408
408
|
}
|
|
@@ -422,8 +422,8 @@ function requireNative() {
|
|
|
422
422
|
try {
|
|
423
423
|
var binding = require('yellowstone-grpc-napi-linux-loong64-musl');
|
|
424
424
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-loong64-musl/package.json').version;
|
|
425
|
-
if (bindingPackageVersion !== '0.0.
|
|
426
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
425
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
427
427
|
}
|
|
428
428
|
return binding;
|
|
429
429
|
}
|
|
@@ -441,8 +441,8 @@ function requireNative() {
|
|
|
441
441
|
try {
|
|
442
442
|
var binding = require('yellowstone-grpc-napi-linux-loong64-gnu');
|
|
443
443
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-loong64-gnu/package.json').version;
|
|
444
|
-
if (bindingPackageVersion !== '0.0.
|
|
445
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
444
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
445
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
446
446
|
}
|
|
447
447
|
return binding;
|
|
448
448
|
}
|
|
@@ -462,8 +462,8 @@ function requireNative() {
|
|
|
462
462
|
try {
|
|
463
463
|
var binding = require('yellowstone-grpc-napi-linux-riscv64-musl');
|
|
464
464
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-riscv64-musl/package.json').version;
|
|
465
|
-
if (bindingPackageVersion !== '0.0.
|
|
466
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
465
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
466
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
467
467
|
}
|
|
468
468
|
return binding;
|
|
469
469
|
}
|
|
@@ -481,8 +481,8 @@ function requireNative() {
|
|
|
481
481
|
try {
|
|
482
482
|
var binding = require('yellowstone-grpc-napi-linux-riscv64-gnu');
|
|
483
483
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-riscv64-gnu/package.json').version;
|
|
484
|
-
if (bindingPackageVersion !== '0.0.
|
|
485
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
484
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
485
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
486
486
|
}
|
|
487
487
|
return binding;
|
|
488
488
|
}
|
|
@@ -501,8 +501,8 @@ function requireNative() {
|
|
|
501
501
|
try {
|
|
502
502
|
var binding = require('yellowstone-grpc-napi-linux-ppc64-gnu');
|
|
503
503
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-ppc64-gnu/package.json').version;
|
|
504
|
-
if (bindingPackageVersion !== '0.0.
|
|
505
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
504
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
505
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
506
506
|
}
|
|
507
507
|
return binding;
|
|
508
508
|
}
|
|
@@ -520,8 +520,8 @@ function requireNative() {
|
|
|
520
520
|
try {
|
|
521
521
|
var binding = require('yellowstone-grpc-napi-linux-s390x-gnu');
|
|
522
522
|
var bindingPackageVersion = require('yellowstone-grpc-napi-linux-s390x-gnu/package.json').version;
|
|
523
|
-
if (bindingPackageVersion !== '0.0.
|
|
524
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
523
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
524
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
525
525
|
}
|
|
526
526
|
return binding;
|
|
527
527
|
}
|
|
@@ -544,8 +544,8 @@ function requireNative() {
|
|
|
544
544
|
try {
|
|
545
545
|
var binding = require('yellowstone-grpc-napi-openharmony-arm64');
|
|
546
546
|
var bindingPackageVersion = require('yellowstone-grpc-napi-openharmony-arm64/package.json').version;
|
|
547
|
-
if (bindingPackageVersion !== '0.0.
|
|
548
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
547
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
548
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
549
549
|
}
|
|
550
550
|
return binding;
|
|
551
551
|
}
|
|
@@ -563,8 +563,8 @@ function requireNative() {
|
|
|
563
563
|
try {
|
|
564
564
|
var binding = require('yellowstone-grpc-napi-openharmony-x64');
|
|
565
565
|
var bindingPackageVersion = require('yellowstone-grpc-napi-openharmony-x64/package.json').version;
|
|
566
|
-
if (bindingPackageVersion !== '0.0.
|
|
567
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
566
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
567
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
568
568
|
}
|
|
569
569
|
return binding;
|
|
570
570
|
}
|
|
@@ -582,8 +582,8 @@ function requireNative() {
|
|
|
582
582
|
try {
|
|
583
583
|
var binding = require('yellowstone-grpc-napi-openharmony-arm');
|
|
584
584
|
var bindingPackageVersion = require('yellowstone-grpc-napi-openharmony-arm/package.json').version;
|
|
585
|
-
if (bindingPackageVersion !== '0.0.
|
|
586
|
-
throw new Error("Native binding package version mismatch, expected 0.0.
|
|
585
|
+
if (bindingPackageVersion !== '0.0.13' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
586
|
+
throw new Error("Native binding package version mismatch, expected 0.0.13 but got ".concat(bindingPackageVersion, ". You can reinstall dependencies to fix this issue."));
|
|
587
587
|
}
|
|
588
588
|
return binding;
|
|
589
589
|
}
|
package/dist/esm/napi/index.js
CHANGED
|
@@ -77,8 +77,8 @@ function requireNative() {
|
|
|
77
77
|
try {
|
|
78
78
|
const binding = require('yellowstone-grpc-napi-android-arm64')
|
|
79
79
|
const bindingPackageVersion = require('yellowstone-grpc-napi-android-arm64/package.json').version
|
|
80
|
-
if (bindingPackageVersion !== '0.0.
|
|
81
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
80
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
82
82
|
}
|
|
83
83
|
return binding
|
|
84
84
|
} catch (e) {
|
|
@@ -93,8 +93,8 @@ function requireNative() {
|
|
|
93
93
|
try {
|
|
94
94
|
const binding = require('yellowstone-grpc-napi-android-arm-eabi')
|
|
95
95
|
const bindingPackageVersion = require('yellowstone-grpc-napi-android-arm-eabi/package.json').version
|
|
96
|
-
if (bindingPackageVersion !== '0.0.
|
|
97
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
96
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
98
98
|
}
|
|
99
99
|
return binding
|
|
100
100
|
} catch (e) {
|
|
@@ -114,8 +114,8 @@ function requireNative() {
|
|
|
114
114
|
try {
|
|
115
115
|
const binding = require('yellowstone-grpc-napi-win32-x64-gnu')
|
|
116
116
|
const bindingPackageVersion = require('yellowstone-grpc-napi-win32-x64-gnu/package.json').version
|
|
117
|
-
if (bindingPackageVersion !== '0.0.
|
|
118
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
117
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
119
119
|
}
|
|
120
120
|
return binding
|
|
121
121
|
} catch (e) {
|
|
@@ -130,8 +130,8 @@ function requireNative() {
|
|
|
130
130
|
try {
|
|
131
131
|
const binding = require('yellowstone-grpc-napi-win32-x64-msvc')
|
|
132
132
|
const bindingPackageVersion = require('yellowstone-grpc-napi-win32-x64-msvc/package.json').version
|
|
133
|
-
if (bindingPackageVersion !== '0.0.
|
|
134
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
133
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
135
135
|
}
|
|
136
136
|
return binding
|
|
137
137
|
} catch (e) {
|
|
@@ -147,8 +147,8 @@ function requireNative() {
|
|
|
147
147
|
try {
|
|
148
148
|
const binding = require('yellowstone-grpc-napi-win32-ia32-msvc')
|
|
149
149
|
const bindingPackageVersion = require('yellowstone-grpc-napi-win32-ia32-msvc/package.json').version
|
|
150
|
-
if (bindingPackageVersion !== '0.0.
|
|
151
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
150
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
152
152
|
}
|
|
153
153
|
return binding
|
|
154
154
|
} catch (e) {
|
|
@@ -163,8 +163,8 @@ function requireNative() {
|
|
|
163
163
|
try {
|
|
164
164
|
const binding = require('yellowstone-grpc-napi-win32-arm64-msvc')
|
|
165
165
|
const bindingPackageVersion = require('yellowstone-grpc-napi-win32-arm64-msvc/package.json').version
|
|
166
|
-
if (bindingPackageVersion !== '0.0.
|
|
167
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
166
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
168
168
|
}
|
|
169
169
|
return binding
|
|
170
170
|
} catch (e) {
|
|
@@ -182,8 +182,8 @@ function requireNative() {
|
|
|
182
182
|
try {
|
|
183
183
|
const binding = require('yellowstone-grpc-napi-darwin-universal')
|
|
184
184
|
const bindingPackageVersion = require('yellowstone-grpc-napi-darwin-universal/package.json').version
|
|
185
|
-
if (bindingPackageVersion !== '0.0.
|
|
186
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
185
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
187
187
|
}
|
|
188
188
|
return binding
|
|
189
189
|
} catch (e) {
|
|
@@ -198,8 +198,8 @@ function requireNative() {
|
|
|
198
198
|
try {
|
|
199
199
|
const binding = require('yellowstone-grpc-napi-darwin-x64')
|
|
200
200
|
const bindingPackageVersion = require('yellowstone-grpc-napi-darwin-x64/package.json').version
|
|
201
|
-
if (bindingPackageVersion !== '0.0.
|
|
202
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
201
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
203
203
|
}
|
|
204
204
|
return binding
|
|
205
205
|
} catch (e) {
|
|
@@ -214,8 +214,8 @@ function requireNative() {
|
|
|
214
214
|
try {
|
|
215
215
|
const binding = require('yellowstone-grpc-napi-darwin-arm64')
|
|
216
216
|
const bindingPackageVersion = require('yellowstone-grpc-napi-darwin-arm64/package.json').version
|
|
217
|
-
if (bindingPackageVersion !== '0.0.
|
|
218
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
217
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
219
|
}
|
|
220
220
|
return binding
|
|
221
221
|
} catch (e) {
|
|
@@ -234,8 +234,8 @@ function requireNative() {
|
|
|
234
234
|
try {
|
|
235
235
|
const binding = require('yellowstone-grpc-napi-freebsd-x64')
|
|
236
236
|
const bindingPackageVersion = require('yellowstone-grpc-napi-freebsd-x64/package.json').version
|
|
237
|
-
if (bindingPackageVersion !== '0.0.
|
|
238
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
237
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
239
239
|
}
|
|
240
240
|
return binding
|
|
241
241
|
} catch (e) {
|
|
@@ -250,8 +250,8 @@ function requireNative() {
|
|
|
250
250
|
try {
|
|
251
251
|
const binding = require('yellowstone-grpc-napi-freebsd-arm64')
|
|
252
252
|
const bindingPackageVersion = require('yellowstone-grpc-napi-freebsd-arm64/package.json').version
|
|
253
|
-
if (bindingPackageVersion !== '0.0.
|
|
254
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
253
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
255
255
|
}
|
|
256
256
|
return binding
|
|
257
257
|
} catch (e) {
|
|
@@ -271,8 +271,8 @@ function requireNative() {
|
|
|
271
271
|
try {
|
|
272
272
|
const binding = require('yellowstone-grpc-napi-linux-x64-musl')
|
|
273
273
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-x64-musl/package.json').version
|
|
274
|
-
if (bindingPackageVersion !== '0.0.
|
|
275
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
274
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
276
276
|
}
|
|
277
277
|
return binding
|
|
278
278
|
} catch (e) {
|
|
@@ -287,8 +287,8 @@ function requireNative() {
|
|
|
287
287
|
try {
|
|
288
288
|
const binding = require('yellowstone-grpc-napi-linux-x64-gnu')
|
|
289
289
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-x64-gnu/package.json').version
|
|
290
|
-
if (bindingPackageVersion !== '0.0.
|
|
291
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
290
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
292
292
|
}
|
|
293
293
|
return binding
|
|
294
294
|
} catch (e) {
|
|
@@ -305,8 +305,8 @@ function requireNative() {
|
|
|
305
305
|
try {
|
|
306
306
|
const binding = require('yellowstone-grpc-napi-linux-arm64-musl')
|
|
307
307
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm64-musl/package.json').version
|
|
308
|
-
if (bindingPackageVersion !== '0.0.
|
|
309
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
308
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
310
310
|
}
|
|
311
311
|
return binding
|
|
312
312
|
} catch (e) {
|
|
@@ -321,8 +321,8 @@ function requireNative() {
|
|
|
321
321
|
try {
|
|
322
322
|
const binding = require('yellowstone-grpc-napi-linux-arm64-gnu')
|
|
323
323
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm64-gnu/package.json').version
|
|
324
|
-
if (bindingPackageVersion !== '0.0.
|
|
325
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
324
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
326
326
|
}
|
|
327
327
|
return binding
|
|
328
328
|
} catch (e) {
|
|
@@ -339,8 +339,8 @@ function requireNative() {
|
|
|
339
339
|
try {
|
|
340
340
|
const binding = require('yellowstone-grpc-napi-linux-arm-musleabihf')
|
|
341
341
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm-musleabihf/package.json').version
|
|
342
|
-
if (bindingPackageVersion !== '0.0.
|
|
343
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
342
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
344
344
|
}
|
|
345
345
|
return binding
|
|
346
346
|
} catch (e) {
|
|
@@ -355,8 +355,8 @@ function requireNative() {
|
|
|
355
355
|
try {
|
|
356
356
|
const binding = require('yellowstone-grpc-napi-linux-arm-gnueabihf')
|
|
357
357
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-arm-gnueabihf/package.json').version
|
|
358
|
-
if (bindingPackageVersion !== '0.0.
|
|
359
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
358
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
360
360
|
}
|
|
361
361
|
return binding
|
|
362
362
|
} catch (e) {
|
|
@@ -373,8 +373,8 @@ function requireNative() {
|
|
|
373
373
|
try {
|
|
374
374
|
const binding = require('yellowstone-grpc-napi-linux-loong64-musl')
|
|
375
375
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-loong64-musl/package.json').version
|
|
376
|
-
if (bindingPackageVersion !== '0.0.
|
|
377
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
376
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
378
378
|
}
|
|
379
379
|
return binding
|
|
380
380
|
} catch (e) {
|
|
@@ -389,8 +389,8 @@ function requireNative() {
|
|
|
389
389
|
try {
|
|
390
390
|
const binding = require('yellowstone-grpc-napi-linux-loong64-gnu')
|
|
391
391
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-loong64-gnu/package.json').version
|
|
392
|
-
if (bindingPackageVersion !== '0.0.
|
|
393
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
392
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
394
394
|
}
|
|
395
395
|
return binding
|
|
396
396
|
} catch (e) {
|
|
@@ -407,8 +407,8 @@ function requireNative() {
|
|
|
407
407
|
try {
|
|
408
408
|
const binding = require('yellowstone-grpc-napi-linux-riscv64-musl')
|
|
409
409
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-riscv64-musl/package.json').version
|
|
410
|
-
if (bindingPackageVersion !== '0.0.
|
|
411
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
410
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
412
412
|
}
|
|
413
413
|
return binding
|
|
414
414
|
} catch (e) {
|
|
@@ -423,8 +423,8 @@ function requireNative() {
|
|
|
423
423
|
try {
|
|
424
424
|
const binding = require('yellowstone-grpc-napi-linux-riscv64-gnu')
|
|
425
425
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-riscv64-gnu/package.json').version
|
|
426
|
-
if (bindingPackageVersion !== '0.0.
|
|
427
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
426
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
428
428
|
}
|
|
429
429
|
return binding
|
|
430
430
|
} catch (e) {
|
|
@@ -440,8 +440,8 @@ function requireNative() {
|
|
|
440
440
|
try {
|
|
441
441
|
const binding = require('yellowstone-grpc-napi-linux-ppc64-gnu')
|
|
442
442
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-ppc64-gnu/package.json').version
|
|
443
|
-
if (bindingPackageVersion !== '0.0.
|
|
444
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
443
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
445
445
|
}
|
|
446
446
|
return binding
|
|
447
447
|
} catch (e) {
|
|
@@ -456,8 +456,8 @@ function requireNative() {
|
|
|
456
456
|
try {
|
|
457
457
|
const binding = require('yellowstone-grpc-napi-linux-s390x-gnu')
|
|
458
458
|
const bindingPackageVersion = require('yellowstone-grpc-napi-linux-s390x-gnu/package.json').version
|
|
459
|
-
if (bindingPackageVersion !== '0.0.
|
|
460
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
459
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
461
461
|
}
|
|
462
462
|
return binding
|
|
463
463
|
} catch (e) {
|
|
@@ -476,8 +476,8 @@ function requireNative() {
|
|
|
476
476
|
try {
|
|
477
477
|
const binding = require('yellowstone-grpc-napi-openharmony-arm64')
|
|
478
478
|
const bindingPackageVersion = require('yellowstone-grpc-napi-openharmony-arm64/package.json').version
|
|
479
|
-
if (bindingPackageVersion !== '0.0.
|
|
480
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
479
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
481
481
|
}
|
|
482
482
|
return binding
|
|
483
483
|
} catch (e) {
|
|
@@ -492,8 +492,8 @@ function requireNative() {
|
|
|
492
492
|
try {
|
|
493
493
|
const binding = require('yellowstone-grpc-napi-openharmony-x64')
|
|
494
494
|
const bindingPackageVersion = require('yellowstone-grpc-napi-openharmony-x64/package.json').version
|
|
495
|
-
if (bindingPackageVersion !== '0.0.
|
|
496
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
495
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
497
497
|
}
|
|
498
498
|
return binding
|
|
499
499
|
} catch (e) {
|
|
@@ -508,8 +508,8 @@ function requireNative() {
|
|
|
508
508
|
try {
|
|
509
509
|
const binding = require('yellowstone-grpc-napi-openharmony-arm')
|
|
510
510
|
const bindingPackageVersion = require('yellowstone-grpc-napi-openharmony-arm/package.json').version
|
|
511
|
-
if (bindingPackageVersion !== '0.0.
|
|
512
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
511
|
+
if (bindingPackageVersion !== '0.0.13' && 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.0.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
513
513
|
}
|
|
514
514
|
return binding
|
|
515
515
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@triton-one/yellowstone-grpc",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Triton One",
|
|
6
6
|
"description": "Yellowstone gRPC Geyser Node.js Client",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@solana/rpc-types": "=5.1.0"
|
|
40
40
|
},
|
|
41
41
|
"optionalDependencies": {
|
|
42
|
-
"@triton-one/yellowstone-grpc-napi-linux-x64-gnu": "0.0.
|
|
43
|
-
"@triton-one/yellowstone-grpc-napi-linux-x64-musl": "0.0.
|
|
44
|
-
"@triton-one/yellowstone-grpc-napi-darwin-arm64": "0.0.
|
|
45
|
-
"@triton-one/yellowstone-grpc-napi-darwin-x64": "0.0.
|
|
42
|
+
"@triton-one/yellowstone-grpc-napi-linux-x64-gnu": "0.0.13",
|
|
43
|
+
"@triton-one/yellowstone-grpc-napi-linux-x64-musl": "0.0.13",
|
|
44
|
+
"@triton-one/yellowstone-grpc-napi-darwin-arm64": "0.0.13",
|
|
45
|
+
"@triton-one/yellowstone-grpc-napi-darwin-x64": "0.0.13"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/core": "^7.28.5",
|