@hive-p2p/browser 8.18.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.
- package/index.mjs +9 -0
- package/package.json +21 -0
package/index.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Node, createNode } from "../../core/node.mjs";
|
|
2
|
+
import { CryptoCodex } from "../../core/crypto-codex.mjs";
|
|
3
|
+
import CONFIG from "../../core/config.mjs";
|
|
4
|
+
|
|
5
|
+
const HiveP2P = { Node, createNode, CryptoCodex, CONFIG };
|
|
6
|
+
export { Node, createNode, CryptoCodex, CONFIG };
|
|
7
|
+
export default HiveP2P;
|
|
8
|
+
|
|
9
|
+
if (typeof window !== 'undefined') window.HiveP2P = HiveP2P;
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hive-p2p/browser",
|
|
3
|
+
"version": "8.18.3",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "P2P networking library for Node.js with WebRTC - Light client package",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "index.mjs",
|
|
10
|
+
"files": [
|
|
11
|
+
"index.mjs",
|
|
12
|
+
"../../core/",
|
|
13
|
+
"../../libs/",
|
|
14
|
+
"../../rendering/",
|
|
15
|
+
"../../services/"
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@noble/ed25519": "3.0.0",
|
|
19
|
+
"@noble/hashes": "2.0.0"
|
|
20
|
+
}
|
|
21
|
+
}
|