@twin.org/node-core 0.9.2-next.6 → 0.9.2-next.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/es/builders/engineEnvBuilder.js +105 -101
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/builders/helper/envHelpers.js +181 -0
- package/dist/es/builders/helper/envHelpers.js.map +1 -0
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/models/engineEnvironmentVariableKeys.js +20 -4
- package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -1
- package/dist/es/node.js +1 -1
- package/dist/es/node.js.map +1 -1
- package/dist/types/builders/helper/envHelpers.d.ts +80 -0
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +83 -14
- package/docs/changelog.md +14 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +179 -21
- package/locales/en.json +1 -0
- package/package.json +1 -1
|
@@ -268,7 +268,7 @@ MySQL host.
|
|
|
268
268
|
|
|
269
269
|
### mySqlPort? {#mysqlport}
|
|
270
270
|
|
|
271
|
-
> `optional` **mySqlPort?**: `
|
|
271
|
+
> `optional` **mySqlPort?**: `string`
|
|
272
272
|
|
|
273
273
|
MySQL port.
|
|
274
274
|
|
|
@@ -308,7 +308,7 @@ MongoDB host.
|
|
|
308
308
|
|
|
309
309
|
### mongoDbPort? {#mongodbport}
|
|
310
310
|
|
|
311
|
-
> `optional` **mongoDbPort?**: `
|
|
311
|
+
> `optional` **mongoDbPort?**: `string`
|
|
312
312
|
|
|
313
313
|
MongoDB port.
|
|
314
314
|
|
|
@@ -348,7 +348,7 @@ PostgreSQl host.
|
|
|
348
348
|
|
|
349
349
|
### postgreSqlPort? {#postgresqlport}
|
|
350
350
|
|
|
351
|
-
> `optional` **postgreSqlPort?**: `
|
|
351
|
+
> `optional` **postgreSqlPort?**: `string`
|
|
352
352
|
|
|
353
353
|
PostgreSQl port.
|
|
354
354
|
|
|
@@ -1007,14 +1007,30 @@ The index of the wallet address to use, defaults to 0.
|
|
|
1007
1007
|
|
|
1008
1008
|
***
|
|
1009
1009
|
|
|
1010
|
-
###
|
|
1010
|
+
### identityDidResolutionCacheTtl? {#identitydidresolutioncachettl}
|
|
1011
1011
|
|
|
1012
|
-
> `optional` **
|
|
1012
|
+
> `optional` **identityDidResolutionCacheTtl?**: `string`
|
|
1013
1013
|
|
|
1014
1014
|
The TTL in milliseconds for caching resolved DIDs when using the IOTA identity connector. Omit to use the connector default.
|
|
1015
1015
|
|
|
1016
1016
|
***
|
|
1017
1017
|
|
|
1018
|
+
### identityDidResolutionCacheCapacity? {#identitydidresolutioncachecapacity}
|
|
1019
|
+
|
|
1020
|
+
> `optional` **identityDidResolutionCacheCapacity?**: `string`
|
|
1021
|
+
|
|
1022
|
+
The maximum number of DID documents to hold in the resolution cache. Only used when using the IOTA identity connector and caching is enabled.
|
|
1023
|
+
|
|
1024
|
+
***
|
|
1025
|
+
|
|
1026
|
+
### identityDidResolutionCacheMutexTimeout? {#identitydidresolutioncachemutextimeout}
|
|
1027
|
+
|
|
1028
|
+
> `optional` **identityDidResolutionCacheMutexTimeout?**: `string`
|
|
1029
|
+
|
|
1030
|
+
The mutex timeout in milliseconds for the DID resolution cache. Only used when using the IOTA identity connector and caching is enabled.
|
|
1031
|
+
|
|
1032
|
+
***
|
|
1033
|
+
|
|
1018
1034
|
### identityResolverConnector? {#identityresolverconnector}
|
|
1019
1035
|
|
|
1020
1036
|
> `optional` **identityResolverConnector?**: `string`
|
|
@@ -1129,7 +1145,7 @@ The identity verification method id to use with immutable proofs.
|
|
|
1129
1145
|
|
|
1130
1146
|
### immutableProofTaskRetryCount? {#immutableprooftaskretrycount}
|
|
1131
1147
|
|
|
1132
|
-
> `optional` **immutableProofTaskRetryCount?**: `
|
|
1148
|
+
> `optional` **immutableProofTaskRetryCount?**: `string`
|
|
1133
1149
|
|
|
1134
1150
|
The number of times to retry a proof task when it fails, 0 to disable retries.
|
|
1135
1151
|
|
|
@@ -1143,7 +1159,7 @@ The number of times to retry a proof task when it fails, 0 to disable retries.
|
|
|
1143
1159
|
|
|
1144
1160
|
### immutableProofTaskRetryInterval? {#immutableprooftaskretryinterval}
|
|
1145
1161
|
|
|
1146
|
-
> `optional` **immutableProofTaskRetryInterval?**: `
|
|
1162
|
+
> `optional` **immutableProofTaskRetryInterval?**: `string`
|
|
1147
1163
|
|
|
1148
1164
|
The interval in seconds to wait between proof task retries.
|
|
1149
1165
|
|
|
@@ -1157,7 +1173,7 @@ The interval in seconds to wait between proof task retries.
|
|
|
1157
1173
|
|
|
1158
1174
|
### immutableProofTaskFailureRetainFor? {#immutableprooftaskfailureretainfor}
|
|
1159
1175
|
|
|
1160
|
-
> `optional` **immutableProofTaskFailureRetainFor?**: `
|
|
1176
|
+
> `optional` **immutableProofTaskFailureRetainFor?**: `string`
|
|
1161
1177
|
|
|
1162
1178
|
The time in minutes to retain the record of a failed proof task.
|
|
1163
1179
|
Set to -1 to retain failures forever.
|
|
@@ -1170,6 +1186,84 @@ Set to -1 to retain failures forever.
|
|
|
1170
1186
|
|
|
1171
1187
|
***
|
|
1172
1188
|
|
|
1189
|
+
### immutableProofSweepInterval? {#immutableproofsweepinterval}
|
|
1190
|
+
|
|
1191
|
+
> `optional` **immutableProofSweepInterval?**: `string`
|
|
1192
|
+
|
|
1193
|
+
How often in minutes the immutable proof reconciliation sweep runs.
|
|
1194
|
+
|
|
1195
|
+
#### Default
|
|
1196
|
+
|
|
1197
|
+
```ts
|
|
1198
|
+
30
|
|
1199
|
+
```
|
|
1200
|
+
|
|
1201
|
+
***
|
|
1202
|
+
|
|
1203
|
+
### immutableProofSweepStaleThreshold? {#immutableproofsweepstalethreshold}
|
|
1204
|
+
|
|
1205
|
+
> `optional` **immutableProofSweepStaleThreshold?**: `string`
|
|
1206
|
+
|
|
1207
|
+
The minimum age in minutes before a proof with no notarization is considered stuck.
|
|
1208
|
+
|
|
1209
|
+
#### Default
|
|
1210
|
+
|
|
1211
|
+
```ts
|
|
1212
|
+
180
|
|
1213
|
+
```
|
|
1214
|
+
|
|
1215
|
+
***
|
|
1216
|
+
|
|
1217
|
+
### immutableProofSweepMaxAttempts? {#immutableproofsweepmaxattempts}
|
|
1218
|
+
|
|
1219
|
+
> `optional` **immutableProofSweepMaxAttempts?**: `string`
|
|
1220
|
+
|
|
1221
|
+
The number of sweep attempts made before a proof is parked.
|
|
1222
|
+
|
|
1223
|
+
#### Default
|
|
1224
|
+
|
|
1225
|
+
```ts
|
|
1226
|
+
5
|
|
1227
|
+
```
|
|
1228
|
+
|
|
1229
|
+
***
|
|
1230
|
+
|
|
1231
|
+
### immutableProofSweepBatchLimit? {#immutableproofsweepbatchlimit}
|
|
1232
|
+
|
|
1233
|
+
> `optional` **immutableProofSweepBatchLimit?**: `string`
|
|
1234
|
+
|
|
1235
|
+
The maximum number of proofs to re-enqueue per tenant per sweep cycle.
|
|
1236
|
+
|
|
1237
|
+
#### Default
|
|
1238
|
+
|
|
1239
|
+
```ts
|
|
1240
|
+
10
|
|
1241
|
+
```
|
|
1242
|
+
|
|
1243
|
+
***
|
|
1244
|
+
|
|
1245
|
+
### immutableProofSweepBackoff? {#immutableproofsweepbackoff}
|
|
1246
|
+
|
|
1247
|
+
> `optional` **immutableProofSweepBackoff?**: `string`
|
|
1248
|
+
|
|
1249
|
+
The minimum time in minutes between sweep attempts for the same proof.
|
|
1250
|
+
|
|
1251
|
+
#### Default
|
|
1252
|
+
|
|
1253
|
+
```ts
|
|
1254
|
+
60
|
|
1255
|
+
```
|
|
1256
|
+
|
|
1257
|
+
***
|
|
1258
|
+
|
|
1259
|
+
### immutableProofSweepAssumeRetryableBefore? {#immutableproofsweepassumeretryablebefore}
|
|
1260
|
+
|
|
1261
|
+
> `optional` **immutableProofSweepAssumeRetryableBefore?**: `string`
|
|
1262
|
+
|
|
1263
|
+
ISO 8601 date-time used to treat older missing-task proofs as retryable.
|
|
1264
|
+
|
|
1265
|
+
***
|
|
1266
|
+
|
|
1173
1267
|
### attestationConnector? {#attestationconnector}
|
|
1174
1268
|
|
|
1175
1269
|
> `optional` **attestationConnector?**: `string`
|
|
@@ -1431,6 +1525,62 @@ The interval in seconds for cleaning up the activity logs.
|
|
|
1431
1525
|
|
|
1432
1526
|
***
|
|
1433
1527
|
|
|
1528
|
+
### dataspaceAgreementCacheTtl? {#dataspaceagreementcachettl}
|
|
1529
|
+
|
|
1530
|
+
> `optional` **dataspaceAgreementCacheTtl?**: `string`
|
|
1531
|
+
|
|
1532
|
+
The TTL in milliseconds for the dataspace agreement cache.
|
|
1533
|
+
|
|
1534
|
+
***
|
|
1535
|
+
|
|
1536
|
+
### dataspaceAgreementCacheMutexTimeout? {#dataspaceagreementcachemutextimeout}
|
|
1537
|
+
|
|
1538
|
+
> `optional` **dataspaceAgreementCacheMutexTimeout?**: `string`
|
|
1539
|
+
|
|
1540
|
+
The mutex timeout in milliseconds for the dataspace agreement cache.
|
|
1541
|
+
|
|
1542
|
+
***
|
|
1543
|
+
|
|
1544
|
+
### dataspaceRetryCount? {#dataspaceretrycount}
|
|
1545
|
+
|
|
1546
|
+
> `optional` **dataspaceRetryCount?**: `string`
|
|
1547
|
+
|
|
1548
|
+
The number of times to retry failed data plane tasks.
|
|
1549
|
+
|
|
1550
|
+
***
|
|
1551
|
+
|
|
1552
|
+
### dataspacePushRetryCount? {#dataspacepushretrycount}
|
|
1553
|
+
|
|
1554
|
+
> `optional` **dataspacePushRetryCount?**: `string`
|
|
1555
|
+
|
|
1556
|
+
Maximum HTTP retry attempts per push delivery task execution.
|
|
1557
|
+
|
|
1558
|
+
***
|
|
1559
|
+
|
|
1560
|
+
### dataspacePushRetryBaseDelay? {#dataspacepushretrybasedelay}
|
|
1561
|
+
|
|
1562
|
+
> `optional` **dataspacePushRetryBaseDelay?**: `string`
|
|
1563
|
+
|
|
1564
|
+
Base delay in milliseconds for exponential backoff between push HTTP retries.
|
|
1565
|
+
|
|
1566
|
+
***
|
|
1567
|
+
|
|
1568
|
+
### dataspacePushTimeout? {#dataspacepushtimeout}
|
|
1569
|
+
|
|
1570
|
+
> `optional` **dataspacePushTimeout?**: `string`
|
|
1571
|
+
|
|
1572
|
+
Timeout in milliseconds for each push delivery HTTP POST request.
|
|
1573
|
+
|
|
1574
|
+
***
|
|
1575
|
+
|
|
1576
|
+
### dataspacePushSubscriptionCleanupInterval? {#dataspacepushsubscriptioncleanupinterval}
|
|
1577
|
+
|
|
1578
|
+
> `optional` **dataspacePushSubscriptionCleanupInterval?**: `string`
|
|
1579
|
+
|
|
1580
|
+
Interval in milliseconds between orphaned push subscription cleanup scans.
|
|
1581
|
+
|
|
1582
|
+
***
|
|
1583
|
+
|
|
1434
1584
|
### dataspaceDataPlanePath? {#dataspacedataplanepath}
|
|
1435
1585
|
|
|
1436
1586
|
> `optional` **dataspaceDataPlanePath?**: `string`
|
|
@@ -1494,6 +1644,22 @@ progressing it before it is treated as timed out.
|
|
|
1494
1644
|
|
|
1495
1645
|
***
|
|
1496
1646
|
|
|
1647
|
+
### dataspaceProviderTransferIdleTimeout? {#dataspaceprovidertransferidletimeout}
|
|
1648
|
+
|
|
1649
|
+
> `optional` **dataspaceProviderTransferIdleTimeout?**: `string`
|
|
1650
|
+
|
|
1651
|
+
How long in seconds a provider transfer may stay idle before the idle policy marks it as stalled.
|
|
1652
|
+
|
|
1653
|
+
***
|
|
1654
|
+
|
|
1655
|
+
### dataspaceProviderTransferPolicySweepInterval? {#dataspaceprovidertransferpolicysweepinterval}
|
|
1656
|
+
|
|
1657
|
+
> `optional` **dataspaceProviderTransferPolicySweepInterval?**: `string`
|
|
1658
|
+
|
|
1659
|
+
How frequently in seconds the provider idle transfer policy sweep runs.
|
|
1660
|
+
|
|
1661
|
+
***
|
|
1662
|
+
|
|
1497
1663
|
### dataspaceCallbackPath? {#dataspacecallbackpath}
|
|
1498
1664
|
|
|
1499
1665
|
> `optional` **dataspaceCallbackPath?**: `string`
|
|
@@ -1552,9 +1718,9 @@ values: fetch
|
|
|
1552
1718
|
|
|
1553
1719
|
***
|
|
1554
1720
|
|
|
1555
|
-
###
|
|
1721
|
+
### mutexTimeoutDefault? {#mutextimeoutdefault}
|
|
1556
1722
|
|
|
1557
|
-
> `optional` **
|
|
1723
|
+
> `optional` **mutexTimeoutDefault?**: `string`
|
|
1558
1724
|
|
|
1559
1725
|
The default mutex timeout in milliseconds, used when no component-specific timeout is set, defaults to 5000 if omitted.
|
|
1560
1726
|
|
|
@@ -1600,19 +1766,11 @@ The mutex timeout in milliseconds for the logging component.
|
|
|
1600
1766
|
|
|
1601
1767
|
***
|
|
1602
1768
|
|
|
1603
|
-
###
|
|
1604
|
-
|
|
1605
|
-
> `optional` **entityStorageMemoryMutexTimeout?**: `string`
|
|
1606
|
-
|
|
1607
|
-
The mutex timeout in milliseconds for the memory entity storage connector.
|
|
1608
|
-
|
|
1609
|
-
***
|
|
1610
|
-
|
|
1611
|
-
### entityStorageFileMutexTimeout? {#entitystoragefilemutextimeout}
|
|
1769
|
+
### entityStorageMutexTimeout? {#entitystoragemutextimeout}
|
|
1612
1770
|
|
|
1613
|
-
> `optional` **
|
|
1771
|
+
> `optional` **entityStorageMutexTimeout?**: `string`
|
|
1614
1772
|
|
|
1615
|
-
The mutex timeout in milliseconds for the file entity storage
|
|
1773
|
+
The mutex timeout in milliseconds for the memory and file entity storage connectors.
|
|
1616
1774
|
|
|
1617
1775
|
***
|
|
1618
1776
|
|
package/locales/en.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
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
20
|
"bootstrapDev": {
|