@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.browser.esm.js
CHANGED
|
@@ -2490,11 +2490,7 @@ class Transaction {
|
|
|
2490
2490
|
|
|
2491
2491
|
|
|
2492
2492
|
compileMessage() {
|
|
2493
|
-
if (this._message) {
|
|
2494
|
-
if (JSON.stringify(this.toJSON()) !== JSON.stringify(this._json)) {
|
|
2495
|
-
throw new Error('Transaction message mutated after being populated from Message');
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2493
|
+
if (this._message && JSON.stringify(this.toJSON()) === JSON.stringify(this._json)) {
|
|
2498
2494
|
return this._message;
|
|
2499
2495
|
}
|
|
2500
2496
|
|