@streamr/node 103.2.0 → 103.2.2
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/README.md +1 -1
- package/dist/package.json +6 -6
- package/dist/src/broker.js +2 -2
- package/dist/src/broker.js.map +1 -1
- package/dist/src/httpServer.js +1 -1
- package/dist/src/httpServer.js.map +1 -1
- package/dist/src/plugins/autostaker/AutostakerPlugin.js +1 -1
- package/dist/src/plugins/autostaker/AutostakerPlugin.js.map +1 -1
- package/dist/src/plugins/consoleMetrics/ConsoleMetricsPlugin.js +1 -1
- package/dist/src/plugins/consoleMetrics/ConsoleMetricsPlugin.js.map +1 -1
- package/dist/src/plugins/http/publishEndpoint.js +1 -1
- package/dist/src/plugins/http/publishEndpoint.js.map +1 -1
- package/dist/src/plugins/mqtt/Bridge.js +1 -1
- package/dist/src/plugins/mqtt/Bridge.js.map +1 -1
- package/dist/src/plugins/mqtt/MqttServer.js +1 -1
- package/dist/src/plugins/mqtt/MqttServer.js.map +1 -1
- package/dist/src/plugins/operator/MaintainTopologyHelper.js +1 -1
- package/dist/src/plugins/operator/MaintainTopologyHelper.js.map +1 -1
- package/dist/src/plugins/operator/MaintainTopologyService.js +1 -1
- package/dist/src/plugins/operator/MaintainTopologyService.js.map +1 -1
- package/dist/src/plugins/operator/OperatorFleetState.js +1 -1
- package/dist/src/plugins/operator/OperatorFleetState.js.map +1 -1
- package/dist/src/plugins/operator/OperatorPlugin.js +1 -1
- package/dist/src/plugins/operator/OperatorPlugin.js.map +1 -1
- package/dist/src/plugins/operator/StreamPartAssignments.js +1 -1
- package/dist/src/plugins/operator/StreamPartAssignments.js.map +1 -1
- package/dist/src/plugins/operator/announceNodeToContract.js +1 -1
- package/dist/src/plugins/operator/announceNodeToContract.js.map +1 -1
- package/dist/src/plugins/operator/announceNodeToStream.js +1 -1
- package/dist/src/plugins/operator/announceNodeToStream.js.map +1 -1
- package/dist/src/plugins/operator/checkOperatorValueBreach.js +1 -1
- package/dist/src/plugins/operator/checkOperatorValueBreach.js.map +1 -1
- package/dist/src/plugins/operator/closeExpiredFlags.js +1 -1
- package/dist/src/plugins/operator/closeExpiredFlags.js.map +1 -1
- package/dist/src/plugins/operator/inspectOverTime.js +1 -1
- package/dist/src/plugins/operator/inspectOverTime.js.map +1 -1
- package/dist/src/plugins/operator/inspectRandomNode.js +1 -1
- package/dist/src/plugins/operator/inspectRandomNode.js.map +1 -1
- package/dist/src/plugins/operator/maintainOperatorValue.js +1 -1
- package/dist/src/plugins/operator/maintainOperatorValue.js.map +1 -1
- package/dist/src/plugins/operator/reviewSuspectNode.js +1 -1
- package/dist/src/plugins/operator/reviewSuspectNode.js.map +1 -1
- package/dist/src/plugins/storage/Batch.js +1 -1
- package/dist/src/plugins/storage/Batch.js.map +1 -1
- package/dist/src/plugins/storage/BatchManager.js +1 -1
- package/dist/src/plugins/storage/BatchManager.js.map +1 -1
- package/dist/src/plugins/storage/BucketManager.js +1 -1
- package/dist/src/plugins/storage/BucketManager.js.map +1 -1
- package/dist/src/plugins/storage/DeleteExpiredCmd.js +1 -1
- package/dist/src/plugins/storage/DeleteExpiredCmd.js.map +1 -1
- package/dist/src/plugins/storage/SetMembershipSynchronizer.js +1 -1
- package/dist/src/plugins/storage/SetMembershipSynchronizer.js.map +1 -1
- package/dist/src/plugins/storage/Storage.js +1 -1
- package/dist/src/plugins/storage/Storage.js.map +1 -1
- package/dist/src/plugins/storage/StorageConfig.js +1 -1
- package/dist/src/plugins/storage/StorageConfig.js.map +1 -1
- package/dist/src/plugins/storage/StorageEventListener.js +1 -1
- package/dist/src/plugins/storage/StorageEventListener.js.map +1 -1
- package/dist/src/plugins/storage/StoragePlugin.js +1 -1
- package/dist/src/plugins/storage/StoragePlugin.js.map +1 -1
- package/dist/src/plugins/storage/StoragePoller.js +1 -1
- package/dist/src/plugins/storage/StoragePoller.js.map +1 -1
- package/dist/src/plugins/storage/dataQueryEndpoint.js +1 -1
- package/dist/src/plugins/storage/dataQueryEndpoint.js.map +1 -1
- package/dist/src/plugins/subscriber/SubscriberPlugin.js +1 -1
- package/dist/src/plugins/subscriber/SubscriberPlugin.js.map +1 -1
- package/dist/src/plugins/websocket/Connection.js +1 -1
- package/dist/src/plugins/websocket/Connection.js.map +1 -1
- package/dist/src/plugins/websocket/PublishConnection.js +1 -1
- package/dist/src/plugins/websocket/PublishConnection.js.map +1 -1
- package/dist/src/plugins/websocket/SubscribeConnection.js +1 -1
- package/dist/src/plugins/websocket/SubscribeConnection.js.map +1 -1
- package/dist/src/plugins/websocket/WebsocketServer.js +1 -1
- package/dist/src/plugins/websocket/WebsocketServer.js.map +1 -1
- package/package.json +6 -6
- package/plugins.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamr/node",
|
|
3
|
-
"version": "103.2.
|
|
3
|
+
"version": "103.2.2",
|
|
4
4
|
"description": "A full-featured node implementation for the Streamr Network",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc -b",
|
|
29
29
|
"check": "tsc -p tsconfig.jest.json",
|
|
30
|
-
"clean": "jest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true",
|
|
30
|
+
"clean": "jest --clearCache --config '{}' || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true",
|
|
31
31
|
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
|
|
32
32
|
"test": "npm run test-unit && npm run test-integration && npm run test-sequential",
|
|
33
33
|
"test-unit": "jest test/unit",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@inquirer/prompts": "^7.9.0",
|
|
41
41
|
"@streamr/config": "^5.9.2",
|
|
42
|
-
"@streamr/dht": "103.2.
|
|
43
|
-
"@streamr/sdk": "103.2.
|
|
44
|
-
"@streamr/utils": "103.2.
|
|
42
|
+
"@streamr/dht": "103.2.2",
|
|
43
|
+
"@streamr/sdk": "103.2.2",
|
|
44
|
+
"@streamr/utils": "103.2.2",
|
|
45
45
|
"aedes": "^0.51.3",
|
|
46
46
|
"ajv": "^8.17.1",
|
|
47
47
|
"ajv-formats": "^3.0.1",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@inquirer/testing": "^2.1.51",
|
|
67
67
|
"@streamr/network-contracts": "^9.1.0",
|
|
68
|
-
"@streamr/test-utils": "103.2.
|
|
68
|
+
"@streamr/test-utils": "103.2.2",
|
|
69
69
|
"@types/cors": "^2.8.19",
|
|
70
70
|
"@types/express": "^5.0.1",
|
|
71
71
|
"@types/heap": "^0.2.35",
|
package/plugins.md
CHANGED
|
@@ -122,7 +122,7 @@ If you want to publish or subscribe to a specific partition of a stream, you can
|
|
|
122
122
|
|
|
123
123
|
- `/streams/:streamId/subscribe?partitions=0,2,5`: subscribes to given partition numbers
|
|
124
124
|
- `/streams/:streamId/publish?partition=2`: publishes to given partition number
|
|
125
|
-
- `/streams/:streamId/publish?partitionKey=foo`: use the given key to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network
|
|
125
|
+
- `/streams/:streamId/publish?partitionKey=foo`: use the given key to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network/blob/main/packages/sdk/README.md#publishing-to-partitioned-streams))
|
|
126
126
|
- `/streams/:streamId/publish?partitionKeyField=customerId`: use the given field in a JSON to choose the `paritionKey` (e.g. `{ "customerId": "foo", ... }` -> `paritionKey` is `foo`)
|
|
127
127
|
|
|
128
128
|
By default, partition `0` is selected.
|
|
@@ -292,7 +292,7 @@ http://localhost:7171/streams/foo.eth%2fbar
|
|
|
292
292
|
The endpoint supports the following optional query parameters:
|
|
293
293
|
|
|
294
294
|
- `timestamp` can be used to set the message timestamp explicitly. The timestamp should be passed in ISO-8601 string (e.g. `2001-02-03T04:05:06Z`), or as milliseconds since epoch, e.g. `1234567890000`
|
|
295
|
-
- `partition` (explicit partition number) or `partitionKey` (a string which used to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network
|
|
295
|
+
- `partition` (explicit partition number) or `partitionKey` (a string which used to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network/blob/main/packages/sdk/README.md#publishing-to-partitioned-streams)). The default (in case neither is provided) is to select a random partition for each message.
|
|
296
296
|
|
|
297
297
|
#### Port
|
|
298
298
|
|