@hive-p2p/browser 1.0.43 → 1.0.44

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.
@@ -19,7 +19,7 @@ const { SANDBOX, ICE_CANDIDATE_EMITTER, TEST_WS_EVENT_MANAGER } = SIMULATION.ENA
19
19
  * @property {number} timestamp
20
20
  * */
21
21
 
22
- class OfferQueue {
22
+ export class OfferQueue {
23
23
  maxOffers = 30;
24
24
  /** @type {Array<OfferQueueItem>} */ offers = [];
25
25
  /** @type {'overlap' | 'neighborsCount'} */ orderingBy = 'neighborsCount';
package/index.mjs CHANGED
@@ -11,17 +11,6 @@ function mergeConfig(target, source) {
11
11
  } else target[key] = source[key];
12
12
  }
13
13
 
14
- /**
15
- * @typedef {Object} HiveP2PNamespace
16
- * @property {typeof CLOCK} CLOCK
17
- * @property {typeof CONFIG} CONFIG
18
- * @property {typeof mergeConfig} mergeConfig
19
- * @property {typeof Node} Node
20
- * @property {typeof createNode} createNode
21
- * @property {typeof CryptoCodex} CryptoCodex
22
- */
23
-
24
- /** @type {HiveP2PNamespace} */
25
14
  const HiveP2P = { CLOCK, CONFIG, mergeConfig, Node, createNode, CryptoCodex };
26
15
  export { CLOCK, CONFIG, mergeConfig, Node, createNode, CryptoCodex };
27
16
  export default HiveP2P;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hive-p2p/browser",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },