cashscript 0.7.4 → 0.7.6
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.
|
@@ -49,7 +49,7 @@ class ElectrumNetworkProvider {
|
|
|
49
49
|
}
|
|
50
50
|
else if (network === interfaces_js_1.Network.CHIPNET) {
|
|
51
51
|
this.electrum = new electrum_cash_1.ElectrumCluster('CashScript Application', '1.4.1', 1, 1, electrum_cash_1.ClusterOrder.PRIORITY);
|
|
52
|
-
this.electrum.addServer('chipnet.imaginary.cash
|
|
52
|
+
this.electrum.addServer('chipnet.imaginary.cash', 50004, electrum_cash_1.ElectrumTransport.WSS.Scheme, false);
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
55
55
|
throw new Error(`Tried to instantiate an ElectrumNetworkProvider for unsupported network ${network}`);
|
|
@@ -47,7 +47,7 @@ export default class ElectrumNetworkProvider {
|
|
|
47
47
|
}
|
|
48
48
|
else if (network === Network.CHIPNET) {
|
|
49
49
|
this.electrum = new ElectrumCluster('CashScript Application', '1.4.1', 1, 1, ClusterOrder.PRIORITY);
|
|
50
|
-
this.electrum.addServer('chipnet.imaginary.cash
|
|
50
|
+
this.electrum.addServer('chipnet.imaginary.cash', 50004, ElectrumTransport.WSS.Scheme, false);
|
|
51
51
|
}
|
|
52
52
|
else {
|
|
53
53
|
throw new Error(`Tried to instantiate an ElectrumNetworkProvider for unsupported network ${network}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cashscript",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "Easily write and interact with Bitcoin Cash contracts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bitcoin cash",
|
|
@@ -37,12 +37,11 @@
|
|
|
37
37
|
"compile:module": "tsc -p tsconfig.build.module.json",
|
|
38
38
|
"lint": "eslint . --ext .ts --ignore-path ../../.eslintignore",
|
|
39
39
|
"prepare": "npm run build",
|
|
40
|
-
"prepublishOnly": "npm test && npm run lint",
|
|
41
40
|
"test": "jest --config=../../jest.config.js packages/cashscript"
|
|
42
41
|
},
|
|
43
42
|
"dependencies": {
|
|
44
43
|
"@bitauth/libauth": "^1.18.1",
|
|
45
|
-
"@cashscript/utils": "^0.7.
|
|
44
|
+
"@cashscript/utils": "^0.7.6",
|
|
46
45
|
"bip68": "^1.0.4",
|
|
47
46
|
"bitcoin-rpc-promise-retry": "^1.3.0",
|
|
48
47
|
"delay": "^5.0.0",
|
|
@@ -56,5 +55,5 @@
|
|
|
56
55
|
"ts-jest": "^26.5.1",
|
|
57
56
|
"typescript": "^4.1.5"
|
|
58
57
|
},
|
|
59
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "c2daf1d80579e776b28270362041152ab0ac8898"
|
|
60
59
|
}
|