@twin.org/node 0.9.4-next.1 → 0.9.4-next.3
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/locales/en.json +35 -5
- package/docs/changelog.md +28 -0
- package/docs/open-api/spec.json +34 -4
- package/package.json +2 -2
package/dist/locales/en.json
CHANGED
|
@@ -394,7 +394,9 @@
|
|
|
394
394
|
"migrationHelper": {
|
|
395
395
|
"migrateSchemaFailed": "Migration failed for schema \"{schemaName}\".",
|
|
396
396
|
"transformRequiredForProperty": "A transformation function is required to migrate property \"{from}\" to \"{to}\" of type \"{type}\"",
|
|
397
|
-
"coercionProducedUndefined": "Coercion of property \"{property}\" to type \"{type}\" produced undefined but the property is not optional"
|
|
397
|
+
"coercionProducedUndefined": "Coercion of property \"{property}\" to type \"{type}\" produced undefined but the property is not optional",
|
|
398
|
+
"connectorBootstrapFailed": "Connector \"{className}\" failed to bootstrap storage for schema \"{schemaName}\"",
|
|
399
|
+
"maxIdentifierLengthTooSmall": "The maximum identifier length {maxIdentifierLength} must be at least {minimum} to fit the migration name suffix"
|
|
398
400
|
},
|
|
399
401
|
"vaultConnectorHelper": {
|
|
400
402
|
"invalidSignature": "The JSON Web token signature could not be verified"
|
|
@@ -556,6 +558,10 @@
|
|
|
556
558
|
"spanHelper": {
|
|
557
559
|
"traceFlagsOutOfRange": "The trace flags value \"{traceFlags}\" is outside the valid range 0 to 255"
|
|
558
560
|
},
|
|
561
|
+
"tracingHelper": {
|
|
562
|
+
"startSpanFailed": "The span \"{name}\" could not be started, so the operation was not traced",
|
|
563
|
+
"endSpanFailed": "The span \"{name}\" could not be ended"
|
|
564
|
+
},
|
|
559
565
|
"auditableItemGraphService": {
|
|
560
566
|
"namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the Auditable Item Graph service \"{namespace}\"",
|
|
561
567
|
"createFailed": "Creating the Auditable Item Graph vertex failed",
|
|
@@ -940,6 +946,7 @@
|
|
|
940
946
|
"conditionalNotSupported": "Conditional operator \"{operator}\" is not supported",
|
|
941
947
|
"entitySchemaPropertiesUndefined": "The entity schema properties are undefined",
|
|
942
948
|
"databaseCreateFailed": "Unable to create database \"{databaseName}\"",
|
|
949
|
+
"tableCreateFailed": "Unable to create table \"{tableName}\"",
|
|
943
950
|
"setBatchFailed": "Unable to set batch of entities",
|
|
944
951
|
"countFailed": "Unable to count entities",
|
|
945
952
|
"emptyFailed": "Unable to empty entity storage",
|
|
@@ -952,6 +959,7 @@
|
|
|
952
959
|
"optimisticLockFailed": "The entity \"{conflictId}\" could not be written because the optimistic lock check failed",
|
|
953
960
|
"conditionFailed": "The entity \"{conflictId}\" could not be updated because the supplied conditions did not match the stored state",
|
|
954
961
|
"databaseCreateFailed": "Unable to create database \"{databaseName}\"",
|
|
962
|
+
"tableCreateFailed": "Unable to create table \"{tableName}\"",
|
|
955
963
|
"setFailed": "Unable to set entity \"{id}\"",
|
|
956
964
|
"getFailed": "Unable to get entity \"{id}\"",
|
|
957
965
|
"removeFailed": "Unable to remove entity \"{id}\"",
|
|
@@ -1418,7 +1426,18 @@
|
|
|
1418
1426
|
"upDownCounterIncOrDecOnly": "An up/down counter metric can only be incremented, decremented or adjusted with an integer",
|
|
1419
1427
|
"gaugeNoIncDec": "A gauge can not be incremented or decremented",
|
|
1420
1428
|
"maxHistoryMustBePositiveInteger": "The maxHistory option must be a positive integer",
|
|
1421
|
-
"
|
|
1429
|
+
"metricValueTaskFailed": "The metric value background task failed \"{taskId}\"",
|
|
1430
|
+
"backgroundTaskComponentMissing": "The metric values cannot be written as no background task component is available",
|
|
1431
|
+
"metricValueThreadStalled": "No metric value background task has completed for \"{stalledForMs}\" ms, with task \"{taskId}\" outstanding of \"{taskCount}\", so the background thread is being replaced",
|
|
1432
|
+
"metricValueThreadRestartFailed": "The stalled metric value background thread could not be replaced, so no further metric values can be written",
|
|
1433
|
+
"stopFlushFailed": "The final metric value write failed while stopping, so the values the background thread was holding may not have been persisted",
|
|
1434
|
+
"metricValueThreadCheckFailed": "The check for a stalled metric value background thread failed"
|
|
1435
|
+
},
|
|
1436
|
+
"metricValueWriter": {
|
|
1437
|
+
"flushFailed": "Failed to flush metric values to storage",
|
|
1438
|
+
"invalidMetricOperation": "The operation \"{operation}\" is not valid for metric \"{id}\" of type \"{type}\"",
|
|
1439
|
+
"trimFailed": "Failed to trim the metric history to its retention cap",
|
|
1440
|
+
"intervalWriteFailed": "The interval write of the pending metric values failed"
|
|
1422
1441
|
},
|
|
1423
1442
|
"openTelemetryTelemetryConnector": {
|
|
1424
1443
|
"metricNotFound": "The metric could not be found \"{notFoundId}\"",
|
|
@@ -1426,7 +1445,9 @@
|
|
|
1426
1445
|
"gaugeNoIncDec": "A gauge can not be incremented or decremented"
|
|
1427
1446
|
},
|
|
1428
1447
|
"metricsCollectorService": {
|
|
1429
|
-
"producerCollectionFailed": "Failed to collect metrics from producer \"{producer}\""
|
|
1448
|
+
"producerCollectionFailed": "Failed to collect metrics from producer \"{producer}\"",
|
|
1449
|
+
"metricRecordFailed": "Failed to record the collected metric values",
|
|
1450
|
+
"collectionCycleFailed": "Failed to run the metrics collection cycle"
|
|
1430
1451
|
},
|
|
1431
1452
|
"entityStorageTracingConnector": {
|
|
1432
1453
|
"spanNotFound": "The span could not be found \"{notFoundId}\"",
|
|
@@ -1533,7 +1554,9 @@
|
|
|
1533
1554
|
},
|
|
1534
1555
|
"warn": {
|
|
1535
1556
|
"node": {
|
|
1536
|
-
"unknownEnvVars": "Unknown environment variable properties [{keys}], they will be ignored. Check for typos in variable names, for custom variables use the {prefix}ENV_ALLOW_LIST."
|
|
1557
|
+
"unknownEnvVars": "Unknown environment variable properties [{keys}], they will be ignored. Check for typos in variable names, for custom variables use the {prefix}ENV_ALLOW_LIST.",
|
|
1558
|
+
"deprecatedEnvVar": "The environment variable \"{key}\" is deprecated and no longer has any effect, please use {replacements} instead. This variable will be removed in a future release.",
|
|
1559
|
+
"deprecatedEnvVarNoReplacement": "The environment variable \"{key}\" is deprecated and no longer has any effect. This variable will be removed in a future release."
|
|
1537
1560
|
},
|
|
1538
1561
|
"common": {
|
|
1539
1562
|
"devOnlyTool": "This tool is intended to be used for development purposes, it is not recommended for use in production scenarios."
|
|
@@ -1611,6 +1634,11 @@
|
|
|
1611
1634
|
"terminatedCallbackFailed": "Failed to notify requester via terminated() for negotiation id: \"{negotiationId}\"",
|
|
1612
1635
|
"callbackDeliveryFailed": "Failed to deliver the negotiation callback to \"{callbackAddress}\" for negotiation id: \"{negotiationId}\" in state \"{state}\"; the negotiation is unchanged and remains discoverable by polling",
|
|
1613
1636
|
"sendTerminateFailed": "Failed to send terminate to consumer for negotiation id: \"{id}\", correlation id: \"{correlationId}\""
|
|
1637
|
+
},
|
|
1638
|
+
"entityStorageTelemetryConnector": {
|
|
1639
|
+
"flushTimeout": "The background thread did not confirm the flush within \"{timeoutMs}\" ms for task \"{taskId}\", with \"{taskCount}\" tasks outstanding",
|
|
1640
|
+
"metricValueThreadRestarted": "The stalled metric value background thread was replaced, and the tasks it was given will be processed by the new one",
|
|
1641
|
+
"metricValueTaskStateMissed": "The completion of the metric value background task \"{taskId}\" was never reported, its state is now \"{status}\", so the background thread is treated as working rather than replaced"
|
|
1614
1642
|
}
|
|
1615
1643
|
},
|
|
1616
1644
|
"node": {
|
|
@@ -2774,7 +2802,9 @@
|
|
|
2774
2802
|
"metricCreated": "The metric was created \"{id}\" with type \"type\" and label \"{label}\"",
|
|
2775
2803
|
"metricUpdated": "The metric was updated \"{id}\" with type \"type\" and label \"{label}\"",
|
|
2776
2804
|
"metricRemoved": "The metric was removed \"{id}\"",
|
|
2777
|
-
"metricValueCreated": "The metric value was
|
|
2805
|
+
"metricValueCreated": "The metric value was queued for \"{id}\"",
|
|
2806
|
+
"metricValuesCreated": "\"{count}\" metric values were queued",
|
|
2807
|
+
"metricsCreated": "\"{count}\" metrics were created"
|
|
2778
2808
|
},
|
|
2779
2809
|
"openTelemetryTelemetryConnector": {
|
|
2780
2810
|
"connectorStarted": "The connector was started with \"{readerCount}\" metric reader(s)",
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.4-next.3](https://github.com/iotaledger/twin-node/compare/node-v0.9.4-next.2...node-v0.9.4-next.3) (2026-09-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **node:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/node-core bumped from 0.9.4-next.2 to 0.9.4-next.3
|
|
16
|
+
|
|
17
|
+
## [0.9.4-next.2](https://github.com/iotaledger/twin-node/compare/node-v0.9.4-next.1...node-v0.9.4-next.2) (2026-09-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **node:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/node-core bumped from 0.9.4-next.1 to 0.9.4-next.2
|
|
30
|
+
|
|
3
31
|
## [0.9.4-next.1](https://github.com/iotaledger/twin-node/compare/node-v0.9.4-next.0...node-v0.9.4-next.1) (2026-09-07)
|
|
4
32
|
|
|
5
33
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -6986,7 +6986,7 @@
|
|
|
6986
6986
|
"/telemetry/metric": {
|
|
6987
6987
|
"post": {
|
|
6988
6988
|
"operationId": "telemetryCreateMetric",
|
|
6989
|
-
"summary": "Create
|
|
6989
|
+
"summary": "Create one or more telemetry metrics",
|
|
6990
6990
|
"tags": [
|
|
6991
6991
|
"Telemetry"
|
|
6992
6992
|
],
|
|
@@ -6996,12 +6996,12 @@
|
|
|
6996
6996
|
}
|
|
6997
6997
|
],
|
|
6998
6998
|
"requestBody": {
|
|
6999
|
-
"description": "Create
|
|
6999
|
+
"description": "Create one or more telemetry metrics.",
|
|
7000
7000
|
"required": true,
|
|
7001
7001
|
"content": {
|
|
7002
7002
|
"application/json": {
|
|
7003
7003
|
"schema": {
|
|
7004
|
-
"$ref": "#/components/schemas/
|
|
7004
|
+
"$ref": "#/components/schemas/TelemetryCreateMetricRequest"
|
|
7005
7005
|
},
|
|
7006
7006
|
"examples": {
|
|
7007
7007
|
"telemetryCreateMetricRequestExample": {
|
|
@@ -7010,8 +7010,24 @@
|
|
|
7010
7010
|
"label": "My Counter",
|
|
7011
7011
|
"description": "This is my counter",
|
|
7012
7012
|
"type": 0,
|
|
7013
|
-
"unit": "KG"
|
|
7013
|
+
"unit": "KG",
|
|
7014
|
+
"maxHistory": 1000
|
|
7014
7015
|
}
|
|
7016
|
+
},
|
|
7017
|
+
"telemetryCreateMetricsRequestExample": {
|
|
7018
|
+
"value": [
|
|
7019
|
+
{
|
|
7020
|
+
"id": "my-counter",
|
|
7021
|
+
"label": "My Counter",
|
|
7022
|
+
"type": 0,
|
|
7023
|
+
"maxHistory": 1000
|
|
7024
|
+
},
|
|
7025
|
+
{
|
|
7026
|
+
"id": "my-gauge",
|
|
7027
|
+
"label": "My Gauge",
|
|
7028
|
+
"type": 2
|
|
7029
|
+
}
|
|
7030
|
+
]
|
|
7015
7031
|
}
|
|
7016
7032
|
}
|
|
7017
7033
|
}
|
|
@@ -24543,6 +24559,20 @@
|
|
|
24543
24559
|
],
|
|
24544
24560
|
"description": "The data to be used in the update."
|
|
24545
24561
|
},
|
|
24562
|
+
"TelemetryCreateMetricRequest": {
|
|
24563
|
+
"anyOf": [
|
|
24564
|
+
{
|
|
24565
|
+
"$ref": "#/components/schemas/TelemetryMetric"
|
|
24566
|
+
},
|
|
24567
|
+
{
|
|
24568
|
+
"type": "array",
|
|
24569
|
+
"items": {
|
|
24570
|
+
"$ref": "#/components/schemas/TelemetryMetric"
|
|
24571
|
+
}
|
|
24572
|
+
}
|
|
24573
|
+
],
|
|
24574
|
+
"description": "The data to be used in the create. A single metric fails if it already exists; an array\ndeclares the set that should exist, creating the ones that are missing."
|
|
24575
|
+
},
|
|
24546
24576
|
"TelemetryGetMetricResponse": {
|
|
24547
24577
|
"type": "object",
|
|
24548
24578
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/node",
|
|
3
|
-
"version": "0.9.4-next.
|
|
3
|
+
"version": "0.9.4-next.3",
|
|
4
4
|
"description": "TWIN Node serving APIs using the specified configuration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=24.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/node-core": "0.9.4-next.
|
|
17
|
+
"@twin.org/node-core": "0.9.4-next.3"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "git+https://github.com/iotaledger/twin-node/issues"
|