cashscript 0.11.2 → 0.11.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.
@@ -14,7 +14,7 @@ export default class ElectrumNetworkProvider {
14
14
  if ('electrum' in options)
15
15
  return options.electrum;
16
16
  const server = 'hostname' in options ? options.hostname : this.getServerForNetwork(network);
17
- return new ElectrumClient('CashScript Application', '1.4.1', server);
17
+ return new ElectrumClient('CashScript Application', '1.4.1', server, { disableBrowserVisibilityHandling: true });
18
18
  }
19
19
  // Get Electrum server based on network
20
20
  getServerForNetwork(network) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cashscript",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "Easily write and interact with Bitcoin Cash contracts",
5
5
  "keywords": [
6
6
  "bitcoin cash",
@@ -46,8 +46,8 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@bitauth/libauth": "^3.1.0-next.2",
49
- "@cashscript/utils": "^0.11.2",
50
- "@electrum-cash/network": "^4.1.1",
49
+ "@cashscript/utils": "^0.11.3",
50
+ "@electrum-cash/network": "^4.1.3",
51
51
  "@mr-zwets/bchn-api-wrapper": "^1.0.1",
52
52
  "delay": "^6.0.0",
53
53
  "fast-deep-equal": "^3.1.3",
@@ -63,5 +63,5 @@
63
63
  "jest": "^29.7.0",
64
64
  "typescript": "^5.7.3"
65
65
  },
66
- "gitHead": "81e7dc182ef71909af721d62751ef403bcfcc41e"
66
+ "gitHead": "6bc2941e919411e04b7408dca7239da8ec1768f6"
67
67
  }