@solana/web3.js 1.41.8 → 1.41.9
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/lib/index.browser.cjs.js +2 -0
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +2 -0
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2 -0
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +2 -0
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +2 -0
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/package.json +2 -2
- package/src/connection.ts +2 -0
package/lib/index.browser.cjs.js
CHANGED
|
@@ -7761,6 +7761,7 @@ class Connection {
|
|
|
7761
7761
|
|
|
7762
7762
|
|
|
7763
7763
|
_wsOnError(err) {
|
|
7764
|
+
this._rpcWebSocketConnected = false;
|
|
7764
7765
|
console.error('ws error:', err.message);
|
|
7765
7766
|
}
|
|
7766
7767
|
/**
|
|
@@ -7769,6 +7770,7 @@ class Connection {
|
|
|
7769
7770
|
|
|
7770
7771
|
|
|
7771
7772
|
_wsOnClose(code) {
|
|
7773
|
+
this._rpcWebSocketConnected = false;
|
|
7772
7774
|
this._rpcWebSocketGeneration++;
|
|
7773
7775
|
|
|
7774
7776
|
if (this._rpcWebSocketHeartbeat) {
|