@twin.org/node-core 0.9.2-next.1 → 0.9.2-next.10

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.
Files changed (53) hide show
  1. package/dist/es/builders/engineEnvBuilder.js +190 -104
  2. package/dist/es/builders/engineEnvBuilder.js.map +1 -1
  3. package/dist/es/builders/engineServerEnvBuilder.js +2 -12
  4. package/dist/es/builders/engineServerEnvBuilder.js.map +1 -1
  5. package/dist/es/builders/helper/envHelpers.js +173 -0
  6. package/dist/es/builders/helper/envHelpers.js.map +1 -0
  7. package/dist/es/cli.js +2 -2
  8. package/dist/es/cli.js.map +1 -1
  9. package/dist/es/commands/{bootstrapLegacy.js → bootstrapDev.js} +25 -24
  10. package/dist/es/commands/bootstrapDev.js.map +1 -0
  11. package/dist/es/commands/identityCreate.js +4 -26
  12. package/dist/es/commands/identityCreate.js.map +1 -1
  13. package/dist/es/commands/identityImports.js +2 -1
  14. package/dist/es/commands/identityImports.js.map +1 -1
  15. package/dist/es/index.js +1 -1
  16. package/dist/es/index.js.map +1 -1
  17. package/dist/es/models/{IBootstrapLegacyEnvironmentVariables.js → IBootstrapDevEnvironmentVariables.js} +1 -1
  18. package/dist/es/models/IBootstrapDevEnvironmentVariables.js.map +1 -0
  19. package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
  20. package/dist/es/models/IEnvironmentVariables.js.map +1 -1
  21. package/dist/es/models/{bootstrapLegacyEnvironmentVariableKeys.js → bootstrapDevEnvironmentVariableKeys.js} +6 -6
  22. package/dist/es/models/bootstrapDevEnvironmentVariableKeys.js.map +1 -0
  23. package/dist/es/models/engineEnvironmentVariableKeys.js +48 -4
  24. package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -1
  25. package/dist/es/models/engineServerEnvironmentVariableKeys.js +3 -3
  26. package/dist/es/models/engineServerEnvironmentVariableKeys.js.map +1 -1
  27. package/dist/es/models/nodeEnvironmentVariableKeys.js +1 -1
  28. package/dist/es/models/nodeEnvironmentVariableKeys.js.map +1 -1
  29. package/dist/es/node.js +4 -4
  30. package/dist/es/node.js.map +1 -1
  31. package/dist/types/builders/helper/envHelpers.d.ts +81 -0
  32. package/dist/types/commands/{bootstrapLegacy.d.ts → bootstrapDev.d.ts} +3 -3
  33. package/dist/types/index.d.ts +1 -1
  34. package/dist/types/models/{IBootstrapLegacyEnvironmentVariables.d.ts → IBootstrapDevEnvironmentVariables.d.ts} +2 -2
  35. package/dist/types/models/IEngineEnvironmentVariables.d.ts +194 -13
  36. package/dist/types/models/IEnvironmentVariables.d.ts +2 -2
  37. package/dist/types/models/bootstrapDevEnvironmentVariableKeys.d.ts +4 -0
  38. package/dist/types/node.d.ts +1 -1
  39. package/docs/changelog.md +65 -0
  40. package/docs/reference/functions/buildConfiguration.md +2 -2
  41. package/docs/reference/functions/buildEngineServerConfiguration.md +1 -1
  42. package/docs/reference/functions/run.md +1 -1
  43. package/docs/reference/functions/start.md +1 -1
  44. package/docs/reference/index.md +1 -1
  45. package/docs/reference/interfaces/{IBootstrapLegacyEnvironmentVariables.md → IBootstrapDevEnvironmentVariables.md} +2 -2
  46. package/docs/reference/interfaces/IEngineEnvironmentVariables.md +413 -20
  47. package/docs/reference/type-aliases/IEnvironmentVariables.md +1 -1
  48. package/locales/en.json +6 -5
  49. package/package.json +11 -4
  50. package/dist/es/commands/bootstrapLegacy.js.map +0 -1
  51. package/dist/es/models/IBootstrapLegacyEnvironmentVariables.js.map +0 -1
  52. package/dist/es/models/bootstrapLegacyEnvironmentVariableKeys.js.map +0 -1
  53. package/dist/types/models/bootstrapLegacyEnvironmentVariableKeys.d.ts +0 -4
