@electrum-cash/servers 3.0.2-development.5350604192 → 3.0.2-development.6393254041
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/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -19,11 +19,11 @@ function $parcel$exportWildcard(dest, source) {
|
|
|
19
19
|
function $parcel$export(e, n, v, s) {
|
|
20
20
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
21
21
|
}
|
|
22
|
-
var $
|
|
22
|
+
var $ab81508e25105c4e$exports = {};
|
|
23
23
|
|
|
24
|
-
$parcel$export($
|
|
24
|
+
$parcel$export($ab81508e25105c4e$exports, "electrumServers", () => $ab81508e25105c4e$export$f504d3db6a0a89d2);
|
|
25
25
|
// Import required interfaces.
|
|
26
|
-
const $
|
|
26
|
+
const $ab81508e25105c4e$export$f504d3db6a0a89d2 = [
|
|
27
27
|
// Imaginary Usernames servers:
|
|
28
28
|
{
|
|
29
29
|
host: "bch.imaginary.cash",
|
|
@@ -48,12 +48,12 @@ const $c7dd0626a379ef03$export$f504d3db6a0a89d2 = [
|
|
|
48
48
|
];
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var $
|
|
51
|
+
var $5bb5816023ee477e$exports = {};
|
|
52
52
|
// Define the structure used to provide port numbers for supported transports.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
$parcel$exportWildcard(module.exports, $
|
|
56
|
-
$parcel$exportWildcard(module.exports, $
|
|
55
|
+
$parcel$exportWildcard(module.exports, $ab81508e25105c4e$exports);
|
|
56
|
+
$parcel$exportWildcard(module.exports, $5bb5816023ee477e$exports);
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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":["
|
|
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"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AACA;IAEC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAGD;IAEC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,kBAAkB,CAAC;CAC/B;AAGD,8BAA8B,cAAc,EAAE,CAAC;ACd/C,OAAO,MAAM,iBAAiB,eAyB7B,CAAC","sources":["
|
|
1
|
+
{"mappings":"AACA;IAEC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAGD;IAEC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,kBAAkB,CAAC;CAC/B;AAGD,8BAA8B,cAAc,EAAE,CAAC;ACd/C,OAAO,MAAM,iBAAiB,eAyB7B,CAAC","sources":["source/source/interfaces.ts","source/source/servers.ts","source/source/index.ts","source/index.ts"],"sourcesContent":[null,null,null,"export * from './servers';\nexport * from './interfaces';\n"],"names":[],"version":3,"file":"index.d.ts.map"}
|
package/dist/index.mjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
function $parcel$export(e, n, v, s) {
|
|
3
3
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
4
|
}
|
|
5
|
-
var $
|
|
5
|
+
var $c047c2d2e8e5c125$exports = {};
|
|
6
6
|
|
|
7
|
-
$parcel$export($
|
|
7
|
+
$parcel$export($c047c2d2e8e5c125$exports, "electrumServers", () => $c047c2d2e8e5c125$export$f504d3db6a0a89d2);
|
|
8
8
|
// Import required interfaces.
|
|
9
|
-
const $
|
|
9
|
+
const $c047c2d2e8e5c125$export$f504d3db6a0a89d2 = [
|
|
10
10
|
// Imaginary Usernames servers:
|
|
11
11
|
{
|
|
12
12
|
host: "bch.imaginary.cash",
|
|
@@ -31,11 +31,11 @@ const $4de372b65379bf9a$export$f504d3db6a0a89d2 = [
|
|
|
31
31
|
];
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var $
|
|
34
|
+
var $e83d2e7688025acd$exports = {};
|
|
35
35
|
// Define the structure used to provide port numbers for supported transports.
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
export {$
|
|
40
|
+
export {$c047c2d2e8e5c125$export$f504d3db6a0a89d2 as electrumServers};
|
|
41
41
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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":["
|
|
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.mjs.map"}
|
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.6393254041",
|
|
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": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"javascript",
|
|
19
19
|
"typescript"
|
|
20
20
|
],
|
|
21
|
-
"source": "
|
|
21
|
+
"source": "source/index.ts",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "dist/index.cjs",
|
|
24
24
|
"module": "dist/index.mjs",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"docs": "jsdoc -c jsdoc.json",
|
|
39
39
|
"lint": "eslint . --ext .ts",
|
|
40
40
|
"syntax": "tsc --noEmit",
|
|
41
|
-
"spellcheck": "cspell '
|
|
41
|
+
"spellcheck": "cspell 'source/**' 'test/**' 'examples/**'",
|
|
42
42
|
"test": "vitest --dir test/ --test-timeout=15000 --run --coverage"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|