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

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamr/node",
3
- "version": "100.2.5-beta.0",
3
+ "version": "100.2.5-beta.1",
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": "100.2.5-beta.1",
36
+ "@streamr/sdk": "100.2.5-beta.1",
37
+ "@streamr/utils": "100.2.5-beta.1",
38
38
  "aedes": "^0.51.0",
39
39
  "ajv": "^8.8.2",
40
40
  "ajv-formats": "^2.1.1",
@@ -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": "100.2.5-beta.1",
62
+ "@streamr/test-utils": "100.2.5-beta.1",
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,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAA;IACnC,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,aAA4B;QACpC,MAAM,IAAI,CAAC,sBAAsB,CAAC,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"}
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,EAAE,GAAG,EAAE,GAAE,CAAC,CAAC,CAC7F,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAA;IACnC,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,aAA4B;QACpC,MAAM,IAAI,CAAC,sBAAsB,CAAC,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": "100.2.5-beta.1",
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": "100.2.5-beta.1",
36
+ "@streamr/sdk": "100.2.5-beta.1",
37
+ "@streamr/utils": "100.2.5-beta.1",
38
38
  "aedes": "^0.51.0",
39
39
  "ajv": "^8.8.2",
40
40
  "ajv-formats": "^2.1.1",
@@ -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": "100.2.5-beta.1",
62
+ "@streamr/test-utils": "100.2.5-beta.1",
63
63
  "@types/cors": "^2.8.17",
64
64
  "@types/express": "^4.17.21",
65
65
  "@types/heap": "^0.2.34",