@@ -258,6 +258,22 @@ ScyllaDB port.
258
258
 
259
259
  ***
260
260
 
261
+ ### scylladbPoolCoreConnectionsPerHost? {#scylladbpoolcoreconnectionsperhost}
262
+
263
+ > `optional` **scylladbPoolCoreConnectionsPerHost?**: `string`
264
+
265
+ ScyllaDB connection pool: number of connections per local host.
266
+
267
+ ***
268
+
269
+ ### scylladbPoolMaxRequestsPerConnection? {#scylladbpoolmaxrequestsperconnection}
270
+
271
+ > `optional` **scylladbPoolMaxRequestsPerConnection?**: `string`
272
+
273
+ ScyllaDB connection pool: maximum requests per connection.
274
+
275
+ ***
276
+
261
277
  ### mySqlHost? {#mysqlhost}
262
278
 
263
279
  > `optional` **mySqlHost?**: `string`
@@ -268,7 +284,7 @@ MySQL host.
268
284
 
269
285
  ### mySqlPort? {#mysqlport}
270
286
 
271
- > `optional` **mySqlPort?**: `number`
287
+ > `optional` **mySqlPort?**: `string`
272
288
 
273
289
  MySQL port.
274
290
 
@@ -298,6 +314,54 @@ MySQL Database.
298
314
 
299
315
  ***
300
316
 
317
+ ### mySqlPoolConnectionLimit? {#mysqlpoolconnectionlimit}
318
+
319
+ > `optional` **mySqlPoolConnectionLimit?**: `string`
320
+
321
+ MySQL connection pool: maximum number of connections.
322
+
323
+ ***
324
+
325
+ ### mySqlPoolMaxIdle? {#mysqlpoolmaxidle}
326
+
327
+ > `optional` **mySqlPoolMaxIdle?**: `string`
328
+
329
+ MySQL connection pool: maximum number of idle connections.
330
+
331
+ ***
332
+
333
+ ### mySqlPoolIdleTimeout? {#mysqlpoolidletimeout}
334
+
335
+ > `optional` **mySqlPoolIdleTimeout?**: `string`
336
+
337
+ MySQL connection pool: milliseconds before an idle connection is removed.
338
+
339
+ ***
340
+
341
+ ### mySqlPoolEnableKeepAlive? {#mysqlpoolenablekeepalive}
342
+
343
+ > `optional` **mySqlPoolEnableKeepAlive?**: `string`
344
+
345
+ MySQL connection pool: enable TCP keep-alive.
346
+
347
+ ***
348
+
349
+ ### mySqlPoolWaitForConnections? {#mysqlpoolwaitforconnections}
350
+
351
+ > `optional` **mySqlPoolWaitForConnections?**: `string`
352
+
353
+ MySQL connection pool: wait for a connection when pool is full.
354
+
355
+ ***
356
+
357
+ ### mySqlPoolQueueLimit? {#mysqlpoolqueuelimit}
358
+
359
+ > `optional` **mySqlPoolQueueLimit?**: `string`
360
+
361
+ MySQL connection pool: maximum queued requests (0 = unlimited).
362
+
363
+ ***
364
+
301
365
  ### mongoDbHost? {#mongodbhost}
302
366
 
303
367
  > `optional` **mongoDbHost?**: `string`
@@ -308,7 +372,7 @@ MongoDB host.
308
372
 
309
373
  ### mongoDbPort? {#mongodbport}
310
374
 
311
- > `optional` **mongoDbPort?**: `number`
375
+ > `optional` **mongoDbPort?**: `string`
312
376
 
313
377
  MongoDB port.
314
378
 
