hive-p2p 1.0.1 → 1.0.3

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.
@@ -48,7 +48,6 @@ export const IDENTITY = {
48
48
  PRIVATEKEY_LENGTH: 32, // length of private key | (ed25519) default: 32 bytes
49
49
  SIGNATURE_LENGTH: 64, // length of signature | default: 64 bytes
50
50
  }
51
- if (!IDENTITY.ARE_IDS_HEX) IDENTITY.PUBLIC_PREFIX = 'P_'; // FOR SIMULTOR STRING IDS
52
51
 
53
52
  export const TRANSPORTS = {
54
53
  MAX_SDP_OFFERS: 3, // max SDP offers to create in advance | default: 3
package/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
1
  export { NodeP2P } from './core/node.mjs';
2
2
  export { CryptoCodex } from './core/crypto-codex.mjs';
3
- export { default as PARAMETERS } from './core/parameters.mjs';
4
- export * from './core/parameters.mjs';
3
+ export { default as PARAMETERS } from './core/parameters.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-p2p",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "P2P networking library for browser and Node.js with WebRTC",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",