@solana/web3.js 1.41.4 → 1.41.7

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.iife.js CHANGED
@@ -14174,11 +14174,7 @@ var solanaWeb3 = (function (exports) {
14174
14174
 
14175
14175
 
14176
14176
  compileMessage() {
14177
- if (this._message) {
14178
- if (JSON.stringify(this.toJSON()) !== JSON.stringify(this._json)) {
14179
- throw new Error('Transaction message mutated after being populated from Message');
14180
- }
14181
-
14177
+ if (this._message && JSON.stringify(this.toJSON()) === JSON.stringify(this._json)) {
14182
14178
  return this._message;
14183
14179
  }
14184
14180
 
@@ -28325,7 +28321,7 @@ var solanaWeb3 = (function (exports) {
28325
28321
 
28326
28322
  try {
28327
28323
  this.removeSignatureListener(clientSubscriptionId); // eslint-disable-next-line no-empty
28328
- } catch {// Already removed.
28324
+ } catch (_err) {// Already removed.
28329
28325
  }
28330
28326
  }
28331
28327
  },
@@ -28367,7 +28363,7 @@ var solanaWeb3 = (function (exports) {
28367
28363
 
28368
28364
  try {
28369
28365
  this.removeSignatureListener(clientSubscriptionId); // eslint-disable-next-line no-empty
28370
- } catch {// Already removed.
28366
+ } catch (_err) {// Already removed.
28371
28367
  }
28372
28368
  },
28373
28369
  method: 'signatureSubscribe',