@@ -338,6 +402,38 @@ MongoDB Database.
338
402
 
339
403
  ***
340
404
 
405
+ ### mongoDbPoolMaxPoolSize? {#mongodbpoolmaxpoolsize}
406
+
407
+ > `optional` **mongoDbPoolMaxPoolSize?**: `string`
408
+
409
+ MongoDB connection pool: maximum number of connections.
410
+
411
+ ***
412
+
413
+ ### mongoDbPoolMinPoolSize? {#mongodbpoolminpoolsize}
414
+
415
+ > `optional` **mongoDbPoolMinPoolSize?**: `string`
416
+
417
+ MongoDB connection pool: minimum number of connections to maintain.
418
+
419
+ ***
420
+
421
+ ### mongoDbPoolMaxIdleTime? {#mongodbpoolmaxidletime}
422
+
423
+ > `optional` **mongoDbPoolMaxIdleTime?**: `string`
424
+
425
+ MongoDB connection pool: milliseconds a connection can remain idle before removal.
426
+
427
+ ***
428
+
429
+ ### mongoDbPoolWaitQueueTimeout? {#mongodbpoolwaitqueuetimeout}
430
+
431
+ > `optional` **mongoDbPoolWaitQueueTimeout?**: `string`
432
+
433
+ MongoDB connection pool: milliseconds to wait for a connection before throwing.
434
+
435
+ ***
436
+
341
437
  ### postgreSqlHost? {#postgresqlhost}
342
438
 
343
439
  > `optional` **postgreSqlHost?**: `string`
@@ -348,7 +444,7 @@ PostgreSQl host.
348
444
 
349
445
  ### postgreSqlPort? {#postgresqlport}
350
446
 
351
- > `optional` **postgreSqlPort?**: `number`
447
+ > `optional` **postgreSqlPort?**: `string`
352
448
 
353
449
  PostgreSQl port.
354
450
 
@@ -378,6 +474,38 @@ PostgreSQl Database.
378
474
 
379
475
  ***
380
476
 
477
+ ### postgreSqlPoolMax? {#postgresqlpoolmax}
478
+
479
+ > `optional` **postgreSqlPoolMax?**: `string`
480
+
481
+ PostgreSQL connection pool: maximum number of connections.
482
+
483
+ ***
484
+
485
+ ### postgreSqlPoolIdleTimeout? {#postgresqlpoolidletimeout}
486
+
487
+ > `optional` **postgreSqlPoolIdleTimeout?**: `string`
488
+
489
+ PostgreSQL connection pool: seconds a connection can remain idle before being closed.
490
+
491
+ ***
492
+
493
+ ### postgreSqlPoolConnectTimeout? {#postgresqlpoolconnecttimeout}
494
+
495
+ > `optional` **postgreSqlPoolConnectTimeout?**: `string`
496
+
497
+ PostgreSQL connection pool: seconds to wait when establishing a connection.
498
+
499
+ ***
500
+
501
+ ### postgreSqlPoolMaxLifetime? {#postgresqlpoolmaxlifetime}
502
+
503
+ > `optional` **postgreSqlPoolMaxLifetime?**: `string`
504
+
505
+ PostgreSQL connection pool: maximum seconds a connection can remain open.
506
+
507
+ ***
508
+
381
509
  ### ipfsBearerToken? {#ipfsbearertoken}
382
510
 
383
511
  > `optional` **ipfsBearerToken?**: `string`
@@ -583,7 +711,7 @@ Hashicorp Vault endpoint.
583
711
 
584
712
  > `optional` **loggingConnector?**: `string`
585
713
 
586
- The type of logging task connector, can be a comma separated list: console, entity-storage, otel, file.
714
+ The type of logging task connector, can be a comma separated list: console, entity-storage, open-telemetry, file.
587
715
 
588
716
  ***
589
717
 
@@ -895,6 +1023,62 @@ Maximum number of values retained per telemetry metric (count-based history cap)
895
1023
 
896
1024
  ***
897
1025
 
