@streamr/node 100.2.5-beta.0 → 101.0.0-beta.0

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.
@@ -4,6 +4,7 @@
4
4
  "auth": {
5
5
  "privateKey": "0xaa7a3b3bb9b4a662e756e978ad8c6464412e7eef1b871f19e5120d4747bce966"
6
6
  },
7
+ "environment": "dev2",
7
8
  "network": {
8
9
  "controlLayer": {
9
10
  "peerDescriptor": {
@@ -30,21 +31,6 @@
30
31
  "id": "0xde1112f631486CfC759A50196853011528bC5FA0"
31
32
  }
32
33
  },
33
- "contracts": {
34
- "streamRegistryChainAddress": "0xd04af489677001444280366Dd0885B03dAaDe71D",
35
- "streamStorageRegistryChainAddress": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
36
- "storageNodeRegistryChainAddress": "0xCBAcfA0592B3D809aEc805d527f8ceAe9307D9C0",
37
- "streamRegistryChainRPCs": {
38
- "chainId": 31337,
39
- "name": "dev2",
40
- "rpcs": [
41
- {
42
- "url": "http://10.200.10.1:8547"
43
- }
44
- ]
45
- },
46
- "theGraphUrl": "http://10.200.10.1:8800/subgraphs/name/streamr-dev/network-subgraphs"
47
- },
48
34
  "metrics": false
49
35
  },
