@kronos-integration/service-swarm 4.0.14 → 4.0.16

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.
Files changed (2) hide show
  1. package/README.md +2 -6
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -52,8 +52,6 @@ Endpoint to link against a swarm topic.
52
52
  * `owner` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** owner of the endpoint
53
53
  * `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
54
54
 
55
- * `options.topic` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** defaults to endpoint name (without @see PEERS\_NAME\_PREFIX)
56
-
57
55
  ### Properties
58
56
 
59
57
  * `topic` **[Topic](#topic)** 
@@ -72,9 +70,9 @@ On demand create topic endpoints.
72
70
 
73
71
  * `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
74
72
  * `definition` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
75
- * `ic`  
73
+ * `ic` **InitializationContext** 
76
74
 
77
- Returns **Class** TopicEndpoint if name starts with 'topic.'
75
+ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** TopicEndpoint if name starts with 'topic.'
78
76
 
79
77
  ### name
80
78
 
@@ -98,8 +96,6 @@ Endpoint to link against a swarm topic.
98
96
  * `owner` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** owner of the endpoint
99
97
  * `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
100
98
 
101
- * `options.topic` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** defaults to endpoint name (without @see TOPIC\_NAME\_PREFIX)
102
-
103
99
  ### Properties
104
100
 
105
101
  * `topic` **[Topic](#topic)** 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service-swarm",
3
- "version": "4.0.14",
3
+ "version": "4.0.16",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -31,11 +31,11 @@
31
31
  "lint:docs": "documentation lint ./src**/*.mjs"
32
32
  },
33
33
  "dependencies": {
34
- "@kronos-integration/endpoint": "^11.0.5",
35
- "@kronos-integration/service": "^15.1.1",
34
+ "@kronos-integration/endpoint": "^11.0.7",
35
+ "@kronos-integration/service": "^15.2.5",
36
36
  "hyperswarm": "^4.16.0",
37
37
  "length-prefix-framed-stream": "^2.0.12",
38
- "pacc": "^5.2.0"
38
+ "pacc": "^6.5.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@hyperswarm/dht": "^6.5.1",