1026
+ ### telemetryMutexTimeout? {#telemetrymutextimeout}
1027
+
1028
+ > `optional` **telemetryMutexTimeout?**: `string`
1029
+
1030
+ The mutex timeout in milliseconds for the telemetry connector.
1031
+
1032
+ ***
1033
+
1034
+ ### tracingConnector? {#tracingconnector}
1035
+
1036
+ > `optional` **tracingConnector?**: `string`
1037
+
1038
+ The type of tracing connector: entity-storage, open-telemetry.
1039
+
1040
+ ***
1041
+
1042
+ ### openTelemetryTracingTracerName? {#opentelemetrytracingtracername}
1043
+
1044
+ > `optional` **openTelemetryTracingTracerName?**: `string`
1045
+
1046
+ The name of the Open Telemetry tracer to use, only required if using open-telemetry as tracing connector, defaults to twin-node.
1047
+
1048
+ ***
1049
+
1050
+ ### openTelemetryTracingTracerVersion? {#opentelemetrytracingtracerversion}
1051
+
1052
+ > `optional` **openTelemetryTracingTracerVersion?**: `string`
1053
+
1054
+ The version of the Open Telemetry tracing specification to use, only required if using open-telemetry as tracing connector, defaults to 1.0.0.
1055
+
1056
+ ***
1057
+
1058
+ ### openTelemetryTracingEndpoint? {#opentelemetrytracingendpoint}
1059
+
1060
+ > `optional` **openTelemetryTracingEndpoint?**: `string`
1061
+
1062
+ The OTLP HTTP endpoint to push spans to, e.g. http://localhost:4318/v1/traces. Required when using open-telemetry as tracing connector.
1063
+
1064
+ ***
1065
+
1066
+ ### openTelemetryTracingProcessor? {#opentelemetrytracingprocessor}
1067
+
1068
+ > `optional` **openTelemetryTracingProcessor?**: `string`
1069
+
1070
+ The span processor: batch (default) or simple. Only used when TWIN_TRACING_CONNECTOR=open-telemetry.
1071
+
1072
+ ***
1073
+
1074
+ ### tracingMutexTimeout? {#tracingmutextimeout}
1075
+
1076
+ > `optional` **tracingMutexTimeout?**: `string`
1077
+
1078
+ The mutex timeout in milliseconds for the tracing connector.
1079
+
1080
+ ***
1081
+
898
1082
  ### faucetConnector? {#faucetconnector}
899
1083
 
900
1084
  > `optional` **faucetConnector?**: `string`
@@ -951,14 +1135,30 @@ The index of the wallet address to use, defaults to 0.
951
1135
 
952
1136
  ***
953
1137
 
954
- ### identityDidResolutionCacheTtlMs? {#identitydidresolutioncachettlms}
1138
+ ### identityDidResolutionCacheTtl? {#identitydidresolutioncachettl}
955
1139
 
956
- > `optional` **identityDidResolutionCacheTtlMs?**: `string`
1140
+ > `optional` **identityDidResolutionCacheTtl?**: `string`
957
1141
 
958
1142
  The TTL in milliseconds for caching resolved DIDs when using the IOTA identity connector. Omit to use the connector default.
959
1143
 
960
1144
  ***
961
1145
 
1146
+ ### identityDidResolutionCacheCapacity? {#identitydidresolutioncachecapacity}
1147
+
1148
+ > `optional` **identityDidResolutionCacheCapacity?**: `string`
1149
+
1150
+ The maximum number of DID documents to hold in the resolution cache. Only used when using the IOTA identity connector and caching is enabled.
1151
+
1152
+ ***
1153
+
1154
+ ### identityDidResolutionCacheMutexTimeout? {#identitydidresolutioncachemutextimeout}
1155
+
1156
+ > `optional` **identityDidResolutionCacheMutexTimeout?**: `string`
1157
+
1158
+ The mutex timeout in milliseconds for the DID resolution cache. Only used when using the IOTA identity connector and caching is enabled.
1159
+
1160
+ ***
1161
+
962
1162
  ### identityResolverConnector? {#identityresolverconnector}
