peerbit 4.0.15-e1db01f → 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.
@@ -1,4 +1,4 @@
1
- export declare const transports: () => (((components: import("@libp2p/circuit-relay-v2/dist/src/transport").CircuitRelayTransportComponents) => import("@libp2p/interface").Transport) | ((components: import("@libp2p/tcp").TCPComponents) => import("@libp2p/interface").Transport))[];
1
+ export declare const transports: () => (((components: import("@libp2p/websockets").WebSocketsComponents) => import("@libp2p/interface").Transport) | ((components: import("@libp2p/circuit-relay-v2/dist/src/transport").CircuitRelayTransportComponents) => import("@libp2p/interface").Transport))[];
2
2
  export declare const relay: () => (components: import("@libp2p/circuit-relay-v2/dist/src/server").CircuitRelayServerComponents) => import("@libp2p/circuit-relay-v2").CircuitRelayService;
3
3
  export declare const listen: () => string[] | undefined;
4
4
  //# sourceMappingURL=transports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transports.d.ts","sourceRoot":"","sources":["../../src/transports.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU,yPAMtB,CAAC;AACF,eAAO,MAAM,KAAK,+JAIf,CAAC;AAEJ,eAAO,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,GAAG,SAGrC,CAAC"}
1
+ {"version":3,"file":"transports.d.ts","sourceRoot":"","sources":["../../src/transports.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU,uQAMtB,CAAC;AACF,eAAO,MAAM,KAAK,+JAIf,CAAC;AAEJ,eAAO,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,GAAG,SAGrC,CAAC"}
package/package.json CHANGED
@@ -1,110 +1,110 @@
1
1
  {
2
- "name": "peerbit",
3
- "version": "4.0.15-e1db01f",
4
- "description": "Peerbit client",
5
- "author": "dao.xyz",
6
- "license": "MIT",
7
- "sideEffects": false,
8
- "type": "module",
9
- "types": "./dist/src/index.d.ts",
10
- "typesVersions": {
11
- "*": {
12
- "*": [
13
- "*",
14
- "dist/*",
15
- "dist/src/*",
16
- "dist/src/*/index"
17
- ],
18
- "src/*": [
19
- "*",
20
- "dist/*",
21
- "dist/src/*",
22
- "dist/src/*/index"
23
- ]
24
- }
25
- },
26
- "files": [
27
- "src",
28
- "dist",
29
- "!dist/e2e",
30
- "!dist/test",
31
- "!**/*.tsbuildinfo"
32
- ],
33
- "exports": {
34
- ".": {
35
- "types": "./dist/src/index.d.ts",
36
- "import": "./dist/src/index.js"
37
- }
38
- },
39
- "eslintConfig": {
40
- "extends": "peerbit",
41
- "parserOptions": {
42
- "project": true,
43
- "sourceType": "module"
44
- },
45
- "ignorePatterns": [
46
- "!.aegir.js",
47
- "test/ts-use",
48
- "*.d.ts"
49
- ]
50
- },
51
- "publishConfig": {
52
- "access": "public"
53
- },
54
- "repository": {
55
- "type": "git",
56
- "url": "https://github.com/dao-xyz/peerbit"
57
- },
58
- "engines": {
59
- "node": ">=18"
60
- },
61
- "browser": {
62
- "./dist/src/transports.js": "./dist/src/transports.browser.js"
63
- },
64
- "dependencies": {
65
- "@dao-xyz/borsh": "^5.2.3",
66
- "@peerbit/any-store": "2.1.0-e1db01f",
67
- "@peerbit/crypto": "2.3.0-e1db01f",
68
- "@peerbit/logger": "1.0.3-e1db01f",
69
- "@peerbit/program": "5.0.1-e1db01f",
70
- "@peerbit/pubsub": "3.0.7-e1db01f",
71
- "@peerbit/blocks": "2.1.1-e1db01f",
72
- "@peerbit/indexer-simple": "1.0.3-e1db01f",
73
- "@peerbit/indexer-sqlite3": "1.0.5-e1db01f",
74
- "datastore-level": "^10.1.5",
75
- "@dao-xyz/libp2p-noise": "^14.1.2",
76
- "@chainsafe/libp2p-yamux": "^6.0.2",
77
- "@libp2p/webrtc": "^4.1.4",
78
- "@libp2p/websockets": "^8.1.4",
79
- "@libp2p/identify": "^2.1.4",
80
- "@libp2p/circuit-relay-v2": "^1.1.4",
81
- "@libp2p/tcp": "^9.1.4",
82
- "level": "^8.0.0",
83
- "memory-level": "^1.0.0",
84
- "path-browserify": "^1.0.1"
85
- },
86
- "devDependencies": {
87
- "p-each-series": "^3.0.0",
88
- "p-map-series": "^3.0.0",
89
- "@types/path-browserify": "^1.0.2"
90
- },
91
- "scripts": {
92
- "clean": "aegir clean",
93
- "build": "aegir build --no-bundle",
94
- "test": "aegir test -t node",
95
- "lint": "aegir lint"
96
- },
97
- "localMaintainers": [
98
- "dao.xyz"
99
- ],
100
- "keywords": [
101
- "crdt",
102
- "database",
103
- "distributed",
104
- "decentralised",
105
- "distributed",
106
- "ipfs",
107
- "p2p",
108
- "peer-to-peer"
109
- ]
2
+ "name": "peerbit",
3
+ "version": "4.0.16",
4
+ "description": "Peerbit client",
5
+ "author": "dao.xyz",
6
+ "license": "MIT",
7
+ "sideEffects": false,
8
+ "type": "module",
9
+ "types": "./dist/src/index.d.ts",
10
+ "typesVersions": {
11
+ "*": {
12
+ "*": [
13
+ "*",
14
+ "dist/*",
15
+ "dist/src/*",
16
+ "dist/src/*/index"
17
+ ],
18
+ "src/*": [
19
+ "*",
20
+ "dist/*",
21
+ "dist/src/*",
22
+ "dist/src/*/index"
23
+ ]
24
+ }
25
+ },
26
+ "files": [
27
+ "src",
28
+ "dist",
29
+ "!dist/e2e",
30
+ "!dist/test",
31
+ "!**/*.tsbuildinfo"
32
+ ],
33
+ "exports": {
34
+ ".": {
35
+ "types": "./dist/src/index.d.ts",
36
+ "import": "./dist/src/index.js"
37
+ }
38
+ },
39
+ "eslintConfig": {
40
+ "extends": "peerbit",
41
+ "parserOptions": {
42
+ "project": true,
43
+ "sourceType": "module"
44
+ },
45
+ "ignorePatterns": [
46
+ "!.aegir.js",
47
+ "test/ts-use",
48
+ "*.d.ts"
49
+ ]
50
+ },
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "https://github.com/dao-xyz/peerbit"
57
+ },
58
+ "engines": {
59
+ "node": ">=18"
60
+ },
61
+ "browser": {
62
+ "./dist/src/transports.js": "./dist/src/transports.browser.js"
63
+ },
64
+ "dependencies": {
65
+ "@dao-xyz/borsh": "^5.2.3",
66
+ "@peerbit/any-store": "^2.1.1",
67
+ "@peerbit/crypto": "2.3.1",
68
+ "@peerbit/logger": "1.0.3",
69
+ "@peerbit/program": "5.0.2",
70
+ "@peerbit/pubsub": "^3.0.8",
71
+ "@peerbit/blocks": "^2.1.2",
72
+ "@peerbit/indexer-simple": "^1.0.4",
73
+ "@peerbit/indexer-sqlite3": "^1.0.6",
74
+ "datastore-level": "^10.1.5",
75
+ "@dao-xyz/libp2p-noise": "^14.1.2",
76
+ "@chainsafe/libp2p-yamux": "^6.0.2",
77
+ "@libp2p/webrtc": "^4.1.7",
78
+ "@libp2p/websockets": "^8.2.0",
79
+ "@libp2p/identify": "^2.1.5",
80
+ "@libp2p/circuit-relay-v2": "^1.1.5",
81
+ "@libp2p/tcp": "^9.1.5",
82
+ "level": "^8.0.0",
83
+ "memory-level": "^1.0.0",
84
+ "path-browserify": "^1.0.1"
85
+ },
86
+ "devDependencies": {
87
+ "p-each-series": "^3.0.0",
88
+ "p-map-series": "^3.0.0",
89
+ "@types/path-browserify": "^1.0.2"
90
+ },
91
+ "scripts": {
92
+ "clean": "aegir clean",
93
+ "build": "aegir build --no-bundle",
94
+ "test": "aegir test -t node",
95
+ "lint": "aegir lint"
96
+ },
97
+ "localMaintainers": [
98
+ "dao.xyz"
99
+ ],
100
+ "keywords": [
101
+ "crdt",
102
+ "database",
103
+ "distributed",
104
+ "decentralised",
105
+ "distributed",
106
+ "ipfs",
107
+ "p2p",
108
+ "peer-to-peer"
109
+ ]
110
110
  }