@solana/web3.js 1.41.4 → 1.41.5
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 +1 -5
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +1 -5
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +1 -5
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +1 -5
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +1 -5
- 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 +3 -3
- package/src/transaction.ts +4 -6
package/lib/index.esm.js
CHANGED
|
@@ -2499,11 +2499,7 @@ class Transaction {
|
|
|
2499
2499
|
|
|
2500
2500
|
|
|
2501
2501
|
compileMessage() {
|
|
2502
|
-
if (this._message) {
|
|
2503
|
-
if (JSON.stringify(this.toJSON()) !== JSON.stringify(this._json)) {
|
|
2504
|
-
throw new Error('Transaction message mutated after being populated from Message');
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2502
|
+
if (this._message && JSON.stringify(this.toJSON()) === JSON.stringify(this._json)) {
|
|
2507
2503
|
return this._message;
|
|
2508
2504
|
}
|
|
2509
2505
|
|