963
1163
 
964
1164
  > `optional` **identityResolverConnector?**: `string`
@@ -1071,6 +1271,127 @@ The identity verification method id to use with immutable proofs.
1071
1271
 
1072
1272
  ***
1073
1273
 
1274
+ ### immutableProofTaskRetryCount? {#immutableprooftaskretrycount}
1275
+
1276
+ > `optional` **immutableProofTaskRetryCount?**: `string`
1277
+
1278
+ The number of times to retry a proof task when it fails, 0 to disable retries.
1279
+
1280
+ #### Default
1281
+
1282
+ ```ts
1283
+ 5
1284
+ ```
1285
+
1286
+ ***
1287
+
1288
+ ### immutableProofTaskRetryInterval? {#immutableprooftaskretryinterval}
1289
+
1290
+ > `optional` **immutableProofTaskRetryInterval?**: `string`
1291
+
1292
+ The interval in seconds to wait between proof task retries.
1293
+
1294
+ #### Default
1295
+
1296
+ ```ts
1297
+ 5
1298
+ ```
1299
+
1300
+ ***
1301
+
1302
+ ### immutableProofTaskFailureRetainFor? {#immutableprooftaskfailureretainfor}
1303
+
1304
+ > `optional` **immutableProofTaskFailureRetainFor?**: `string`
1305
+
1306
+ The time in minutes to retain the record of a failed proof task.
1307
+ Set to -1 to retain failures forever.
1308
+
1309
+ #### Default
1310
+
1311
+ ```ts
1312
+ 10080
1313
+ ```
1314
+
1315
+ ***
1316
+
1317
+ ### immutableProofSweepInterval? {#immutableproofsweepinterval}
1318
+
1319
+ > `optional` **immutableProofSweepInterval?**: `string`
1320
+
1321
+ How often in minutes the immutable proof reconciliation sweep runs.
1322
+
1323
+ #### Default
1324
+
1325
+ ```ts
1326
+ 30
1327
+ ```
1328
+
1329
+ ***
1330
+
1331
+ ### immutableProofSweepStaleThreshold? {#immutableproofsweepstalethreshold}
1332
+
1333
+ > `optional` **immutableProofSweepStaleThreshold?**: `string`
1334
+
1335
+ The minimum age in minutes before a proof with no notarization is considered stuck.
1336
+
1337
+ #### Default
1338
+
1339
+ ```ts
1340
+ 180
1341
+ ```
1342
+
1343
+ ***
1344
+
1345
+ ### immutableProofSweepMaxAttempts? {#immutableproofsweepmaxattempts}
1346
+
1347
+ > `optional` **immutableProofSweepMaxAttempts?**: `string`
1348
+
1349
+ The number of sweep attempts made before a proof is parked.
1350
+
1351
+ #### Default
1352
+
1353
+ ```ts
1354
+ 5
1355
+ ```
1356
+
1357
+ ***
1358
+
1359
+ ### immutableProofSweepBatchLimit? {#immutableproofsweepbatchlimit}
1360
+
1361
+ > `optional` **immutableProofSweepBatchLimit?**: `string`
1362
+
1363
+ The maximum number of proofs to re-enqueue per tenant per sweep cycle.
1364
+
1365
+ #### Default
1366
+
1367
+ ```ts
1368
+ 10
1369
+ ```
1370
+
1371
+ ***
1372
+
1373
+ ### immutableProofSweepBackoff? {#immutableproofsweepbackoff}
1374
+
1375
+ > `optional` **immutableProofSweepBackoff?**: `string`
1376
+
1377
+ The minimum time in minutes between sweep attempts for the same proof.
1378
+
1379
+ #### Default
1380
+
1381
+ ```ts
1382
+ 60
1383
+ ```
1384
+
1385
+ ***
1386
+
1387
+ ### immutableProofSweepAssumeRetryableBefore? {#immutableproofsweepassumeretryablebefore}
1388
+
1389
+ > `optional` **immutableProofSweepAssumeRetryableBefore?**: `string`
1390
+
1391
+ ISO 8601 date-time used to treat older missing-task proofs as retryable.
1392
+
1393
+ ***
1394
+
1074
1395
  ### attestationConnector? {#attestationconnector}
