@electrum-cash/servers 3.0.2-development.6393254041 → 3.0.2-development.6621054760
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/package.json +7 -10
- package/dist/index.cjs +0 -59
- package/dist/index.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@electrum-cash/servers",
|
|
3
|
-
"version": "3.0.2-development.
|
|
3
|
+
"version": "3.0.2-development.6621054760",
|
|
4
4
|
"description": "a list of default servers to use with the @electrum-cash/library package.",
|
|
5
5
|
"homepage": "https://gitlab.com/electrum-cash/servers#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -15,19 +15,16 @@
|
|
|
15
15
|
"keywords": [
|
|
16
16
|
"electrum",
|
|
17
17
|
"bitcoin",
|
|
18
|
-
"
|
|
19
|
-
"typescript"
|
|
18
|
+
"bitcoin cash"
|
|
20
19
|
],
|
|
21
|
-
"source": "source/index.ts",
|
|
22
20
|
"type": "module",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"source": "./source/index.ts",
|
|
23
|
+
"module": "./dist/index.mjs",
|
|
25
24
|
"exports": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"browser": "./dist/browser.mjs"
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"default": "./dist/index.mjs"
|
|
29
27
|
},
|
|
30
|
-
"types": "dist/index.d.ts",
|
|
31
28
|
"files": [
|
|
32
29
|
"dist"
|
|
33
30
|
],
|
package/dist/index.cjs
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$exportWildcard(dest, source) {
|
|
3
|
-
Object.keys(source).forEach(function(key) {
|
|
4
|
-
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
|
|
5
|
-
return;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(dest, key, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function get() {
|
|
11
|
-
return source[key];
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
return dest;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function $parcel$export(e, n, v, s) {
|
|
20
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
21
|
-
}
|
|
22
|
-
var $ab81508e25105c4e$exports = {};
|
|
23
|
-
|
|
24
|
-
$parcel$export($ab81508e25105c4e$exports, "electrumServers", () => $ab81508e25105c4e$export$f504d3db6a0a89d2);
|
|
25
|
-
// Import required interfaces.
|
|
26
|
-
const $ab81508e25105c4e$export$f504d3db6a0a89d2 = [
|
|
27
|
-
// Imaginary Usernames servers:
|
|
28
|
-
{
|
|
29
|
-
host: "bch.imaginary.cash",
|
|
30
|
-
version: "1.5.1",
|
|
31
|
-
transports: {
|
|
32
|
-
tcp: 50001,
|
|
33
|
-
tcp_tls: 50002,
|
|
34
|
-
ws: 50003,
|
|
35
|
-
wss: 50004
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
host: "electrum.imaginary.cash",
|
|
40
|
-
version: "1.5.1",
|
|
41
|
-
transports: {
|
|
42
|
-
tcp: 50001,
|
|
43
|
-
tcp_tls: 50002,
|
|
44
|
-
ws: 50003,
|
|
45
|
-
wss: 50004
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
];
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
var $5bb5816023ee477e$exports = {};
|
|
52
|
-
// Define the structure used to provide port numbers for supported transports.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
$parcel$exportWildcard(module.exports, $ab81508e25105c4e$exports);
|
|
56
|
-
$parcel$exportWildcard(module.exports, $5bb5816023ee477e$exports);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;ACAA,8BAA8B;AAIvB,MAAM,4CACb;IACC,+BAA+B;IAC/B;QACC,MAAM;QACN,SAAS;QACT,YACA;YACC,KAAK;YACL,SAAS;YACT,IAAK;YACL,KAAK;QACN;IACD;IACA;QACC,MAAM;QACN,SAAS;QACT,YACA;YACC,KAAK;YACL,SAAS;YACT,IAAK;YACL,KAAK;QACN;IACD;CACA;;;;AC7BD,8EAA8E;;","sources":["source/index.ts","source/servers.ts","source/interfaces.ts"],"sourcesContent":["export * from './servers';\nexport * from './interfaces';\n","// Import required interfaces.\nimport type { ElectrumServers } from './interfaces';\n\n// Define the list of available Electrum Cash servers.\nexport const electrumServers: ElectrumServers =\n[\n\t// Imaginary Usernames servers:\n\t{\n\t\thost: 'bch.imaginary.cash',\n\t\tversion: '1.5.1',\n\t\ttransports:\n\t\t{\n\t\t\ttcp: 50001,\n\t\t\ttcp_tls: 50002,\n\t\t\tws: 50003,\n\t\t\twss: 50004,\n\t\t},\n\t},\n\t{\n\t\thost: 'electrum.imaginary.cash',\n\t\tversion: '1.5.1',\n\t\ttransports:\n\t\t{\n\t\t\ttcp: 50001,\n\t\t\ttcp_tls: 50002,\n\t\t\tws: 50003,\n\t\t\twss: 50004,\n\t\t},\n\t},\n];\n","// Define the structure used to provide port numbers for supported transports.\nexport interface ElectrumTransports\n{\n\ttcp?: number;\n\ttcp_tls?: number;\n\tws?: number;\n\twss?: number;\n}\n\n// Define the structure used to represent an electrum server.\nexport interface ElectrumServer\n{\n\thost: string;\n\tversion: string;\n\ttransports: ElectrumTransports;\n}\n\n// Define the structure of the default electrum server list.\nexport type ElectrumServers = ElectrumServer[];\n"],"names":[],"version":3,"file":"index.cjs.map"}
|