@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.cjs.js
CHANGED
|
@@ -2521,11 +2521,7 @@ class Transaction {
|
|
|
2521
2521
|
|
|
2522
2522
|
|
|
2523
2523
|
compileMessage() {
|
|
2524
|
-
if (this._message) {
|
|
2525
|
-
if (JSON.stringify(this.toJSON()) !== JSON.stringify(this._json)) {
|
|
2526
|
-
throw new Error('Transaction message mutated after being populated from Message');
|
|
2527
|
-
}
|
|
2528
|
-
|
|
2524
|
+
if (this._message && JSON.stringify(this.toJSON()) === JSON.stringify(this._json)) {
|
|
2529
2525
|
return this._message;
|
|
2530
2526
|
}
|
|
2531
2527
|
|