1075
1396
 
1076
1397
  > `optional` **attestationConnector?**: `string`
@@ -1332,6 +1653,62 @@ The interval in seconds for cleaning up the activity logs.
1332
1653
 
1333
1654
  ***
1334
1655
 
1656
+ ### dataspaceAgreementCacheTtl? {#dataspaceagreementcachettl}
1657
+
1658
+ > `optional` **dataspaceAgreementCacheTtl?**: `string`
1659
+
1660
+ The TTL in milliseconds for the dataspace agreement cache.
1661
+
1662
+ ***
1663
+
1664
+ ### dataspaceAgreementCacheMutexTimeout? {#dataspaceagreementcachemutextimeout}
1665
+
1666
+ > `optional` **dataspaceAgreementCacheMutexTimeout?**: `string`
1667
+
1668
+ The mutex timeout in milliseconds for the dataspace agreement cache.
1669
+
1670
+ ***
1671
+
1672
+ ### dataspaceRetryCount? {#dataspaceretrycount}
1673
+
1674
+ > `optional` **dataspaceRetryCount?**: `string`
1675
+
1676
+ The number of times to retry failed data plane tasks.
1677
+
1678
+ ***
1679
+
1680
+ ### dataspacePushRetryCount? {#dataspacepushretrycount}
1681
+
1682
+ > `optional` **dataspacePushRetryCount?**: `string`
1683
+
1684
+ Maximum HTTP retry attempts per push delivery task execution.
1685
+
1686
+ ***
1687
+
1688
+ ### dataspacePushRetryBaseDelay? {#dataspacepushretrybasedelay}
1689
+
1690
+ > `optional` **dataspacePushRetryBaseDelay?**: `string`
1691
+
1692
+ Base delay in milliseconds for exponential backoff between push HTTP retries.
1693
+
1694
+ ***
1695
+
1696
+ ### dataspacePushTimeout? {#dataspacepushtimeout}
1697
+
1698
+ > `optional` **dataspacePushTimeout?**: `string`
1699
+
1700
+ Timeout in milliseconds for each push delivery HTTP POST request.
1701
+
1702
+ ***
1703
+
1704
+ ### dataspacePushSubscriptionCleanupInterval? {#dataspacepushsubscriptioncleanupinterval}
1705
+
1706
+ > `optional` **dataspacePushSubscriptionCleanupInterval?**: `string`
1707
+
1708
+ Interval in milliseconds between orphaned push subscription cleanup scans.
1709
+
1710
+ ***
1711
+
1335
1712
  ### dataspaceDataPlanePath? {#dataspacedataplanepath}
1336
1713
 
1337
1714
  > `optional` **dataspaceDataPlanePath?**: `string`
@@ -1341,7 +1718,7 @@ Combined with the public origin to form the `dataAddress.endpoint` sent to PULL
1341
1718
  and the inbox URL sent to PUSH providers.
1342
1719
 
1343
1720
  This must be the mount-point prefix of the data plane routes, NOT a specific route path.
1344
- Do NOT append sub-paths such as `/entities` or `/inbox` those are appended automatically
1721
+ Do NOT append sub-paths such as `/entities` or `/inbox` - those are appended automatically
1345
1722
  by each transfer handler and by the data plane REST client.
1346
1723
 
1347
1724
  REQUIRED if PULL or PUSH transfers are supported.
@@ -1395,6 +1772,22 @@ progressing it before it is treated as timed out.
1395
1772
 
1396
1773
  ***
1397
1774
 