50
36
  "httpServer": {
@@ -4,6 +4,7 @@
4
4
  "auth": {
5
5
  "privateKey": "0xa51ef2b7a1f160e53cc3a17c5a74ea0563a50030644e9f6e1b1f4a7d0afd088e"
6
6
  },
7
+ "environment": "dev2",
7
8
  "network": {
8
9
  "controlLayer": {
9
10
  "peerDescriptor": {
@@ -30,21 +31,6 @@
30
31
  "id": "0xde222E8603FCf641F928E5F66a0CBf4de70d5352"
31
32
  }
32
33
  },
33
- "contracts": {
34
- "streamRegistryChainAddress": "0xd04af489677001444280366Dd0885B03dAaDe71D",
35
- "streamStorageRegistryChainAddress": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
36
- "storageNodeRegistryChainAddress": "0xCBAcfA0592B3D809aEc805d527f8ceAe9307D9C0",
37
- "streamRegistryChainRPCs": {
38
- "chainId": 31337,
39
- "name": "dev2",
40
- "rpcs": [
41
- {
42
- "url": "http://10.200.10.1:8547"
43
- }
44
- ]
45
- },
46
- "theGraphUrl": "http://10.200.10.1:8800/subgraphs/name/streamr-dev/network-subgraphs"
47
- },
48
34
  "metrics": false
49
35
  },
50
36
  "httpServer": {
@@ -4,6 +4,7 @@
4
4
  "auth": {
5
5
  "privateKey": "0x2ba0e218041e81b8e5c88ee4134995c1e358c2c01664676d975792057c57e333"
6
6
  },
7
+ "environment": "dev2",
7
8
  "network": {
8
9
  "controlLayer": {
9
10
  "peerDescriptor": {
@@ -30,21 +31,6 @@
30
31
  "id": "0xde3331cA6B8B636E0b82Bf08E941F727B8927442"
31
32
  }
32
33
  },
33
- "contracts": {
34
- "streamRegistryChainAddress": "0xd04af489677001444280366Dd0885B03dAaDe71D",
35
- "streamStorageRegistryChainAddress": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
36
- "storageNodeRegistryChainAddress": "0xCBAcfA0592B3D809aEc805d527f8ceAe9307D9C0",
37
- "streamRegistryChainRPCs": {
38
- "chainId": 31337,
39
- "name": "dev2",
40
- "rpcs": [
41
- {
42
- "url": "http://10.200.10.1:8547"
43
- }
44
- ]
45
- },
46
- "theGraphUrl": "http://10.200.10.1:8800/subgraphs/name/streamr-dev/network-subgraphs"
47
- },
48
34
  "metrics": false
49
35
  },
50
36
  "httpServer": {
@@ -4,6 +4,7 @@
4
4
  "auth": {
5
5
  "privateKey": "0xaa7a3b3bb9b4a662e756e978ad8c6464412e7eef1b871f19e5120d4747bce966"
6
6
  },
7
+ "environment": "dev2",
7
8
  "network": {
8
9
  "controlLayer": {
9
10
  "peerDescriptor": {
@@ -30,21 +31,6 @@
30
31
  "id": "0xde1112f631486CfC759A50196853011528bC5FA0"
31
32
  }
32
33
  },
33
- "contracts": {
34
- "streamRegistryChainAddress": "0xd04af489677001444280366Dd0885B03dAaDe71D",
35
- "streamStorageRegistryChainAddress": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
36
- "storageNodeRegistryChainAddress": "0xCBAcfA0592B3D809aEc805d527f8ceAe9307D9C0",
37
- "streamRegistryChainRPCs": {
38
- "chainId": 31337,
39
- "name": "dev2",
40
- "rpcs": [
41
- {
42
- "url": "http://10.200.10.1:8547"
43
- }
44
- ]
45
- },
46
- "theGraphUrl": "http://10.200.10.1:8800/subgraphs/name/streamr-dev/network-subgraphs"
47
- },
48
34
  "metrics": false
49
35
  },
50
36
  "httpServer": {
@@ -4,6 +4,7 @@
4
4
  "auth": {
5
5
  "privateKey": "0xa51ef2b7a1f160e53cc3a17c5a74ea0563a50030644e9f6e1b1f4a7d0afd088e"
6
6
  },
7
+ "environment": "dev2",
7
8
  "network": {
8
9
  "controlLayer": {
9
10
  "peerDescriptor": {
@@ -30,21 +31,6 @@
30
31
  "id": "0xde222E8603FCf641F928E5F66a0CBf4de70d5352"
31
32
  }
32
33
  },
33
- "contracts": {
34
- "streamRegistryChainAddress": "0xd04af489677001444280366Dd0885B03dAaDe71D",
35
- "streamStorageRegistryChainAddress": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
36
- "storageNodeRegistryChainAddress": "0xCBAcfA0592B3D809aEc805d527f8ceAe9307D9C0",
37
- "streamRegistryChainRPCs": {
38
- "chainId": 31337,
39
- "name": "dev2",
40
- "rpcs": [
41
- {
42
- "url": "http://10.200.10.1:8547"
43
- }
44
- ]
45
- },
46
- "theGraphUrl": "http://10.200.10.1:8800/subgraphs/name/streamr-dev/network-subgraphs"
47
- },
48
34
  "metrics": false
49
35
  },
50
36
  "httpServer": {
@@ -4,6 +4,7 @@
4
4
  "auth": {
5
5
  "privateKey": "0x2ba0e218041e81b8e5c88ee4134995c1e358c2c01664676d975792057c57e333"
6
6
  },
7
+ "environment": "dev2",
7
8
  "network": {
8
9
  "controlLayer": {
9
10
  "peerDescriptor": {
@@ -34,15 +35,6 @@
34
35
  "streamRegistryChainAddress": "0xd04af489677001444280366Dd0885B03dAaDe71D",
35
36
  "streamStorageRegistryChainAddress": "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37",
36
37
  "storageNodeRegistryChainAddress": "0xCBAcfA0592B3D809aEc805d527f8ceAe9307D9C0",
37
- "streamRegistryChainRPCs": {
38
- "chainId": 31337,
39
- "name": "dev2",
40
- "rpcs": [
41
- {
42
- "url": "http://10.200.10.1:8547"
43
- }
44
- ]
45
- },
46
38
  "theGraphUrl": "http://10.200.10.1:8800/subgraphs/name/streamr-dev/network-subgraphs"
47
39
  },
48
40
  "metrics": false
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamr/node",
3
- "version": "100.2.5-beta.0",
3
+ "version": "101.0.0-beta.0",
4
4
  "description": "A full-featured node implementation for the Streamr Network",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,9 +32,9 @@
32
32
  "@inquirer/prompts": "^4.2.1",
33
33
  "@streamr/config": "^5.3.7",
34
34
  "@streamr/network-contracts-ethers6": "^7.1.2",
35
- "@streamr/protocol": "100.2.5-beta.0",
36
- "@streamr/sdk": "100.2.5-beta.0",
37
- "@streamr/utils": "100.2.5-beta.0",
35
+ "@streamr/protocol": "101.0.0-beta.0",
36
+ "@streamr/sdk": "101.0.0-beta.0",
37
+ "@streamr/utils": "101.0.0-beta.0",
38
38
  "aedes": "^0.51.0",
39
39
  "ajv": "^8.8.2",
40
40
  "ajv-formats": "^2.1.1",
@@ -43,7 +43,7 @@
43
43
  "commander": "^12.0.0",
44
44
  "consistent-hash": "^1.1.1",
45
45
  "cors": "^2.8.5",
46
- "ethers": "^6.12.0",
46
+ "ethers": "^6.13.0",
47
47
  "express": "^4.19.2",
48
48
  "heap": "^0.2.6",
49
49
  "lodash": "^4.17.21",
@@ -58,8 +58,8 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@inquirer/testing": "^2.1.12",
61
- "@streamr/dht": "100.2.5-beta.0",
62
- "@streamr/test-utils": "100.2.5-beta.0",
61
+ "@streamr/dht": "101.0.0-beta.0",
62
+ "@streamr/test-utils": "101.0.0-beta.0",
63
63
  "@types/cors": "^2.8.17",
64
64
  "@types/express": "^4.17.21",
65
65
  "@types/heap": "^0.2.34",
@@ -7,7 +7,7 @@ const logger = new utils_1.Logger(module);
7
7
  class SubscriberPlugin extends Plugin_1.Plugin {
8
8
  subscriptions = [];
9
9
  async subscribeToStreamParts(streamrClient) {
10
- this.subscriptions = await (0, utils_1.pTransaction)(this.pluginConfig.streams.map(({ streamId, streamPartition }) => (streamrClient.subscribe({ id: streamId, partition: streamPartition, raw: true }))), (sub) => sub.unsubscribe());
10
+ this.subscriptions = await (0, utils_1.pTransaction)(this.pluginConfig.streams.map(({ streamId, streamPartition }) => (streamrClient.subscribe({ id: streamId, partition: streamPartition, raw: true }, () => { }))), (sub) => sub.unsubscribe());
11
11
  }
12
12
  async start(streamrClient) {
13
13
  await this.subscribeToStreamParts(streamrClient);
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriberPlugin.js","sourceRoot":"","sources":["../../../../src/plugins/subscriber/SubscriberPlugin.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AACrC,0CAAqD;AAYrD,MAAM,MAAM,GAAG,IAAI,cAAM,CAAC,MAAM,CAAC,CAAA;AAEjC,MAAa,gBAAiB,SAAQ,eAA8B;IAExD,aAAa,GAAmB,EAAE,CAAA;IAElC,KAAK,CAAC,sBAAsB,CAAC,aAA4B;QAC7D,IAAI,CAAC,aAAa,GAAG,MAAM,IAAA,oBAAY,EAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CACrG,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CACnF,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE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AAC,aAAa,CAAC,CAAA;QAChD,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAA;IAC5C,CAAC;IAED,KAAK,CAAC,IAAI;QACN,MAAM,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAA;QACrC,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAA;IACzE,CAAC;CAEJ;AApBD,4CAoBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamr/node",
3
- "version": "100.2.5-beta.0",
3
+ "version": "101.0.0-beta.0",
4
4
  "description": "A full-featured node implementation for the Streamr Network",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,9 +32,9 @@
32
32
  "@inquirer/prompts": "^4.2.1",
33
33
  "@streamr/config": "^5.3.7",
34
34
  "@streamr/network-contracts-ethers6": "^7.1.2",
35
- "@streamr/protocol": "100.2.5-beta.0",
36
- "@streamr/sdk": "100.2.5-beta.0",
37
- "@streamr/utils": "100.2.5-beta.0",
35
+ "@streamr/protocol": "101.0.0-beta.0",
36
+ "@streamr/sdk": "101.0.0-beta.0",
37
+ "@streamr/utils": "101.0.0-beta.0",
38
38
  "aedes": "^0.51.0",
39
39
  "ajv": "^8.8.2",
40
40
  "ajv-formats": "^2.1.1",
@@ -43,7 +43,7 @@
43
43
  "commander": "^12.0.0",
44
44
  "consistent-hash": "^1.1.1",
45
45
  "cors": "^2.8.5",
46
- "ethers": "^6.12.0",
46
+ "ethers": "^6.13.0",
47
47
  "express": "^4.19.2",
48
48
  "heap": "^0.2.6",
49
49
  "lodash": "^4.17.21",
@@ -58,8 +58,8 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@inquirer/testing": "^2.1.12",
61
- "@streamr/dht": "100.2.5-beta.0",
62
- "@streamr/test-utils": "100.2.5-beta.0",
61
+ "@streamr/dht": "101.0.0-beta.0",
62
+ "@streamr/test-utils": "101.0.0-beta.0",
63
63
  "@types/cors": "^2.8.17",
64
64
  "@types/express": "^4.17.21",
65
65
  "@types/heap": "^0.2.34",