1775
+ ### dataspaceProviderTransferIdleTimeout? {#dataspaceprovidertransferidletimeout}
1776
+
1777
+ > `optional` **dataspaceProviderTransferIdleTimeout?**: `string`
1778
+
1779
+ How long in seconds a provider transfer may stay idle before the idle policy marks it as stalled.
1780
+
1781
+ ***
1782
+
1783
+ ### dataspaceProviderTransferPolicySweepInterval? {#dataspaceprovidertransferpolicysweepinterval}
1784
+
1785
+ > `optional` **dataspaceProviderTransferPolicySweepInterval?**: `string`
1786
+
1787
+ How frequently in seconds the provider idle transfer policy sweep runs.
1788
+
1789
+ ***
1790
+
1398
1791
  ### dataspaceCallbackPath? {#dataspacecallbackpath}
1399
1792
 
1400
1793
  > `optional` **dataspaceCallbackPath?**: `string`
@@ -1436,6 +1829,14 @@ This allows components that take a long time to initialize to be healthy before
1436
1829
 
1437
1830
  ***
1438
1831
 
1832
+ ### healthApplicationInterval? {#healthapplicationinterval}
1833
+
1834
+ > `optional` **healthApplicationInterval?**: `string`
1835
+
1836
+ The interval in seconds for running the application health lifecycle (init, application, teardown), defaults to 300.
1837
+
1838
+ ***
1839
+
1439
1840
  ### automationActionTypes? {#automationactiontypes}
1440
1841
 
1441
1842
  > `optional` **automationActionTypes?**: `string`
@@ -1445,9 +1846,9 @@ values: fetch
1445
1846
 
1446
1847
  ***
1447
1848
 
1448
- ### mutexTimeoutMsDefault? {#mutextimeoutmsdefault}
1849
+ ### mutexTimeoutDefault? {#mutextimeoutdefault}
1449
1850
 
1450
- > `optional` **mutexTimeoutMsDefault?**: `string`
1851
+ > `optional` **mutexTimeoutDefault?**: `string`
1451
1852
 
1452
1853
  The default mutex timeout in milliseconds, used when no component-specific timeout is set, defaults to 5000 if omitted.
1453
1854
 
@@ -1493,19 +1894,11 @@ The mutex timeout in milliseconds for the logging component.
1493
1894
 
1494
1895
  ***
1495
1896
 
1496
- ### entityStorageMemoryMutexTimeout? {#entitystoragememorymutextimeout}
1497
-
1498
- > `optional` **entityStorageMemoryMutexTimeout?**: `string`
1499
-
1500
- The mutex timeout in milliseconds for the memory entity storage connector.
1501
-
1502
- ***
1503
-
1504
- ### entityStorageFileMutexTimeout? {#entitystoragefilemutextimeout}
1897
+ ### entityStorageMutexTimeout? {#entitystoragemutextimeout}
1505
1898
 
1506
- > `optional` **entityStorageFileMutexTimeout?**: `string`
1899
+ > `optional` **entityStorageMutexTimeout?**: `string`
1507
1900
 
1508
- The mutex timeout in milliseconds for the file entity storage connector.
1901
+ The mutex timeout in milliseconds for the memory and file entity storage connectors.
1509
1902
 
1510
1903
  ***
1511
1904
 
@@ -1,5 +1,5 @@
1
1
  # Type Alias: IEnvironmentVariables
2
2
 
3
- > **IEnvironmentVariables** = [`IBootstrapLegacyEnvironmentVariables`](../interfaces/IBootstrapLegacyEnvironmentVariables.md) & [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md) & [`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md) & [`IEngineServerEnvironmentVariables`](../interfaces/IEngineServerEnvironmentVariables.md)
3
+ > **IEnvironmentVariables** = [`IBootstrapDevEnvironmentVariables`](../interfaces/IBootstrapDevEnvironmentVariables.md) & [`INodeEnvironmentVariables`](../interfaces/INodeEnvironmentVariables.md) & [`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md) & [`IEngineServerEnvironmentVariables`](../interfaces/IEngineServerEnvironmentVariables.md)
4
4
 
5
5
  The environment variables.
package/locales/en.json CHANGED
@@ -14,10 +14,11 @@
14
14
  "cliCommandParamMissing": "Parameter \"{param}\" is required for command \"{command}\"",
15
15
  "cliCommandParamExtra": "Parameter(s) \"{params}\" are not recognised for command \"{command}\"",
16
16
  "cliEnvVarMissing": "Environment variable \"{envVar}\" does not exist",
17
+ "invalidEnvVarValue": "Environment variable \"{key}\" has an invalid value \"{value}\", expected {type} type",
17
18
  "unknownEnvVars": "Unknown environment variable properties [{keys}]. Check for typos in variable names, for custom variables use the {prefix}ENV_ALLOW_LIST."
18
19
  },
19
- "bootstrapLegacy": {
20
- "noFeaturesEnabled": "No features are enabled in legacy bootstrap mode, at least one feature must be enabled.",
20
+ "bootstrapDev": {
21
+ "noFeaturesEnabled": "No features are enabled, at least one feature must be enabled.",
21
22
  "organizationNotSet": "The organisation identity has not been set. Run \"node-org-id-set\"."
22
23
  },
23
24
  "identityCreate": {
@@ -129,9 +130,9 @@
129
130
  "singleTenantOnly": "single-tenant only"
130
131
  }
131
132
  },
132
- "bootstrap-legacy": {
133
- "description": "Bootstrap in legacy mode for backwards compatibility, **will be deprecated in future versions**",
134
- "example": "bootstrap-legacy --load-env=\"./.env.bootstrap-legacy\"",
133
+ "bootstrap-dev": {
134
+ "description": "Bootstrap the development environment",
135
+ "example": "bootstrap-dev --load-env=\"./.env.bootstrap-dev\"",
135
136
  "params": {
136
137
  "env-prefix": {
137
138
  "description": "Prefix to use for standard .env files e.g. TWIN_."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node-core",
3
- "version": "0.9.2-next.1",
3
+ "version": "0.9.2-next.10",
4
4
  "description": "TWIN Node Core for serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,13 +14,17 @@
14
14
  "node": ">=24.0.0"
15
15
  },
16
16
  "dependencies": {
17
+ "@twin.org/api-auth-entity-storage-models": "next",
17
18
  "@twin.org/api-auth-entity-storage-service": "next",
19
+ "@twin.org/api-models": "next",
18
20
  "@twin.org/api-tenant-processor": "next",
19
21
  "@twin.org/cli-core": "next",
20
22
  "@twin.org/context": "next",
21
23
  "@twin.org/core": "next",
22
24
  "@twin.org/crypto": "next",
23
- "@twin.org/dataspace-models": "next",
25
+ "@twin.org/data-json-ld": "next",
26
+ "@twin.org/dlt-account": "next",
27
+ "@twin.org/dlt-iota": "next",
24
28
  "@twin.org/engine": "next",
25
29
  "@twin.org/engine-core": "next",
26
30
  "@twin.org/engine-models": "next",
@@ -29,16 +33,19 @@
29
33
  "@twin.org/engine-types": "next",
30
34
  "@twin.org/entity": "next",
31
35
  "@twin.org/entity-storage-models": "next",
36
+ "@twin.org/identity-connector-entity-storage": "next",
32
37
  "@twin.org/identity-models": "next",
33
38
  "@twin.org/logging-connector-opentelemetry": "next",
34
39
  "@twin.org/modules": "next",
40
+ "@twin.org/nameof": "next",
35
41
  "@twin.org/standards-w3c-did": "next",
36
42
  "@twin.org/standards-w3c-odrl": "next",
37
43
  "@twin.org/telemetry-connector-opentelemetry": "next",
38
- "@twin.org/telemetry-models": "next",
39
- "@twin.org/trust-models": "next",
44
+ "@twin.org/tracing-connector-opentelemetry": "next",
40
45
  "@twin.org/vault-models": "next",
46
+ "@twin.org/wallet-connector-entity-storage": "next",
41
47
  "@twin.org/wallet-models": "next",
48
+ "@twin.org/web": "next",
42
49
  "dotenv": "17.4.2",
43
50
  "schema-dts": "2.0.0"
44
51
  },